summaryrefslogtreecommitdiffstats
path: root/kresources
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
commitb363d2579af0a11b77e698aed2e1021c2233b644 (patch)
treef4a47b87354b7a6a3b266c8121bd8ddaeb7accaa /kresources
parent61bddfe3a7226b18c68a76124b727c736f431688 (diff)
downloadtdepim-b363d2579af0a11b77e698aed2e1021c2233b644.tar.gz
tdepim-b363d2579af0a11b77e698aed2e1021c2233b644.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kresources')
-rw-r--r--kresources/CMakeLists.txt35
-rw-r--r--kresources/Makefile.am50
-rw-r--r--kresources/birthdays/CMakeLists.txt46
-rw-r--r--kresources/birthdays/Makefile.am24
-rw-r--r--kresources/birthdays/kabc.desktop61
-rw-r--r--kresources/birthdays/resourcekabc.cpp528
-rw-r--r--kresources/birthdays/resourcekabc.h185
-rw-r--r--kresources/birthdays/resourcekabcconfig.cpp135
-rw-r--r--kresources/birthdays/resourcekabcconfig.h68
-rw-r--r--kresources/blogging/API_Blog.cpp121
-rw-r--r--kresources/blogging/API_Blog.h163
-rw-r--r--kresources/blogging/API_Blogger.cpp332
-rw-r--r--kresources/blogging/API_Blogger.h57
-rw-r--r--kresources/blogging/Makefile.am29
-rw-r--r--kresources/blogging/blogging.desktop49
-rw-r--r--kresources/blogging/bloggingcalendaradaptor.cpp259
-rw-r--r--kresources/blogging/bloggingcalendaradaptor.h105
-rw-r--r--kresources/blogging/bloggingglobals.cpp53
-rw-r--r--kresources/blogging/bloggingglobals.h50
-rw-r--r--kresources/blogging/kcal_resourceblogging.cpp97
-rw-r--r--kresources/blogging/kcal_resourceblogging.h60
-rw-r--r--kresources/blogging/kcal_resourceblogging_plugin.cpp41
-rw-r--r--kresources/blogging/kcal_resourcebloggingconfig.cpp41
-rw-r--r--kresources/blogging/kcal_resourcebloggingconfig.h41
-rw-r--r--kresources/blogging/resourcebloggingsettings.ui330
-rw-r--r--kresources/blogging/xmlrpcjob.cpp430
-rw-r--r--kresources/blogging/xmlrpcjob.h124
-rw-r--r--kresources/caldav/CMakeLists.txt54
-rw-r--r--kresources/caldav/ConfigureChecks.cmake32
-rw-r--r--kresources/caldav/Makefile.am34
-rw-r--r--kresources/caldav/config.cpp208
-rw-r--r--kresources/caldav/config.h88
-rw-r--r--kresources/caldav/configwidgets.cpp249
-rw-r--r--kresources/caldav/configwidgets.h102
-rw-r--r--kresources/caldav/export.h56
-rw-r--r--kresources/caldav/job.cpp173
-rw-r--r--kresources/caldav/job.h290
-rw-r--r--kresources/caldav/kcal_caldav.desktop52
-rw-r--r--kresources/caldav/plugin.cpp49
-rw-r--r--kresources/caldav/preferences.cpp290
-rw-r--r--kresources/caldav/preferences.h164
-rw-r--r--kresources/caldav/prefsskel.kcfg44
-rw-r--r--kresources/caldav/prefsskel.kcfgc7
-rw-r--r--kresources/caldav/reader.cpp146
-rw-r--r--kresources/caldav/reader.h112
-rw-r--r--kresources/caldav/resource.cpp1011
-rw-r--r--kresources/caldav/resource.h268
-rw-r--r--kresources/caldav/uninstall.desktop2
-rw-r--r--kresources/caldav/writer.cpp162
-rw-r--r--kresources/caldav/writer.h202
-rw-r--r--kresources/carddav/CMakeLists.txt54
-rw-r--r--kresources/carddav/ConfigureChecks.cmake30
-rw-r--r--kresources/carddav/Makefile.am35
-rw-r--r--kresources/carddav/config.cpp168
-rw-r--r--kresources/carddav/config.h81
-rw-r--r--kresources/carddav/configwidgets.cpp247
-rw-r--r--kresources/carddav/configwidgets.h101
-rw-r--r--kresources/carddav/export.h56
-rw-r--r--kresources/carddav/job.cpp110
-rw-r--r--kresources/carddav/job.h176
-rw-r--r--kresources/carddav/kabc_carddav.desktop52
-rw-r--r--kresources/carddav/plugin.cpp47
-rw-r--r--kresources/carddav/preferences.cpp239
-rw-r--r--kresources/carddav/preferences.h155
-rw-r--r--kresources/carddav/prefsskel.kcfg30
-rw-r--r--kresources/carddav/prefsskel.kcfgc7
-rw-r--r--kresources/carddav/reader.cpp63
-rw-r--r--kresources/carddav/reader.h91
-rw-r--r--kresources/carddav/resource.cpp683
-rw-r--r--kresources/carddav/resource.h227
-rw-r--r--kresources/carddav/uninstall.desktop2
-rw-r--r--kresources/carddav/writer.cpp106
-rw-r--r--kresources/carddav/writer.h109
-rw-r--r--kresources/egroupware/CMakeLists.txt109
-rw-r--r--kresources/egroupware/Makefile.am73
-rw-r--r--kresources/egroupware/access.h31
-rw-r--r--kresources/egroupware/debugdialog.cpp126
-rw-r--r--kresources/egroupware/debugdialog.h79
-rw-r--r--kresources/egroupware/kabc_egroupwareprefs.kcfgc11
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpc.cpp774
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpc.h115
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpcconfig.cpp97
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpcconfig.h53
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpcplugin.cpp40
-rw-r--r--kresources/egroupware/kabc_xmlrpc.desktop50
-rw-r--r--kresources/egroupware/kcal_egroupwareprefs.kcfgc11
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.cpp1206
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.h237
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpcconfig.cpp98
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpcconfig.h54
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpcplugin.cpp40
-rw-r--r--kresources/egroupware/kcal_xmlrpc.desktop50
-rw-r--r--kresources/egroupware/knotes_egroupwareprefs.kcfgc11
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpc.cpp336
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpc.h104
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpcconfig.cpp98
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpcconfig.h54
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpcplugin.cpp40
-rw-r--r--kresources/egroupware/knotes_xmlrpc.desktop50
-rw-r--r--kresources/egroupware/kresources_kabc_egroupware.kcfg24
-rw-r--r--kresources/egroupware/kresources_kcal_egroupware.kcfg24
-rw-r--r--kresources/egroupware/kresources_knotes_egroupware.kcfg24
-rw-r--r--kresources/egroupware/synchronizer.cpp50
-rw-r--r--kresources/egroupware/synchronizer.h72
-rw-r--r--kresources/egroupware/todostatemapper.cpp167
-rw-r--r--kresources/egroupware/todostatemapper.h75
-rw-r--r--kresources/egroupware/xmlrpciface.cpp464
-rw-r--r--kresources/egroupware/xmlrpciface.h167
-rw-r--r--kresources/exchange/CMakeLists.txt40
-rw-r--r--kresources/exchange/Makefile.am23
-rw-r--r--kresources/exchange/dateset.cpp280
-rw-r--r--kresources/exchange/dateset.h87
-rw-r--r--kresources/exchange/exchange.desktop53
-rw-r--r--kresources/exchange/exchange_deprecated.desktop48
-rw-r--r--kresources/exchange/resourceexchange.cpp627
-rw-r--r--kresources/exchange/resourceexchange.h253
-rw-r--r--kresources/exchange/resourceexchangeconfig.cpp153
-rw-r--r--kresources/exchange/resourceexchangeconfig.h67
-rw-r--r--kresources/featureplan/CMakeLists.txt74
-rw-r--r--kresources/featureplan/Makefile.am61
-rw-r--r--kresources/featureplan/benchmarkfeaturelist.cpp98
-rw-r--r--kresources/featureplan/dumpfeaturelist.cpp102
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplan.cpp152
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplan.desktop41
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplan.h68
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplanconfig.cpp92
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplanconfig.h54
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplanplugin.cpp40
-rw-r--r--kresources/featureplan/kde-features.dtd25
-rw-r--r--kresources/featureplan/kde-features.rng150
-rw-r--r--kresources/featureplan/kresources_kcal_featureplan.kcfg20
-rw-r--r--kresources/featureplan/prefs.kcfgc9
-rw-r--r--kresources/groupdav/CMakeLists.txt77
-rw-r--r--kresources/groupdav/Makefile.am52
-rw-r--r--kresources/groupdav/groupdavaddressbookadaptor.cpp54
-rw-r--r--kresources/groupdav/groupdavaddressbookadaptor.h79
-rw-r--r--kresources/groupdav/groupdavcalendaradaptor.cpp46
-rw-r--r--kresources/groupdav/groupdavcalendaradaptor.h84
-rw-r--r--kresources/groupdav/groupdavglobals.cpp287
-rw-r--r--kresources/groupdav/groupdavglobals.h73
-rw-r--r--kresources/groupdav/kabc_groupdav.desktop52
-rw-r--r--kresources/groupdav/kabc_resourcegroupdav.cpp47
-rw-r--r--kresources/groupdav/kabc_resourcegroupdav.h45
-rw-r--r--kresources/groupdav/kabc_resourcegroupdav_plugin.cpp42
-rw-r--r--kresources/groupdav/kcal_groupdav.desktop52
-rw-r--r--kresources/groupdav/kcal_resourcegroupdav.cpp52
-rw-r--r--kresources/groupdav/kcal_resourcegroupdav.h48
-rw-r--r--kresources/groupdav/kcal_resourcegroupdav_plugin.cpp43
-rw-r--r--kresources/groupdav/uninstall.desktop2
-rw-r--r--kresources/groupware/Makefile.am42
-rw-r--r--kresources/groupware/kabc_groupware.desktop49
-rw-r--r--kresources/groupware/kabc_groupwareprefs.kcfgc8
-rw-r--r--kresources/groupware/kabc_resourcegroupware.cpp365
-rw-r--r--kresources/groupware/kabc_resourcegroupware.h87
-rw-r--r--kresources/groupware/kabc_resourcegroupware_plugin.cpp39
-rw-r--r--kresources/groupware/kabc_resourcegroupwareconfig.cpp208
-rw-r--r--kresources/groupware/kabc_resourcegroupwareconfig.h71
-rw-r--r--kresources/groupware/kcal_groupware.desktop49
-rw-r--r--kresources/groupware/kcal_groupwareprefsbase.kcfgc11
-rw-r--r--kresources/groupware/kcal_resourcegroupware.cpp304
-rw-r--r--kresources/groupware/kcal_resourcegroupware.h91
-rw-r--r--kresources/groupware/kcal_resourcegroupware_plugin.cpp40
-rw-r--r--kresources/groupware/kcal_resourcegroupwareconfig.cpp105
-rw-r--r--kresources/groupware/kcal_resourcegroupwareconfig.h63
-rw-r--r--kresources/groupware/kresources_kabc_groupware.kcfg18
-rw-r--r--kresources/groupware/kresources_kcal_groupware.kcfg22
-rw-r--r--kresources/groupwise/CMakeLists.txt75
-rw-r--r--kresources/groupwise/Makefile.am47
-rw-r--r--kresources/groupwise/TODO13
-rw-r--r--kresources/groupwise/groupwisesettingswidget.cpp50
-rw-r--r--kresources/groupwise/groupwisesettingswidget.h48
-rw-r--r--kresources/groupwise/groupwisesettingswidgetbase.ui80
-rw-r--r--kresources/groupwise/kabc_groupwise.desktop50
-rw-r--r--kresources/groupwise/kabc_groupwiseprefs.kcfgc8
-rw-r--r--kresources/groupwise/kabc_resourcegroupwise.cpp743
-rw-r--r--kresources/groupwise/kabc_resourcegroupwise.h169
-rw-r--r--kresources/groupwise/kabc_resourcegroupwise_plugin.cpp40
-rw-r--r--kresources/groupwise/kabc_resourcegroupwiseconfig.cpp209
-rw-r--r--kresources/groupwise/kabc_resourcegroupwiseconfig.h74
-rw-r--r--kresources/groupwise/kcal_groupwise.desktop50
-rw-r--r--kresources/groupwise/kcal_groupwiseprefs.cpp33
-rw-r--r--kresources/groupwise/kcal_groupwiseprefs.h37
-rw-r--r--kresources/groupwise/kcal_groupwiseprefsbase.kcfgc11
-rw-r--r--kresources/groupwise/kcal_resourcegroupwise.cpp340
-rw-r--r--kresources/groupwise/kcal_resourcegroupwise.h94
-rw-r--r--kresources/groupwise/kcal_resourcegroupwise_plugin.cpp40
-rw-r--r--kresources/groupwise/kcal_resourcegroupwiseconfig.cpp176
-rw-r--r--kresources/groupwise/kcal_resourcegroupwiseconfig.h68
-rw-r--r--kresources/groupwise/kioslave/CMakeLists.txt39
-rw-r--r--kresources/groupwise/kioslave/Makefile.am19
-rw-r--r--kresources/groupwise/kioslave/groupwise.cpp426
-rw-r--r--kresources/groupwise/kioslave/groupwise.h54
-rw-r--r--kresources/groupwise/kioslave/groupwise.protocol7
-rw-r--r--kresources/groupwise/kioslave/groupwises.protocol7
-rw-r--r--kresources/groupwise/kresources_kabc_groupwise.kcfg55
-rw-r--r--kresources/groupwise/kresources_kcal_groupwise.kcfg23
-rw-r--r--kresources/groupwise/soap/CMakeLists.txt38
-rw-r--r--kresources/groupwise/soap/GroupWiseBinding.nsmap14
-rw-r--r--kresources/groupwise/soap/Makefile.am47
-rw-r--r--kresources/groupwise/soap/README26
-rw-r--r--kresources/groupwise/soap/contactconverter.cpp632
-rw-r--r--kresources/groupwise/soap/contactconverter.h54
-rw-r--r--kresources/groupwise/soap/events.xsd313
-rwxr-xr-xkresources/groupwise/soap/extractxml.pl57
-rwxr-xr-xkresources/groupwise/soap/fixup_groupwise.h.pl60
-rw-r--r--kresources/groupwise/soap/groupwise.wsdl2081
-rw-r--r--kresources/groupwise/soap/groupwiseserver.cpp1640
-rw-r--r--kresources/groupwise/soap/groupwiseserver.h247
-rw-r--r--kresources/groupwise/soap/gwconverter.cpp171
-rw-r--r--kresources/groupwise/soap/gwconverter.h64
-rw-r--r--kresources/groupwise/soap/gwjobs.cpp733
-rw-r--r--kresources/groupwise/soap/gwjobs.h133
-rw-r--r--kresources/groupwise/soap/incidenceconverter.cpp820
-rw-r--r--kresources/groupwise/soap/incidenceconverter.h76
-rw-r--r--kresources/groupwise/soap/ksslsocket.cpp408
-rw-r--r--kresources/groupwise/soap/ksslsocket.h61
-rw-r--r--kresources/groupwise/soap/methods.xsd1429
-rw-r--r--kresources/groupwise/soap/patches/README32
-rw-r--r--kresources/groupwise/soap/patches/broken_namespace.diff20
-rw-r--r--kresources/groupwise/soap/patches/socklen.diff28
-rw-r--r--kresources/groupwise/soap/patches/type_typo.diff15
-rw-r--r--kresources/groupwise/soap/patches/utf8_entities.diff15
-rw-r--r--kresources/groupwise/soap/soapC.cpp96391
-rw-r--r--kresources/groupwise/soap/soapClient.cpp4162
-rw-r--r--kresources/groupwise/soap/soapGroupWiseBindingProxy.h114
-rw-r--r--kresources/groupwise/soap/soapH.h9201
-rw-r--r--kresources/groupwise/soap/soapStub.h8923
-rw-r--r--kresources/groupwise/soap/soapdebug.cpp175
-rw-r--r--kresources/groupwise/soap/stdsoap2.cpp12554
-rw-r--r--kresources/groupwise/soap/stdsoap2.h1952
-rw-r--r--kresources/groupwise/soap/stl.h43
-rw-r--r--kresources/groupwise/soap/stldeque.h41
-rw-r--r--kresources/groupwise/soap/stllist.h41
-rw-r--r--kresources/groupwise/soap/stlset.h41
-rw-r--r--kresources/groupwise/soap/stlvector.h41
-rw-r--r--kresources/groupwise/soap/typemap.dat143
-rw-r--r--kresources/groupwise/soap/types.xsd1782
-rw-r--r--kresources/kolab/CMakeLists.txt18
-rw-r--r--kresources/kolab/Makefile.am8
-rw-r--r--kresources/kolab/kabc/CMakeLists.txt54
-rw-r--r--kresources/kolab/kabc/Makefile.am27
-rw-r--r--kresources/kolab/kabc/contact.cpp1326
-rw-r--r--kresources/kolab/kabc/contact.h286
-rw-r--r--kresources/kolab/kabc/kolab.desktop52
-rw-r--r--kresources/kolab/kabc/resourcekolab.cpp694
-rw-r--r--kresources/kolab/kabc/resourcekolab.h179
-rw-r--r--kresources/kolab/kabc/resourcekolab_plugin.cpp52
-rw-r--r--kresources/kolab/kcal/CMakeLists.txt57
-rw-r--r--kresources/kolab/kcal/Makefile.am27
-rw-r--r--kresources/kolab/kcal/event.cpp223
-rw-r--r--kresources/kolab/kcal/event.h102
-rw-r--r--kresources/kolab/kcal/incidence.cpp1039
-rw-r--r--kresources/kolab/kcal/incidence.h175
-rw-r--r--kresources/kolab/kcal/journal.cpp184
-rw-r--r--kresources/kolab/kcal/journal.h103
-rw-r--r--kresources/kolab/kcal/kolab.desktop52
-rw-r--r--kresources/kolab/kcal/resourcekolab.cpp1342
-rw-r--r--kresources/kolab/kcal/resourcekolab.h284
-rw-r--r--kresources/kolab/kcal/resourcekolab_plugin.cpp49
-rw-r--r--kresources/kolab/kcal/task.cpp461
-rw-r--r--kresources/kolab/kcal/task.h143
-rw-r--r--kresources/kolab/knotes/CMakeLists.txt55
-rw-r--r--kresources/kolab/knotes/Makefile.am29
-rw-r--r--kresources/kolab/knotes/kolabresource.desktop52
-rw-r--r--kresources/kolab/knotes/note.cpp229
-rw-r--r--kresources/kolab/knotes/note.h111
-rw-r--r--kresources/kolab/knotes/resourcekolab.cpp463
-rw-r--r--kresources/kolab/knotes/resourcekolab.h133
-rw-r--r--kresources/kolab/knotes/resourcekolab_plugin.cpp50
-rw-r--r--kresources/kolab/kolab-resource.upd12
-rw-r--r--kresources/kolab/shared/CMakeLists.txt30
-rw-r--r--kresources/kolab/shared/Makefile.am17
-rw-r--r--kresources/kolab/shared/kmailconnection.cpp339
-rw-r--r--kresources/kolab/shared/kmailconnection.h129
-rw-r--r--kresources/kolab/shared/kolabbase.cpp487
-rw-r--r--kresources/kolab/shared/kolabbase.h177
-rw-r--r--kresources/kolab/shared/resourcekolabbase.cpp287
-rw-r--r--kresources/kolab/shared/resourcekolabbase.h205
-rw-r--r--kresources/kolab/shared/subresource.cpp133
-rw-r--r--kresources/kolab/shared/subresource.h117
-rw-r--r--kresources/kolab/uninstall.desktop2
-rw-r--r--kresources/kolab/upgrade-resourcetype.pl24
-rw-r--r--kresources/lib/CMakeLists.txt51
-rw-r--r--kresources/lib/Makefile.am35
-rw-r--r--kresources/lib/TODO45
-rw-r--r--kresources/lib/addressbookadaptor.cpp134
-rw-r--r--kresources/lib/addressbookadaptor.h92
-rw-r--r--kresources/lib/calendaradaptor.cpp150
-rw-r--r--kresources/lib/calendaradaptor.h110
-rw-r--r--kresources/lib/davaddressbookadaptor.cpp61
-rw-r--r--kresources/lib/davaddressbookadaptor.h52
-rw-r--r--kresources/lib/davcalendaradaptor.cpp56
-rw-r--r--kresources/lib/davcalendaradaptor.h52
-rw-r--r--kresources/lib/davgroupwareglobals.cpp22
-rw-r--r--kresources/lib/davgroupwareglobals.h30
-rw-r--r--kresources/lib/folderconfig.cpp173
-rw-r--r--kresources/lib/folderconfig.h66
-rw-r--r--kresources/lib/folderlister.cpp372
-rw-r--r--kresources/lib/folderlister.h151
-rw-r--r--kresources/lib/folderlistview.cpp296
-rw-r--r--kresources/lib/folderlistview.h130
-rw-r--r--kresources/lib/folderselectdialog.cpp88
-rw-r--r--kresources/lib/folderselectdialog.h59
-rw-r--r--kresources/lib/groupwaredataadaptor.cpp283
-rw-r--r--kresources/lib/groupwaredataadaptor.h364
-rw-r--r--kresources/lib/groupwaredownloadjob.cpp300
-rw-r--r--kresources/lib/groupwaredownloadjob.h95
-rw-r--r--kresources/lib/groupwareresourcejob.cpp59
-rw-r--r--kresources/lib/groupwareresourcejob.h69
-rw-r--r--kresources/lib/groupwareuploadjob.cpp485
-rw-r--r--kresources/lib/groupwareuploadjob.h131
-rw-r--r--kresources/lib/kabc_resourcegroupwarebase.cpp262
-rw-r--r--kresources/lib/kabc_resourcegroupwarebase.h99
-rw-r--r--kresources/lib/kabc_resourcegroupwarebaseconfig.cpp117
-rw-r--r--kresources/lib/kabc_resourcegroupwarebaseconfig.h65
-rw-r--r--kresources/lib/kcal_cachesettingsdlg.cpp89
-rw-r--r--kresources/lib/kcal_cachesettingsdlg.h60
-rw-r--r--kresources/lib/kcal_resourcegroupwarebase.cpp410
-rw-r--r--kresources/lib/kcal_resourcegroupwarebase.h119
-rw-r--r--kresources/lib/kcal_resourcegroupwarebaseconfig.cpp137
-rw-r--r--kresources/lib/kcal_resourcegroupwarebaseconfig.h74
-rw-r--r--kresources/lib/kresources_groupwareprefs.kcfg56
-rw-r--r--kresources/lib/kresources_groupwareprefs.kcfgc8
-rw-r--r--kresources/lib/webdavhandler.cpp194
-rw-r--r--kresources/lib/webdavhandler.h78
-rw-r--r--kresources/newexchange/CMakeLists.txt79
-rw-r--r--kresources/newexchange/Incidence.mapping177
-rw-r--r--kresources/newexchange/Makefile.am45
-rw-r--r--kresources/newexchange/Person.mapping184
-rw-r--r--kresources/newexchange/exchangeaddressbookadaptor.cpp95
-rw-r--r--kresources/newexchange/exchangeaddressbookadaptor.h102
-rw-r--r--kresources/newexchange/exchangecalendaradaptor.cpp183
-rw-r--r--kresources/newexchange/exchangecalendaradaptor.h99
-rw-r--r--kresources/newexchange/exchangeconvertercalendar.cpp820
-rw-r--r--kresources/newexchange/exchangeconvertercalendar.h63
-rw-r--r--kresources/newexchange/exchangeconvertercontact.cpp625
-rw-r--r--kresources/newexchange/exchangeconvertercontact.h53
-rw-r--r--kresources/newexchange/exchangeglobals.cpp286
-rw-r--r--kresources/newexchange/exchangeglobals.h70
-rw-r--r--kresources/newexchange/kabc_newexchange.desktop51
-rw-r--r--kresources/newexchange/kabc_newexchange_final.desktop48
-rw-r--r--kresources/newexchange/kabc_resourceexchange.cpp54
-rw-r--r--kresources/newexchange/kabc_resourceexchange.h43
-rw-r--r--kresources/newexchange/kabc_resourceexchange_plugin.cpp27
-rw-r--r--kresources/newexchange/kcal_newexchange.desktop51
-rw-r--r--kresources/newexchange/kcal_newexchange_final.desktop48
-rw-r--r--kresources/newexchange/kcal_resourceexchange.cpp59
-rw-r--r--kresources/newexchange/kcal_resourceexchange.h46
-rw-r--r--kresources/newexchange/kcal_resourceexchange_plugin.cpp28
-rw-r--r--kresources/remote/CMakeLists.txt56
-rw-r--r--kresources/remote/Makefile.am26
-rw-r--r--kresources/remote/remote.desktop57
-rw-r--r--kresources/remote/resourceremote.cpp352
-rw-r--r--kresources/remote/resourceremote.h132
-rw-r--r--kresources/remote/resourceremote_plugin.cpp41
-rw-r--r--kresources/remote/resourceremoteconfig.cpp101
-rw-r--r--kresources/remote/resourceremoteconfig.h69
-rw-r--r--kresources/scalix/CMakeLists.txt17
-rw-r--r--kresources/scalix/Makefile.am4
-rw-r--r--kresources/scalix/README9
-rw-r--r--kresources/scalix/kabc/CMakeLists.txt53
-rw-r--r--kresources/scalix/kabc/Makefile.am27
-rw-r--r--kresources/scalix/kabc/contact.cpp377
-rw-r--r--kresources/scalix/kabc/contact.h37
-rw-r--r--kresources/scalix/kabc/resourcescalix.cpp628
-rw-r--r--kresources/scalix/kabc/resourcescalix.h171
-rw-r--r--kresources/scalix/kabc/resourcescalix_plugin.cpp53
-rw-r--r--kresources/scalix/kabc/scalix.desktop30
-rw-r--r--kresources/scalix/kcal/CMakeLists.txt53
-rw-r--r--kresources/scalix/kcal/Makefile.am27
-rw-r--r--kresources/scalix/kcal/resourcescalix.cpp903
-rw-r--r--kresources/scalix/kcal/resourcescalix.h225
-rw-r--r--kresources/scalix/kcal/resourcescalix_plugin.cpp50
-rw-r--r--kresources/scalix/kcal/scalix.desktop31
-rw-r--r--kresources/scalix/kioslave/CMakeLists.txt37
-rw-r--r--kresources/scalix/kioslave/Makefile.am17
-rw-r--r--kresources/scalix/kioslave/scalix.cpp225
-rw-r--r--kresources/scalix/kioslave/scalix.h52
-rw-r--r--kresources/scalix/kioslave/scalix.protocol8
-rw-r--r--kresources/scalix/kioslave/scalixs.protocol8
-rw-r--r--kresources/scalix/knotes/CMakeLists.txt56
-rw-r--r--kresources/scalix/knotes/Makefile.am28
-rw-r--r--kresources/scalix/knotes/resourcescalix.cpp425
-rw-r--r--kresources/scalix/knotes/resourcescalix.h128
-rw-r--r--kresources/scalix/knotes/resourcescalix_plugin.cpp50
-rw-r--r--kresources/scalix/knotes/scalix.desktop30
-rw-r--r--kresources/scalix/scalixadmin/CMakeLists.txt33
-rw-r--r--kresources/scalix/scalixadmin/Makefile.am15
-rw-r--r--kresources/scalix/scalixadmin/delegatedialog.cpp105
-rw-r--r--kresources/scalix/scalixadmin/delegatedialog.h54
-rw-r--r--kresources/scalix/scalixadmin/delegatemanager.cpp49
-rw-r--r--kresources/scalix/scalixadmin/delegatemanager.h50
-rw-r--r--kresources/scalix/scalixadmin/delegatepage.cpp170
-rw-r--r--kresources/scalix/scalixadmin/delegatepage.h61
-rw-r--r--kresources/scalix/scalixadmin/delegateview.cpp74
-rw-r--r--kresources/scalix/scalixadmin/delegateview.h49
-rw-r--r--kresources/scalix/scalixadmin/jobs.cpp306
-rw-r--r--kresources/scalix/scalixadmin/jobs.h205
-rw-r--r--kresources/scalix/scalixadmin/ldapdialog.cpp43
-rw-r--r--kresources/scalix/scalixadmin/ldapdialog.h39
-rw-r--r--kresources/scalix/scalixadmin/ldapview.cpp99
-rw-r--r--kresources/scalix/scalixadmin/ldapview.h52
-rw-r--r--kresources/scalix/scalixadmin/main.cpp53
-rw-r--r--kresources/scalix/scalixadmin/mainwindow.cpp59
-rw-r--r--kresources/scalix/scalixadmin/mainwindow.h32
-rw-r--r--kresources/scalix/scalixadmin/otherusermanager.cpp51
-rw-r--r--kresources/scalix/scalixadmin/otherusermanager.h48
-rw-r--r--kresources/scalix/scalixadmin/otheruserpage.cpp173
-rw-r--r--kresources/scalix/scalixadmin/otheruserpage.h61
-rw-r--r--kresources/scalix/scalixadmin/otheruserview.cpp71
-rw-r--r--kresources/scalix/scalixadmin/otheruserview.h45
-rw-r--r--kresources/scalix/scalixadmin/outofofficepage.cpp125
-rw-r--r--kresources/scalix/scalixadmin/outofofficepage.h58
-rw-r--r--kresources/scalix/scalixadmin/passwordpage.cpp190
-rw-r--r--kresources/scalix/scalixadmin/passwordpage.h56
-rw-r--r--kresources/scalix/scalixadmin/settings.cpp136
-rw-r--r--kresources/scalix/scalixadmin/settings.h56
-rw-r--r--kresources/scalix/shared/CMakeLists.txt31
-rw-r--r--kresources/scalix/shared/Makefile.am17
-rw-r--r--kresources/scalix/shared/kmailconnection.cpp281
-rw-r--r--kresources/scalix/shared/kmailconnection.h118
-rw-r--r--kresources/scalix/shared/resourcescalixbase.cpp179
-rw-r--r--kresources/scalix/shared/resourcescalixbase.h180
-rw-r--r--kresources/scalix/shared/scalixbase.cpp446
-rw-r--r--kresources/scalix/shared/scalixbase.h176
-rw-r--r--kresources/scalix/shared/subresource.cpp116
-rw-r--r--kresources/scalix/shared/subresource.h110
-rw-r--r--kresources/scalix/uninstall.desktop2
-rw-r--r--kresources/slox/CMakeLists.txt81
-rw-r--r--kresources/slox/Makefile.am51
-rw-r--r--kresources/slox/kabc_ox.desktop46
-rw-r--r--kresources/slox/kabc_slox.desktop51
-rw-r--r--kresources/slox/kabcresourceslox.cpp684
-rw-r--r--kresources/slox/kabcresourceslox.h114
-rw-r--r--kresources/slox/kabcresourceslox_plugin.cpp39
-rw-r--r--kresources/slox/kabcresourcesloxconfig.cpp121
-rw-r--r--kresources/slox/kabcresourcesloxconfig.h62
-rw-r--r--kresources/slox/kabcsloxprefs.kcfgc11
-rw-r--r--kresources/slox/kcal_ox.desktop46
-rw-r--r--kresources/slox/kcal_slox.desktop51
-rw-r--r--kresources/slox/kcalresourceslox.cpp1328
-rw-r--r--kresources/slox/kcalresourceslox.h168
-rw-r--r--kresources/slox/kcalresourceslox_plugin.cpp40
-rw-r--r--kresources/slox/kcalresourcesloxconfig.cpp145
-rw-r--r--kresources/slox/kcalresourcesloxconfig.h76
-rw-r--r--kresources/slox/kcalsloxprefs.kcfgc11
-rw-r--r--kresources/slox/kresources_kabc_slox.kcfg31
-rw-r--r--kresources/slox/kresources_kcal_slox.kcfg38
-rw-r--r--kresources/slox/sloxaccounts.cpp222
-rw-r--r--kresources/slox/sloxaccounts.h67
-rw-r--r--kresources/slox/sloxbase.cpp139
-rw-r--r--kresources/slox/sloxbase.h115
-rw-r--r--kresources/slox/sloxfolder.cpp49
-rw-r--r--kresources/slox/sloxfolder.h55
-rw-r--r--kresources/slox/sloxfolderdialog.cpp125
-rw-r--r--kresources/slox/sloxfolderdialog.h56
-rw-r--r--kresources/slox/sloxfoldermanager.cpp172
-rw-r--r--kresources/slox/sloxfoldermanager.h67
-rw-r--r--kresources/slox/testsloxaccounts.cpp61
-rw-r--r--kresources/slox/webdavhandler.cpp295
-rw-r--r--kresources/slox/webdavhandler.h96
-rw-r--r--kresources/tvanytime/AUTHORS1
-rw-r--r--kresources/tvanytime/COPYING340
-rw-r--r--kresources/tvanytime/ChangeLog6
-rw-r--r--kresources/tvanytime/DESIGN22
-rw-r--r--kresources/tvanytime/Makefile.am27
-rw-r--r--kresources/tvanytime/README9
-rw-r--r--kresources/tvanytime/TODO9
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.cpp489
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.h130
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime_plugin.cpp40
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp97
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytimeconfig.h62
-rw-r--r--kresources/tvanytime/kcal_tvanytime.desktop51
-rw-r--r--kresources/tvanytime/kcal_tvanytimeprefs.cpp33
-rw-r--r--kresources/tvanytime/kcal_tvanytimeprefs.h37
-rw-r--r--kresources/tvanytime/kcal_tvanytimeprefsbase.kcfgc11
-rw-r--r--kresources/tvanytime/kresources_kcal_tvanytime.kcfg20
-rw-r--r--kresources/tvanytime/service.cpp224
-rw-r--r--kresources/tvanytime/service.h111
-rw-r--r--kresources/tvanytime/tvanytime.tdevelop202
481 files changed, 0 insertions, 203053 deletions
diff --git a/kresources/CMakeLists.txt b/kresources/CMakeLists.txt
deleted file mode 100644
index 83673371..00000000
--- a/kresources/CMakeLists.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-project( kresources )
-
-tde_import( libkmime )
-tde_import( ktnef )
-tde_import( libkcal )
-tde_import( libtdepim )
-tde_import( knotes )
-
-add_subdirectory( lib )
-add_subdirectory( remote )
-tde_conditional_add_subdirectory( WITH_EGROUPWARE egroupware )
-tde_conditional_add_subdirectory( WITH_EXCHANGE exchange )
-tde_conditional_add_subdirectory( WITH_KOLAB kolab )
-tde_conditional_add_subdirectory( WITH_SLOX slox )
-tde_conditional_add_subdirectory( WITH_GROUPWISE groupwise )
-tde_conditional_add_subdirectory( WITH_FEATUREPLAN featureplan )
-tde_conditional_add_subdirectory( WITH_GROUPDAV groupdav )
-tde_conditional_add_subdirectory( WITH_BIRTHDAYS birthdays )
-tde_conditional_add_subdirectory( WITH_NEWEXCHANGE newexchange )
-tde_conditional_add_subdirectory( WITH_SCALIX scalix )
-tde_conditional_add_subdirectory( WITH_CALDAV caldav )
-tde_conditional_add_subdirectory( WITH_CARDDAV carddav )
-
-tde_install_export( )
diff --git a/kresources/Makefile.am b/kresources/Makefile.am
deleted file mode 100644
index c0ca6cd2..00000000
--- a/kresources/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-if include_exchange_SUBDIR
-EXCHANGE_SUBDIR=exchange
-endif
-
-if include_egroupware_SUBDIR
-EGROUPWARE_SUBDIR=egroupware
-endif
-
-if include_kolab_SUBDIR
-KOLAB_SUBDIR=kolab
-endif
-
-if include_slox_SUBDIR
-SLOX_SUBDIR=slox
-endif
-
-if include_groupwise_SUBDIR
-GROUPWISE_SUBDIR=groupwise
-endif
-
-if include_featureplan_SUBDIR
-FEATUREPLAN_SUBDIR=featureplan
-endif
-
-if include_groupdav_SUBDIR
-GROUPDAV_SUBDIR=groupdav
-endif
-
-if include_birthdays_SUBDIR
-BIRTHDAYS_SUBDIR=birthdays
-endif
-
-if include_newexchange_SUBDIR
-NEWEXCHANGE_SUBDIR=newexchange
-endif
-
-if include_scalix_SUBDIR
-SCALIX_SUBDIR=scalix
-endif
-
-if include_caldav_SUBDIR
-CALDAV_SUBDIR=caldav
-endif
-
-if include_carddav_SUBDIR
-CARDDAV_SUBDIR=carddav
-endif
-
-SUBDIRS = lib remote $(EGROUPWARE_SUBDIR) $(EXCHANGE_SUBDIR) $(KOLAB_SUBDIR) $(SLOX_SUBDIR) $(GROUPWISE_SUBDIR) $(FEATUREPLAN_SUBDIR) $(GROUPDAV_SUBDIR) $(BIRTHDAYS_SUBDIR) $(NEWEXCHANGE_SUBDIR) $(SCALIX_SUBDIR) $(CALDAV_SUBDIR) $(CARDDAV_SUBDIR)
-# SUBDIRS = remote egroupware $(EXCHANGE_SUBDIR) kolab slox groupwise featureplan
diff --git a/kresources/birthdays/CMakeLists.txt b/kresources/birthdays/CMakeLists.txt
deleted file mode 100644
index 99fd0ecd..00000000
--- a/kresources/birthdays/CMakeLists.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_BINARY_DIR}/kaddressbook/common
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/kaddressbook/common
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### headers ###################################
-
-install( FILES
- resourcekabc.h resourcekabcconfig.h
- DESTINATION ${INCLUDE_INSTALL_DIR}/libkcal )
-
-
-##### other data ################################
-
-install( FILES kabc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### kcal_kabc (module) #######################
-
-tde_add_kpart( kcal_kabc AUTOMOC
- SOURCES
- resourcekabc.cpp resourcekabcconfig.cpp
- LINK kabcommon-static tdepim-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kresources/birthdays/Makefile.am b/kresources/birthdays/Makefile.am
deleted file mode 100644
index b7c2285f..00000000
--- a/kresources/birthdays/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
- -I$(top_builddir)/kaddressbook/common \
- -I$(top_srcdir)/kaddressbook/common \
- $(all_includes)
-
-kde_module_LTLIBRARIES = kcal_kabc.la
-
-kcal_kabc_la_SOURCES = resourcekabc.cpp resourcekabcconfig.cpp
-kcal_kabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_kabc_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/kaddressbook/common/libkabcommon.la
-
-libkcalincludedir = $(includedir)/libkcal
-libkcalinclude_HEADERS = resourcekabc.h resourcekabcconfig.h
-
-servicedir = $(kde_servicesdir)/kresources/kcal
-service_DATA = kabc.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_birthday.pot
-
-resourcekabcconfig.lo: ../../kaddressbook/common/kabprefs_base.h
diff --git a/kresources/birthdays/kabc.desktop b/kresources/birthdays/kabc.desktop
deleted file mode 100644
index 8fadcb2b..00000000
--- a/kresources/birthdays/kabc.desktop
+++ /dev/null
@@ -1,61 +0,0 @@
-[Desktop Entry]
-Name=Birthdays From KAddressBook
-Name[af]=Verjaarsdae uit KAddressBook
-Name[ar]=تواريخ الميلد من KAddressBook
-Name[be]=Дні нараджэння з K Адраснай кнігі
-Name[bg]=Рождени дни от адресника
-Name[br]=Deizioù-ha-bloazioù eus KAddressBook
-Name[bs]=Rođendani iz KAddressBook adresara
-Name[ca]=Aniversaris des de KAddressBook
-Name[cs]=Narozeniny z Knihy adres
-Name[cy]=Penblwyddi o KLlyfrCyfeiriadau
-Name[da]=Fødselsdage fra KAddressBook
-Name[de]=Geburtstage aus dem Adressbuch
-Name[el]=Γενέθλια από το KAddressBook
-Name[eo]=Naskiĝdatoj de KAdresaro
-Name[es]=Cumpleaños desde KAddressBook
-Name[et]=Sünnipäevad TDE aadressiraamatust
-Name[eu]=Urtebetetzeak KAddressBook-etik
-Name[fa]=تولدها از KAddressBook
-Name[fi]=Syntymäpäivät TDE:n osoitekirjasta
-Name[fr]=Dates de naissance de KAddressBook
-Name[fy]=Jierddagen út KAddressBook
-Name[ga]=Breithlaethanta ó KAddressBook
-Name[gl]=Cumpreanos de KAddressBook
-Name[he]=ימי הולדת מתוך KAddressBook
-Name[hi]=के-एड्रेस-बुक से जन्मतिथि
-Name[hu]=Születésnapok a KAddressBookból
-Name[is]=Afmælisdagar úr KAddressBook
-Name[it]=Compleanni da KAddessBook
-Name[ja]=アドレス帳の誕生日
-Name[kk]=KAddressBook-тағы туған күндер
-Name[km]=ថ្ងៃ​ខួប​កំណើត​ពី KAddressBook
-Name[lt]=Gimtadieniai iš KAddressBook
-Name[mk]=Родендени од КАдресар
-Name[ms]=Tarikh Lahir dari KAddressBook
-Name[nb]=Bursdagsimport fra KAddressbook
-Name[nds]=Geboortsdaag ut KAdressbook
-Name[ne]=केडीई ठेगाना पुस्तिकामा भएका जन्मदिन
-Name[nl]=Verjaardagen uit KAddressBook
-Name[nn]=Fødselsdagar frå TDE-adresseboka
-Name[pl]=Urodziny z Książki adresowej
-Name[pt]=Aniversários do KAddressBook
-Name[pt_BR]=Datas de Nascimento do KAddressBook
-Name[ro]=Date de naştere din KAddressBook
-Name[ru]=Дни рождения из адресной книги TDE
-Name[sk]=Dátumy narodenia z adresára TDE
-Name[sl]=Rojstni dnevi iz Adresarja
-Name[sr]=Рођендани из KAddressBook-а
-Name[sr@Latn]=Rođendani iz KAddressBook-a
-Name[sv]=Födelsedagar från adressboken
-Name[ta]=கேமுகவரிபுத்தகத்தில் இருந்து பிறந்ததேதிகள்
-Name[tg]=Рӯзҳои таваллуд аз китоби адресии TDE
-Name[tr]=TDE Adres Defterinden Doğum Günleri
-Name[uk]=Дні народження з KAddressBook
-Name[zh_CN]=KAddressBook 中的生日
-Name[zh_TW]=自 KaddressBook 匯入生日
-X-TDE-Library=kcal_kabc
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=birthdays
diff --git a/kresources/birthdays/resourcekabc.cpp b/kresources/birthdays/resourcekabc.cpp
deleted file mode 100644
index b98d49e0..00000000
--- a/kresources/birthdays/resourcekabc.cpp
+++ /dev/null
@@ -1,528 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-#include <stdlib.h>
-
-#include <tqdatetime.h>
-#include <tqstring.h>
-#include <tqptrlist.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <kurl.h>
-#include <kio/job.h>
-#include <kstandarddirs.h>
-
-#include <kabc/stdaddressbook.h>
-#include <kabc/locknull.h>
-
-#include "libkcal/vcaldrag.h"
-#include "libkcal/vcalformat.h"
-#include "libkcal/icalformat.h"
-#include "libkcal/exceptions.h"
-#include "libkcal/incidence.h"
-#include "libkcal/event.h"
-#include "libkcal/todo.h"
-#include "libkcal/journal.h"
-#include "libkcal/filestorage.h"
-#include "libkcal/alarm.h"
-
-#include <libemailfunctions/email.h>
-
-#include <kresources/configwidget.h>
-
-#include "resourcekabcconfig.h"
-
-#include "resourcekabc.h"
-
-using namespace KCal;
-
-extern "C"
-{
- void *init_kcal_kabc()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_birthday" );
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- return new KRES::PluginFactory<ResourceKABC,ResourceKABCConfig>();
- }
-}
-
-ResourceKABC::ResourceKABC( const TDEConfig* config )
- : ResourceCalendar( config ), mCalendar( TQString::fromLatin1( "UTC" ) ),
- mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
-{
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Birthdays" ) );
- }
-
- init();
-}
-
-ResourceKABC::ResourceKABC()
- : ResourceCalendar( 0 ), mCalendar( TQString::fromLatin1( "UTC" ) ),
- mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
-{
- init();
-}
-
-ResourceKABC::~ResourceKABC()
-{
- delete mLock;
-}
-
-void ResourceKABC::init()
-{
- setType( "birthdays" );
-
- setReadOnly( true );
-
- mLock = new KABC::LockNull( false );
-
- mAddressbook = 0;
-}
-
-void ResourceKABC::readConfig( const TDEConfig *config )
-{
- mAlarmDays = config->readNumEntry( "AlarmDays", 0 );
- mAlarm = config->readBoolEntry( "Alarm", true );
- mCategories = config->readListEntry( "Categories" );
- mUseCategories = config->readBoolEntry( "UseCategories", false );
-}
-
-void ResourceKABC::writeConfig( TDEConfig *config )
-{
- ResourceCalendar::writeConfig( config );
- config->writeEntry( "AlarmDays", mAlarmDays );
- config->writeEntry( "Alarm", mAlarm );
- config->writeEntry( "Categories", mCategories );
- config->writeEntry( "UseCategories", mUseCategories );
-}
-
-
-bool ResourceKABC::doOpen()
-{
- kdDebug(5800) << "ResourceKABC::doOpen()" << endl;
-
- mAddressbook = KABC::StdAddressBook::self( true );
- connect( mAddressbook, TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT( reload() ) );
-
- return true;
-}
-
-bool ResourceKABC::doLoad()
-{
- kdDebug(5800) << "ResourceKABC::load()" << endl;
-
- mCalendar.close();
-
- // import from kabc
- TQString summary;
- TQStringList::ConstIterator strIt;
- const TQStringList::ConstIterator endStrIt = mCategories.end();
- KABC::Addressee::List anniversaries;
- KABC::Addressee::List::Iterator addrIt;
-
- KABC::AddressBook::Iterator it;
- const KABC::AddressBook::Iterator endIt = mAddressbook->end();
- for ( it = mAddressbook->begin(); it != endIt; ++it ) {
-
- if ( mUseCategories ) {
- bool hasCategory = false;
- TQStringList categories = (*it).categories();
- for ( strIt = mCategories.begin(); strIt != endStrIt; ++strIt )
- if ( categories.contains( *strIt ) ) {
- hasCategory = true;
- break;
- }
-
- if ( !hasCategory )
- continue;
- }
-
- TQDate birthdate = (*it).birthday().date();
- TQString name_1, email_1, uid_1;
- if ( birthdate.isValid() ) {
- kdDebug(5800) << "found a birthday " << TQString(birthdate.toString()) << endl;
-
- name_1 = (*it).nickName();
- email_1 = (*it).fullEmail();
- uid_1 = (*it).uid();
- if (name_1.isEmpty()) name_1 = (*it).realName();
- summary = i18n("%1's birthday").arg( name_1 );
-
-
- Event *ev = new Event();
- ev->setUid( uid_1+"_KABC_Birthday");
-
- ev->setDtStart(birthdate);
- ev->setDtEnd(birthdate);
- ev->setHasEndDate(true);
- ev->setFloats(true);
- ev->setTransparency( Event::Transparent );
-
- ev->setCustomProperty("KABC", "BIRTHDAY", "YES");
- ev->setCustomProperty("KABC", "UID-1", uid_1 );
- ev->setCustomProperty("KABC", "NAME-1", name_1 );
- ev->setCustomProperty("KABC", "EMAIL-1", email_1 );
- kdDebug(5800) << "ResourceKABC::doLoad: uid:" << uid_1 << " name: " << name_1
- << " email: " << email_1 << endl;
- ev->setSummary(summary);
-
- // Set the recurrence
- Recurrence *vRecurrence = ev->recurrence();
- vRecurrence->setStartDate( birthdate );
- vRecurrence->setYearly( 1 );
- if ( birthdate.month()==2 && birthdate.day()==29 ) {
- vRecurrence->addYearlyDay( 60 );
- }
-
- ev->clearAlarms();
-
- if ( mAlarm ) {
- // Set the alarm
- Alarm* vAlarm = ev->newAlarm();
- vAlarm->setText(summary);
- vAlarm->setTime(birthdate);
- // 24 hours before. duration is in seconds.
- vAlarm->setStartOffset( -86400 * mAlarmDays );
- vAlarm->setEnabled(true);
- }
-
- // insert category
- ev->setCategories(i18n("Birthday"));
-
- ev->setReadOnly( true );
- mCalendar.addEvent(ev);
- kdDebug(5800) << "imported " << TQString(birthdate.toString()) << endl;
- }
-
- TQString anniversary_string = (*it).custom( "KADDRESSBOOK", "X-Anniversary" );
- if (anniversary_string.isEmpty() )
- continue;
- TQDateTime anniversary = TQDate::fromString( anniversary_string, Qt::ISODate );
- if ( !anniversary.isValid() )
- continue;
-
- TQString name = (*it).custom( "KADDRESSBOOK", "X-SpousesName" );
- if ( name.isEmpty() )
- anniversaries.append( *it );
- else {
- bool found = false;
- for ( addrIt = anniversaries.begin(); addrIt != anniversaries.end(); ++addrIt ) {
- if ( name == (*addrIt).realName() ) {
- TQDate spouseAnniversary =
- TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), Qt::ISODate );
- if ( anniversary == TQDateTime(spouseAnniversary) ) {
- found = true;
- break;
-
- }
- }
- }
-
- if ( !found )
- anniversaries.append( *it );
- }
- }
-
- for ( addrIt = anniversaries.begin(); addrIt != anniversaries.end(); ++addrIt ) {
- TQDate anniversary = TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), Qt::ISODate );
- kdDebug(5800) << "found a anniversary " << TQString(anniversary.toString()) << endl;
- TQString name;
- TQString name_1 = (*addrIt).nickName();
- TQString uid_1 = (*addrIt).uid();
- TQString email_1 = (*addrIt).fullEmail();
- if ( name_1.isEmpty() )
- name_1 = (*addrIt).realName();
-
-
- TQString spouseName = (*addrIt).custom( "KADDRESSBOOK", "X-SpousesName" );
- TQString name_2,email_2,uid_2;
- if ( !spouseName.isEmpty() ) {
- TQString tname, temail;
- KPIM::getNameAndMail( spouseName, tname, temail );
- tname = KPIM::quoteNameIfNecessary( tname );
- if ( ( tname[0] == '"' ) && ( tname[tname.length() - 1] == '"' ) ) {
- tname.remove( 0, 1 );
- tname.truncate( tname.length() - 1 );
- }
- KABC::Addressee spouse;
- spouse.setNameFromString( tname );
- name_2 = spouse.nickName();
- uid_2 = spouse.uid();
- email_2 = spouse.fullEmail();
- if ( name_2.isEmpty() ) {
- name_2 = spouse.realName();
- }
- summary = i18n("insert names of both spouses",
- "%1's & %2's anniversary").arg( name_1 ).arg( name_2 );
- } else {
- summary = i18n("only one spouse in addressbook, insert the name",
- "%1's anniversary").arg( name_1 );
- }
-
- Event *ev = new Event();
- ev->setUid( uid_1+"_KABC_Anniversary" );
-
- ev->setDtStart(anniversary);
- ev->setDtEnd(anniversary);
- ev->setHasEndDate(true);
- ev->setFloats(true);
-
- ev->setSummary(summary);
-
- ev->setCustomProperty( "KABC", "BIRTHDAY", "YES" );
-
- ev->setCustomProperty( "KABC", "UID-1", uid_1 );
- ev->setCustomProperty( "KABC", "NAME-1", name_1 );
- ev->setCustomProperty( "KABC", "EMAIL-1", email_1 );
- ev->setCustomProperty( "KABC", "ANNIVERSARY", "YES" );
- if ( !spouseName.isEmpty() ) {
- ev->setCustomProperty("KABC", "UID-2", uid_2 );
- ev->setCustomProperty("KABC", "NAME-2", spouseName );
- ev->setCustomProperty("KABC", "EMAIL-2", email_2 );
- }
- // Set the recurrence
- Recurrence *vRecurrence = ev->recurrence();
- vRecurrence->setStartDate( anniversary );
- vRecurrence->setYearly( 1 );
- if ( anniversary.month()==2 && anniversary.day()==29 ) {
- vRecurrence->addYearlyDay( 60 );
- }
-
- ev->clearAlarms();
-
- if ( mAlarm ) {
- // Set the alarm
- Alarm* vAlarm = ev->newAlarm();
- vAlarm->setText(summary);
- vAlarm->setTime(anniversary);
- // 24 hours before. duration is in seconds.
- vAlarm->setStartOffset( -86400 * mAlarmDays );
- vAlarm->setEnabled(true);
- }
-
- // insert category
- ev->setCategories(i18n("Anniversary"));
-
- ev->setReadOnly( true );
- mCalendar.addEvent(ev);
- kdDebug(5800) << "imported " << TQString(anniversary.toString()) << endl;
- }
-
- return true;
-}
-
-void ResourceKABC::setAlarm( bool a )
-{
- mAlarm = a;
-}
-
-bool ResourceKABC::alarm()
-{
- return mAlarm;
-}
-
-void ResourceKABC::setAlarmDays( int ad )
-{
- mAlarmDays = ad;
-}
-
-int ResourceKABC::alarmDays()
-{
- return mAlarmDays;
-}
-
-void ResourceKABC::setCategories( const TQStringList &categories )
-{
- mCategories = categories;
-}
-
-TQStringList ResourceKABC::categories() const
-{
- return mCategories;
-}
-
-void ResourceKABC::setUseCategories( bool useCategories )
-{
- mUseCategories = useCategories;
-}
-
-bool ResourceKABC::useCategories() const
-{
- return mUseCategories;
-}
-
-bool ResourceKABC::doSave()
-{
- // is always read only!
- return true;
-}
-
-bool ResourceKABC::isSaving()
-{
- return false;
-}
-
-KABC::Lock *ResourceKABC::lock()
-{
- return mLock;
-}
-
-
-bool ResourceKABC::addEvent( Event * )
-{
- return false;
-}
-
-bool ResourceKABC::addEvent( Event *, const TQString & )
-{
- return false;
-}
-
-bool ResourceKABC::deleteEvent( Event * )
-{
- return false;
-}
-
-
-Event *ResourceKABC::event( const TQString &uid )
-{
- return mCalendar.event( uid );
-}
-
-Event::List ResourceKABC::rawEventsForDate( const TQDate &date,
- EventSortField sortField,
- SortDirection sortDirection )
-{
- return mCalendar.rawEventsForDate( date, sortField, sortDirection );
-}
-
-Event::List ResourceKABC::rawEvents( const TQDate &start, const TQDate &end,
- bool inclusive )
-{
- return mCalendar.rawEvents( start, end, inclusive );
-}
-
-Event::List ResourceKABC::rawEventsForDate(const TQDateTime &qdt)
-{
- return mCalendar.rawEventsForDate( qdt.date() );
-}
-
-Event::List ResourceKABC::rawEvents( EventSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawEvents( sortField, sortDirection );
-}
-
-bool ResourceKABC::addTodo( Todo * )
-{
- return false;
-}
-
-bool ResourceKABC::addTodo( Todo *, const TQString & )
-{
- return false;
-}
-
-bool ResourceKABC::deleteTodo( Todo * )
-{
- return false;
-}
-
-
-Todo::List ResourceKABC::rawTodos( TodoSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawTodos( sortField, sortDirection );
-}
-
-Todo *ResourceKABC::todo( const TQString &uid )
-{
- return mCalendar.todo( uid );
-}
-
-Todo::List ResourceKABC::rawTodosForDate( const TQDate &date )
-{
- return mCalendar.rawTodosForDate( date );
-}
-
-
-bool ResourceKABC::addJournal( Journal * )
-{
- return false;
-}
-
-bool ResourceKABC::addJournal( Journal *, const TQString & )
-{
- return false;
-}
-
-bool ResourceKABC::deleteJournal( Journal * )
-{
- return false;
-}
-
-Journal *ResourceKABC::journal(const TQString &uid)
-{
- return mCalendar.journal( uid );
-}
-
-Journal::List ResourceKABC::rawJournals( JournalSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawJournals( sortField, sortDirection );
-}
-
-Journal::List ResourceKABC::rawJournalsForDate( const TQDate &date )
-{
- return mCalendar.rawJournalsForDate( date );
-}
-
-Alarm::List ResourceKABC::alarmsTo( const TQDateTime &to )
-{
- return mCalendar.alarmsTo( to );
-}
-
-Alarm::List ResourceKABC::alarms( const TQDateTime &from, const TQDateTime &to )
-{
-// kdDebug(5800) << "ResourceKABC::alarms(" << from.toString() << " - " << to.toString() << ")\n";
-
- return mCalendar.alarms( from, to );
-}
-
-void ResourceKABC::dump() const
-{
- ResourceCalendar::dump();
-}
-
-void ResourceKABC::reload()
-{
- load();
- emit resourceChanged( this );
-}
-
-void ResourceKABC::setTimeZoneId( const TQString& tzid )
-{
- mCalendar.setTimeZoneId( tzid );
-}
-
-#include "resourcekabc.moc"
diff --git a/kresources/birthdays/resourcekabc.h b/kresources/birthdays/resourcekabc.h
deleted file mode 100644
index 169a0294..00000000
--- a/kresources/birthdays/resourcekabc.h
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEKABC_H
-#define KCAL_RESOURCEKABC_H
-
-#include <tqptrlist.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-#include <kconfig.h>
-
-#include "libkcal/incidence.h"
-#include "libkcal/calendarlocal.h"
-#include <kabc/addressbook.h>
-
-#include "libkcal/resourcecalendar.h"
-
-#include "libtdepim/tdepimmacros.h"
-
-namespace TDEIO {
-class FileCopyJob;
-class Job;
-}
-
-namespace KCal {
-
-/**
- Resource providing birthdays and anniversaries as events.
-*/
-class KDE_EXPORT ResourceKABC : public ResourceCalendar
-{
- Q_OBJECT
-
-
- friend class ResourceKABCConfig;
-
- public:
- ResourceKABC( const TDEConfig * );
- ResourceKABC( );
- virtual ~ResourceKABC();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig* config );
-
- void setAlarm( bool );
- bool alarm();
-
- void setAlarmDays( int );
- int alarmDays();
-
- void setCategories( const TQStringList &categories );
- TQStringList categories() const;
-
- void setUseCategories( bool useCategories );
- bool useCategories() const;
-
- bool isSaving();
-
- KABC::Lock *lock();
-
- /** Add Event to calendar. */
- KDE_DEPRECATED bool addEvent(Event *event);
- bool addEvent( Event *event, const TQString &subresource );
- /** deletes an event from this calendar. */
- bool deleteEvent(Event *);
-
- /**
- Retrieves an event on the basis of the unique string ID.
- */
- Event *event(const TQString &UniqueStr);
- /**
- Return unfiltered list of all events in calendar.
- */
- Event::List rawEvents( EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /**
- Builds and then returns a list of all events that match for the
- date specified. useful for dayView, etc. etc.
- */
- Event::List rawEventsForDate( const TQDate &date, EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /**
- Get unfiltered events for date \a qdt.
- */
- Event::List rawEventsForDate( const TQDateTime &qdt );
- /**
- Get unfiltered events in a range of dates. If inclusive is set to true,
- only events are returned, which are completely included in the range.
- */
- Event::List rawEvents( const TQDate &start, const TQDate &end,
- bool inclusive = false );
-
- /**
- Add a todo to the todolist.
- */
- KDE_DEPRECATED bool addTodo( Todo *todo );
- bool addTodo( Todo *todo, const TQString &subresource );
- /**
- Remove a todo from the todolist.
- */
- bool deleteTodo( Todo * );
- /**
- Searches todolist for an event with this unique string identifier,
- returns a pointer or null.
- */
- Todo *todo( const TQString &uid );
- /**
- Return list of all todos.
- */
- Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /**
- Returns list of todos due on the specified date.
- */
- Todo::List rawTodosForDate( const TQDate &date );
- /** Add a Journal entry to calendar */
- KDE_DEPRECATED bool addJournal( Journal *journal );
- bool addJournal( Journal *journal, const TQString &subresource );
-
- /** Remove journal from the calendar. */
- bool deleteJournal( Journal * );
- /** Return Journal with given UID */
- virtual Journal *journal(const TQString &uid);
- /**
- Return list of all journals.
- */
- Journal::List rawJournals( JournalSortField sortField = JournalSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /**
- Returns list of journals for the given date.
- */
- Journal::List rawJournalsForDate( const TQDate &date );
-
- /** Return all alarms, which ocur in the given time interval. */
- Alarm::List alarms( const TQDateTime &from, const TQDateTime &to );
-
- /** Return all alarms, which ocur before given date. */
- Alarm::List alarmsTo( const TQDateTime &to );
-
- void dump() const;
-
- void setTimeZoneId( const TQString &timeZoneId );
-
- protected:
- bool doOpen();
- bool doLoad();
- bool doSave();
-
- private slots:
- void reload();
-
- private:
- void init();
-
- CalendarLocal mCalendar;
-
- int mAlarmDays;
- bool mAlarm;
- TQStringList mCategories;
- bool mUseCategories;
- KABC::AddressBook *mAddressbook;
-
- KABC::Lock *mLock;
-
- class Private;
- Private *d;
-};
-
-}
-
-#endif
diff --git a/kresources/birthdays/resourcekabcconfig.cpp b/kresources/birthdays/resourcekabcconfig.cpp
deleted file mode 100644
index 2f7671dc..00000000
--- a/kresources/birthdays/resourcekabcconfig.cpp
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqheader.h>
-#include <tqlayout.h>
-
-#include <kabprefs.h>
-#include <kdebug.h>
-#include <klocale.h>
-
-#include "resourcekabc.h"
-#include "resourcekabcconfig.h"
-
-using namespace KCal;
-
-ResourceKABCConfig::ResourceKABCConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *topLayout = new TQGridLayout( this, 5, 1, 11, 6 );
-
- mAlarm = new TQCheckBox(i18n("Set reminder"), this);
- topLayout->addWidget(mAlarm, 0, 0);
- TQBoxLayout *alarmLayout = new TQHBoxLayout(topLayout);
-
- mALabel = new TQLabel(i18n("Reminder before (in days):"), this);
- alarmLayout->addWidget(mALabel);
- mAlarmTimeEdit = new KRestrictedLine(this, "alarmTimeEdit", "1234567890");
- mAlarmTimeEdit->setText("0");
- alarmLayout->addWidget(mAlarmTimeEdit);
-
- TQFrame *line = new TQFrame( this );
- line->setFrameStyle( TQFrame::Sunken | TQFrame::HLine );
- topLayout->addMultiCellWidget( line, 2, 2, 0, 1 );
-
- mUseCategories = new TQCheckBox( i18n( "Filter by categories" ), this );
- topLayout->addMultiCellWidget( mUseCategories, 3, 3, 0, 1 );
-
- mCategoryView = new KListView( this );
- mCategoryView->addColumn( "" );
- mCategoryView->header()->hide();
- mCategoryView->setEnabled( false );
- topLayout->addMultiCellWidget( mCategoryView, 4, 4, 0, 1 );
-
- connect( mUseCategories, TQT_SIGNAL( toggled( bool ) ),
- mCategoryView, TQT_SLOT( setEnabled( bool ) ) );
-
- mAlarmTimeEdit->setDisabled(true);
- mALabel->setDisabled(true);
-
- connect(mAlarm, TQT_SIGNAL(clicked()), TQT_SLOT(alarmClicked()));
-
- setReadOnly( true );
-
- KABPrefs *prefs = KABPrefs::instance();
- const TQStringList categories = prefs->customCategories();
- TQStringList::ConstIterator it;
- for ( it = categories.begin(); it != categories.end(); ++it )
- new TQCheckListItem( mCategoryView, *it, TQCheckListItem::CheckBox );
-}
-
-void ResourceKABCConfig::loadSettings( KRES::Resource *resource )
-{
- ResourceKABC *res = static_cast<ResourceKABC *>( resource );
- if ( res ) {
- mAlarm->setChecked( res->alarm() );
- TQString days;
- mAlarmTimeEdit->setText( days.setNum(res->alarmDays()) );
-
- mAlarmTimeEdit->setEnabled( res->alarm() );
- mALabel->setEnabled( res->alarm() );
-
- const TQStringList categories = res->categories();
- TQListViewItemIterator it( mCategoryView );
- while ( it.current() ) {
- if ( categories.contains( it.current()->text( 0 ) ) ) {
- TQCheckListItem *item = static_cast<TQCheckListItem*>( it.current() );
- item->setOn( true );
- }
- ++it;
- }
-
- mUseCategories->setChecked( res->useCategories() );
- } else {
- kdDebug(5700) << "ERROR: ResourceKABCConfig::loadSettings(): no ResourceKABC, cast failed" << endl;
- }
-}
-
-void ResourceKABCConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceKABC *res = static_cast<ResourceKABC *>( resource );
- if ( res ) {
- res->setAlarm( mAlarm->isChecked() );
- res->setAlarmDays( mAlarmTimeEdit->text().toInt() );
- setReadOnly( true );
-
- TQStringList categories;
- TQListViewItemIterator it( mCategoryView, TQListViewItemIterator::Checked );
- while ( it.current() ) {
- categories.append( it.current()->text( 0 ) );
- ++it;
- }
- res->setCategories( categories );
- res->setUseCategories( mUseCategories->isChecked() );
- } else {
- kdDebug(5700) << "ERROR: ResourceKABCConfig::saveSettings(): no ResourceKABC, cast failed" << endl;
- }
-}
-
-void ResourceKABCConfig::alarmClicked()
-{
- mAlarmTimeEdit->setDisabled(!mAlarm->isChecked());
- mALabel->setDisabled(!mAlarm->isChecked());
-}
-
-#include "resourcekabcconfig.moc"
diff --git a/kresources/birthdays/resourcekabcconfig.h b/kresources/birthdays/resourcekabcconfig.h
deleted file mode 100644
index b8ae916e..00000000
--- a/kresources/birthdays/resourcekabcconfig.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KCAL_RESOURCEKABCCONFIG_H
-#define KCAL_RESOURCEKABCCONFIG_H
-
-#include <tqcheckbox.h>
-#include <tqlabel.h>
-
-#include <klistview.h>
-#include <krestrictedline.h>
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-namespace KCal {
-
-/**
- Configuration widget for birtday/anniversaries resource.
-
- @see ResourceKABC
-*/
-class ResourceKABCConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- ResourceKABCConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource);
- virtual void saveSettings( KRES::Resource *resource );
-
- private slots:
- void alarmClicked();
-
- private:
- TQCheckBox *mAlarm;
- KRestrictedLine *mAlarmTimeEdit;
- TQLabel *mALabel;
- TQCheckBox *mUseCategories;
- KListView *mCategoryView;
-
- class Private;
- Private *d;
-};
-
-}
-
-#endif
diff --git a/kresources/blogging/API_Blog.cpp b/kresources/blogging/API_Blog.cpp
deleted file mode 100644
index 981390fa..00000000
--- a/kresources/blogging/API_Blog.cpp
+++ /dev/null
@@ -1,121 +0,0 @@
-/***************************************************************************
-* Copyright (C) 2004-05 Reinhold Kainhofer <reinhold@kainhofer.com> *
-* *
-* 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 of the License, or *
-* (at your option) any later version. *
-***************************************************************************/
-#include "API_Blog.h"
-#include <kdebug.h>
-#include <tqvariant.h>
-
-using namespace KBlog;
-
-APIBlog::APIBlog( const KURL &url, TQObject *parent, const char *name ) :
- TQObject( parent, name ),
- mServerURL( url ), mAppID( TQString() ), mDownloadCount( 20 )
-{}
-
-APIBlog::~APIBlog()
-{}
-
-void APIBlog::dumpBlog( BlogPosting *blog )
-{
- kdDebug() << "-----------------------------------" << endl;
- kdDebug() << "Post " << blog->postID() << " by \"" <<
- blog->userID() << "\" on " <<
- blog->dateTime().toString() << endl;
- kdDebug() << "Title: " << blog->title() << endl;
- kdDebug() << blog->content() <<endl;
- kdDebug() << "-----------------------------------" << endl;
-}
-
-
-
-/*void APIBlog::setTemplateTags( const BlogTemplate& Template )
-{
- mTemplate = Template;
-}
-BlogTemplate APIBlog::templateTags() const
-{
- return mTemplate;
-}*/
-
-/*void APIBlog::deletePost( const TQString &postID )
-{
- BlogPosting *post = new BlogPosting();
- post->setPostID( postID );
- deletePost( post );
- delete post;
-}*/
-
-TQValueList<TQVariant> APIBlog::defaultArgs( const TQString &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( mAppID );
- if ( !id.isNull() ) {
- args << TQVariant( id );
- }
- args << TQVariant( mUsername )
- << TQVariant( mPassword );
- return args;
-}
-
-
-KCal::Journal *APIBlog::journalFromPosting( KBlog::BlogPosting *blog )
-{
- if ( !blog ) return 0;
- KCal::Journal *j = new KCal::Journal();
- TQDateTime dt = blog->dateTime();
- TQDateTime creationDt = blog->creationDateTime();
- TQDateTime modificationDt = blog->modificationDateTime();
-kdDebug() << "dt ="<<dt.toString( TQt::ISODate ) << endl;
-kdDebug() << "creationDt ="<<creationDt.toString( TQt::ISODate ) << endl;
-kdDebug() << "modificationDt="<<modificationDt.toString( TQt::ISODate ) << endl;
- if ( dt.isValid() && !dt.isNull() ) {
- j->setDtStart( dt );
- } else if ( creationDt.isValid() && !creationDt.isNull() ) {
- j->setDtStart( creationDt );
- } else if ( modificationDt.isValid() && !modificationDt.isNull() ) {
- j->setDtStart( modificationDt );
- }
-
- j->setCreated( blog->creationDateTime() );
- j->setLastModified( blog->modificationDateTime() );
- j->setFloats( false );
- kdDebug() << "Date for blog " << blog->title() << " is "
- << blog->dateTime().toString()<<endl;
- j->setSummary( blog->title() );
- j->setDescription( blog->content() );
- j->setCategories( TQStringList( blog->category() ) );
- j->setOrganizer( blog->userID() );
- j->setCustomProperty( "KCalBloggerRes", "UserID", blog->userID() );
- j->setCustomProperty( "KCalBloggerRes", "BlogID", blog->blogID() );
- j->setCustomProperty( "KCalBloggerRes", "PostID", blog->postID() );
-
- // TODO: Set the read-only flag in the resource!
-// j->setReadOnly( readOnly() );
-
- return j;
-}
-
-KBlog::BlogPosting *APIBlog::postingFromJournal( KCal::Journal *journal )
-{
- KBlog::BlogPosting *item = new KBlog::BlogPosting();
- if ( journal && item ) {
- item->setContent( journal->description() );
- item->setTitle( journal->summary() );
- item->setCategory( journal->categories().first() );
- item->setDateTime( journal->dtStart() );
- item->setModificationDateTime( journal->lastModified() );
- item->setCreationDateTime( journal->created() );
- item->setUserID( journal->customProperty( "KCalBloggerRes", "UserID" ) );
- item->setBlogID( journal->customProperty( "KCalBloggerRes", "BlogID" ) );
- item->setPostID( journal->customProperty( "KCalBloggerRes", "PostID" ) );
- }
- return item;
-}
-
-
-#include "API_Blog.moc"
diff --git a/kresources/blogging/API_Blog.h b/kresources/blogging/API_Blog.h
deleted file mode 100644
index 9425bd5e..00000000
--- a/kresources/blogging/API_Blog.h
+++ /dev/null
@@ -1,163 +0,0 @@
-/**************************************************************************
-* Copyright (C) 2004 by Reinhold Kainhofer <reinhold@kainhofer.com> *
-* *
-* 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 of the License, or *
-* (at your option) any later version. *
-***************************************************************************/
-#ifndef API_BLOG_H
-#define API_BLOG_H
-
-#include <kurl.h>
-#include <kio/job.h>
-#include <libkcal/journal.h>
-
-#include <tqobject.h>
-#include <tqstring.h>
-#include <tqvaluelist.h>
-#include <tqdatetime.h>
-
-/**
-This is the main interface for blog backends
-@author ian reinhart geiser, Reinhold Kainhofer
-*/
-
-namespace KBlog {
-
-class BlogPosting
-{
-public:
- BlogPosting() {}
- virtual ~BlogPosting() {}
-
- TQString userID() const { return mUserID; }
- void setUserID( const TQString &userID ) { mUserID = userID; }
-
- TQString blogID() const { return mBlogID; }
- void setBlogID( const TQString &blogID ) { mBlogID = blogID; }
-
- TQString postID() const { return mPostID; }
- void setPostID( const TQString &postID ) { assignPostID( postID ); mPostID = postID; }
-
- TQString title() const { return mTitle; }
- void setTitle( const TQString &title ) { mTitle = title; }
-
- TQString content() const { return mContent; }
- void setContent( const TQString &content ) { mContent = content; }
-
- TQString category() const { return mCategory; }
- void setCategory( const TQString &category ) { mCategory = category; }
-
- TQString fingerprint() const { return mFingerprint; }
- void setFingerprint( const TQString &fp ) { mFingerprint = fp; }
-
- TQDateTime dateTime() const { return mDateTime; }
- void setDateTime( const TQDateTime &datetime ) { mDateTime = datetime; }
-
- TQDateTime creationDateTime() const { return mCreationDateTime; }
- void setCreationDateTime( const TQDateTime &datetime ) { mCreationDateTime = datetime; }
-
- TQDateTime modificationDateTime() const { return mModificationDateTime; }
- void setModificationDateTime( const TQDateTime &datetime ) { mModificationDateTime = datetime; }
-
- virtual void wasDeleted( bool ) {}
- virtual void wasUploaded( bool ) {}
- virtual void error( int /*code*/, const TQString &/*error*/ ) {}
-
-protected:
- // Override this method to detect the new postID assigned when adding a new post
- virtual void assignPostID( const TQString &/*postID*/ ) {}
- TQString mUserID;
- TQString mBlogID;
- TQString mPostID;
- TQString mTitle;
- TQString mContent;
- TQString mCategory;
- TQString mFingerprint;
- TQDateTime mDateTime;
- TQDateTime mCreationDateTime;
- TQDateTime mModificationDateTime;
-};
-
-
-class APIBlog : public TQObject
-{
- Q_OBJECT
-
- public:
- APIBlog( const KURL &server, TQObject *parent = 0L, const char *name = 0L );
- virtual ~APIBlog();
- virtual TQString interfaceName() const = 0;
-
- void setAppID( const TQString &appID ) { mAppID = appID; }
- TQString appID() const { return mAppID; }
-
- void setPassword( const TQString &pass ) { mPassword = pass; }
- TQString password() const { return mPassword; }
-
- void setUsername( const TQString &uname ) { mUsername = uname; }
- TQString username() const { return mUsername; }
-
- void setURL( const KURL& url ) { mServerURL = url; }
- KURL url() const { return mServerURL; }
-
- void setDownloadCount( int nr ) { mDownloadCount = nr; }
- int downloadCount() const { return mDownloadCount; }
-
- static void dumpBlog( BlogPosting *blog );
-
-
- enum blogFunctions {
- bloggerGetUserInfo,
- bloggerGetUsersBlogs,
- bloggerGetRecentPosts,
- bloggerNewPost,
- bloggerEditPost,
- bloggerDeletePost,
- bloggerGetPost,
- bloggerGetTemplate,
- bloggerSetTemplate
- };
-
- virtual TQString getFunctionName( blogFunctions type ) = 0;
- virtual TQValueList<TQVariant> defaultArgs( const TQString &id = TQString() );
-
- virtual TDEIO::Job *createUserInfoJob() = 0;
- virtual TDEIO::Job *createListFoldersJob() = 0;
- virtual TDEIO::TransferJob *createListItemsJob( const KURL &url ) = 0;
- virtual TDEIO::TransferJob *createDownloadJob( const KURL &url ) = 0;
- virtual TDEIO::TransferJob *createUploadJob( const KURL &url, KBlog::BlogPosting *posting ) = 0;
- virtual TDEIO::TransferJob *createUploadNewJob( KBlog::BlogPosting *posting ) = 0;
- virtual TDEIO::Job *createRemoveJob( const KURL &url, const TQString &postid ) = 0;
-
- virtual bool interpretUserInfoJob( TDEIO::Job *job ) = 0;
- virtual void interpretListFoldersJob( TDEIO::Job *job ) = 0;
- virtual bool interpretListItemsJob( TDEIO::Job *job ) = 0;
- virtual bool interpretDownloadItemsJob( TDEIO::Job *job ) = 0;
-
- static KCal::Journal *journalFromPosting( KBlog::BlogPosting *post );
- static KBlog::BlogPosting *postingFromJournal( KCal::Journal *journal );
-
- signals:
- // TODO: Connect these
- void userInfoRetrieved( const TQString &nickname, const TQString &userid, const TQString &email );
- void folderInfoRetrieved( const TQString &id, const TQString &name );
-
- void itemOnServer( const KURL &remoteURL );
- void itemDownloaded( KCal::Incidence *j, const TQString &localID,
- const KURL &remoteURL, const TQString &fingerprint,
- const TQString &storageLocation );
-
-
- protected:
-
- KURL mServerURL;
- TQString mPassword;
- TQString mUsername;
- TQString mAppID;
- int mDownloadCount;
-};
-
-}
-#endif
diff --git a/kresources/blogging/API_Blogger.cpp b/kresources/blogging/API_Blogger.cpp
deleted file mode 100644
index 69a722e2..00000000
--- a/kresources/blogging/API_Blogger.cpp
+++ /dev/null
@@ -1,332 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "API_Blogger.h"
-#include "xmlrpcjob.h"
-#include <kdebug.h>
-
-using namespace KBlog;
-
-TQString APIBlogger::getFunctionName( blogFunctions type )
-{
- switch ( type ) {
- case bloggerGetUserInfo: return "blogger.getUserInfo";
- case bloggerGetUsersBlogs: return "blogger.getUsersBlogs";
- case bloggerGetRecentPosts: return "blogger.getRecentPosts";
- case bloggerNewPost: return "blogger.newPost";
- case bloggerEditPost: return "blogger.editPost";
- case bloggerDeletePost: return "blogger.deletePost";
- case bloggerGetPost: return "blogger.getPost";
- case bloggerGetTemplate: return "blogger.getTemplate";
- case bloggerSetTemplate: return "blogger.setTemplate";
- default: return TQString();
- }
-}
-
-
-
-
-TDEIO::Job *APIBlogger::createUserInfoJob()
-{
- kdDebug() << "read user info..." << endl;
- TQValueList<TQVariant> args( defaultArgs() );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerGetUserInfo ), args, false );
-}
-
-TDEIO::Job *APIBlogger::createListFoldersJob()
-{
- // TODO: Check if we're already authenticated. If not, do it!
-// if ( isValid() ) {
- kdDebug() << "Fetch List of Blogs..." << endl;
- TQValueList<TQVariant> args( defaultArgs() );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerGetUsersBlogs ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-TDEIO::TransferJob *APIBlogger::createListItemsJob( const KURL &url )
-{
- // TODO: Check if we're already authenticated. If not, do it!
-// if ( isValid() ) {
- kdDebug() << "Fetch List of Posts..." << endl;
- TQValueList<TQVariant> args( defaultArgs( url.url() ) );
- args << TQVariant( mDownloadCount );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerGetRecentPosts ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-TDEIO::TransferJob *APIBlogger::createDownloadJob( const KURL &url )
-{
-// if ( isValid() ){
- kdDebug() << "Fetch Posting with url " << url.url() << endl;
- TQValueList<TQVariant> args( defaultArgs( url.url() ) );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerGetPost ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-TDEIO::TransferJob *APIBlogger::createUploadJob( const KURL &url, KBlog::BlogPosting *posting )
-{
- if ( !posting ) {
- kdDebug() << "APIBlogger::createUploadJob: posting=0" << endl;
- return 0;
- }
-// if ( isValid() ){
- kdDebug() << "Uploading Posting with url " << url.url() << endl;
- TQValueList<TQVariant> args( defaultArgs( posting->postID() ) );
- args << TQVariant( posting->content() );
- args << TQVariant( /*publish=*/true, 0 );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerEditPost ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-TDEIO::TransferJob *APIBlogger::createUploadNewJob( KBlog::BlogPosting *posting )
-{
- if ( !posting ) {
- kdDebug() << "APIBlogger::createUploadNewJob: posting=0" << endl;
- return 0;
- }
-// if ( isValid() ){
- kdDebug() << "Creating new Posting with blogid " << posting->blogID() << " at url " << mServerURL << endl;
- TQValueList<TQVariant> args( defaultArgs( posting->blogID() ) );
- args << TQVariant( posting->content() );
- args << TQVariant( /*publish=*/true, 0 );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerNewPost ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-TDEIO::Job *APIBlogger::createRemoveJob( const KURL &/*url*/, const TQString &postid )
-{
-kdDebug() << "APIBlogger::createRemoveJob: postid=" << postid << endl;
-// if ( isValid() ){
- TQValueList<TQVariant> args( defaultArgs( postid ) );
- args << TQVariant( /*publish=*/true, 0 );
- return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerDeletePost ), args, false );
-// } else {
-// warningNotInitialized();
-// return 0;
-// }
-}
-
-
-
-
-bool APIBlogger::interpretUserInfoJob( TDEIO::Job *job )
-{
- // TODO: Implement user authentication
-// isValid = true;
- TDEIO::XmlrpcJob *trfjob = dynamic_cast<TDEIO::XmlrpcJob*>(job);
- if ( job->error() || !trfjob ) {
- // TODO: Error handling
- return false;
- } else if ( trfjob ) {
- TQValueList<TQVariant> message( trfjob->response() );
-
- kdDebug () << "TOP: " << message[ 0 ].typeName() << endl;
- const TQValueList<TQVariant> posts = message;
- TQValueList<TQVariant>::ConstIterator it = posts.begin();
- TQValueList<TQVariant>::ConstIterator end = posts.end();
- for ( ; it != end; ++it ) {
- kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
- const TQString nickname = postInfo[ "nickname" ].toString();
- const TQString userid = postInfo[ "userid" ].toString();
- const TQString email = postInfo[ "email" ].toString();
- kdDebug() << "Post " << nickname << " " << userid << " " << email << endl;
- // FIXME: How about a BlogUserInfo class???
- emit userInfoRetrieved( nickname, userid, email );
- }
- return true;
- }
- return false;
-}
-
-void APIBlogger::interpretListFoldersJob( TDEIO::Job *job )
-{
-kdDebug() << "APIBlogger::interpretListFoldersJob" << endl;
- TDEIO::XmlrpcJob *trfjob = dynamic_cast<TDEIO::XmlrpcJob*>(job);
- if ( job->error() || !trfjob ) {
- // TODO: Error handling
- } else {
-kdDebug() << "APIBlogger::interpretListFoldersJob, no error!" << endl;
- TQValueList<TQVariant> message( trfjob->response() );
- kdDebug () << "TOP: " << message[ 0 ].typeName() << endl;
-
- const TQValueList<TQVariant> posts = message[ 0 ].toList();
- TQValueList<TQVariant>::ConstIterator it = posts.begin();
- TQValueList<TQVariant>::ConstIterator end = posts.end();
- for ( ; it != end; ++it ) {
- kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
-
- const TQString id( postInfo[ "blogid" ].toString() );
- const TQString name( postInfo[ "blogName" ].toString() );
- const TQString url( postInfo[ "url" ].toString() );
-
- // Use the Blog ID instead of the URL. The ID already indicates the correct blog, and the
- // URL for all calls will be the XML-RPC interface, anyway.
- if ( !id.isEmpty() && !name.isEmpty() ) {
- emit folderInfoRetrieved( id, name );
-kdDebug()<< "Emitting folderInfoRetrieved( id=" << id << ", name=" << name << "); " << endl;
- }
- }
- }
-}
-
-bool APIBlogger::interpretListItemsJob( TDEIO::Job *job )
-{
- return interpretDownloadItemsJob( job );
-}
-
-bool APIBlogger::interpretDownloadItemsJob( TDEIO::Job *job )
-{
- kdDebug(5800)<<"APIBlogger::interpretDownloadItemJob"<<endl;
- TDEIO::XmlrpcJob *trfjob = dynamic_cast<TDEIO::XmlrpcJob*>(job);
- bool success = false;
- if ( job->error() || !trfjob ) {
- // TODO: Error handling
- success = false;
- } else {
- //array of structs containing ISO.8601 dateCreated, String userid, String postid, String content;
- // TODO: Time zone for the dateCreated!
- TQValueList<TQVariant> message( trfjob->response() );
- kdDebug () << "TOP: " << message[ 0 ].typeName() << endl;
-
- const TQValueList<TQVariant> postReceived = message[ 0 ].toList();
- TQValueList<TQVariant>::ConstIterator it = postReceived.begin();
- TQValueList<TQVariant>::ConstIterator end = postReceived.end();
- success = true;
- for ( ; it != end; ++it ) {
- BlogPosting posting;
- kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
- if ( readPostingFromMap( &posting, postInfo ) ) {
- KCal::Journal *j = journalFromPosting( &posting );
-// dumpBlog( &posting );
- kdDebug() << "Emitting itemOnServer( posting.postID()="<<posting.postID() << "); " << endl;
- emit itemOnServer( KURL( posting.postID() ) );
- kdDebug() << "Emitting itemDownloaded( j=" << j << ", uid=" << j->uid()
- << ", postID=" << posting.postID() << ", fpr="
- << posting.fingerprint() << "); " << endl;
- emit itemDownloaded( j, j->uid(), KURL( posting.postID() ),
- posting.fingerprint(), posting.postID() );
- } else {
- kdDebug() << "readPostingFromMap failed! " << endl;
- success = false;
- // TODO: Error handling
- }
- }
- }
- return success;
-}
-
-
-bool APIBlogger::readPostingFromMap( BlogPosting *post, const TQMap<TQString, TQVariant> &postInfo )
-{
- // FIXME:
- if ( !post ) return false;
- TQStringList mapkeys = postInfo.keys();
- kdDebug() << endl << "Keys: " << mapkeys.join(", ") << endl << endl;
-
- TQString fp( TQString() );
-
- TQDateTime dt( postInfo[ "dateCreated" ].toDateTime() );
- if ( dt.isValid() && !dt.isNull() ) {
- post->setCreationDateTime( dt );
- TQString fp = dt.toString( TQt::ISODate );
- }
- dt = postInfo[ "postDate" ].toDateTime();
- if ( dt.isValid() && !dt.isNull() ) {
- post->setDateTime( dt );
- fp = dt.toString( TQt::ISODate );
- }
- dt = postInfo[ "lastModified" ].toDateTime();
- if ( dt.isValid() && !dt.isNull() ) {
- post->setModificationDateTime( dt );
- fp = dt.toString( TQt::ISODate );
- }
- post->setFingerprint( fp );
-
- post->setUserID( postInfo[ "userid" ].toString() );
- post->setPostID( postInfo[ "postid" ].toString() );
-
- TQString title( postInfo[ "title" ].toString() );
- TQString description( postInfo[ "description" ].toString() );
- TQString contents( postInfo[ "content" ].toString() );
- TQString category;
-
- // TODO: Extract title and cats from the old-style blogger api without extensions
-/*
- if ( (title.isEmpty() || description.isEmpty() ) && !contents.isEmpty() ) {
- // we don't have both title and description, so use the content (ie. it's an
- // old-style blogger api, not the extended drupal api.
-
- kdDebug() << "No title and description given, so it's an old-style "
- "Blogger API without extensions" << endl;
- TQString catTagOpen = mTemplate.categoryTagOpen();
- TQString catTagClose = mTemplate.categoryTagClose();
- TQString titleTagOpen = mTemplate.titleTagOpen();
- TQString titleTagClose = mTemplate.titleTagClose();
-
- int catStart = contents.find( catTagOpen, 0, false ) + catTagOpen.length();
- int catEnd = contents.find( catTagClose, 0, false );
-kdDebug() << " catTagOpen = " << catTagOpen << ", catTagClose = " << catTagClose << ", start - end : " << catStart <<" - " << catEnd << endl;
- if ( catEnd > catStart ) {
- category = contents.mid( catStart, catEnd - catStart );
- kdDebug() << "Found a category \"" << category << "\"" << endl;
- contents = contents.remove( catStart - catTagOpen.length(),
- catEnd - catStart + catTagClose.length() + catTagOpen.length() );
- }
- int titleStart = contents.find( titleTagOpen, 0, false ) + titleTagOpen.length();
- int titleEnd = contents.find( titleTagClose, 0, false );
-kdDebug() << " titleTagOpen = " << titleTagOpen << ", titleTagClose = " << titleTagClose << ", start - end : " << titleStart <<" - " << titleEnd << endl;
- kdDebug() << "Title start and end: " << titleStart << ", " << titleEnd << endl;
- if ( titleEnd > titleStart ) {
- title = contents.mid( titleStart, titleEnd - titleStart );
- contents = contents.remove( titleStart - titleTagOpen.length(),
- titleEnd - titleStart + titleTagClose.length() + titleTagOpen.length() );
- }
- kdDebug() << endl << endl << endl << "After treatment of the special tags, we have a content of: "<< endl << contents << endl;
- }
-*/
-
- post->setTitle( title );
- post->setContent( contents );
- if ( !category.isEmpty() )
- post->setCategory( category );
- return true;
-}
-
-
-
diff --git a/kresources/blogging/API_Blogger.h b/kresources/blogging/API_Blogger.h
deleted file mode 100644
index d7d5f43b..00000000
--- a/kresources/blogging/API_Blogger.h
+++ /dev/null
@@ -1,57 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef API_BLOGGER_H
-#define API_BLOGGER_H
-
-#include "API_Blog.h"
-
-#include <tqstring.h>
-#include <tqvariant.h>
-#include <tqvaluelist.h>
-
-namespace KBlog {
-
-class APIBlogger : public APIBlog
-{
- public:
- APIBlogger( const KURL &server, TQObject *parent = 0L, const char *name = 0L ) : APIBlog( server, parent, name ) {}
- TQString getFunctionName( blogFunctions type );
- TQString interfaceName() const { return "Blogger API 1.0"; }
-
-
- TDEIO::Job *createUserInfoJob();
- TDEIO::Job *createListFoldersJob();
- TDEIO::TransferJob *createListItemsJob( const KURL &url );
- TDEIO::TransferJob *createDownloadJob( const KURL &url );
- TDEIO::TransferJob *createUploadJob( const KURL &url, KBlog::BlogPosting *posting );
- TDEIO::TransferJob *createUploadNewJob( KBlog::BlogPosting *posting );
- TDEIO::Job *createRemoveJob( const KURL &url, const TQString &postid );
-
- bool interpretUserInfoJob( TDEIO::Job *job );
- void interpretListFoldersJob( TDEIO::Job *job );
- bool interpretListItemsJob( TDEIO::Job *job );
- bool interpretDownloadItemsJob( TDEIO::Job *job );
- protected:
- bool readPostingFromMap( BlogPosting *post, const TQMap<TQString, TQVariant> &postInfo );
-};
-
-}
-#endif
diff --git a/kresources/blogging/Makefile.am b/kresources/blogging/Makefile.am
deleted file mode 100644
index 508b0e75..00000000
--- a/kresources/blogging/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/lib -I../lib -I$(top_srcdir)/kresources/blogging/libkblog/ $(all_includes)
-
-lib_LTLIBRARIES = libkcal_blogging.la
-kde_module_LTLIBRARIES = kcal_blogging.la
-
-libkcal_blogging_la_SOURCES = API_Blog.cpp API_Blogger.cpp xmlrpcjob.cpp \
- bloggingglobals.cpp \
- bloggingcalendaradaptor.cpp \
- kcal_resourceblogging.cpp kcal_resourcebloggingconfig.cpp
-libkcal_blogging_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_blogging_la_LIBADD = \
- ../lib/libkgroupwarebase.la \
- $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la
-
-
-kcal_blogging_la_SOURCES = kcal_resourceblogging_plugin.cpp
-kcal_blogging_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kcal_blogging_la_LIBADD = libkcal_blogging.la
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = blogging.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_blogging.pot
-
-kcal_resourceblogging.lo: ../lib/kresources_groupwareprefs.h
diff --git a/kresources/blogging/blogging.desktop b/kresources/blogging/blogging.desktop
deleted file mode 100644
index 7714a362..00000000
--- a/kresources/blogging/blogging.desktop
+++ /dev/null
@@ -1,49 +0,0 @@
-[Desktop Entry]
-Name=Journals as Blogs on a Server
-Name[af]=Joernale as Blogs op 'n bediener
-Name[bg]=Дневници и блогове
-Name[ca]=Diaris com a blocs en un servidor
-Name[cs]=Deníky jako blogy na serveru
-Name[da]=Journaler som www-blogger på en server
-Name[de]=Journaleinträge als Blogs auf einem Server
-Name[el]=Εφημερίδες ως Blogs σε έναν εξυπηρετητή
-Name[es]=Diarios, como bitácoras en un servidor
-Name[et]=Päevik veebipäevikuna serveris
-Name[eu]=Egunkariak blog moduan zerbitzarian
-Name[fa]=نشریه‌ها به عنوان وب‌نوشتها روی یک کارساز
-Name[fi]=Päiväkirjat blogeina palvelimella
-Name[fr]=Journaux (blogs) sur un serveur
-Name[fy]=Journalen as blochs op in tsjinner
-Name[gl]=Xornais como Bitácoras nun Servidor
-Name[hu]=Naplók blogként tárolása a kiszolgálón
-Name[is]=Dagbækur sem blogg á þjóni
-Name[it]=Diari come blog su un server
-Name[ja]=サーバ上のブログとしてのジャーナル
-Name[kk]=Сервердегі күнделік блог ретінде
-Name[km]=ទិនានុប្បវត្តិ​ជា​កំណត់ហេតុ​បណ្ដាញ​នៅ​លើ​ម៉ាស៊ីន​បម្រើ
-Name[lt]=Dienynai kaip Blog'ai serveryje
-Name[ms]=Jurnal sebagai Blog pada pelayan
-Name[nb]=Dagbok som blogg på en tjener
-Name[nds]=Daagbookindräag as Blog op en Server
-Name[ne]=सर्भरमा बल्गका रुपका पत्रिका
-Name[nl]=Journalen als blogs op een server
-Name[nn]=Dagbøker som bloggar på ein tenar
-Name[pl]=Dzienniki jako blogi na serwerze
-Name[pt]=Diários como 'Blogs' num Servidor
-Name[pt_BR]=Diários como Blogs em um Servidor
-Name[ru]=Журналы (блоги) на сервере
-Name[sk]=Žurnály ako blogy na serveri
-Name[sl]=Dnevniki kot spletni dnevniki (blogi) na strežniku
-Name[sr]=Дневници као блогови на серверу
-Name[sr@Latn]=Dnevnici kao blogovi na serveru
-Name[sv]=Journaler som webbloggar på en server
-Name[ta]=சேவகனில் பேச்சுரைகள் பத்திரிககளாக உள்ளன
-Name[tr]=Web Günlüğü gibi, bir Sunucuya yazar
-Name[uk]=Журнали як веб-щоденники на сервері
-Name[zh_CN]=日记作为服务器上的博客日志
-Name[zh_TW]=日誌做為伺服器上的部落格
-X-TDE-Library=kcal_blogging
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=blogging
diff --git a/kresources/blogging/bloggingcalendaradaptor.cpp b/kresources/blogging/bloggingcalendaradaptor.cpp
deleted file mode 100644
index 2ed925a8..00000000
--- a/kresources/blogging/bloggingcalendaradaptor.cpp
+++ /dev/null
@@ -1,259 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "bloggingcalendaradaptor.h"
-#include "bloggingglobals.h"
-#include <libemailfunctions/idmapper.h>
-#include <folderlister.h>
-
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcecached.h>
-
-#include <kdebug.h>
-
-using namespace KCal;
-
-// That terribly long app key was generated at
-// http://www.blogger.com/developers/api/1_docs/register.html
-// for the "KDE-Pim libkcal blogging resource".
-// TODO:
-/*TQString BloggingCalendarAdaptor::mAppID =
- TQString("20ffffffd7ffffffc5ffffffbdffffff87ffffffb72d39fffffffe5c4bfffff"
- "fcfffffff80ffffffd4665cfffffff375ffffff88ffffff871a0cffffff8029");
-*/
-
-
-BloggingUploadItem::BloggingUploadItem( KBlog::APIBlog *api, CalendarAdaptor *adaptor, KCal::Incidence *incidence, KPIM::GroupwareUploadItem::UploadType type )
- : GroupwareUploadItem( type ), mPosting( 0 ), mAPI( 0 )
-{
- Journal* j = dynamic_cast<Journal*>( incidence );
- if ( api && j && adaptor ) {
- mItemType = KPIM::FolderLister::Journal;
-
- setUrl( j->customProperty( adaptor->identifier(), "storagelocation" ) );
- setUid( j->uid() );
-
- mPosting = api->postingFromJournal( j );
- mAPI = api;
- }
-}
-
-BloggingUploadItem::~BloggingUploadItem()
-{
- delete mPosting;
-}
-
-TDEIO::TransferJob *BloggingUploadItem::createUploadJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"BloggingUploadItem::createUploadJob, adaptor="<<adaptor<<", URL="<<baseurl.url()<<endl;
- Q_ASSERT( adaptor );
- if ( !adaptor || !mAPI ) return 0;
- kdDebug() << "Uploading to: " << url().prettyURL() << endl;
- mAPI->setURL( baseurl );
- return mAPI->createUploadJob( url(), mPosting );
-}
-
-TDEIO::TransferJob *BloggingUploadItem::createUploadNewJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"BloggingUploadItem::createUploadNewJob"<<endl;
- Q_ASSERT( adaptor );
- if ( !adaptor || !mAPI ) return 0;
- kdDebug() << "Uploading new item to: " << baseurl.prettyURL() << endl;
- mAPI->setURL( baseurl );
- return mAPI->createUploadNewJob( mPosting );
-}
-
-
-
-
-
-
-BloggingCalendarAdaptor::BloggingCalendarAdaptor() : mAPI( 0 ), mAuthenticated( false )
-{
-}
-
-
-KBlog::APIBlog *BloggingCalendarAdaptor::api() const
-{
- return mAPI;
-}
-
-void BloggingCalendarAdaptor::setAPI( KBlog::APIBlog *api )
-{
- delete mAPI;
- mAPI = api;
- mAuthenticated = false;
- connect( api, TQT_SIGNAL( userInfoRetrieved( const TQString &, const TQString &,
- const TQString & ) ),
- TQT_SLOT( slotUserInfoRetrieved( const TQString &, const TQString &,
- const TQString & ) ) );
- connect( api, TQT_SIGNAL( folderInfoRetrieved( const TQString &, const TQString & ) ),
- TQT_SLOT( slotFolderInfoRetrieved( const TQString&, const TQString & ) ) );
- connect( api, TQT_SIGNAL( itemOnServer( const KURL & ) ),
- TQT_SIGNAL( itemOnServer( const KURL & ) ) );
- connect( api, TQT_SIGNAL( itemDownloaded( KCal::Incidence *, const TQString &,
- const KURL &, const TQString &, const TQString & ) ),
- TQT_SLOT( calendarItemDownloaded( KCal::Incidence *, const TQString &,
- const KURL &, const TQString &, const TQString & ) ) );
-
-}
-
-KPIM::GroupwareUploadItem *BloggingCalendarAdaptor::newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type )
-{
- return new BloggingUploadItem( mAPI, this, it, type );
-}
-
-
-
-void BloggingCalendarAdaptor::slotFolderInfoRetrieved( const TQString &id, const TQString &name )
-{
- emit folderInfoRetrieved( KURL(id), name, KPIM::FolderLister::Journal );
-}
-
-void BloggingCalendarAdaptor::slotUserInfoRetrieved( const TQString &/*nick*/,
- const TQString &/*user*/, const TQString &/*email*/ )
-{
-kdDebug() << "BloggingCalendarAdaptor::slotUserInfoRetrieved"<<endl;
- mAuthenticated = true;
-}
-
-void BloggingCalendarAdaptor::setBaseURL( const KURL &url )
-{
- if ( mAPI ) {
- mAPI->setURL( url );
- }
-}
-
-void BloggingCalendarAdaptor::setUser( const TQString &user )
-{
- CalendarAdaptor::setUser( user );
- if ( mAPI ) {
- mAPI->setUsername( user );
- }
-}
-
-void BloggingCalendarAdaptor::setPassword( const TQString &password )
-{
- CalendarAdaptor::setPassword( password );
- if ( mAPI ) {
- mAPI->setPassword( password );
- }
-}
-
-void BloggingCalendarAdaptor::setUserPassword( KURL & )
-{
- kdDebug(5800) << "BloggingCalendarAdaptor::setUserPassword" << endl;
-}
-
-
-
-TDEIO::Job *BloggingCalendarAdaptor::createLoginJob( const KURL &url,
- const TQString &user,
- const TQString &password )
-{
- if ( mAPI ) {
- mAPI->setURL( url );
- mAPI->setUsername( user );
- mAPI->setPassword( password );
- return mAPI->createUserInfoJob();
- } else return 0;
-}
-
-TDEIO::Job *BloggingCalendarAdaptor::createListFoldersJob( const KURL &/*url*/ )
-{
- if ( mAPI ) {
- return mAPI->createListFoldersJob();
- } else return 0;
-}
-
-TDEIO::TransferJob *BloggingCalendarAdaptor::createListItemsJob( const KURL &url )
-{
- if ( mAPI ) {
- return mAPI->createListItemsJob( url );
- } else return 0;
-}
-
-TDEIO::TransferJob *BloggingCalendarAdaptor::createDownloadJob( const KURL &url,
- KPIM::FolderLister::ContentType ctype )
-{
- if ( mAPI && (ctype & KPIM::FolderLister::Journal) ) {
- return mAPI->createDownloadJob( url );
- } else return 0;
-}
-
-TDEIO::Job *BloggingCalendarAdaptor::createRemoveJob( const KURL &url,
- KPIM::GroupwareUploadItem *deleteItem )
-{
-kdDebug()<<"BloggingCalendarAdaptor::createRemoveJob( " << url.url() << ", ..)" << endl;
- if ( mAPI && deleteItem ) {
- return mAPI->createRemoveJob( url, deleteItem->url().url() );
- } else return 0;
-}
-
-
-
-
-bool BloggingCalendarAdaptor::interpretLoginJob( TDEIO::Job *job )
-{
-kdDebug()<<"BloggingCalendarAdaptor::interpretLoginJob"<<endl;
- if ( mAPI && job ) {
-kdDebug()<<"We have an API and a job"<<endl;
- mAuthenticated = false;
- mAPI->interpretUserInfoJob( job );
-kdDebug() << "authenticated=" << mAuthenticated << endl;
- return mAuthenticated;
- } else return false;
-}
-
-
-void BloggingCalendarAdaptor::interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister * )
-{
-kdDebug() << "BloggingCalendarAdaptor::interpretListFoldersJob" << endl;
- if ( mAPI && job ) {
- mAPI->interpretListFoldersJob( job );
- }
-}
-
-
-bool BloggingCalendarAdaptor::interpretListItemsJob( TDEIO::Job *job,
- const TQString &/*jobData*/ )
-{
- if ( mAPI ) {
- return mAPI->interpretListItemsJob( job );
- } else {
- return false;
- }
-}
-
-
-bool BloggingCalendarAdaptor::interpretDownloadItemsJob( TDEIO::Job *job,
- const TQString &/*jobData*/ )
-{
- if ( mAPI ) {
- return mAPI->interpretDownloadItemsJob( job );
- } else {
- return false;
- }
-}
-
-#include "bloggingcalendaradaptor.moc"
diff --git a/kresources/blogging/bloggingcalendaradaptor.h b/kresources/blogging/bloggingcalendaradaptor.h
deleted file mode 100644
index ee6d292a..00000000
--- a/kresources/blogging/bloggingcalendaradaptor.h
+++ /dev/null
@@ -1,105 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004-05 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_BLOGGINGCALENDARADAPTOR_H
-#define KCAL_BLOGGINGCALENDARADAPTOR_H
-
-#include "calendaradaptor.h"
-#include "groupwareuploadjob.h"
-#include "API_Blog.h"
-#include <kurl.h>
-
-namespace TDEIO {
-class Job;
-}
-
-namespace KCal {
-
-class BloggingUploadItem : public KPIM::GroupwareUploadItem
-{
- public:
- BloggingUploadItem( KBlog::APIBlog *api, CalendarAdaptor *adaptor, KCal::Incidence *incidence, UploadType type );
- virtual ~BloggingUploadItem();
- virtual TDEIO::TransferJob *createUploadNewJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl );
- virtual TDEIO::TransferJob *createUploadJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &url );
-
- protected:
- BloggingUploadItem( UploadType type ) : KPIM::GroupwareUploadItem( type ) {}
- KBlog::BlogPosting *mPosting;
- KBlog::APIBlog *mAPI;
-};
-
-class BloggingCalendarAdaptor : public CalendarAdaptor
-{
-Q_OBJECT
-
- public:
- BloggingCalendarAdaptor();
- TQValueList<KPIM::FolderLister::ContentType> supportedTypes()
- {
- TQValueList<KPIM::FolderLister::ContentType> types;
- types << KPIM::FolderLister::Journal;
- return types;
- }
-
- TQCString identifier() const { return "KCalResourceBlogging"; }
- long flags() const { return GWResNeedsLogon; }
-
- void setBaseURL( const KURL &url );
- void setUser( const TQString &user );
- void setPassword( const TQString &password );
- // We don't want to set the username / pw for the URL!
- void setUserPassword( KURL &url );
-
- KBlog::APIBlog *api() const;
- void setAPI( KBlog::APIBlog *api );
-
- TDEIO::Job *createLoginJob( const KURL &url, const TQString &user,
- const TQString &password );
- TDEIO::Job *createListFoldersJob( const KURL &url );
- TDEIO::TransferJob *createListItemsJob( const KURL &url );
- TDEIO::TransferJob *createDownloadJob( const KURL &url,
- KPIM::FolderLister::ContentType ctype );
- TDEIO::Job *createRemoveJob( const KURL &url, KPIM::GroupwareUploadItem *deleteItem );
-
- bool interpretLoginJob( TDEIO::Job *job );
- void interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister * );
- bool interpretListItemsJob( TDEIO::Job *job, const TQString &jobData );
- bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData );
-
- public slots:
- void slotFolderInfoRetrieved( const TQString &id, const TQString &name );
- void slotUserInfoRetrieved( const TQString &nick, const TQString &user,
- const TQString &email );
-
- protected:
- KPIM::GroupwareUploadItem *newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type );
-
- KBlog::APIBlog *mAPI;
- bool mAuthenticated;
- static TQString mAppID;
-};
-
-}
-
-#endif
diff --git a/kresources/blogging/bloggingglobals.cpp b/kresources/blogging/bloggingglobals.cpp
deleted file mode 100644
index 53743e9a..00000000
--- a/kresources/blogging/bloggingglobals.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "bloggingglobals.h"
-
-TQString BloggingGlobals::mAppID = TQString("20ffffffd7ffffffc5ffffffbdffffff87ffffffb72d39fffffffe5c4bffffffcfffffff80ffffffd4665cfffffff375ffffff88ffffff871a0cffffff8029");
-
-TQString BloggingGlobals::getFunctionName( blogFunctions type )
-{
- switch ( type ) {
- case bloggerGetUserInfo: return "blogger.getUserInfo";
- case bloggerGetUsersBlogs: return "blogger.getUsersBlogs";
- case bloggerGetRecentPosts: return "blogger.getRecentPosts";
- case bloggerNewPost: return "blogger.newPost";
- case bloggerEditPost: return "blogger.editPost";
- case bloggerDeletePost: return "blogger.deletePost";
- case bloggerGetPost: return "blogger.getPost";
- case bloggerGetTemplate: return "blogger.getTemplate";
- case bloggerSetTemplate: return "blogger.setTemplate";
- default: return TQString();
- }
-}
-
-TQValueList<TQVariant> BloggingGlobals::defaultArgs( const TQString &user, const TQString &pw, const TQString &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( mAppID );
- if ( !id.isNull() ) {
- args << TQVariant( id );
- }
- args << TQVariant( user )
- << TQVariant( pw );
- return args;
-}
-
diff --git a/kresources/blogging/bloggingglobals.h b/kresources/blogging/bloggingglobals.h
deleted file mode 100644
index 74eafdf7..00000000
--- a/kresources/blogging/bloggingglobals.h
+++ /dev/null
@@ -1,50 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef BLOGGINGGLOBALS_H
-#define BLOGGINGGLOBALS_H
-
-#include <tqstring.h>
-#include <tqvariant.h>
-#include <tqvaluelist.h>
-
-class BloggingGlobals
-{
- public:
- BloggingGlobals() {}
-
- enum blogFunctions {
- bloggerGetUserInfo,
- bloggerGetUsersBlogs,
- bloggerGetRecentPosts,
- bloggerNewPost,
- bloggerEditPost,
- bloggerDeletePost,
- bloggerGetPost,
- bloggerGetTemplate,
- bloggerSetTemplate
- };
-
- static TQString getFunctionName( blogFunctions type );
- static TQValueList<TQVariant> defaultArgs( const TQString &user, const TQString &pw, const TQString &id = TQString() );
- static TQString mAppID;
-};
-
-#endif
diff --git a/kresources/blogging/kcal_resourceblogging.cpp b/kresources/blogging/kcal_resourceblogging.cpp
deleted file mode 100644
index 14bb24ca..00000000
--- a/kresources/blogging/kcal_resourceblogging.cpp
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>>
-
- 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 General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "bloggingcalendaradaptor.h"
-#include "API_Blogger.h"
-
-#include "kcal_resourceblogging.h"
-#include <kresources_groupwareprefs.h>
-
-using namespace KCal;
-
-KBlog::APIBlog *ResourceBlogging::mAPI = 0;
-
-ResourceBlogging::ResourceBlogging()
- : ResourceGroupwareBase()
-{
- init();
-}
-
-ResourceBlogging::ResourceBlogging( const TDEConfig *config )
- : ResourceGroupwareBase( config )
-{
- init();
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Blogs" ) );
- }
-}
-
-void ResourceBlogging::init()
-{
- setType( "ResourceBlogging" );
- setPrefs( createPrefs() );
- setFolderLister( new KPIM::FolderLister( KPIM::FolderLister::Calendar ) );
- BloggingCalendarAdaptor *ad = new BloggingCalendarAdaptor();
- setAdaptor( ad );
- ad->setAPI( new KBlog::APIBlogger( prefs()->url(), this ) );
-
- ResourceGroupwareBase::init();
-}
-
-void ResourceBlogging::readConfig( const TDEConfig *config )
-{
- BloggingCalendarAdaptor *ad = dynamic_cast<BloggingCalendarAdaptor*>( adaptor() );
- ResourceGroupwareBase::readConfig( config );
- if ( ad && prefs() ) {
- ad->setUser( prefs()->user() );
- ad->setPassword( prefs()->password() );
- ad->setBaseURL( prefs()->url() );
- }
-// TQString url = config->readEntry( "URL" );
-// mUrl = KURL( url );
-
-// mServerAPI = config->readNumEntry( "ServerAPI" );
-// mTemplate.setCategoryTagOpen( config->readEntry( "CategoryTagOpen", "<CATEGORY>" ) );
-// mTemplate.setCategoryTagClose( config->readEntry( "CategoryTagClose", "</CATEGORY>" ) );
-// mTemplate.setTitleTagOpen( config->readEntry( "TitleTagOpen", "<TITLE>" ) );
-// mTemplate.setTitleTagClose( config->readEntry( "TitleTagClose", "</TITLE>" ) );
-
-}
-
-void ResourceBlogging::writeConfig( TDEConfig *config )
-{
- kdDebug(5800) << "ResourceBlogging::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
-// config->writeEntry( "URL", mUrl.url() );
-// config->writeEntry( "ServerAPI", mServerAPI );
-// config->writeEntry( "CategoryTagOpen", mTemplate.categoryTagOpen() );
-// config->writeEntry( "CategoryTagClose", mTemplate.categoryTagClose() );
-// config->writeEntry( "TitleTagOpen", mTemplate.titleTagOpen() );
-// config->writeEntry( "TitleTagClose", mTemplate.titleTagClose() );
-
- ResourceGroupwareBase::writeConfig( config );
-}
-
-
-#include "kcal_resourceblogging.moc"
diff --git a/kresources/blogging/kcal_resourceblogging.h b/kresources/blogging/kcal_resourceblogging.h
deleted file mode 100644
index 4e850d14..00000000
--- a/kresources/blogging/kcal_resourceblogging.h
+++ /dev/null
@@ -1,60 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEBLOGGING_H
-#define KCAL_RESOURCEBLOGGING_H
-
-#include <kcal_resourcegroupwarebase.h>
-#include <tdepimmacros.h>
-
-namespace KBlog {
-class APIBlog;
-}
-
-namespace KCal {
-
-/**
- This class provides a resource for accessing blogs on a blogging server as journals
-*/
-class KDE_EXPORT ResourceBlogging : public ResourceGroupwareBase
-{
- Q_OBJECT
-
- public:
- ResourceBlogging();
- ResourceBlogging( const TDEConfig * );
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- bool addEvent( Event* ) { return false; }
- bool addTodo( Todo * ) { return false; }
- bool deleteEvent( Event* ) { return false; }
- bool deleteTodo( Todo * ) { return false; }
- static KBlog::APIBlog *api() { return mAPI; }
-
- protected:
- void init();
- static KBlog::APIBlog *mAPI;
-};
-
-}
-
-#endif
diff --git a/kresources/blogging/kcal_resourceblogging_plugin.cpp b/kresources/blogging/kcal_resourceblogging_plugin.cpp
deleted file mode 100644
index 4cc3dd8c..00000000
--- a/kresources/blogging/kcal_resourceblogging_plugin.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourceblogging.h"
-#include "kcal_resourcebloggingconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceBlogging, ResourceBloggingConfig > BloggingFactory;
-//K_EXPORT_COMPONENT_FACTORY( kcal_blogging, BloggingFactory )
-
-extern "C"
-{
- void *init_kcal_blogging()
- {
- TDEGlobal::locale()->insertCatalogue( "tdepimresources" );
- TDEGlobal::locale()->insertCatalogue( "kres_blogging" );
- return new BloggingFactory;
- }
-}
diff --git a/kresources/blogging/kcal_resourcebloggingconfig.cpp b/kresources/blogging/kcal_resourcebloggingconfig.cpp
deleted file mode 100644
index bd999ffe..00000000
--- a/kresources/blogging/kcal_resourcebloggingconfig.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcebloggingconfig.h"
-
-#include <kmessagebox.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-ResourceBloggingConfig::ResourceBloggingConfig( TQWidget *parent, const char *name ) : ResourceGroupwareBaseConfig( parent, name )
-{
-}
-
-void ResourceBloggingConfig::saveSettings( KRES::Resource *resource )
-{
- if ( resource && !resource->readOnly() ) {
- KMessageBox::information( this, i18n("Currently, the blogging resource is only read-only. You will not be able to add journals to this resource or upload any changes to the server."), i18n("Read-Only"), "AutoSetReadOnly");
- resource->setReadOnly( true );
- }
- ResourceGroupwareBaseConfig::saveSettings( resource );
-}
-
-#include "kcal_resourcebloggingconfig.moc"
diff --git a/kresources/blogging/kcal_resourcebloggingconfig.h b/kresources/blogging/kcal_resourcebloggingconfig.h
deleted file mode 100644
index b7584167..00000000
--- a/kresources/blogging/kcal_resourcebloggingconfig.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEBLOGGINGCONFIG_H
-#define KCAL_RESOURCEBLOGGINGCONFIG_H
-
-#include <tdepimmacros.h>
-#include <kcal_resourcegroupwarebaseconfig.h>
-
-namespace KCal {
-
-class KDE_EXPORT ResourceBloggingConfig : public ResourceGroupwareBaseConfig
-{
- Q_OBJECT
-
- public:
- ResourceBloggingConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void saveSettings( KRES::Resource *resource );
-};
-
-}
-
-#endif
diff --git a/kresources/blogging/resourcebloggingsettings.ui b/kresources/blogging/resourcebloggingsettings.ui
deleted file mode 100644
index 7d7e0227..00000000
--- a/kresources/blogging/resourcebloggingsettings.ui
+++ /dev/null
@@ -1,330 +0,0 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ResourceBloggingSettings</class>
-<author>Ian Reinhart Geiser &lt;geiseri@kde.org&gt;</author>
-<widget class="TQWidget">
- <property name="name">
- <cstring>ResourceBloggingSettings</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>363</width>
- <height>289</height>
- </rect>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="TQLayoutWidget">
- <property name="name">
- <cstring>layout12</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="TQLabel">
- <property name="name">
- <cstring>textLabel1_4</cstring>
- </property>
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>4</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Service:</string>
- </property>
- </widget>
- <widget class="KComboBox">
- <item>
- <property name="text">
- <string>Custom</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Blogger.com</string>
- </property>
- </item>
- <property name="name">
- <cstring>mServiceType</cstring>
- </property>
- <property name="enabled">
- <bool>false</bool>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="TQGroupBox">
- <property name="name">
- <cstring>groupBox2</cstring>
- </property>
- <property name="title">
- <string>Server Settings</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="TQLabel" row="0" column="0">
- <property name="name">
- <cstring>textLabel1</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>4</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>URL:</string>
- </property>
- </widget>
- <widget class="TQLabel" row="1" column="0">
- <property name="name">
- <cstring>textLabel9</cstring>
- </property>
- <property name="text">
- <string>Username:</string>
- </property>
- </widget>
- <widget class="KLineEdit" row="1" column="1">
- <property name="name">
- <cstring>mUser</cstring>
- </property>
- </widget>
- <widget class="TQLabel" row="2" column="0">
- <property name="name">
- <cstring>textLabel10</cstring>
- </property>
- <property name="text">
- <string>Password:</string>
- </property>
- </widget>
- <widget class="KURLRequester" row="0" column="1">
- <property name="name">
- <cstring>mURL</cstring>
- </property>
- <property name="url" stdset="0">
- <string>http://www.kdedevelopers.com/xmlrpc.php</string>
- </property>
- <property name="showLocalProtocol">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="KLineEdit" row="2" column="1">
- <property name="name">
- <cstring>mPassword</cstring>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- </widget>
- <widget class="TQLabel" row="3" column="0">
- <property name="name">
- <cstring>textLabel4_2</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>4</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Server API:</string>
- </property>
- </widget>
- <widget class="KComboBox" row="3" column="1">
- <item>
- <property name="text">
- <string>Blogger API</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Drupal API</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>metaWeblog API</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Moveable Type API</string>
- </property>
- </item>
- <property name="name">
- <cstring>mServerAPI</cstring>
- </property>
- <property name="contextMenuEnabled">
- <bool>true</bool>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="TQGroupBox">
- <property name="name">
- <cstring>groupBox3</cstring>
- </property>
- <property name="title">
- <string>Templates</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="KLineEdit" row="0" column="2" rowspan="2" colspan="1">
- <property name="name">
- <cstring>mCloseTitle</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&lt;/TITLE&gt;</string>
- </property>
- </widget>
- <widget class="TQLabel" row="0" column="0">
- <property name="name">
- <cstring>textLabel7_2</cstring>
- </property>
- <property name="text">
- <string>Title tags:</string>
- </property>
- </widget>
- <widget class="KLineEdit" row="0" column="1" rowspan="2" colspan="1">
- <property name="name">
- <cstring>mOpenTitle</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&lt;TITLE&gt;</string>
- </property>
- </widget>
- <widget class="KLineEdit" row="2" column="1">
- <property name="name">
- <cstring>mOpenCategory</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="lineWidth">
- <number>2</number>
- </property>
- <property name="text">
- <string>&lt;CATEGORY&gt;</string>
- </property>
- </widget>
- <widget class="TQLabel" row="1" column="0" rowspan="2" colspan="1">
- <property name="name">
- <cstring>textLabel8_2</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>4</hsizetype>
- <vsizetype>1</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Category tags:</string>
- </property>
- </widget>
- <widget class="KLineEdit" row="2" column="2">
- <property name="name">
- <cstring>mCloseCategory</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&lt;/CATEGORY&gt;</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer4_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>84</height>
- </size>
- </property>
- </spacer>
- </vbox>
-</widget>
-<customwidgets>
-</customwidgets>
-<tabstops>
- <tabstop>mServiceType</tabstop>
- <tabstop>mURL</tabstop>
- <tabstop>mUser</tabstop>
- <tabstop>mPassword</tabstop>
- <tabstop>mServerAPI</tabstop>
- <tabstop>mOpenTitle</tabstop>
- <tabstop>mCloseTitle</tabstop>
- <tabstop>mOpenCategory</tabstop>
- <tabstop>mCloseCategory</tabstop>
-</tabstops>
-<layoutdefaults spacing="5" margin="5"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
-</UI>
diff --git a/kresources/blogging/xmlrpcjob.cpp b/kresources/blogging/xmlrpcjob.cpp
deleted file mode 100644
index f2e51630..00000000
--- a/kresources/blogging/xmlrpcjob.cpp
+++ /dev/null
@@ -1,430 +0,0 @@
-/* This file is part of the KDE libraries
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- Based on the davjob:
- Copyright (C) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
- XML-RPC specific parts taken from the xmlrpciface:
- Copyright (C) 2003 - 2004 by Frerich Raabe <raabe@kde.org>
- Tobias Koenig <tokoe@kde.org>
-
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "xmlrpcjob.h"
-
-#include <tqvariant.h>
-#include <tqregexp.h>
-
-#include <kdebug.h>
-#include <klocale.h>
-#include <kio/http.h>
-#include <kmdcodec.h>
-#include <kio/davjob.h>
-
-
-#define KIO_ARGS TQByteArray packedArgs; \
- TQDataStream stream( packedArgs, IO_WriteOnly ); stream
-
-using namespace TDEIO;
-
-namespace TDEIO {
- class XMLRPCResult
- {
- friend class XmlrpcJob;
- public:
- XMLRPCResult() {}
- bool success() const { return m_success; }
- int errorCode() const { return m_errorCode; }
- TQString errorString() const { return m_errorString; }
- TQValueList<TQVariant> data() const { return m_data; }
- private:
- bool m_success;
- int m_errorCode;
- TQString m_errorString;
- TQValueList<TQVariant> m_data;
- };
-}
-
-class XmlrpcJob::XmlrpcJobPrivate
-{
-public:
-// TQByteArray savedStaticData;
-};
-
-
-XmlrpcJob::XmlrpcJob( const KURL& url, const TQString& method,
- const TQValueList<TQVariant> &params, bool showProgressInfo)
- : TransferJob( url, TDEIO::CMD_SPECIAL, TQByteArray(), TQByteArray(),
- showProgressInfo )
-{
- d = new XmlrpcJobPrivate;
- // We couldn't set the args when calling the parent constructor,
- // so do it now.
- TQDataStream stream( m_packedArgs, IO_WriteOnly );
- stream << (int)1 << url;
-kdDebug()<<"XMLrpcJob::url="<<url.url()<<endl;
-kdDebug()<<"XmlrpcJob::XmlrpcJob, method="<<method<<endl;
- // Same for static data
- if ( ! method.isEmpty() ) {
-kdDebug()<<"XmlrpcJob::XmlrpcJob, method not empty."<<endl;
-
- TQString call = markupCall( method, params );
- staticData = call.utf8();
- staticData.truncate( staticData.size() - 1 );
- kdDebug() << "Message: " << call << endl;
-// d->savedStaticData = staticData.copy();
- }
- addMetaData( "UserAgent", "KDE XML-RPC TransferJob" );
- addMetaData( "content-type", "Content-Type: text/xml; charset=utf-8" );
- addMetaData( "ConnectTimeout", "50" );
-}
-
-XmlrpcJob::~XmlrpcJob()
-{
- delete d;
- d = 0;
-}
-
-TQString XmlrpcJob::markupCall( const TQString &cmd,
- const TQValueList<TQVariant> &args )
-{
-kdDebug()<<"XmlrpcJob::markupCall, cmd="<<cmd<<endl;
- TQString markup = "<?xml version=\"1.0\" ?>\r\n<methodCall>\r\n";
-
- markup += "<methodName>" + cmd + "</methodName>\r\n";
-
- if ( !args.isEmpty() )
- {
- markup += "<params>\r\n";
- TQValueList<TQVariant>::ConstIterator it = args.begin();
- TQValueList<TQVariant>::ConstIterator end = args.end();
- for ( ; it != end; ++it )
- markup += "<param>\r\n" + marshal( *it ) + "</param>\r\n";
- markup += "</params>\r\n";
- }
-
- markup += "</methodCall>\r\n";
-
- return markup;
-}
-
-
-
-
-
-void XmlrpcJob::slotData( const TQByteArray& data )
-{
-kdDebug()<<"XmlrpcJob::slotData()"<<endl;
- if ( m_redirectionURL.isEmpty() || !m_redirectionURL.isValid() || m_error )
- m_str_response.append( TQString( data ) );
-}
-
-void XmlrpcJob::slotFinished()
-{
-kdDebug() << "XmlrpcJob::slotFinished()" << endl;
-kdDebug() << m_str_response << endl;
-
- // TODO: Redirection with XML-RPC??
-/* if (! m_redirectionURL.isEmpty() && m_redirectionURL.isValid() ) {
- TQDataStream istream( m_packedArgs, IO_ReadOnly );
- int s_cmd, s_method;
- KURL s_url;
- istream >> s_cmd;
- istream >> s_url;
- istream >> s_method;
- // PROPFIND
- if ( (s_cmd == 7) && (s_method == (int)TDEIO::HTTP_POST) ) {
- m_packedArgs.truncate(0);
- TQDataStream stream( m_packedArgs, IO_WriteOnly );
- stream << (int)7 << m_redirectionURL << (int)TDEIO::HTTP_POST;
- }
- } else */
-
- kdDebug() << "\033[35;40mResult: " << m_str_response << "\033[0;0m" << endl;
- TQDomDocument doc;
- TQString errMsg;
- int errLine, errCol;
- if ( doc.setContent( m_str_response, false, &errMsg, &errLine, &errCol ) ) {
- if ( isMessageResponse( doc ) ) {
- m_response = parseMessageResponse( doc ).data();
- m_responseType = XMLRPCMessageResponse;
- } else if ( isFaultResponse( doc ) ) {
- // TODO: Set the error of the job
- m_response.clear();
- m_response << TQVariant( parseFaultResponse( doc ).errorString() );
- m_responseType = XMLRPCFaultResponse;
- } else {
- // TODO: Set the error of the job
- m_response.clear();
- m_response << TQVariant( i18n( "Unknown type of XML markup received. "
- "Markup: \n %1" ).arg( m_str_response ) );
- m_responseType = XMLRPCUnknownResponse;
- }
-
- } else {
- // TODO: if we can't parse the XML response, set the correct error message!
-// emit fault( -1, i18n( "Received invalid XML markup: %1 at %2:%3" )
-// .arg( errMsg ).arg( errLine ).arg( errCol ), m_id );
- }
-
- TransferJob::slotFinished();
-// TODO: Redirect: if( d ) staticData = d->savedStaticData.copy();
-// Need to send XMLRPC request to this host too
-}
-
-
-
-
-
-bool XmlrpcJob::isMessageResponse( const TQDomDocument &doc )
-{
- return doc.documentElement().firstChild().toElement()
- .tagName().lower() == "params";
-}
-
-XMLRPCResult XmlrpcJob::parseMessageResponse( const TQDomDocument &doc )
-{
- XMLRPCResult response;
- response.m_success = true;
-
- TQDomNode paramNode = doc.documentElement().firstChild().firstChild();
- while ( !paramNode.isNull() ) {
- response.m_data << demarshal( paramNode.firstChild().toElement() );
- paramNode = paramNode.nextSibling();
- }
-
- return response;
-}
-
-
-
-
-
-bool XmlrpcJob::isFaultResponse( const TQDomDocument &doc )
-{
- return doc.documentElement().firstChild().toElement()
- .tagName().lower() == "fault";
-}
-
-XMLRPCResult XmlrpcJob::parseFaultResponse( const TQDomDocument &doc )
-{
- XMLRPCResult response;
- response.m_success = false;
-
- TQDomNode errorNode = doc.documentElement().firstChild().firstChild();
- const TQVariant errorVariant = demarshal( errorNode.toElement() );
- response.m_errorCode = errorVariant.toMap() [ "faultCode" ].toInt();
- response.m_errorString = errorVariant.toMap() [ "faultString" ].toString();
-
- return response;
-}
-
-
-
-
-
-TQString XmlrpcJob::marshal( const TQVariant &arg )
-{
- switch ( arg.type() )
- {
- case TQVariant::String:
- case TQVariant::CString:
- return "<value><string>" + arg.toString() + "</string></value>\r\n";
- case TQVariant::Int:
- return "<value><int>" + TQString::number( arg.toInt() ) +
- "</int></value>\r\n";
- case TQVariant::Double:
- return "<value><double>" + TQString::number( arg.toDouble() ) +
- "</double></value>\r\n";
- case TQVariant::Bool:
- {
- TQString markup = "<value><boolean>";
- markup += arg.toBool() ? "1" : "0";
- markup += "</boolean></value>\r\n";
- return markup;
- }
- case TQVariant::ByteArray:
- return "<value><base64>" + KCodecs::base64Encode( arg.toByteArray() ) +
- "</base64></value>\r\n";
- case TQVariant::DateTime:
- return "<value><datetime.iso8601>" +
- arg.toDateTime().toString( TQt::ISODate ) +
- "</datetime.iso8601></value>\r\n";
- case TQVariant::List:
- {
- TQString markup = "<value><array><data>\r\n";
- const TQValueList<TQVariant> args = arg.toList();
- TQValueList<TQVariant>::ConstIterator it = args.begin();
- TQValueList<TQVariant>::ConstIterator end = args.end();
- for ( ; it != end; ++it )
- markup += marshal( *it );
- markup += "</data></array></value>\r\n";
- return markup;
- }
- case TQVariant::Map:
- {
- TQString markup = "<value><struct>\r\n";
- TQMap<TQString, TQVariant> map = arg.toMap();
- TQMap<TQString, TQVariant>::ConstIterator it = map.begin();
- TQMap<TQString, TQVariant>::ConstIterator end = map.end();
- for ( ; it != end; ++it )
- {
- markup += "<member>\r\n";
- markup += "<name>" + it.key() + "</name>\r\n";
- markup += marshal( it.data() );
- markup += "</member>\r\n";
- }
- markup += "</struct></value>\r\n";
- return markup;
- }
- default:
- kdWarning() << "Failed to marshal unknown variant type: "
- << arg.type() << endl;
- };
- return TQString();
-}
-
-TQVariant XmlrpcJob::demarshal( const TQDomElement &elem )
-{
- Q_ASSERT( elem.tagName().lower() == "value" );
-
- if ( !elem.hasChildNodes() ) {
- // it doesn't have child nodes, so no explicit type name was given,
- // i.e. <value>here comes the value</value> instead of
- // <value><string>here comes the value</string></value>
- // Assume <string> in that case:
- // Actually, the element will still have a child node, so this will not help here.
- // The dirty hack is at the end of this method.
-kdDebug()<<"XmlrpcJob::demarshal: No child nodes, assume type=string. Text: "<<elem.text()<<endl;
- return TQVariant( elem.text() );
- }
-
-kdDebug()<<"Demarshalling element \"" << elem.text() <<"\"" << endl;
-
- const TQDomElement typeElement = elem.firstChild().toElement();
- const TQString typeName = typeElement.tagName().lower();
-
- if ( typeName == "string" )
- return TQVariant( typeElement.text() );
- else if ( typeName == "i4" || typeName == "int" )
- return TQVariant( typeElement.text().toInt() );
- else if ( typeName == "double" )
- return TQVariant( typeElement.text().toDouble() );
- else if ( typeName == "boolean" )
- {
- if ( typeElement.text().lower() == "true" || typeElement.text() == "1" )
- return TQVariant( true );
- else
- return TQVariant( false );
- }
- else if ( typeName == "base64" )
- return TQVariant( KCodecs::base64Decode( typeElement.text().latin1() ) );
-
- else if ( typeName == "datetime" || typeName == "datetime.iso8601" ) {
-
- TQString text( typeElement.text() );
- if ( text.find( TQRegExp("^[0-9]{8,8}T") ) >= 0 ) {
- // It's in the format 20041120T...., so adjust it to correct
- // ISO 8601 Format 2004-11-20T..., else TQDateTime::fromString won't work:
- text = text.insert( 6, '-' );
- text = text.insert( 4, '-' );
- }
- return TQVariant( TQDateTime::fromString( text, TQt::ISODate ) );
-
- } else if ( typeName == "array" ) {
-
- TQValueList<TQVariant> values;
- TQDomNode valueNode = typeElement.firstChild().firstChild();
- while ( !valueNode.isNull() ) {
- values << demarshal( valueNode.toElement() );
- valueNode = valueNode.nextSibling();
- }
- return TQVariant( values );
-
- } else if ( typeName == "struct" ) {
-
- TQMap<TQString, TQVariant> map;
- TQDomNode memberNode = typeElement.firstChild();
- while ( !memberNode.isNull() ) {
- const TQString key = memberNode.toElement().elementsByTagName( "name" ).item( 0 ).toElement().text();
- const TQVariant data = demarshal( memberNode.toElement().elementsByTagName( "value" ).item( 0 ).toElement() );
- map[ key ] = data;
- memberNode = memberNode.nextSibling();
- }
- return TQVariant( map );
-
- } else {
-
- kdWarning() << "Cannot demarshal unknown type " << typeName << ", text= " << typeElement.text() << endl;
- // FIXME: This is just a workaround, for the issue mentioned at the beginning of this method.
- return TQVariant( elem.text() );
- }
-
- return TQVariant();
-}
-
-
-
-
-
-/* Convenience methods */
-
-XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method, const TQValueList<TQVariant> &params, bool showProgressInfo )
-{
- if ( url.isEmpty() ) {
- kdWarning() << "Cannot execute call to " << method << ": empty server URL" << endl;
- return 0;
- }
- XmlrpcJob *job = new XmlrpcJob( url, method, params, showProgressInfo );
-// job->addMetaData( "xmlrpcDepth", depth );
-
- return job;
-}
-
-XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method,
- const TQVariant &arg, bool showProgressInfo )
-{
- TQValueList<TQVariant> args;
- args << arg;
- return TDEIO::xmlrpcCall( url, method, args, showProgressInfo );
-}
-
-XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method,
- const TQStringList &arg, bool showProgressInfo )
-{
- TQValueList<TQVariant> args;
- TQStringList::ConstIterator it = arg.begin();
- TQStringList::ConstIterator end = arg.end();
- for ( ; it != end; ++it )
- args << TQVariant( *it );
- return TDEIO::xmlrpcCall( url, method, args, showProgressInfo );
-}
-
-template <typename T>
-XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method,
- const TQValueList<T>&arg, bool showProgressInfo )
-{
- TQValueList<TQVariant> args;
-
- typename TQValueList<T>::ConstIterator it = arg.begin();
- typename TQValueList<T>::ConstIterator end = arg.end();
- for ( ; it != end; ++it )
- args << TQVariant( *it );
- return TDEIO::xmlrpcCall( url, method, args, showProgressInfo );
-}
-
-#include "xmlrpcjob.moc"
diff --git a/kresources/blogging/xmlrpcjob.h b/kresources/blogging/xmlrpcjob.h
deleted file mode 100644
index 1efe79e1..00000000
--- a/kresources/blogging/xmlrpcjob.h
+++ /dev/null
@@ -1,124 +0,0 @@
-// -*- c++ -*-
-/* This file is part of the KDE libraries
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
- Based on the davjob:
- Copyright (C) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef __kio_xmlrpcjob_h__
-#define __kio_xmlrpcjob_h__
-
-#include <kurl.h>
-
-#include <tqstring.h>
-#include <tqvaluelist.h>
-#include <tqdom.h>
-
-#include <kio/jobclasses.h>
-#include <kio/global.h>
-
-namespace TDEIO {
-
- class XMLRPCResult;
-
-/**
- * The transfer job pumps data into and/or out of a Slave.
- * Data is sent to the slave on request of the slave ( dataReq ).
- * If data coming from the slave can not be handled, the
- * reading of data from the slave should be suspended.
- * @see TDEIO::xmlrpcCall()
- * @since 3.4
- */
-class XmlrpcJob : public TransferJob {
-Q_OBJECT
-
-
- public:
- /** Indicates the response type of the call
- */
- enum XMLRPCResponseType {
- XMLRPCMessageResponse,
- XMLRPCFaultResponse,
- XMLRPCUnknownResponse
- };
- /**
- * Use TDEIO::xmlrpcPropFind(), TDEIO::xmlrpcPropPatch() and
- * TDEIO::xmlrpcSearch() to create a new XmlrpcJob.
- */
- XmlrpcJob( const KURL& url, const TQString& method,
- const TQValueList<TQVariant> &params, bool showProgressInfo );
- virtual ~XmlrpcJob();
- /**
- * Returns the response as a TQDomDocument.
- * @return the response document
- */
- TQValueList<TQVariant> &response() { return m_response; }
- /**
- * Returns the type of the response.
- * @return the type of the response
- */
- XMLRPCResponseType responseType() const { return m_responseType; }
-
- static TQString markupCall( const TQString &cmd,
- const TQValueList<TQVariant> &args );
- protected slots:
- virtual void slotFinished();
- virtual void slotData( const TQByteArray &data);
-
- protected:
- static TQString marshal( const TQVariant &arg );
- static TQVariant demarshal( const TQDomElement &e );
-
- static bool isMessageResponse( const TQDomDocument &doc );
- static bool isFaultResponse( const TQDomDocument &doc );
-
- static XMLRPCResult parseMessageResponse( const TQDomDocument &doc );
- static XMLRPCResult parseFaultResponse( const TQDomDocument &doc );
-
-
- private:
- class XmlrpcJobPrivate;
- XmlrpcJobPrivate *d;
- TQString m_str_response;
- TQValueList<TQVariant> m_response;
- XMLRPCResponseType m_responseType;
-};
-
-/**
- * Creates a XmlrpcJob that calls a @p method of the API at the given @p url.
- *
- * @param url the URL of the XML-RPC Interface of the server
- * @param method the name of the method to call
- * @param params the arguments (as TQValueList<TQVariant>) for the method call.
- * @param showProgressInfo true to show progress information
- * @return the new XmlrpcJob
- */
-XmlrpcJob* xmlrpcCall( const KURL& url, const TQString &method,
- const TQValueList<TQVariant> &params,
- bool showProgressInfo = true );
-
-XmlrpcJob* xmlrpcCall( const KURL& url, const TQString &method,
- const TQVariant &arg, bool showProgressInfo = true );
-XmlrpcJob* xmlrpcCall( const KURL& url, const TQString &method,
- const TQStringList &arg, bool showProgressInfo = true );
-template <typename T>
-XmlrpcJob* xmlrpcCall( const KURL& url, const TQString &method,
- const TQValueList<T>&arg,bool showProgressInfo = true );
-}
-
-#endif
diff --git a/kresources/caldav/CMakeLists.txt b/kresources/caldav/CMakeLists.txt
deleted file mode 100644
index 960f086f..00000000
--- a/kresources/caldav/CMakeLists.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include( ConfigureChecks.cmake )
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
- ${CALDAV_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
- ${CALDAV_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES kcal_caldav.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### kcal_caldav (module) ######################
-
-tde_add_kpart( kcal_caldav AUTOMOC
- SOURCES plugin.cpp
- LINK kcal_caldav-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcal_caldav (shared) #########################
-
-tde_add_library( kcal_caldav SHARED AUTOMOC
- SOURCES
- resource.cpp config.cpp configwidgets.cpp preferences.cpp job.cpp
- reader.cpp writer.cpp prefsskel.kcfgc
- VERSION 1.0.0
- LINK tdepim-shared ${CALDAV_LIBRARIES}
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/caldav/ConfigureChecks.cmake b/kresources/caldav/ConfigureChecks.cmake
deleted file mode 100644
index e98ff721..00000000
--- a/kresources/caldav/ConfigureChecks.cmake
+++ /dev/null
@@ -1,32 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-# FIXME we need to check for patched library
-
-# libcaldav
-pkg_search_module( CALDAV libcaldav )
-if( CALDAV_FOUND )
- execute_process(
- COMMAND pkg-config libcaldav --variable=pkgincludedir
- OUTPUT_VARIABLE _incdir
- RESULT_VARIABLE _result
- OUTPUT_STRIP_TRAILING_WHITESPACE )
- execute_process(
- COMMAND pkg-config libcaldav --variable=pkglibdir
- OUTPUT_VARIABLE _libdir
- RESULT_VARIABLE _result
- OUTPUT_STRIP_TRAILING_WHITESPACE )
- list( APPEND CALDAV_INCLUDE_DIRS ${_incdir} )
- list( APPEND CALDAV_LIBRARY_DIRS ${_libdir} )
- list( APPEND CALDAV_LIBRARIES caldav )
-else( )
- tde_message_fatal( "libcaldav is requested, but was not found on your system" )
-endif( )
diff --git a/kresources/caldav/Makefile.am b/kresources/caldav/Makefile.am
deleted file mode 100644
index 1bfe28dc..00000000
--- a/kresources/caldav/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_caldav.la
-
-libkcal_caldav_la_SOURCES = resource.cpp \
- config.cpp \
- configwidgets.cpp \
- preferences.cpp \
- job.cpp \
- reader.cpp \
- writer.cpp \
- prefsskel.kcfgc
-libkcal_caldav_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_caldav_la_LIBADD = \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la \
- -lcaldav
-libkcal_caldav_la_COMPILE_FIRST = prefsskel.h
-
-kde_module_LTLIBRARIES = kcal_caldav.la
-
-kcal_caldav_la_SOURCES = plugin.cpp
-kcal_caldav_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_caldav_la_LIBADD = libkcal_caldav.la
-kcal_caldav_la_COMPILE_FIRST = prefsskel.h
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_caldav.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_caldav.pot
diff --git a/kresources/caldav/config.cpp b/kresources/caldav/config.cpp
deleted file mode 100644
index 0a07aafc..00000000
--- a/kresources/caldav/config.cpp
+++ /dev/null
@@ -1,208 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Configuration and properties dialog
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-#include "config.h"
-#include "configwidgets.h"
-
-#include <kcombobox.h>
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <klistview.h>
-#include <kurlrequester.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-/*=========================================================================
-| STATIC METHODS
- ========================================================================*/
-
-ResourceCalDav* ResourceCalDavConfig::getCalDavResource(KRES::Resource* resource) {
- ResourceCalDav *res = dynamic_cast<ResourceCalDav *>( resource );
- if (!res) {
- kdDebug() << "invalid resource type" << '\n';
- }
-
- return res;
-}
-
-CalDavPrefs* ResourceCalDavConfig::getPrefs(ResourceCalDav* res) {
- CalDavPrefs* p = NULL;
-
- if (res) {
- p = res->prefs();
- if (!p) {
- kdDebug() << "CalDAV: res->prefs() returned NULL" << '\n';
- }
- }
-
- return p;
-}
-
-/*=========================================================================
-| CONSTRUCTOR / DESTRUCTOR
- ========================================================================*/
-
-ResourceCalDavConfig::ResourceCalDavConfig( TQWidget *parent )
- : KRES::ConfigWidget( parent )
-{
- setupUI();
-}
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void ResourceCalDavConfig::loadSettings( KRES::Resource *resource ) {
- ResourceCalDav* res = getCalDavResource(resource);
- CalDavPrefs* p = getPrefs(res);
- if (NULL != p) {
- mUrl->setText(p->url());
- mUsername->setText(p->username());
- mRememberPassword->setChecked(p->rememberPassword());
- mPassword->setText(p->password());
- mTasksUrl->setText(p->tasksUrl());
- mJournalsUrl->setText(p->journalsUrl());
- mUseSTasks->setChecked(p->useSTasks());
- mUseSJournals->setChecked(p->useSJournals());
-
- mReloadConfig->loadSettings(res);
- mSaveConfig->loadSettings(res);
- }
-}
-
-void ResourceCalDavConfig::saveSettings( KRES::Resource *resource ) {
- ResourceCalDav* res = getCalDavResource(resource);
- if (NULL != res) {
- mReloadConfig->saveSettings(res);
- mSaveConfig->saveSettings(res);
-
- CalDavPrefs* p = getPrefs(res);
- if (NULL != p) {
- p->setUrl(mUrl->text());
- p->setUsername(mUsername->text());
- p->setRememberPassword(mRememberPassword->isChecked());
- p->setPassword(mPassword->text());
- p->setTasksUrl(mTasksUrl->text());
- p->setUseSTasks(mUseSTasks->isChecked());
- p->setJournalsUrl(mJournalsUrl->text());
- p->setUseSJournals(mUseSJournals->isChecked());
- }
- }
-}
-
-void ResourceCalDavConfig::setupUI() {
- TQVBoxLayout *vertical = new TQVBoxLayout(this);
-
- TQGridLayout *mainLayout = new TQGridLayout( this );
-
- // URL
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mUrl = new TQLineEdit( this );
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUrl, 1, 1 );
-
- // Tasks URL
- TQLabel *tlabel = new TQLabel( i18n( "Tasks URL:" ), this );
- mTasksUrl = new TQLineEdit( this );
- mainLayout->addWidget( tlabel, 3, 0 );
- mainLayout->addWidget( mTasksUrl, 3, 1 );
-
- // Use Task URL checkbox
- mUseSTasks = new TQCheckBox( i18n("Use separate Tasks URL"), this );
- mainLayout->addWidget(mUseSTasks, 2, 0 );
-
- // Journals URL
- TQLabel *jlabel = new TQLabel( i18n( "Journals URL:" ), this );
- mJournalsUrl = new TQLineEdit( this );
- mainLayout->addWidget( jlabel, 5, 0 );
- mainLayout->addWidget( mJournalsUrl, 5, 1 );
-
- // Use Journal URL checkbox
- mUseSJournals = new TQCheckBox( i18n("Use separate Journals URL"), this );
- mainLayout->addWidget(mUseSJournals, 4, 0 );
-
- // Username
- label = new TQLabel( i18n( "Username:" ), this );
- mUsername = new TQLineEdit( this );
- mainLayout->addWidget( label, 6, 0 );
- mainLayout->addWidget( mUsername, 6, 1 );
-
- // Password
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new TQLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
- mainLayout->addWidget( label, 7, 0 );
- mainLayout->addWidget( mPassword, 7, 1 );
-
- // Remember password checkbox
- mRememberPassword = new TQCheckBox( i18n("Remember password"), this );
- mainLayout->addWidget(mRememberPassword, 8, 1);
-
- mTasksUrl->setEnabled(mUseSTasks->isChecked());
- connect( mUseSTasks, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotSTasksToggled( bool ) ) );
-
- mJournalsUrl->setEnabled(mUseSJournals->isChecked());
- connect( mUseSJournals, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotSJournalsToggled( bool ) ) );
-
- // configs
- TQHBoxLayout* horizontal = new TQHBoxLayout(this);
-
- // Reload config
- mReloadConfig = new CalDavReloadConfig(this);
- horizontal->addWidget(mReloadConfig);
-
- // Save config
- mSaveConfig = new CalDavSaveConfig(this);
- horizontal->addWidget(mSaveConfig);
-
- // FIXME: This feature does not work; hide the UI elements for later use
- mRememberPassword->hide();
- label->hide();
- mPassword->hide();
-
- // combining layouts
- vertical->addLayout(mainLayout);
- vertical->addLayout(horizontal);
-}
-
-void ResourceCalDavConfig::slotSTasksToggled( bool enabled ) {
- mTasksUrl->setEnabled(enabled);
-}
-
-void ResourceCalDavConfig::slotSJournalsToggled( bool enabled ) {
- mJournalsUrl->setEnabled(enabled);
-}
-
-#include "config.moc"
-
-// EOF ========================================================================
diff --git a/kresources/caldav/config.h b/kresources/caldav/config.h
deleted file mode 100644
index 3e6abe9b..00000000
--- a/kresources/caldav/config.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Configuration and properties dialog
- ========================================================================*/
-
-#ifndef KCAL_RESOURCECALDAVCONFIG_H
-#define KCAL_RESOURCECALDAVCONFIG_H
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-
-#include <kdemacros.h>
-#include <kresources/configwidget.h>
-
-class TQLineEdit;
-class TQCheckBox;
-
-namespace KCal {
-
-class CalDavReloadConfig;
-class CalDavSaveConfig;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Configuration widget for CalDAV resource.
- */
-class KDE_EXPORT ResourceCalDavConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
-public:
-
- ResourceCalDavConfig(TQWidget *parent = 0);
-
-public slots:
-
- virtual void loadSettings(KRES::Resource *resource);
- virtual void saveSettings(KRES::Resource *resource);
-
- void slotSTasksToggled( bool );
- void slotSJournalsToggled( bool );
-
-protected:
-
- virtual void setupUI();
-
-private:
-
- TQLineEdit *mUrl;
- TQLineEdit *mTasksUrl;
- TQLineEdit *mJournalsUrl;
- TQLineEdit *mUsername;
- TQLineEdit *mPassword;
- TQCheckBox *mUseSTasks;
- TQCheckBox *mUseSJournals;
- TQCheckBox *mRememberPassword;
- CalDavReloadConfig* mReloadConfig;
- CalDavSaveConfig* mSaveConfig;
-
- static ResourceCalDav* getCalDavResource(KRES::Resource* res);
-
- /**
- * Returns preferences of the given ResourceCalDav object.
- * @param res resource object.
- * @return if preferences object is obtained successfully, it's returned. Otherwise, NULL is returned.
- */
- static CalDavPrefs* getPrefs(ResourceCalDav* res);
-};
-
-} // namespace KCal
-
-
-#endif // KCAL_RESOURCECALDAVCONFIG_H
-
diff --git a/kresources/caldav/configwidgets.cpp b/kresources/caldav/configwidgets.cpp
deleted file mode 100644
index ab8c7905..00000000
--- a/kresources/caldav/configwidgets.cpp
+++ /dev/null
@@ -1,249 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Automatic Reload / Automatic Save configuration widgets.
-| The code is mostly taken from resourcecachedconfig.h/cpp files from
-| the kcal library and changed to meet our requirements.
-| The original copyright is below.
- ========================================================================*/
-/*
- This file is part of the kcal library.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "configwidgets.h"
-
-#include <libkcal/resourcecached.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-#include <tqradiobutton.h>
-#include <tqspinbox.h>
-#include <tqbuttongroup.h>
-#include <tqgroupbox.h>
-#include <tqhbox.h>
-
-using namespace KCal;
-
-//@cond PRIVATE
-class CalDavConfigPrivate
-{
- public:
- CalDavConfigPrivate()
- : mGroup( 0 ),
- mIntervalSpin( 0 ) {}
-
- TQButtonGroup *mGroup;
- TQSpinBox *mIntervalSpin;
-};
-
-class CalDavReloadConfig::Private
- : public CalDavConfigPrivate
-{
-};
-
-class CalDavSaveConfig::Private
- : public CalDavConfigPrivate
-{
-};
-//@endcond
-
-CalDavReloadConfig::CalDavReloadConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KCal::CalDavReloadConfig::Private() )
-{
- TQBoxLayout *topLayout = new TQVBoxLayout( this );
-
- //TQGroupBox *groupBox = new TQGroupBox( i18nc( "@title:group", "Automatic Reload" ), this );
- TQGroupBox *groupBox = new TQGroupBox( i18n( "Automatic Reload" ), this );
- topLayout->addWidget( groupBox );
-
- TQRadioButton *noAutomaticReload =
- new TQRadioButton(
- //i18nc( "@option:radio never reload the cache", "Never" ), groupBox );
- i18n( "Never" ), groupBox );
- TQRadioButton *automaticReloadOnStartup =
- new TQRadioButton(
- //i18nc( "@option:radio reload the cache on startup", "Only on startup" ), groupBox );
- i18n( "Only on startup" ), groupBox );
- TQRadioButton *intervalRadio =
- new TQRadioButton(
-// i18nc( "@option:radio reload the cache at regular intervals",
-// "Regular interval" ), groupBox );
- i18n( "Regular interval" ), groupBox );
-
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- d->mGroup->insert( intervalRadio, 2 );
- d->mGroup->insert( automaticReloadOnStartup, 1 );
- d->mGroup->insert( noAutomaticReload, 0 );
-
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
-
- TQHBox *intervalBox = new TQHBox( groupBox );
- //new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
- new TQLabel( i18n( "Interval in minutes:" ), intervalBox );
- d->mIntervalSpin = new TQSpinBox( intervalBox );
- d->mIntervalSpin->setRange( 1, 900 );
- d->mIntervalSpin->setEnabled( false );
-
- groupBox->setColumnLayout(1, Qt::Vertical);
- TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
- vbox->addWidget(intervalRadio);
- vbox->addWidget(intervalBox);
- vbox->addWidget(automaticReloadOnStartup);
- vbox->addWidget(noAutomaticReload);
- vbox->addStretch(1);
-}
-
-CalDavReloadConfig::~CalDavReloadConfig()
-{
- delete d;
-}
-
-void CalDavReloadConfig::loadSettings( ResourceCached *resource )
-{
- d->mIntervalSpin->setValue( resource->reloadInterval() );
- d->mGroup->setButton( resource->reloadPolicy() );
-}
-
-void CalDavReloadConfig::saveSettings( ResourceCached *resource )
-{
- resource->setReloadInterval( d->mIntervalSpin->value() );
- resource->setReloadPolicy( d->mGroup->selectedId() );
-}
-
-void CalDavReloadConfig::slotIntervalToggled( bool checked )
-{
- if ( checked ) {
- d->mIntervalSpin->setEnabled( true );
- } else {
- d->mIntervalSpin->setEnabled( false );
- }
-}
-
-CalDavSaveConfig::CalDavSaveConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KCal::CalDavSaveConfig::Private() )
-{
- TQBoxLayout *topLayout = new TQVBoxLayout( this );
-
- //TQGroupBox *groupBox = new TQGroupBox( i18nc( "@title:group", "Automatic Save" ), this );
- TQGroupBox *groupBox = new TQGroupBox( i18n( "Automatic Save" ), this );
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- topLayout->addWidget( groupBox );
-
- TQRadioButton *never =
- new TQRadioButton(
- //i18nc( "@option:radio never save the cache automatically", "Never" ), groupBox );
- i18n( "Never" ), groupBox );
- TQRadioButton *onExit =
- new TQRadioButton(
- //i18nc( "@option:radio save the cache on exit", "Only on exit" ), groupBox );
- i18n( "Only on exit" ), groupBox );
-
- TQRadioButton *intervalRadio =
- new TQRadioButton(
- //i18nc( "@option:radio save the cache at regular intervals", "Regular interval" ), groupBox );
- i18n( "Regular interval" ), groupBox );
-
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- d->mGroup->insert( never, 0 );
- d->mGroup->insert( onExit, 1 );
- d->mGroup->insert( intervalRadio, 2 );
-
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
-
- TQHBox *intervalBox = new TQHBox( groupBox );
- //new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
- new TQLabel( i18n( "Interval in minutes:" ), intervalBox );
- d->mIntervalSpin = new TQSpinBox( intervalBox );
- d->mIntervalSpin->setRange( 1, 900 );
- d->mIntervalSpin->setEnabled( false );
-
- TQRadioButton *delay =
- new TQRadioButton(
-// i18nc( "@option:radio save the cache after some delay",
-// "Delayed after changes" ), groupBox );
- i18n( "Delayed after changes" ), groupBox );
- TQRadioButton *every =
- new TQRadioButton(
-// i18nc( "@option:radio save the cache after every modification",
-// "Immediately after changes" ), groupBox );
- i18n( "Immediately after changes" ), groupBox );
- d->mGroup->insert( delay, 3 );
- d->mGroup->insert( every, 4 );
-
- // hide unwanted widgets. They may be useful in future, so don't delete them for now.
- intervalRadio->hide();
- intervalBox->hide();
-
- groupBox->setColumnLayout(1, Qt::Vertical);
- TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
- vbox->addWidget(delay);
- vbox->addWidget(every);
- vbox->addWidget(intervalRadio);
- vbox->addWidget(intervalBox);
- vbox->addWidget(onExit);
- vbox->addWidget(never);
- vbox->addStretch(1);
-
-}
-
-CalDavSaveConfig::~CalDavSaveConfig()
-{
- delete d;
-}
-
-void CalDavSaveConfig::loadSettings( ResourceCached *resource )
-{
- d->mIntervalSpin->setValue( resource->saveInterval() );
- d->mGroup->setButton( resource->savePolicy() );
-}
-
-void CalDavSaveConfig::saveSettings( ResourceCached *resource )
-{
- resource->setSaveInterval( d->mIntervalSpin->value() );
- resource->setSavePolicy( d->mGroup->selectedId() );
-}
-
-void CalDavSaveConfig::slotIntervalToggled( bool checked )
-{
- if ( checked ) {
- d->mIntervalSpin->setEnabled( true );
- } else {
- d->mIntervalSpin->setEnabled( false );
- }
-}
-
-#include "configwidgets.moc"
-
-// EOF ========================================================================
diff --git a/kresources/caldav/configwidgets.h b/kresources/caldav/configwidgets.h
deleted file mode 100644
index 1e524844..00000000
--- a/kresources/caldav/configwidgets.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Automatic Reload / Automatic Save configuration widgets.
-| The code is mostly taken from resourcecachedconfig.h/cpp files from
-| the kcal library and changed to meet our requirements.
-| The original copyright is below.
- ========================================================================*/
-/*
- This file is part of the kcal library.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALDAV_AUTOWIDGETS_H
-#define KCALDAV_AUTOWIDGETS_H
-
-#include <tqwidget.h>
-#include <kdemacros.h>
-
-namespace KCal {
-
-class ResourceCached;
-
-/**
- Configuration widget for reload policy
-
- @see ResourceCached
-*/
-class KDE_EXPORT CalDavReloadConfig : public TQWidget
-{
- Q_OBJECT
-
- public:
- explicit CalDavReloadConfig( TQWidget *parent = 0 );
- ~CalDavReloadConfig();
- public slots:
- void loadSettings( ResourceCached *resource );
- void saveSettings( ResourceCached *resource );
-
- protected slots:
- void slotIntervalToggled( bool );
-
- private:
- //@cond PRIVATE
- //TQ_DISABLE_COPY( CalDavReloadConfig )
- class Private;
- Private *const d;
- //@endcond
-};
-
-/**
- Configuration widget for save policy
-
- @see ResourceCached
-*/
-class KDE_EXPORT CalDavSaveConfig : public TQWidget
-{
- Q_OBJECT
-
- public:
- explicit CalDavSaveConfig( TQWidget *parent = 0 );
- ~CalDavSaveConfig();
-
- public slots:
- void loadSettings( ResourceCached *resource );
- void saveSettings( ResourceCached *resource );
-
- protected slots:
- void slotIntervalToggled( bool );
-
- private:
- //@cond PRIVATE
- //TQ_DISABLE_COPY( CalDavSaveConfig )
- class Private;
- Private *const d;
- //@endcond
-};
-
-}
-
-#endif // KCALDAV_AUTOWIDGETS_H
diff --git a/kresources/caldav/export.h b/kresources/caldav/export.h
deleted file mode 100644
index 2e22c557..00000000
--- a/kresources/caldav/export.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Some support macros.
-| The code is mostly taken from KDE source files.
-| The original copyright is below.
- ========================================================================*/
-/* This file is part of the KDE project
- Copyright (C) 2008 Jarosław Staniek <staniek@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KRESOURCES_TDEPIM_EXPORT_H
-#define KRESOURCES_TDEPIM_EXPORT_H
-
-/** Exports a function returning kresources plugin factory, for resource class @a resourceclass,
- * @a resourceconfigclass config class and @a catalog catalog.
- */
-#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
- typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
- class Factory : public FactoryBase { \
- public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \
- }; \
- K_EXPORT_PLUGIN( Factory )
-
-/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs.
- */
-#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
- typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
- class Factory : public FactoryBase { \
- public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \
- TDEGlobal::locale()->insertCatalogue(catalog2); } \
- }; \
- K_EXPORT_PLUGIN( Factory )
-
-#endif
diff --git a/kresources/caldav/job.cpp b/kresources/caldav/job.cpp
deleted file mode 100644
index 93f91cd5..00000000
--- a/kresources/caldav/job.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Job class for accessing remote calendars.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "job.h"
-#include <kdebug.h>
-#include <klocale.h>
-
-#include <tqmutex.h>
-
-#define log(s) kdDebug() << s << '\n';
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| STATIC
- ========================================================================*/
-
-/*=========================================================================
-| CONSTRUCTOR AND DESTRUCTOR
- ========================================================================*/
-
-CalDavJob::CalDavJob(const TQString& url) {
- cleanJob();
- setUrl(url);
-}
-
-CalDavJob::~CalDavJob() {
-}
-
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CalDavJob::enableCaldavDebug(runtime_info* rt) {
- if (rt && rt->options) {
- rt->options->debug = 0; // if debug = 1, it causes major CPU overhead
- rt->options->verify_ssl_certificate = FALSE;
- }
-}
-
-void CalDavJob::setErrorString(const TQString& err, const long number) {
- mError = true;
- mErrorString = err;
- mErrorNumber = number;
-}
-
-void CalDavJob::setTasksErrorString(const TQString& err, const long number) {
- mTasksError = true;
- mTasksErrorString = err;
- mTasksErrorNumber = number;
-}
-
-void CalDavJob::setJournalsErrorString(const TQString& err, const long number) {
- mJournalsError = true;
- mJournalsErrorString = err;
- mJournalsErrorNumber = number;
-}
-
-void CalDavJob::processError(const caldav_error* err) {
- TQString error_string;
-
- long code = err->code;
-
- if (-401 == code) { // unauthorized
- error_string = i18n("Unauthorized. Username or password incorrect.");
- } else if (-599 <= code && code <= -300) {
- error_string = i18n("HTTP error %1. Please ensure that the URL is a valid CalDAV resource.").arg(-code);
- } else {
- error_string = err->str;
- }
-
- setErrorString(error_string, code);
-}
-
-void CalDavJob::processTasksError(const caldav_error* err) {
- TQString error_string;
-
- long code = err->code;
-
- if (-401 == code) { // unauthorized
- error_string = i18n("Unauthorized. Username or password incorrect.");
- } else if (-599 <= code && code <= -300) {
- error_string = i18n("HTTP error %1. Please ensure that the URL is a valid CalDAV resource.").arg(-code);
- } else {
- error_string = err->str;
- }
-
- setTasksErrorString(error_string, code);
-}
-
-void CalDavJob::processJournalsError(const caldav_error* err) {
- TQString error_string;
-
- long code = err->code;
-
- if (-401 == code) { // unauthorized
- error_string = i18n("Unauthorized. Username or password incorrect.");
- } else if (-599 <= code && code <= -300) {
- error_string = i18n("HTTP error %1. Please ensure that the URL is a valid CalDAV resource.").arg(-code);
- } else {
- error_string = err->str;
- }
-
- setJournalsErrorString(error_string, code);
-}
-
-
-void CalDavJob::run() {
- log("cleaning job");
- cleanJob();
-
- int res = OK;
- int tasksres = OK;
- int journalsres = OK;
-
- runtime_info* caldav_runtime = caldav_get_runtime_info();
-
-#ifdef KCALDAV_DEBUG
- log("setting debug caldav options");
- enableCaldavDebug(caldav_runtime);
-#endif // KCALDAV_DEBUG
-
- log("running event job");
- res = runJob(caldav_runtime);
-
- if (OK != res) {
- log("event job failed");
- processError(caldav_runtime->error);
- }
-
- log("running tasks job");
- tasksres = runTasksJob(caldav_runtime);
-
- if (OK != tasksres) {
- log("tasks job failed");
- processTasksError(caldav_runtime->error);
- }
-
- log("running journals job");
- journalsres = runJournalsJob(caldav_runtime);
-
- if (OK != journalsres) {
- log("journals job failed");
- processJournalsError(caldav_runtime->error);
- }
-
- caldav_free_runtime_info(&caldav_runtime);
-
- // Signal done
- // 1000 is read, 1001 is write
- if (type() == 0) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1000) ) );
- if (type() == 1) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1001) ) );
-}
-
-// EOF ========================================================================
diff --git a/kresources/caldav/job.h b/kresources/caldav/job.h
deleted file mode 100644
index 7d312d90..00000000
--- a/kresources/caldav/job.h
+++ /dev/null
@@ -1,290 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Job class for accessing remote calendars.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCALDAV_JOB_H
-#define KCALDAV_JOB_H
-
-#include <tqthread.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-#include <tqapplication.h>
-
-extern "C" {
- #include <caldav.h>
-}
-
-namespace KCal {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar job.
- */
-class CalDavJob : public TQThread {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CalDavJob(const TQString& url = TQString());
-
- virtual ~CalDavJob();
-
- /**
- * Sets a new URL to load.
- */
- virtual void setUrl(const TQString& s) {
- mUrl = s;
- }
-
- /**
- * Sets a new Tasks URL to load.
- */
- virtual void setTasksUrl(const TQString& s) {
- mTasksUrl = s;
- }
-
- /**
- * Sets a new Journals URL to load.
- */
- virtual void setJournalsUrl(const TQString& s) {
- mJournalsUrl = s;
- }
-
- /**
- * Sets the parent qobject.
- */
- virtual void setParent(TQObject *s) {
- mParent = s;
- }
-
- /**
- * Sets the type (0==read, 1==write)
- */
- virtual void setType(int s) {
- mType = s;
- }
-
- /**
- * @return URL to load.
- */
- virtual TQString url() const {
- return mUrl;
- }
-
- /**
- * @return Tasks URL to load.
- */
- virtual TQString tasksUrl() const {
- return mTasksUrl;
- }
-
- /**
- * @return Journals URL to load.
- */
- virtual TQString journalsUrl() const {
- return mJournalsUrl;
- }
-
- /**
- * @return parent object
- */
- virtual TQObject *parent() {
- return mParent;
- }
-
- /**
- * @return type
- */
- virtual int type() {
- return mType;
- }
-
- /**
- * @return true if events downloading process failed.
- */
- virtual bool error() const {
- return mError;
- }
-
- /**
- * @return true if tasks downloading process failed.
- */
- virtual bool tasksError() const {
- return mTasksError;
- }
-
- /**
- * @return true if journals downloading process failed.
- */
- virtual bool journalsError() const {
- return mJournalsError;
- }
-
- /**
- * @return an event error string.
- */
- virtual TQString errorString() const {
- return mErrorString;
- }
-
- /**
- * @return a task error string.
- */
- virtual TQString tasksErrorString() const {
- return mTasksErrorString;
- }
-
- /**
- * @return a journal error string.
- */
- virtual TQString journalsErrorString() const {
- return mJournalsErrorString;
- }
-
- /**
- * @return an event error number.
- */
- virtual long errorNumber() const {
- return mErrorNumber;
- }
-
- /**
- * @return a task error number.
- */
- virtual long tasksErrorNumber() const {
- return mTasksErrorNumber;
- }
-
- /**
- * @return a journal error number.
- */
- virtual long journalsErrorNumber() const {
- return mJournalsErrorNumber;
- }
-
-protected:
-
- virtual void run();
-
- /**
- * Main run method for event jobs. Jobs should not override run() method.
- * Instead of this they should override this one.
- * @param caldavRuntime specific libcaldav runtime information. This pointer should not be saved for the usage
- * outside of runJob.
- * @return libcaldav response code (see CALDAV_RESPONSE)
- */
- virtual int runJob(runtime_info* caldavRuntime) = 0;
-
- /**
- * Main run method for task jobs. Jobs should not override run() method.
- * Instead of this they should override this one.
- * @param caldavRuntime specific libcaldav runtime information. This pointer should not be saved for the usage
- * outside of runJob.
- * @return libcaldav response code (see CALDAV_RESPONSE)
- */
- virtual int runTasksJob(runtime_info* caldavRuntime) = 0;
-
- /**
- * Main run method for journal jobs. Jobs should not override run() method.
- * Instead of this they should override this one.
- * @param caldavRuntime specific libcaldav runtime information. This pointer should not be saved for the usage
- * outside of runJob.
- * @return libcaldav response code (see CALDAV_RESPONSE)
- */
- virtual int runJournalsJob(runtime_info* caldavRuntime) = 0;
-
- /**
- * Some cleaning. Jobs may (and usually should) override this method.
- */
- virtual void cleanJob() {
- mError = false;
- mErrorString = "";
- mErrorNumber = 0;
- mTasksError = false;
- mTasksErrorString = "";
- mTasksErrorNumber = 0;
- mJournalsError = false;
- mJournalsErrorString = "";
- mJournalsErrorNumber = 0;
- }
-
- /**
- * Sets an event error string to @p err. Also sets an error flag.
- */
- void setErrorString(const TQString& str, const long number);
-
- /**
- * Sets a task error string to @p err. Also sets an error flag.
- */
- void setTasksErrorString(const TQString& str, const long number);
-
- /**
- * Sets a journal error string to @p err. Also sets an error flag.
- */
- void setJournalsErrorString(const TQString& str, const long number);
-
- /**
- * Process an event error.
- * Subclasses can overwrite this method, if some special error message handling
- * should be done. Call setErrorString() to set the error after processing is done.
- * @param err error structure.
- */
- virtual void processError(const caldav_error* err);
-
- /**
- * Process a task error.
- * Subclasses can overwrite this method, if some special error message handling
- * should be done. Call setErrorString() to set the error after processing is done.
- * @param err error structure.
- */
- virtual void processTasksError(const caldav_error* err);
-
- /**
- * Process a journal error.
- * Subclasses can overwrite this method, if some special error message handling
- * should be done. Call setErrorString() to set the error after processing is done.
- * @param err error structure.
- */
- virtual void processJournalsError(const caldav_error* err);
-
-private:
-
- TQString mUrl;
- TQString mTasksUrl;
- TQString mJournalsUrl;
- bool mError;
- bool mTasksError;
- bool mJournalsError;
- TQString mErrorString;
- TQString mTasksErrorString;
- TQString mJournalsErrorString;
- long mErrorNumber;
- long mTasksErrorNumber;
- long mJournalsErrorNumber;
- TQObject *mParent;
- int mType;
-
- void enableCaldavDebug(runtime_info*);
-};
-
-} // namespace KCal
-
-#endif // KCALDAV_JOB_H
-
diff --git a/kresources/caldav/kcal_caldav.desktop b/kresources/caldav/kcal_caldav.desktop
deleted file mode 100644
index b237c04b..00000000
--- a/kresources/caldav/kcal_caldav.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=CalDAV Server (e.g. Google Calendar)
-Name[af]=CalDAV bediener (bv. Google Calendar)
-Name[bg]=Сървър CalDAV (e.g. Google Calendar)
-Name[br]=Servijer CalDAV (e.g. Google Calendar)
-Name[ca]=Servidor CalDAV (p.ex. Google Calendar)
-Name[cs]=CalDAV server (např. Google Calendar)
-Name[da]=CalDAV-server (f.eks. Google Calendar)
-Name[de]=CalDAV-Server (z. B. Google Calendar)
-Name[el]=Εξυπηρετητής CalDAV (π.χ. Google Calendar)
-Name[es]=Servidor CalDAV (por ejemplo, Google Calendar)
-Name[et]=CalDAV server (nt. Google Calendar)
-Name[eu]=CalDAV zerbitzaria (adib. Google Calendar)
-Name[fa]=کارساز CalDAV (مثلاً Google Calendar)
-Name[fi]=CalDAV-palvelin (esim. Google Calendar)
-Name[fr]=CalDAV Serveur (ex. Google Calendar)
-Name[fy]=CalDAV-tsjinner (Google Calendar)
-Name[ga]=Freastalaí CalDAV (m.sh. Google Calendar)
-Name[gl]=Servidor CalDAV (e.g. Google Calendar)
-Name[hu]=CalDAV-kiszolgáló (pl. Google Calendar)
-Name[is]=CalDAV þjónn (t.d. Google Calendar)
-Name[it]=Server CalDAV (per es. Google Calendar)
-Name[ja]=CalDAV サーバ (例 Google Calendar)
-Name[ka]=სერვერი CalDAV (მაგ., Google Calendar)
-Name[kk]=CalDAV сервері (мысалы Google Calendar)
-Name[km]=ម៉ាស៊ីន​បម្រើ CalDAV (ឧ. Google Calendar)
-Name[lt]=CalDAV serveris (pvz.: Google Calendar)
-Name[ms]=Pelayan CalDAV (misalnya Google Calendar)
-Name[nb]=CalDAV-tjener (f.eks. Google Calendar)
-Name[nds]=CalDAV-Server (t.B. Google Calendar)
-Name[ne]=समूह DAV सर्भर (जस्तै: खुला ग्रुपवेयर)
-Name[nl]=CalDAV-server (Google Calendar)
-Name[nn]=CalDAV-tenar (t.d. Google Calendar)
-Name[pl]=Serwer CalDAV (np. Google Calendar)
-Name[pt]=Servidor CalDAV (por exemplo Google Calendar)
-Name[pt_BR]=Servidor GroupDav (p. ex. Google Calendar)
-Name[ru]=Сервер CalDAV (например, Google Calendar)
-Name[sk]=CalDAV Server (napr. Google Calendar)
-Name[sl]=Strežnik CalDAV (npr. Google Calendar)
-Name[sr]=CalDAV сервер (нпр. Google Calendar)
-Name[sr@Latn]=CalDAV server (npr. Google Calendar)
-Name[sv]=CalDAV-server (t.ex. Google Calendar)
-Name[ta]=CalDAV சேவகன் (e.g. Google Calendar)
-Name[tr]=CalDAV Sunucusu (ör. Google Calendar)
-Name[uk]=Сервер CalDAV (напр., Google Calendar)
-Name[zh_CN]=CalDAV 服务器(如 Google Calendar)
-Name[zh_TW]=CalDAV 伺服器 (如: Google Calendar)
-X-TDE-Library=kcal_caldav
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=caldav
diff --git a/kresources/caldav/plugin.cpp b/kresources/caldav/plugin.cpp
deleted file mode 100644
index 9ce6d60f..00000000
--- a/kresources/caldav/plugin.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CalDAV resource factory.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-#include "config.h"
-#include "export.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-// Creates the resource factory.
-//EXPORT_KRESOURCES_PLUGIN2( ResourceCalDav, ResourceCalDavConfig, "libkcal", "kres_caldav" )
-
-typedef KRES::PluginFactory<ResourceCalDav, ResourceCalDavConfig> CalDavFactory;
-
-extern "C"
-{
- void *init_kcal_caldav()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_caldav" );
- return new CalDavFactory;
- }
-}
-
-// EOF ========================================================================
diff --git a/kresources/caldav/preferences.cpp b/kresources/caldav/preferences.cpp
deleted file mode 100644
index 10da60e0..00000000
--- a/kresources/caldav/preferences.cpp
+++ /dev/null
@@ -1,290 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CalDAV resource preferences class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "preferences.h"
-
-#include <kwallet.h>
-#include <tqstring.h>
-#include <tqurl.h>
-#include <kdebug.h>
-
-/*=========================================================================
-| NAMESPACES
- ========================================================================*/
-
-using namespace KCal;
-using namespace KWallet;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-const TQString CalDavPrefs::NO_PASSWORD = "";
-const TQString CalDavPrefs::WALLET_FOLDER = "CalDAV resource";
-const TQString CalDavPrefs::WALLET_PWD_SUFFIX = ":caldav_password";
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-bool CalDavPrefs::setWalletFolder(const TQString& folder) {
- bool ret = true;
-
- if (!mNoWallet && NULL != mWallet) {
- if (!mWallet->hasFolder(folder)) {
- if (!mWallet->createFolder(folder)) {
- ret = false;
- kdWarning() << "can't create the wallet folder for CalDAV passwords";
- }
- }
- if (!mWallet->setFolder(folder)) {
- ret = false;
- kdWarning() << "can't set the wallet folder for CalDAV passwords";
- }
- } else {
- // the wallet is inaccessible or not configured
- ret = false;
- }
-
- return ret;
-}
-
-Wallet* CalDavPrefs::getWallet() {
- Wallet* ret = NULL;
-
- if (!mNoWallet) {
- // the wallet is not marked as inaccessible
-
- if (NULL == mWallet) {
- kdDebug() << "creating wallet for " + mPrefix << '\n';
-
- mWallet = Wallet::openWallet(Wallet::NetworkWallet(), 0);
- if (NULL == mWallet) {
- mNoWallet = true; // can't open the wallet, mark it inaccessible
- kdWarning() << "can't create a wallet for CalDAV passwords";
- } else {
- if (setWalletFolder(WALLET_FOLDER)) {
- // reserved
- } else {
- // can't set the wallet folder, remove the wallet and mark it inaccessible
- kdWarning() << "can't set the walet folder for CalDAV passwords";
- removeWallet(true);
- }
- }
- }
-
- ret = mWallet;
- }
-
- return ret;
-}
-
-void CalDavPrefs::removeWallet(bool noWallet) {
- delete mWallet;
- mWallet = NULL;
- mNoWallet = noWallet;
-}
-
-void CalDavPrefs::addPrefix(const TQString& prefix) {
- TDEConfigSkeletonItem::List itemList = items();
- TDEConfigSkeletonItem::List::Iterator it;
-
- for ( it = itemList.begin(); it != itemList.end(); ++it ) {
- (*it)->setGroup( prefix + ':' + (*it)->group() );
- }
-}
-
-bool CalDavPrefs::writePasswordToWallet(const TQString& password) {
-
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- int rc = w->writePassword(mPrefix + WALLET_PWD_SUFFIX, password);
- if (0 != rc) {
- kdWarning() << "CalDAV: can't write password to the wallet";
- } else {
- ret = true;
- }
- }
-
- return ret;
-}
-
-bool CalDavPrefs::readPasswordFromWallet(TQString& password) {
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- TQString p;
- int rc = w->readPassword(mPrefix + WALLET_PWD_SUFFIX, p);
- if (0 == rc) {
- //CalDavPrefsSkel::setPassword(p);
- password = p;
- ret = true;
- } else {
- kdWarning() << "CalDAV: can't read password from the wallet";
- password = NO_PASSWORD;
- }
- }
-
- return ret;
-}
-
-bool CalDavPrefs::removePasswordFromWallet() {
-
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- int rc = w->removeEntry(mPrefix + WALLET_PWD_SUFFIX);
- if (0 == rc) {
- ret = true;
- } else {
- kdWarning() << "CalDAV: can't remove password from the wallet";
- }
- }
-
- return ret;
-}
-
-void CalDavPrefs::setPassword(const TQString& p) {
-
- mPassword = p;
-
- if (rememberPassword()) {
- writePasswordToWallet(p);
- }
-}
-
-TQString CalDavPrefs::password() {
- if (NO_PASSWORD == mPassword) {
- readPasswordFromWallet(mPassword);
- }
- return mPassword;
-}
-
-TQString CalDavPrefs::getusername() {
- return username();
-}
-
-void CalDavPrefs::setRememberPassword(bool v) {
- kdDebug() << "remember: " << v << '\n';
-
- CalDavPrefsSkel::setRememberPassword(v);
-
- if (!v) {
- // we should not remember password. If there is one already stored, it must be removed.
- kdDebug() << "removing password from wallet" << '\n';
- removePasswordFromWallet();
- }
-}
-
-void CalDavPrefs::writeConfig() {
- CalDavPrefsSkel::writeConfig();
-}
-
-void CalDavPrefs::readConfig() {
-
- CalDavPrefsSkel::readConfig();
-
- // the password is not in config file, try to restore it from the wallet.
- /*if (rememberPassword()) {
- readPasswordFromWallet();
- }*/
-}
-
-TQString CalDavPrefs::getFullUrl() {
-
- TQUrl t(url());
- TQString safeURL;
- int firstAt;
-
- t.setUser(username());
- t.setPassword(password());
-
- safeURL = t.toString();
-
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
- }
-
- // Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
-
- // Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
-
- return safeURL;
-}
-
-TQString CalDavPrefs::getFullTasksUrl() {
- if (useSTasks() == 0)
- return getFullUrl();
-
- TQUrl t(tasksUrl());
- TQString safeURL;
- int firstAt;
-
- t.setUser(username());
- t.setPassword(password());
-
- safeURL = t.toString();
-
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
- }
-
- // Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
-
- // Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
-
- return safeURL;
-}
-
-TQString CalDavPrefs::getFullJournalsUrl() {
- if (useSJournals() == 0)
- return getFullUrl();
-
- TQUrl t(journalsUrl());
- TQString safeURL;
- int firstAt;
-
- t.setUser(username());
- t.setPassword(password());
-
- safeURL = t.toString();
-
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
- }
-
- // Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
-
- // Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
-
- return safeURL;
-}
-
-// EOF ========================================================================
-
diff --git a/kresources/caldav/preferences.h b/kresources/caldav/preferences.h
deleted file mode 100644
index fe585406..00000000
--- a/kresources/caldav/preferences.h
+++ /dev/null
@@ -1,164 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CalDAV resource preferences class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCAL_CALDAVPREFS_H
-#define KCAL_CALDAVPREFS_H
-
-#include "prefsskel.h"
-
-#include <kwallet.h>
-#include <kdebug.h>
-
-class TQString;
-
-namespace KCal {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * This class provides access to ResourceCalDav preferences.
- * It inherits auto-generated CalDavPrefsSkel class to add password-handling code.
- * KWallet is used for storing passwords.
- * It also adds code to allow multiple CalDAV resources to store settings in the same
- * config file.
- */
-class CalDavPrefs : public CalDavPrefsSkel {
-
-public:
-
- /**
- * @param prefix Unique prefix of the resource instance (use identifier() method).
- */
- CalDavPrefs(const TQString& prefix)
- : mWallet(NULL)
- , mNoWallet(false)
- , mPrefix(prefix)
- , mPassword(NO_PASSWORD)
- {
- addPrefix(prefix);
- }
-
- virtual ~CalDavPrefs() {
- kdDebug() << "removing wallet" << '\n';
- removeWallet();
- }
-
- virtual void writeConfig();
- virtual void readConfig();
-
- /**
- * Sets a new password. Also, if remember password flag is true,
- * remembers the password in the wallet. So, if you want the password
- * to be properly saved, call this method after ensuring the remember flag
- * is set.
- */
- void setPassword(const TQString& p);
-
- /**
- * Returns password. The password is taken from the wallet.
- * May return an empty string, if there is no password available.
- */
- TQString password();
-
- /**
- * Returns the username.
- */
- TQString getusername();
-
- void setRememberPassword(bool v);
-
- /**
- * @return A full URL to connect to CalDAV server (including username and password).
- */
- TQString getFullUrl();
-
- /**
- * @return A full URL to connect to CalDAV Tasks server (including username and password).
- */
- TQString getFullTasksUrl();
-
- /**
- * @return A full URL to connect to CalDAV Journals server (including username and password).
- */
- TQString getFullJournalsUrl();
-
-protected:
-
- /**
- * Add an unique prefix to TDEConfigGroup, so that different instances of the resource
- * can use the same config file.
- * @param prefix Unique prefix of the resource instance.
- */
- void addPrefix(const TQString& prefix);
-
- /**
- * Returns the wallet or NULL, if the wallet can't be obtained.
- */
- KWallet::Wallet* getWallet();
-
- /**
- * Tries to set a working folder for the wallet. If the wallet is not configured yet, does nothing.
- * @param folder the wallet working folder
- * @return true, if the folder has been set, and false otherwise.
- */
- bool setWalletFolder(const TQString& folder);
-
- /**
- * Removes the wallet. If @p noWallet is set, the wallet has been marked inaccessible, so that subsequent
- * getWallet calls will not try to recreate it.
- */
- void removeWallet(bool noWallet = false);
-
- /**
- * Wrire password to the wallet.
- * @param password password to write
- * @return true on success, false on failure
- */
- bool writePasswordToWallet(const TQString& password);
-
- /**
- * Extracts password from the wallet.
- * @param password a variable to save read password to.
- * @return true on success, false on failure
- */
- bool readPasswordFromWallet(TQString& password);
-
- /**
- * Clears password in the wallet.
- * @return true on success, false on failure
- */
- bool removePasswordFromWallet();
-
-private:
-
- static const TQString NO_PASSWORD;
- static const TQString WALLET_FOLDER;
- static const TQString WALLET_PWD_SUFFIX;
-
- KWallet::Wallet* mWallet;
- bool mNoWallet;
-
- TQString mPrefix;
- TQString mPassword;
-};
-
-} // namespace KCal
-
-#endif // KCAL_CALDAVPREFS_H
-
-
diff --git a/kresources/caldav/prefsskel.kcfg b/kresources/caldav/prefsskel.kcfg
deleted file mode 100644
index 7a72dd6b..00000000
--- a/kresources/caldav/prefsskel.kcfg
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_caldavrc" />
- <group name="General" >
-
- <entry key="Url" type="String" >
- <label>URL</label>
- </entry>
-
- <entry key="TasksUrl" type="String" >
- <label>URL</label>
- </entry>
-
- <entry key="JournalsUrl" type="String" >
- <label>URL</label>
- </entry>
-
- <entry key="UseSTasks" type="Bool" >
- <label>Use separate Tasks URL</label>
- <default>false</default>
- </entry>
-
- <entry key="UseSJournals" type="Bool" >
- <label>Use separate Journals URL</label>
- <default>false</default>
- </entry>
-
- <entry key="Username" type="String">
- <label>User Name</label>
- </entry>
-
-<!-- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>-->
-
- <entry key="RememberPassword" type="Bool" >
- <label>Remember password</label>
- </entry>
-
- </group>
-</kcfg>
diff --git a/kresources/caldav/prefsskel.kcfgc b/kresources/caldav/prefsskel.kcfgc
deleted file mode 100644
index b6b3aae0..00000000
--- a/kresources/caldav/prefsskel.kcfgc
+++ /dev/null
@@ -1,7 +0,0 @@
-# Code generation options for kconfig_compiler
-File=prefsskel.kcfg
-ClassName=CalDavPrefsSkel
-NameSpace=KCal
-Singleton=false
-Mutators=true
-GlobalEnums=true
diff --git a/kresources/caldav/reader.cpp b/kresources/caldav/reader.cpp
deleted file mode 100644
index 92501e4f..00000000
--- a/kresources/caldav/reader.cpp
+++ /dev/null
@@ -1,146 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote calendar loading.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "reader.h"
-#include <kdebug.h>
-#include <string>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CalDavReader::cleanJob() {
- CalDavJob::cleanJob();
- mData = "";
-}
-
-void CalDavReader::cleanTasksJob() {
- CalDavJob::cleanJob();
- mTasksData = "";
-}
-
-void CalDavReader::cleanJournalsJob() {
- CalDavJob::cleanJob();
- mJournalsData = "";
-}
-
-int CalDavReader::runJob(runtime_info* RT) {
- kdDebug() << "reader::run, url: " << url() << '\n';
-
- response* result = caldav_get_response();
- CALDAV_RESPONSE res = OK;
-
- if ((OK == res) && (url() != "")) {
- if (mGetAll) {
- kdDebug() << "getting all objects" << '\n';
- res = caldav_getall_object(result, std::string(url().ascii()).c_str(), RT);
- } else {
- kdDebug() << "getting object from the specified time range" << '\n';
- res = caldav_get_object(result, mTimeStart.toTime_t(), mTimeEnd.toTime_t(), std::string(url().ascii()).c_str(), RT);
- }
-
- if (OK == res) {
- kdDebug() << "success" << '\n';
- if (result->msg) {
- mData = result->msg;
- } else {
- kdDebug() << "empty collection" << '\n';
- // empty collection
- mData = "";
- }
- }
- }
-
- caldav_free_response(&result);
-
- return res;
-}
-
-int CalDavReader::runTasksJob(runtime_info* RT) {
- kdDebug() << "reader::run, tasksUrl: " << tasksUrl() << '\n';
-
- response* result = caldav_get_response();
- CALDAV_RESPONSE tasksres = OK;
-
- if ((OK == tasksres) && (tasksUrl() != "")) {
- kdDebug() << "reader::run, url: " << tasksUrl() << '\n';
-
- if (mGetAll) {
- kdDebug() << "getting all objects" << '\n';
- tasksres = caldav_tasks_getall_object(result, std::string(tasksUrl().ascii()).c_str(), RT);
- } else {
- kdDebug() << "getting object from the specified time range" << '\n';
- tasksres = caldav_tasks_get_object(result, mTimeStart.toTime_t(), mTimeEnd.toTime_t(), std::string(tasksUrl().ascii()).c_str(), RT);
- }
-
- if (OK == tasksres) {
- kdDebug() << "success" << '\n';
- if (result->msg) {
- mTasksData = result->msg;
- } else {
- kdDebug() << "empty collection" << '\n';
- // empty collection
- mTasksData = "";
- }
- }
-
- caldav_free_response(&result);
- }
-
- return tasksres;
-}
-
-int CalDavReader::runJournalsJob(runtime_info* RT) {
- kdDebug() << "reader::run, journalsUrl: " << journalsUrl() << '\n';
-
- response* result = caldav_get_response();
- CALDAV_RESPONSE journalsres = OK;
-
- if ((OK == journalsres) && (journalsUrl() != "")) {
- kdDebug() << "reader::run, url: " << journalsUrl() << '\n';
-
- if (mGetAll) {
- kdDebug() << "getting all objects" << '\n';
- journalsres = caldav_tasks_getall_object(result, std::string(journalsUrl().ascii()).c_str(), RT);
- } else {
- kdDebug() << "getting object from the specified time range" << '\n';
- journalsres = caldav_tasks_get_object(result, mTimeStart.toTime_t(), mTimeEnd.toTime_t(), std::string(journalsUrl().ascii()).c_str(), RT);
- }
-
- if (OK == journalsres) {
- kdDebug() << "success" << '\n';
- if (result->msg) {
- mJournalsData = result->msg;
- } else {
- kdDebug() << "empty collection" << '\n';
- // empty collection
- mJournalsData = "";
- }
- }
-
- caldav_free_response(&result);
- }
-
- return journalsres;
-}
-
-// EOF ========================================================================
diff --git a/kresources/caldav/reader.h b/kresources/caldav/reader.h
deleted file mode 100644
index 9bcc8c87..00000000
--- a/kresources/caldav/reader.h
+++ /dev/null
@@ -1,112 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote calendar loading class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCALDAV_LOADER_H
-#define KCALDAV_LOADER_H
-
-#include "job.h"
-
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-namespace KCal {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar Reader.
- */
-class CalDavReader : public CalDavJob {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CalDavReader(const TQString& url = TQString()) :
- CalDavJob(url)
- , mGetAll(true)
- {
- }
-
- /**
- * Sets a time range. Only event between @p start and @p end will be loaded.
- * This method call disables the effect of setGetAll() call.
- * setGetAll() call disables the effect of this method.
- */
- void setRange(const TQDateTime& start, const TQDateTime& end) {
- mGetAll = false;
- mTimeStart = start;
- mTimeEnd = end;
- }
-
- /**
- * Sets the flag to load all events from the remote calendar.
- * This method call disables the effect of setRange() call.
- * setGetAll() call disables the effect of this method.
- */
- void setGetAll() {
- mGetAll = true;
- }
-
- /**
- * @return downloaded calendar data in iCal format.
- */
- TQString data() const {
- return mData;
- }
-
- /**
- * @return downloaded task data in iCal format.
- */
- TQString tasksData() const {
- return mTasksData;
- }
-
- /**
- * @return downloaded journal data in iCal format.
- */
- TQString journalsData() const {
- return mJournalsData;
- }
-
-protected:
-
- virtual int runJob(runtime_info* caldavRuntime);
- virtual int runTasksJob(runtime_info* caldavRuntime);
- virtual int runJournalsJob(runtime_info* caldavRuntime);
-
- virtual void cleanJob();
- virtual void cleanTasksJob();
- virtual void cleanJournalsJob();
-
-private:
-
- TQString mData;
- TQString mTasksData;
- TQString mJournalsData;
- bool mGetAll;
- TQDateTime mTimeStart;
- TQDateTime mTimeEnd;
-
-};
-
-} // namespace KCal
-
-#endif // KCALDAV_LOADER_H
-
diff --git a/kresources/caldav/resource.cpp b/kresources/caldav/resource.cpp
deleted file mode 100644
index b9285e61..00000000
--- a/kresources/caldav/resource.cpp
+++ /dev/null
@@ -1,1011 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Main interface to the KResource system.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include <string.h>
-#include <unistd.h>
-
-#include <tqurl.h>
-#include <tqmessagebox.h>
-#include <tqapplication.h>
-#include <tqeventloop.h>
-
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-
-#include <klocale.h>
-#include <kpassdlg.h>
-
-#include <tqdatetime.h>
-#include <tqmutex.h>
-#include <tqthread.h>
-
-#ifdef KCALDAV_DEBUG
- #include <tqfile.h>
-#endif
-
-#include "resource.h"
-#include "reader.h"
-#include "writer.h"
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-const unsigned long ResourceCalDav::TERMINATION_WAITING_TIME = 3 * 1000; // 3 seconds
-const int ResourceCalDav::CACHE_DAYS = 90;
-
-const int ResourceCalDav::DEFAULT_RELOAD_INTERVAL = 10;
-const int ResourceCalDav::DEFAULT_SAVE_INTERVAL = 10;
-const int ResourceCalDav::DEFAULT_RELOAD_POLICY = ResourceCached::ReloadInterval;
-const int ResourceCalDav::DEFAULT_SAVE_POLICY = ResourceCached::SaveDelayed;
-
-/*=========================================================================
-| UTILITY
- ========================================================================*/
-
-#define log(s) kdDebug() << identifier() << ": " << (s) << '\n';
-
-/*=========================================================================
-| CONSTRUCTOR / DESTRUCTOR
- ========================================================================*/
-
-ResourceCalDav::ResourceCalDav( const TDEConfig *config ) :
- ResourceCached(config)
- , readLockout(false)
- , mAllWritesComplete(false)
- , mLock(true)
- , mPrefs(NULL)
- , mLoader(NULL)
- , mWriter(NULL)
- , mProgress(NULL)
- , mLoadingQueueReady(true)
- , mWritingQueueReady(true)
- , mWriteRetryTimer(NULL)
-{
- log("ResourceCalDav(config)");
- init();
-
- if ( config ) {
- readConfig( config );
- }
-}
-
-ResourceCalDav::~ResourceCalDav() {
- log("jobs termination");
-
- if (mWriteRetryTimer != NULL) {
- mWriteRetryTimer->stop(); // Unfortunately we cannot do anything at this point; if this timer is still running something is seriously wrong
- }
-
- if (mLoader) {
- readLockout = true;
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- }
-
- while ((mWriter->running() == true) || (mWritingQueue.isEmpty() == false) || !mWritingQueueReady) {
- readLockout = true;
- sleep(1);
- tqApp->processEvents(TQEventLoop::ExcludeUserInput);
- }
-
- if (mWriter) {
- mWriter->terminate();
- }
-
- log("waiting for jobs terminated");
-
- if (mLoader) {
- mLoader->wait(TERMINATION_WAITING_TIME);
- }
- if (mWriter) {
- mWriter->wait(TERMINATION_WAITING_TIME);
- }
-
- log("deleting jobs");
-
- delete mLoader;
- delete mWriter;
-
- log("deleting preferences");
-
- delete mPrefs;
-}
-
-bool ResourceCalDav::isSaving() {
- doSave();
- return (((mWriteRetryTimer != NULL) ? 1 : 0) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false) || !mWritingQueueReady || readLockout);
-}
-
-/*=========================================================================
-| GENERAL METHODS
- ========================================================================*/
-
-bool ResourceCalDav::doLoad() {
- bool syncCache = true;
-
- if ((mLoadingQueueReady == false) || (mLoadingQueue.isEmpty() == false) || (mLoader->running() == true) || (isSaving() == true)) {
- return true; // Silently fail; the user has obviously not responded to a dialog and we don't need to pop up more of them!
- }
-
- log(TQString("doLoad(%1)").arg(syncCache));
-
- clearCache();
-
- log("loading from cache");
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
- clearChanges(); // TODO: Determine if this really needs to be here, as it might clear out the calendar prematurely causing user confusion while the download process is running
- emit resourceChanged(this);
- emit resourceLoaded(this);
-
- log("starting download job");
- startLoading(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl());
-
- return true;
-}
-
-bool ResourceCalDav::doSave() {
- bool syncCache = true;
-
- log(TQString("doSave(%1)").arg(syncCache));
-
- if (!hasChanges()) {
- log("no changes");
- return true;
- }
-
- log("saving cache");
- saveCache();
-
- // Delete any queued read jobs
- mLoadingQueue.clear();
-
- // See if there is a running read thread and terminate it
- if (mLoader->running() == true) {
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- }
-
- log("start writing job");
- if (startWriting(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl()) == true) {
- log("clearing changes");
- // FIXME: Calling clearChanges() here is not the ideal way since the
- // upload might fail, but there is no other place to call it...
- clearChanges();
- if (mWriteRetryTimer != NULL) {
- if (mWriteRetryTimer->isActive() == false) {
- disconnect( mWriteRetryTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doSave()) );
- delete mWriteRetryTimer;
- mWriteRetryTimer = NULL;
- }
- }
- return true;
- }
- else return true; // We do not need to alert the user to this transient failure; a timer has been started to retry the save
-}
-
-
-KABC::Lock* ResourceCalDav::lock() {
- log("lock()");
- return &mLock;
-}
-
-void ResourceCalDav::readConfig( const TDEConfig *config ) {
- log("readConfig");
- mPrefs->readConfig();
- ResourceCached::readConfig(config);
-}
-
-void ResourceCalDav::writeConfig( TDEConfig *config ) {
- log("writeConfig()");
- ResourceCalendar::writeConfig(config);
- mPrefs->writeConfig();
- ResourceCached::writeConfig(config);
-}
-
-CalDavPrefs* ResourceCalDav::createPrefs() const {
- log("createPrefs()");
- CalDavPrefs* p = new CalDavPrefs(identifier());
- return p;
-}
-
-void ResourceCalDav::init() {
- // default settings
- setReloadInterval(DEFAULT_RELOAD_INTERVAL);
- setReloadPolicy(DEFAULT_RELOAD_POLICY);
- setSaveInterval(DEFAULT_SAVE_INTERVAL);
- setSavePolicy(DEFAULT_SAVE_POLICY);
-
- // creating preferences
- mPrefs = createPrefs();
-
- // creating reader/writer instances
- mLoader = new CalDavReader;
- mWriter = new CalDavWriter;
-
- // creating jobs
- // TQt4 handles this quite differently, as shown below,
- // whereas TQt3 needs events (see ::event())
-// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished()));
-// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished()));
-
- setType("ResourceCalDav");
-}
-
-void ResourceCalDav::setIncidencesReadOnly(Incidence::List& inc, bool readOnly) {
- Incidence::List::Iterator it;
- for ( it = inc.begin(); it != inc.end(); ++it ) {
- (*it)->setReadOnly( readOnly );
- }
-}
-
-void ResourceCalDav::ensureReadOnlyFlagHonored() {
- //disableChangeNotification();
-
- Incidence::List inc( rawIncidences() );
- setIncidencesReadOnly(inc, readOnly());
-
- //enableChangeNotification();
-
- emit resourceChanged(this);
-}
-
-void ResourceCalDav::setReadOnly(bool v) {
- KRES::Resource::setReadOnly(v);
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
-}
-
-void ResourceCalDav::updateProgressBar(int direction) {
- int current_queued_events;
- static int original_queued_events;
-
- // See if anything is in the queues
- current_queued_events = mWritingQueue.count() + mLoadingQueue.count();
- if ((direction == 0) && (mLoader->running() == true)) current_queued_events++;
- if ((direction == 1) && (mWriter->running() == true)) current_queued_events++;
- if (current_queued_events > original_queued_events) {
- original_queued_events = current_queued_events;
- }
-
- if (current_queued_events == 0) {
- if ( mProgress != NULL) {
- mProgress->setComplete();
- mProgress = NULL;
- original_queued_events = 0;
- }
- }
- else {
- if (mProgress == NULL) {
- if (direction == 0) mProgress = KPIM::ProgressManager::createProgressItem(KPIM::ProgressManager::getUniqueID(), i18n("Downloading Calendar") );
- if (direction == 1) mProgress = KPIM::ProgressManager::createProgressItem(KPIM::ProgressManager::getUniqueID(), i18n("Uploading Calendar") );
- }
- mProgress->setProgress( ((((float)original_queued_events-(float)current_queued_events)*100)/(float)original_queued_events) );
- }
-}
-
-/*=========================================================================
-| READING METHODS
- ========================================================================*/
-
-void ResourceCalDav::loadingQueuePush(const LoadingTask *task) {
- if ((mLoadingQueue.isEmpty() == true) && (mLoader->running() == false)) {
- mLoadingQueue.enqueue(task);
- updateProgressBar(0);
- loadingQueuePop();
- }
-}
-
-void ResourceCalDav::loadingQueuePop() {
- if (!mLoadingQueueReady || mLoadingQueue.isEmpty() || (isSaving() == true)) {
- return;
- }
-
- if (!mLoader) {
- log("loader == NULL");
- return;
- }
-
- // Loading queue and mLoadingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- LoadingTask *t = mLoadingQueue.head();
-
- mLoader->setUrl(t->url);
- mLoader->setTasksUrl(t->tasksUrl);
- mLoader->setJournalsUrl(t->journalsUrl);
- mLoader->setParent(this);
- mLoader->setType(0);
-
- TQDateTime dt(TQDate::currentDate());
- mLoader->setRange(dt.addDays(-CACHE_DAYS), dt.addDays(CACHE_DAYS));
- //mLoader->setGetAll();
-
- mLoadingQueueReady = false;
-
- log("starting actual download job");
- mLoader->start(TQThread::LowestPriority);
-
- // if all ok, removing the task from the queue
- mLoadingQueue.dequeue();
- updateProgressBar(0);
-
- delete t;
-}
-
-void ResourceCalDav::startLoading(const TQString& url, const TQString& tasksUrl, const TQString& journalsUrl) {
- LoadingTask *t = new LoadingTask;
- t->url = url;
- t->tasksUrl = tasksUrl;
- t->journalsUrl = journalsUrl;
- loadingQueuePush(t);
-}
-
-void ResourceCalDav::loadFinished() {
- CalDavReader* loader = mLoader;
-
- log("load finished");
-
- if (!loader) {
- log("loader is NULL");
- return;
- }
-
- if (loader->error()) {
- if (loader->errorNumber() == -401) {
- if (NULL != mPrefs) {
- TQCString newpass;
- if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
- log("load error: " + loader->errorString() );
- loadError(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- else {
- // Set new password and try again
- mPrefs->setPassword(TQString(newpass));
- startLoading(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl());
- }
- }
- else {
- log("load error: " + loader->errorString() );
- loadError(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- }
- else {
- log("load error: " + loader->errorString() );
- loadError(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- } else {
- log("successful event load");
- TQString data = loader->data();
-
- if (!data.isNull() && !data.isEmpty()) {
- // TODO: I don't know why, but some schedules on http://caldav-test.ioda.net/ (I used it for testing)
- // have some lines separated by single \r rather than \n or \r\n.
- // ICalFormat fails to parse that.
- data.replace("\r\n", "\n"); // to avoid \r\n becomes \n\n after the next line
- data.replace('\r', '\n');
-
- log("trying to parse...");
- if (parseData(data)) {
- // FIXME: The agenda view can crash when a change is
- // made on a remote server and a reload is requested!
- log("... parsing is ok");
- log("clearing changes");
- enableChangeNotification();
- clearChanges();
- emit resourceChanged(this);
- emit resourceLoaded(this);
- }
- }
- }
-
- if (loader->tasksError()) {
- if (loader->tasksErrorNumber() == -401) {
- if (NULL != mPrefs) {
-// TQCString newpass;
-// if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
-// log("load error: " + loader->tasksErrorString() );
-// loadError(TQString("[%1] ").arg(abs(loader->tasksErrorNumber())) + loader->tasksErrorString());
-// }
-// else {
-// // Set new password and try again
-// mPrefs->setPassword(TQString(newpass));
-// startLoading(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl());
-// }
- }
- else {
- log("load error: " + loader->tasksErrorString() );
- loadError(TQString("[%1] ").arg(abs(loader->tasksErrorNumber())) + loader->tasksErrorString());
- }
- }
- else {
- log("load error: " + loader->tasksErrorString() );
- loadError(TQString("[%1] ").arg(abs(loader->tasksErrorNumber())) + loader->tasksErrorString());
- }
- } else {
- log("successful tasks load");
- TQString tasksData = loader->tasksData();
-
- if (!tasksData.isNull() && !tasksData.isEmpty()) {
- // TODO: I don't know why, but some schedules on http://caldav-test.ioda.net/ (I used it for testing)
- // have some lines separated by single \r rather than \n or \r\n.
- // ICalFormat fails to parse that.
- tasksData.replace("\r\n", "\n"); // to avoid \r\n becomes \n\n after the next line
- tasksData.replace('\r', '\n');
-
- log("trying to parse...");
- if (parseTasksData(tasksData)) {
- // FIXME: The agenda view can crash when a change is
- // made on a remote server and a reload is requested!
- log("... parsing is ok");
- log("clearing changes");
- enableChangeNotification();
- clearChanges();
- emit resourceChanged(this);
- emit resourceLoaded(this);
- }
- }
- }
-
- if (loader->journalsError()) {
- if (loader->journalsErrorNumber() == -401) {
- if (NULL != mPrefs) {
-// TQCString newpass;
-// if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
-// log("load error: " + loader->journalsErrorString() );
-// loadError(TQString("[%1] ").arg(abs(loader->journalsErrorNumber())) + loader->journalsErrorString());
-// }
-// else {
-// // Set new password and try again
-// mPrefs->setPassword(TQString(newpass));
-// startLoading(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl());
-// }
- }
- else {
- log("load error: " + loader->journalsErrorString() );
- loadError(TQString("[%1] ").arg(abs(loader->journalsErrorNumber())) + loader->journalsErrorString());
- }
- }
- else {
- log("load error: " + loader->journalsErrorString() );
- loadError(TQString("[%1] ").arg(abs(loader->journalsErrorNumber())) + loader->journalsErrorString());
- }
- } else {
- log("successful journals load");
- TQString journalsData = loader->journalsData();
-
- if (!journalsData.isNull() && !journalsData.isEmpty()) {
- // TODO: I don't know why, but some schedules on http://caldav-test.ioda.net/ (I used it for testing)
- // have some lines separated by single \r rather than \n or \r\n.
- // ICalFormat fails to parse that.
- journalsData.replace("\r\n", "\n"); // to avoid \r\n becomes \n\n after the next line
- journalsData.replace('\r', '\n');
-
- log("trying to parse...");
- if (parseJournalsData(journalsData)) {
- // FIXME: The agenda view can crash when a change is
- // made on a remote server and a reload is requested!
- log("... parsing is ok");
- log("clearing changes");
- enableChangeNotification();
- clearChanges();
- emit resourceChanged(this);
- emit resourceLoaded(this);
- }
- }
- }
-
- // Loading queue and mLoadingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- updateProgressBar(0);
- loadingQueuePop();
-}
-
-bool ResourceCalDav::checkData(const TQString& data) {
- log("checking the data");
-
- ICalFormat ical;
- bool ret = true;
- if (!ical.fromString(&mCalendar, data)) {
- log("invalid ical string");
- ret = false;
- }
-
- return ret;
-}
-
-bool ResourceCalDav::parseData(const TQString& data) {
- log("parseData()");
-
- bool ret = true;
-
- // check if the data is OK
- // May be it's not efficient (parsing is done twice), but it should be safe
- if (!checkData(data)) {
- loadError(i18n("Parsing calendar data failed."));
- return false;
- }
-
- log("clearing cache");
- clearEventsCache();
-
- disableChangeNotification();
-
- log("actually parsing the data");
-
- ICalFormat ical;
- if ( !ical.fromString( &mCalendar, data ) ) {
- // this should never happen, but...
- ret = false;
- }
-
- // debug code here -------------------------------------------------------
-#ifdef KCALDAV_DEBUG
- const TQString fout_path = "/tmp/kcaldav_download_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << data << "\n";
- fout.close();
- } else {
- loadError(i18n("can't open file"));
- }
-#endif // KCALDAV_DEBUG
- // end of debug code ----------------------------------------------------
-
- enableChangeNotification();
-
- if (ret) {
- log("parsing is ok");
- //if ( !noReadOnlyOnLoad() && readOnly() ) {
- if ( readOnly() ) {
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
- }
- log("saving to cache");
- saveCache();
- }
-
- return ret;
-}
-
-bool ResourceCalDav::parseTasksData(const TQString& data) {
- log("parseTasksData()");
-
- bool ret = true;
-
- // check if the data is OK
- // May be it's not efficient (parsing is done twice), but it should be safe
- if (!checkData(data)) {
- loadError(i18n("Parsing calendar data failed."));
- return false;
- }
-
- log("clearing cache");
- clearTodosCache();
-
- disableChangeNotification();
-
- log("actually parsing the data");
-
- ICalFormat ical;
- if ( !ical.fromString( &mCalendar, data ) ) {
- // this should never happen, but...
- ret = false;
- }
-
- // debug code here -------------------------------------------------------
-#ifdef KCALDAV_DEBUG
- const TQString fout_path = "/tmp/kcaldav_download_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << data << "\n";
- fout.close();
- } else {
- loadError(i18n("can't open file"));
- }
-#endif // KCALDAV_DEBUG
- // end of debug code ----------------------------------------------------
-
- enableChangeNotification();
-
- if (ret) {
- log("parsing is ok");
- //if ( !noReadOnlyOnLoad() && readOnly() ) {
- if ( readOnly() ) {
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
- }
- log("saving to cache");
- saveCache();
- }
-
- return ret;
-}
-
-bool ResourceCalDav::parseJournalsData(const TQString& data) {
- log("parseJournalsData()");
-
- bool ret = true;
-
- // check if the data is OK
- // May be it's not efficient (parsing is done twice), but it should be safe
- if (!checkData(data)) {
- loadError(i18n("Parsing calendar data failed."));
- return false;
- }
-
- log("clearing cache");
- clearJournalsCache();
-
- disableChangeNotification();
-
- log("actually parsing the data");
-
- ICalFormat ical;
- if ( !ical.fromString( &mCalendar, data ) ) {
- // this should never happen, but...
- ret = false;
- }
-
- // debug code here -------------------------------------------------------
-#ifdef KCALDAV_DEBUG
- const TQString fout_path = "/tmp/kcaldav_download_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << data << "\n";
- fout.close();
- } else {
- loadError(i18n("can't open file"));
- }
-#endif // KCALDAV_DEBUG
- // end of debug code ----------------------------------------------------
-
- enableChangeNotification();
-
- if (ret) {
- log("parsing is ok");
- //if ( !noReadOnlyOnLoad() && readOnly() ) {
- if ( readOnly() ) {
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
- }
- log("saving to cache");
- saveCache();
- }
-
- return ret;
-}
-
-/*=========================================================================
-| WRITING METHODS
- ========================================================================*/
-
-TQString ResourceCalDav::getICalString(const Incidence::List& inc) {
- if (inc.isEmpty()) {
- return "";
- }
-
- CalendarLocal loc(timeZoneId());
- TQString data = "";
- TQString header = "";
- TQString footer = "";
- ICalFormat ical;
-
- // Get the iCal header and footer
- header = ical.toString(&loc);
- int location = header.find("END:VCALENDAR", 0, true);
- footer = header.mid(location, 0xffffffff);
- header.remove("END:VCALENDAR");
-
- data = data + header;
- // NOTE: This is very susceptible to invalid entries in added/changed/deletedIncidences
- // Be very careful with clearChange/clearChanges, and be sure to clear after load and save...
- for(Incidence::List::ConstIterator it = inc.constBegin(); it != inc.constEnd(); ++it) {
- Incidence *i = (*it)->clone();
- data = data + ical.toString(i, &mCalendar);
- }
- data = data + footer;
-
- // Remove any line feeds/carriage returns/white spaces from the UID field as they WILL break libcaldav
- int uidPos = data.find("UID:", 0) + 4;
- int nextPos = data.findRev("\n", data.find(":", uidPos));
- TQString uidField = data.mid(uidPos, nextPos-uidPos);
- data.remove(uidPos, nextPos-uidPos);
- uidField.replace("\n", "");
- uidField.replace("\r", "");
- uidField.replace(" ", "");
- data.insert(uidPos, uidField);
- return data;
-}
-
-void ResourceCalDav::writingQueuePush(const WritingTask *task) {
-// printf("task->added: %s\n\r", task->added.ascii());
-// printf("task->deleted: %s\n\r", task->deleted.ascii());
-// printf("task->changed: %s\n\r", task->changed.ascii());
- mWritingQueue.enqueue(task);
- updateProgressBar(1);
- writingQueuePop();
-}
-
-void ResourceCalDav::writingQueuePop() {
- if (!mWritingQueueReady || mWritingQueue.isEmpty()) {
- return;
- }
-
- if (!mWriter) {
- log("writer == NULL");
- return;
- }
-
- // Writing queue and mWritingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- WritingTask *t = mWritingQueue.head();
-
- log("writingQueuePop: url = " + t->url);
-
- mWriter->setUrl(t->url);
- mWriter->setTasksUrl(t->tasksUrl);
- mWriter->setJournalsUrl(t->journalsUrl);
- mWriter->setParent(this);
- mWriter->setType(1);
-
-#ifdef KCALDAV_DEBUG
- const TQString fout_path = "/tmp/kcaldav_upload_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << "================== Added:\n" << t->added << "\n";
- sout << "================== Changed:\n" << t->changed << "\n";
- sout << "================== Deleted:\n" << t->deleted << "\n";
- fout.close();
- } else {
- loadError(i18n("can't open file"));
- }
-#endif // debug
-
- mWriter->setAddedObjects(t->added);
- mWriter->setChangedObjects(t->changed);
- mWriter->setDeletedObjects(t->deleted);
-
- mWriter->setAddedTasksObjects(t->tasksAdded);
- mWriter->setChangedTasksObjects(t->tasksChanged);
- mWriter->setDeletedTasksObjects(t->tasksDeleted);
-
- mWriter->setAddedJournalsObjects(t->journalsAdded);
- mWriter->setChangedJournalsObjects(t->journalsChanged);
- mWriter->setDeletedJournalsObjects(t->journalsDeleted);
-
- mWritingQueueReady = false;
-
- log("starting actual write job");
- mWriter->start(TQThread::LowestPriority);
-
- // if all ok, remove the task from the queue
- mWritingQueue.dequeue();
- updateProgressBar(1);
-
- delete t;
-}
-
-bool ResourceCalDav::event ( TQEvent * e ) {
- if (e->type() == 1000) {
- // Read done
- loadFinished();
- return TRUE;
- }
- else if (e->type() == 1001) {
- // Write done
- writingFinished();
- return TRUE;
- }
- else return FALSE;
-}
-
-void ResourceCalDav::releaseReadLockout() {
- readLockout = false;
-}
-
-bool ResourceCalDav::startWriting(const TQString& url, const TQString& tasksUrl, const TQString& journalsUrl) {
- log("startWriting: url = " + url);
-
- // WARNING: This will segfault if a separate read or write thread
- // modifies the calendar with clearChanges() or similar
- // Before these calls are made any existing read (and maybe write) threads should be finished
- if ((mLoader->running() == true) || (mLoadingQueue.isEmpty() == false) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false)) {
- if (mWriteRetryTimer == NULL) {
- mWriteRetryTimer = new TQTimer(this);
- connect( mWriteRetryTimer, TQT_SIGNAL(timeout()), TQT_SLOT(doSave()) );
- }
- mWriteRetryTimer->start(1000, TRUE);
- return false;
- }
-
- // If we don't lock the read out for a few seconds, it would be possible for the old calendar to be
- // downloaded before our changes are committed, presenting a very bad image to the user as his/her appointments
- // revert to the state they were in before the write (albiet temporarily)
- readLockout = true;
-
- // This needs to send each event separately; i.e. if two events were added they need
- // to be extracted and pushed on the stack independently (using two calls to writingQueuePush())
-
- Incidence::List added = addedIncidences();
- Incidence::List changed = changedIncidences();
- Incidence::List deleted = deletedIncidences();
-
- Incidence::List::ConstIterator it;
- Incidence::List currentIncidence;
-
- for( it = added.begin(); it != added.end(); ++it ) {
- WritingTask *t = new WritingTask;
-
- currentIncidence.clear();
- currentIncidence.append(*it);
-
- t->url = url;
- t->tasksUrl = tasksUrl;
- t->journalsUrl = journalsUrl;
- t->added = "";
- t->changed = "";
- t->deleted = "";
- t->tasksAdded = "";
- t->tasksChanged = "";
- t->tasksDeleted = "";
- t->journalsAdded = "";
- t->journalsChanged = "";
- t->journalsDeleted = "";
- if (getICalString(currentIncidence).contains("BEGIN:VEVENT") > 0)
- t->added = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VTODO") > 0)
- t->tasksAdded = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VJOURNAL") > 0)
- t->journalsAdded = getICalString(currentIncidence);
-
- writingQueuePush(t);
- }
-
- for( it = changed.begin(); it != changed.end(); ++it ) {
- WritingTask *t = new WritingTask;
-
- currentIncidence.clear();
- currentIncidence.append(*it);
-
- t->url = url;
- t->tasksUrl = tasksUrl;
- t->added = "";
- t->changed = "";
- t->deleted = "";
- t->tasksAdded = "";
- t->tasksChanged = "";
- t->tasksDeleted = "";
- t->journalsAdded = "";
- t->journalsChanged = "";
- t->journalsDeleted = "";
-
- if (getICalString(currentIncidence).contains("BEGIN:VEVENT") > 0)
- t->changed = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VTODO") > 0)
- t->tasksChanged = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VJOURNAL") > 0)
- t->journalsChanged = getICalString(currentIncidence);
-
- writingQueuePush(t);
- }
-
- for( it = deleted.begin(); it != deleted.end(); ++it ) {
- WritingTask *t = new WritingTask;
-
- currentIncidence.clear();
- currentIncidence.append(*it);
-
- t->url = url;
- t->tasksUrl = tasksUrl;
- t->added = "";
- t->changed = "";
- t->deleted = "";
- t->tasksAdded = "";
- t->tasksChanged = "";
- t->tasksDeleted = "";
- t->journalsAdded = "";
- t->journalsChanged = "";
- t->journalsDeleted = "";
-
- if (getICalString(currentIncidence).contains("BEGIN:VEVENT") > 0)
- t->deleted = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VTODO") > 0)
- t->tasksDeleted = getICalString(currentIncidence);
- else if (getICalString(currentIncidence).contains("BEGIN:VJOURNALS") > 0)
- t->journalsDeleted = getICalString(currentIncidence);
-
- writingQueuePush(t);
- }
-
- return true;
-}
-
-void ResourceCalDav::writingFinished() {
- log("writing finished");
-
- if (!mWriter) {
- log("mWriter is NULL");
- return;
- }
-
- if (mWriter->error() && (abs(mWriter->errorNumber()) != 207)) {
- if (mWriter->errorNumber() == -401) {
- if (NULL != mPrefs) {
- TQCString newpass;
- if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
- log("write error: " + mWriter->errorString());
- saveError(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- else {
- // Set new password and try again
- mPrefs->setPassword(TQString(newpass));
- startWriting(mPrefs->getFullUrl(), mPrefs->getFullTasksUrl(), mPrefs->getFullJournalsUrl());
- }
- }
- else {
- log("write error: " + mWriter->errorString());
- saveError(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- }
- else {
- log("write error: " + mWriter->errorString());
- saveError(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- } else {
- log("success");
- // is there something to do here?
- }
-
- // Give the remote system a few seconds to process the data before we allow any read operations
- TQTimer::singleShot( 3000, this, TQT_SLOT(releaseReadLockout()) );
-
- // Writing queue and mWritingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- mWriter->terminate();
- mWriter->wait(TERMINATION_WAITING_TIME);
- mWritingQueueReady = true;
- updateProgressBar(1);
- writingQueuePop();
-}
-
-#include "resource.moc"
-
-// EOF ========================================================================
diff --git a/kresources/caldav/resource.h b/kresources/caldav/resource.h
deleted file mode 100644
index ea04ef48..00000000
--- a/kresources/caldav/resource.h
+++ /dev/null
@@ -1,268 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Main interface to the KResource system.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCAL_RESOURCECALDAV_H
-#define KCAL_RESOURCECALDAV_H
-
-#include "preferences.h"
-#include <tqthread.h>
-#include <tqptrqueue.h>
-
-#include <libkcal/resourcecached.h>
-#include <libtdepim/progressmanager.h>
-
-#include <kabc/locknull.h>
-
-#include <tdepimmacros.h>
-#include <kconfig.h>
-
-namespace KCal {
-
-class CalDavReader;
-class CalDavWriter;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * This class provides a resource for accessing calendars via CalDAV protocol.
- */
-class KDE_EXPORT ResourceCalDav : public ResourceCached
-{
- Q_OBJECT
-
-
-public:
-
- explicit ResourceCalDav( const TDEConfig *config );
- virtual ~ResourceCalDav();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- /**
- * @return This resource preferences.
- */
- CalDavPrefs* prefs() {
- return mPrefs;
- }
-
- /**
- * @return This resource preferences.
- */
- const CalDavPrefs* prefs() const {
- return mPrefs;
- }
-
- virtual void setReadOnly(bool v);
-
- bool isSaving();
-
-protected slots:
-
- void loadFinished();
-
- virtual bool doSave();
-
- void writingFinished();
-
- void releaseReadLockout();
-
-protected:
-
- struct LoadingTask {
- TQString url;
- TQString tasksUrl;
- TQString journalsUrl;
- };
-
- struct WritingTask {
- TQString url;
- TQString tasksUrl;
- TQString journalsUrl;
-
- TQString added;
- TQString changed;
- TQString deleted;
-
- TQString tasksAdded;
- TQString tasksChanged;
- TQString tasksDeleted;
-
- TQString journalsAdded;
- TQString journalsChanged;
- TQString journalsDeleted;
- };
-
-
- virtual bool doLoad();
-// virtual bool doSave();
-
- virtual KABC::Lock* lock();
-
- /**
- * Creates prefs and configures them.
- * @return a newly created preferences object. It should be removed by the caller.
- */
- CalDavPrefs* createPrefs() const;
-
- /**
- * Initializes internal state.
- * Particulary, sets save and reload policies to default values,
- * creates writing and reading jobs and preferences objects.
- */
- void init();
-
- /**
- * Updates the progress bar
- */
- void updateProgressBar(int direction);
-
- /**
- * Initiates calendar loading process.
- * @param url URL to load calendar data from.
- * @param tasksUrl URL to load task data from.
- * @param journalsUrl URL to load journal data from.
- */
- void startLoading(const TQString& url, const TQString& tasksUrl, const TQString& journalsUrl);
-
- /**
- * Checks if the data is correct and can be parsed.
- * @param data ical string to check.
- * @return true if the data is correct, false otherwise.
- */
- bool checkData(const TQString& data);
-
- /**
- * Parses the data and adds events to the calendar.
- * @param data calendar data.
- * @return true on success, false on fail.
- */
- bool parseData(const TQString& data);
-
- /**
- * Parses the data and adds tasks to the calendar.
- * @param data calendar data.
- * @return true on success, false on fail.
- */
- bool parseTasksData(const TQString& data);
-
- /**
- * Parses the data and adds journals to the calendar.
- * @param data calendar data.
- * @return true on success, false on fail.
- */
- bool parseJournalsData(const TQString& data);
-
- /**
- * Initiates calendar writing process.
- * @param url URL to save event data to.
- * @param tasksUrl URL to save task data to.
- * @param journalsUrl URL to save journal data to.
- * @return true if write was queued successfully, false if not
- */
- bool startWriting(const TQString& url, const TQString& tasksUrl, const TQString& journalsUrl);
-
- /**
- * Returns a list of incidences as a valid iCalendar string.
- * @param inc list of incidences.
- * @return a string in iCalendar format which describes the given incidences.
- */
- TQString getICalString(const Incidence::List& inc);
-
- /**
- * Changes read-only status of incidences from a given list.
- * @param inc list of incidences.
- * @param readOnly read-only status that all the incidences should have after the method finishes.
- */
- static void setIncidencesReadOnly(Incidence::List& inc, bool readOnly);
-
- /**
- * Ensures incidences' read-only states are the same as the calendar's read-only state.
- */
- void ensureReadOnlyFlagHonored();
-
- /**
- * If the loading queue is empty or the loader is not ready, does nothing.
- * Otherwise, pops a head element and starts a loading process for it.
- */
- void loadingQueuePop();
-
- /**
- * Pushes the given loading task to the loading queue.
- * Then calls loadingQueuePop.
- */
- void loadingQueuePush(const LoadingTask *task);
-
- /**
- * If the writing queue is empty or the writer is not ready, does nothing.
- * Otherwise, pops a head element and starts a writing process for it.
- */
- void writingQueuePop();
-
- /**
- * Pushes the given writing task to the writing queue.
- * Then calls writingQueuePop.
- */
- void writingQueuePush(const WritingTask *task);
-
- virtual bool event ( TQEvent * e );
-
-private:
-
- // constants: =============================================================
-
- /// Termination waiting time in milliseconds. Used to terminate job threads.
- static const unsigned long TERMINATION_WAITING_TIME;
-
- /**
- * Resource caches only events which are from the interval [-CACHE_DAYS, CACHE_DAYS].
- */
- static const int CACHE_DAYS;
-
- static const int DEFAULT_RELOAD_INTERVAL;
- static const int DEFAULT_SAVE_INTERVAL;
- static const int DEFAULT_RELOAD_POLICY;
- static const int DEFAULT_SAVE_POLICY;
-
- bool readLockout;
- bool mAllWritesComplete;
-
- // members: ===============================================================
-
- KABC::LockNull mLock;
- CalDavPrefs* mPrefs;
- CalDavReader* mLoader;
- CalDavWriter* mWriter;
- KPIM::ProgressItem *mProgress;
-
- bool mLoadingQueueReady;
- TQPtrQueue<LoadingTask> mLoadingQueue;
-
- bool mWritingQueueReady;
- TQPtrQueue<WritingTask> mWritingQueue;
-
- TQTimer *mWriteRetryTimer;
-
-};
-
-
-
-} // namespace KCal
-
-#endif // KCAL_RESOURCECALDAV_H
-
diff --git a/kresources/caldav/uninstall.desktop b/kresources/caldav/uninstall.desktop
deleted file mode 100644
index e1e3e173..00000000
--- a/kresources/caldav/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true
diff --git a/kresources/caldav/writer.cpp b/kresources/caldav/writer.cpp
deleted file mode 100644
index d9a6b2f0..00000000
--- a/kresources/caldav/writer.cpp
+++ /dev/null
@@ -1,162 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote calendar writing class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "writer.h"
-#include <kdebug.h>
-#include <string>
-
-/*=========================================================================
-| DEFINES
- ========================================================================*/
-
-// Use caldav_modify_object() function.
-// If it's not set, a pair of caldav_delete_object/caldav_add_object
-// is used for modifying objects.
-// It's done, because, for some reason, SOGo server returns an error
-// on caldav_modify_object. DAViCAL works fine both ways.
-#define USE_CALDAV_MODIFY
-#define USE_CALDAV_TASKS_MODIFY
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KCal;
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CalDavWriter::cleanJob() {
- CalDavJob::cleanJob();
-}
-
-int CalDavWriter::runJob(runtime_info* RT) {
- kdDebug() << "writer::run, url: " << url() << "\n";
-
- int res = OK;
-
- if ((OK == res) && (url() != "")) {
- kdDebug() << "pushing added objects" << '\n';
- res = pushObjects(mAdded, caldav_add_object, OK, RT);
- if (OK == res) {
-#ifdef USE_CALDAV_MODIFY
- kdDebug() << "pushing changed objects" << '\n';
- res = pushObjects(mChanged, caldav_modify_object, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing deleted objects" << '\n';
- res = pushObjects(mDeleted, caldav_delete_object, OK, RT);
- }
-#else // if USE_CALDAV_MODIFY
- kdDebug() << "pushing changed objects (delete)" << '\n';
- res = pushObjects(mChanged, caldav_delete_object, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing changed objects (add)" << '\n';
- res = pushObjects(mChanged, caldav_add_object, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing deleted objects" << '\n';
- res = pushObjects(mDeleted, caldav_delete_object, OK, RT);
- }
- }
-#endif // if USE_CALDAV_MODIFY
- }
- }
-
- int tasksres = OK;
-
- if ((OK == tasksres) && (tasksUrl() != "")) {
- kdDebug() << "pushing added tasks objects" << '\n';
- tasksres = pushTasksObjects(mTasksAdded, caldav_add_object, OK, RT);
- if (OK == tasksres) {
-#ifdef USE_CALDAV_TASKS_MODIFY
- kdDebug() << "pushing changed objects" << '\n';
- tasksres = pushTasksObjects(mTasksChanged, caldav_tasks_modify_object, OK, RT);
- if (OK == tasksres) {
- kdDebug() << "pushing deleted objects" << '\n';
- tasksres = pushTasksObjects(mTasksDeleted, caldav_tasks_delete_object, OK, RT);
- }
-#else // if USE_CALDAV_TASKS_MODIFY
- kdDebug() << "pushing changed objects (delete)" << '\n';
- tasksres = pushTasksObjects(mTasksChanged, caldav_tasks_delete_object, OK, RT);
- if (OK == tasksres) {
- kdDebug() << "pushing changed objects (add)" << '\n';
- tasksres = pushTasksObjects(mTasksChanged, caldav_add_object, OK, RT);
- if (OK == tasksres) {
- kdDebug() << "pushing deleted objects" << '\n';
- tasksres = pushTasksObjects(mTasksDeleted, caldav_tasks_delete_object, OK, RT);
- }
- }
-#endif // if USE_CALDAV_TASKS_MODIFY
- }
- }
-
- int journalsres = OK;
-
- if ((OK == journalsres) && (tasksUrl() != "")) {
- kdDebug() << "pushing added tasks objects" << '\n';
- journalsres = pushJournalsObjects(mJournalsAdded, caldav_add_object, OK, RT);
- if (OK == journalsres) {
-#ifdef USE_CALDAV_TASKS_MODIFY
- kdDebug() << "pushing changed objects" << '\n';
- journalsres = pushJournalsObjects(mJournalsChanged, caldav_tasks_modify_object, OK, RT);
- if (OK == journalsres) {
- kdDebug() << "pushing deleted objects" << '\n';
- journalsres = pushJournalsObjects(mJournalsDeleted, caldav_tasks_delete_object, OK, RT);
- }
-#else // if USE_CALDAV_TASKS_MODIFY
- kdDebug() << "pushing changed objects (delete)" << '\n';
- journalsres = pushJournalsObjects(mJournalsChanged, caldav_tasks_delete_object, OK, RT);
- if (OK == journalsres) {
- kdDebug() << "pushing changed objects (add)" << '\n';
- journalsres = pushJournalsObjects(mJournalsChanged, caldav_add_object, OK, RT);
- if (OK == journalsres) {
- kdDebug() << "pushing deleted objects" << '\n';
- journalsres = pushJournalsObjects(mJournalsDeleted, caldav_tasks_delete_object, OK, RT);
- }
- }
-#endif // if USE_CALDAV_TASKS_MODIFY
- }
- }
-
- if ((OK != res) || (OK != tasksres)) {
- clearObjects();
- }
-
- if (tasksres == OK)
- return res;
- else
- return tasksres;
-}
-
-int CalDavWriter::runTasksJob(runtime_info* RT) {
- // Stub function as there is no reason to split the writing jobs like the reading jobs
- return OK;
-}
-
-void CalDavWriter::cleanTasksJob() {
- // Stub function as there is no reason to split the writing jobs like the reading jobs
-}
-
-int CalDavWriter::runJournalsJob(runtime_info* RT) {
- // Stub function as there is no reason to split the writing jobs like the reading jobs
- return OK;
-}
-
-void CalDavWriter::cleanJournalsJob() {
- // Stub function as there is no reason to split the writing jobs like the reading jobs
-}
-
-// EOF ========================================================================
diff --git a/kresources/caldav/writer.h b/kresources/caldav/writer.h
deleted file mode 100644
index 437eeed0..00000000
--- a/kresources/caldav/writer.h
+++ /dev/null
@@ -1,202 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote calendar writing class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCALDAV_WRITER_H
-#define KCALDAV_WRITER_H
-
-#include "job.h"
-
-#include <string>
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-namespace KCal {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar writer.
- */
-class CalDavWriter : public CalDavJob {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CalDavWriter(const TQString& url = TQString()) :
- CalDavJob(url)
- {
- clearObjects();
- }
-
- /**
- * Sets the information about added events writer should send to server.
- * @param s icalendar-formatted string consists of all added events plus necessary calendar info.
- * May be an empty string, which means there are no added events to send.
- */
- void setAddedObjects(const TQString& s) {
- mAdded = s;
- }
-
- /**
- * Sets the information about changed events writer should send to server.
- * @param s icalendar-formatted string consists of all changed events plus necessary calendar info.
- * May be an empty string, which means there are no changed events to send.
- */
- void setChangedObjects(const TQString& s) {
- mChanged = s;
- }
-
- /**
- * Sets the information about deleted events writer should send to server.
- * @param s icalendar-formatted string consists of all deleted events plus necessary calendar info.
- * May be an empty string, which means there are no deleted events to send.
- */
- void setDeletedObjects(const TQString& s) {
- mDeleted = s;
- }
-
- /**
- * Sets the information about added tasks writer should send to server.
- * @param s icalendar-formatted string consists of all added tasks plus necessary calendar info.
- * May be an empty string, which means there are no added tasks to send.
- */
- void setAddedTasksObjects(const TQString& s) {
- mTasksAdded = s;
- }
-
- /**
- * Sets the information about added journals writer should send to server.
- * @param s icalendar-formatted string consists of all added journals plus necessary calendar info.
- * May be an empty string, which means there are no added journals to send.
- */
- void setAddedJournalsObjects(const TQString& s) {
- mJournalsAdded = s;
- }
-
- /**
- * Sets the information about changed tasks writer should send to server.
- * @param s icalendar-formatted string consists of all changed tasks plus necessary calendar info.
- * May be an empty string, which means there are no changed tasks to send.
- */
- void setChangedTasksObjects(const TQString& s) {
- mTasksChanged = s;
- }
-
- /**
- * Sets the information about changed journals writer should send to server.
- * @param s icalendar-formatted string consists of all changed journals plus necessary calendar info.
- * May be an empty string, which means there are no changed journals to send.
- */
- void setChangedJournalsObjects(const TQString& s) {
- mJournalsChanged = s;
- }
-
- /**
- * Sets the information about deleted tasks writer should send to server.
- * @param s icalendar-formatted string consists of all deleted tasks plus necessary calendar info.
- * May be an empty string, which means there are no deleted tasks to send.
- */
- void setDeletedTasksObjects(const TQString& s) {
- mTasksDeleted = s;
- }
-
- /**
- * Sets the information about deleted journals writer should send to server.
- * @param s icalendar-formatted string consists of all deleted journals plus necessary calendar info.
- * May be an empty string, which means there are no deleted journals to send.
- */
- void setDeletedJournalsObjects(const TQString& s) {
- mJournalsDeleted = s;
- }
-
- /**
- * Clear all the information previously set.
- */
- void clearObjects() {
- setAddedObjects("");
- setChangedObjects("");
- setDeletedObjects("");
- setAddedTasksObjects("");
- setChangedTasksObjects("");
- setDeletedTasksObjects("");
- setAddedJournalsObjects("");
- setChangedJournalsObjects("");
- setDeletedJournalsObjects("");
- }
-
-protected:
-
- virtual int runJob(runtime_info* caldavRuntime);
- virtual int runTasksJob(runtime_info* caldavRuntime);
- virtual int runJournalsJob(runtime_info* caldavRuntime);
-
- virtual void cleanJob();
- virtual void cleanTasksJob();
- virtual void cleanJournalsJob();
-
- /// Just a wrapper above libcaldav event writing functions.
- template<typename Operation>
- int pushObjects(const TQString& data, Operation op, int okCode, runtime_info* RT) {
- int r = okCode;
- if (!data.isNull() && !data.isEmpty()) {
- r = op(std::string(data.ascii()).c_str(), std::string(url().ascii()).c_str(), RT);
- }
- return r;
- }
-
- /// Just a wrapper above libcaldav task writing functions.
- template<typename Operation>
- int pushTasksObjects(const TQString& data, Operation op, int okCode, runtime_info* RT) {
- int r = okCode;
- if (!data.isNull() && !data.isEmpty()) {
- r = op(std::string(data.ascii()).c_str(), std::string(tasksUrl().ascii()).c_str(), RT);
- }
- return r;
- }
-
- /// Just a wrapper above libcaldav journal writing functions.
- template<typename Operation>
- int pushJournalsObjects(const TQString& data, Operation op, int okCode, runtime_info* RT) {
- int r = okCode;
-// if (!data.isNull() && !data.isEmpty()) {
-// r = op(std::string(data.ascii()).c_str(), std::string(journalsUrl().ascii()).c_str(), RT);
-// }
- return r;
- }
-
-private:
-
- TQString mAdded;
- TQString mChanged;
- TQString mDeleted;
-
- TQString mTasksAdded;
- TQString mTasksChanged;
- TQString mTasksDeleted;
-
- TQString mJournalsAdded;
- TQString mJournalsChanged;
- TQString mJournalsDeleted;
-};
-
-} // namespace KCal
-
-#endif // KCALDAV_WRITER_H
-
diff --git a/kresources/carddav/CMakeLists.txt b/kresources/carddav/CMakeLists.txt
deleted file mode 100644
index c5d3e3ce..00000000
--- a/kresources/carddav/CMakeLists.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include( ConfigureChecks.cmake )
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
- ${CARDDAV_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
- ${CARDDAV_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES kabc_carddav.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-
-##### kabc_carddav (module) #####################
-
-tde_add_kpart( kabc_carddav AUTOMOC
- SOURCES plugin.cpp
- LINK kabc_carddav-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabc_carddav (shared) #####################
-
-tde_add_library( kabc_carddav SHARED AUTOMOC
- SOURCES
- resource.cpp config.cpp configwidgets.cpp preferences.cpp job.cpp
- reader.cpp writer.cpp prefsskel.kcfgc
- VERSION 1.0.0
- LINK tdepim-shared ${CARDDAV_LIBRARIES}
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/carddav/ConfigureChecks.cmake b/kresources/carddav/ConfigureChecks.cmake
deleted file mode 100644
index 62582fe9..00000000
--- a/kresources/carddav/ConfigureChecks.cmake
+++ /dev/null
@@ -1,30 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-# libcarddav
-pkg_search_module( CARDDAV libcarddav )
-if( CARDDAV_FOUND )
- execute_process(
- COMMAND pkg-config libcarddav --variable=pkgincludedir
- OUTPUT_VARIABLE _incdir
- RESULT_VARIABLE _result
- OUTPUT_STRIP_TRAILING_WHITESPACE )
- execute_process(
- COMMAND pkg-config libcarddav --variable=pkglibdir
- OUTPUT_VARIABLE _libdir
- RESULT_VARIABLE _result
- OUTPUT_STRIP_TRAILING_WHITESPACE )
- list( APPEND CARDDAV_INCLUDE_DIRS ${_incdir} )
- list( APPEND CARDDAV_LIBRARY_DIRS ${_libdir} )
- list( APPEND CARDDAV_LIBRARIES carddav )
-else( )
- tde_message_fatal( "libcarddav is requested, but was not found on your system" )
-endif( )
diff --git a/kresources/carddav/Makefile.am b/kresources/carddav/Makefile.am
deleted file mode 100644
index a9097ff8..00000000
--- a/kresources/carddav/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkabc_carddav.la
-
-libkabc_carddav_la_SOURCES = resource.cpp \
- config.cpp \
- configwidgets.cpp \
- preferences.cpp \
- job.cpp \
- reader.cpp \
- writer.cpp \
- prefsskel.kcfgc
-libkabc_carddav_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkabc_carddav_la_LIBADD = \
- $(top_builddir)/libtdepim/libtdepim.la \
- $(top_builddir)/libkcal/libkcal.la \
- -lkabc \
- -lcarddav
-libkabc_carddav_la_COMPILE_FIRST = prefsskel.h
-
-kde_module_LTLIBRARIES = kabc_carddav.la
-
-kabc_carddav_la_SOURCES = plugin.cpp
-kabc_carddav_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kabc_carddav_la_LIBADD = libkabc_carddav.la
-kabc_carddav_la_COMPILE_FIRST = prefsskel.h
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_carddav.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_carddav.pot
diff --git a/kresources/carddav/config.cpp b/kresources/carddav/config.cpp
deleted file mode 100644
index 9b01eb5d..00000000
--- a/kresources/carddav/config.cpp
+++ /dev/null
@@ -1,168 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Configuration and properties dialog
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-#include "config.h"
-#include "configwidgets.h"
-
-#include <kcombobox.h>
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <klistview.h>
-#include <kurlrequester.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-/*=========================================================================
-| STATIC METHODS
- ========================================================================*/
-
-ResourceCardDav* ResourceCardDavConfig::getCardDavResource(KRES::Resource* resource) {
- ResourceCardDav *res = dynamic_cast<ResourceCardDav *>( resource );
- if (!res) {
- kdDebug() << "invalid resource type" << '\n';
- }
-
- return res;
-}
-
-CardDavPrefs* ResourceCardDavConfig::getPrefs(ResourceCardDav* res) {
- CardDavPrefs* p = NULL;
-
- if (res) {
- p = res->prefs();
- if (!p) {
- kdDebug() << "CardDAV: res->prefs() returned NULL" << '\n';
- }
- }
-
- return p;
-}
-
-/*=========================================================================
-| CONSTRUCTOR / DESTRUCTOR
- ========================================================================*/
-
-ResourceCardDavConfig::ResourceCardDavConfig( TQWidget *parent )
- : KRES::ConfigWidget( parent )
-{
- setupUI();
-}
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void ResourceCardDavConfig::loadSettings( KRES::Resource *resource ) {
- ResourceCardDav* res = getCardDavResource(resource);
- CardDavPrefs* p = getPrefs(res);
- if (NULL != p) {
- mUrl->setText(p->url());
- mUsername->setText(p->username());
- mRememberPassword->setChecked(p->rememberPassword());
- mPassword->setText(p->password());
- mUseUriNotUID->setChecked(p->useURI());
-
- mReloadConfig->loadSettings(res);
- mSaveConfig->loadSettings(res);
- }
-}
-
-void ResourceCardDavConfig::saveSettings( KRES::Resource *resource ) {
- ResourceCardDav* res = getCardDavResource(resource);
- if (NULL != res) {
- mReloadConfig->saveSettings(res);
- mSaveConfig->saveSettings(res);
-
- CardDavPrefs* p = getPrefs(res);
- if (NULL != p) {
- p->setUrl(mUrl->text());
- p->setUsername(mUsername->text());
- p->setRememberPassword(mRememberPassword->isChecked());
- p->setPassword(mPassword->text());
- p->setUseURI(mUseUriNotUID->isChecked());
- }
- }
-}
-
-void ResourceCardDavConfig::setupUI() {
- TQVBoxLayout *vertical = new TQVBoxLayout(this);
-
- TQGridLayout *mainLayout = new TQGridLayout( this );
-
- // URL
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mUrl = new TQLineEdit( this );
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUrl, 1, 1 );
-
- // Username
- label = new TQLabel( i18n( "Username:" ), this );
- mUsername = new TQLineEdit( this );
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mUsername, 2, 1 );
-
- // Password
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new TQLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
- mainLayout->addWidget( label, 3, 0 );
- mainLayout->addWidget( mPassword, 3, 1 );
-
- // Remember password checkbox
- mRememberPassword = new TQCheckBox( i18n("Remember password"), this );
- mainLayout->addWidget(mRememberPassword, 4, 1);
-
- mUseUriNotUID = new TQCheckBox( i18n( "Use URI instead of UID when modifying existing contacts" ), this );
- mainLayout->addWidget( mUseUriNotUID, 5, 1 );
-
- // configs
- TQHBoxLayout* horizontal = new TQHBoxLayout(this);
-
- // Reload config
- mReloadConfig = new CardDavReloadConfig(this);
- horizontal->addWidget(mReloadConfig);
-
- // Save config
- mSaveConfig = new CardDavSaveConfig(this);
- horizontal->addWidget(mSaveConfig);
-
- // FIXME: This feature does not work; hide the UI elements for later use
- mRememberPassword->hide();
- label->hide();
- mPassword->hide();
-
- // combining layouts
- vertical->addLayout(mainLayout);
- vertical->addLayout(horizontal);
-}
-
-#include "config.moc"
-
-// EOF ========================================================================
diff --git a/kresources/carddav/config.h b/kresources/carddav/config.h
deleted file mode 100644
index c26b2b16..00000000
--- a/kresources/carddav/config.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Configuration and properties dialog
- ========================================================================*/
-
-#ifndef KABC_RESOURCECARDDAVCONFIG_H
-#define KABC_RESOURCECARDDAVCONFIG_H
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-
-#include <kdemacros.h>
-#include <kresources/configwidget.h>
-
-class TQLineEdit;
-class TQCheckBox;
-
-namespace KABC {
-
-class CardDavReloadConfig;
-class CardDavSaveConfig;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Configuration widget for CardDAV resource.
- */
-class KDE_EXPORT ResourceCardDavConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
-public:
-
- ResourceCardDavConfig(TQWidget *parent = 0);
-
-public slots:
-
- virtual void loadSettings(KRES::Resource *resource);
- virtual void saveSettings(KRES::Resource *resource);
-
-protected:
-
- virtual void setupUI();
-
-private:
-
- TQLineEdit *mUrl;
- TQLineEdit *mUsername;
- TQLineEdit *mPassword;
- TQCheckBox *mRememberPassword;
- TQCheckBox *mUseUriNotUID;
- CardDavReloadConfig* mReloadConfig;
- CardDavSaveConfig* mSaveConfig;
-
- static ResourceCardDav* getCardDavResource(KRES::Resource* res);
-
- /**
- * Returns preferences of the given ResourceCardDav object.
- * @param res resource object.
- * @return if preferences object is obtained successfully, it's returned. Otherwise, NULL is returned.
- */
- static CardDavPrefs* getPrefs(ResourceCardDav* res);
-};
-
-} // namespace KABC
-
-
-#endif // KABC_RESOURCECARDDAVCONFIG_H
-
diff --git a/kresources/carddav/configwidgets.cpp b/kresources/carddav/configwidgets.cpp
deleted file mode 100644
index b2d505df..00000000
--- a/kresources/carddav/configwidgets.cpp
+++ /dev/null
@@ -1,247 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Automatic Reload / Automatic Save configuration widgets.
-| The code is mostly taken from resourcecachedconfig.h/cpp files from
-| the kcal library and changed to meet our requirements.
-| The original copyright is below.
- ========================================================================*/
-/*
- This file is part of the kcal library.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "configwidgets.h"
-
-#include <kabcresourcecached.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-#include <tqradiobutton.h>
-#include <tqspinbox.h>
-#include <tqbuttongroup.h>
-#include <tqgroupbox.h>
-#include <tqhbox.h>
-
-using namespace KABC;
-
-//@cond PRIVATE
-class CardDavConfigPrivate
-{
- public:
- CardDavConfigPrivate()
- : mGroup( 0 ),
- mIntervalSpin( 0 ) {}
-
- TQButtonGroup *mGroup;
- TQSpinBox *mIntervalSpin;
-};
-
-class CardDavReloadConfig::Private
- : public CardDavConfigPrivate
-{
-};
-
-class CardDavSaveConfig::Private
- : public CardDavConfigPrivate
-{
-};
-//@endcond
-
-CardDavReloadConfig::CardDavReloadConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KABC::CardDavReloadConfig::Private() )
-{
- TQBoxLayout *topLayout = new TQVBoxLayout( this );
-
- //TQGroupBox *groupBox = new TQGroupBox( i18nc( "@title:group", "Automatic Reload" ), this );
- TQGroupBox *groupBox = new TQGroupBox( i18n( "Automatic Reload" ), this );
- topLayout->addWidget( groupBox );
-
- TQRadioButton *noAutomaticReload =
- new TQRadioButton(
- //i18nc( "@option:radio never reload the cache", "Never" ), groupBox );
- i18n( "Never" ), groupBox );
- TQRadioButton *automaticReloadOnStartup =
- new TQRadioButton(
- //i18nc( "@option:radio reload the cache on startup", "Only on startup" ), groupBox );
- i18n( "Only on startup" ), groupBox );
- TQRadioButton *intervalRadio =
- new TQRadioButton(
-// i18nc( "@option:radio reload the cache at regular intervals",
-// "Regular interval" ), groupBox );
- i18n( "Regular interval" ), groupBox );
-
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- d->mGroup->insert( intervalRadio, 2 );
- d->mGroup->insert( automaticReloadOnStartup, 1 );
- d->mGroup->insert( noAutomaticReload, 0 );
-
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
-
- TQHBox *intervalBox = new TQHBox( groupBox );
- //new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
- new TQLabel( i18n( "Interval in minutes:" ), intervalBox );
- d->mIntervalSpin = new TQSpinBox( intervalBox );
- d->mIntervalSpin->setRange( 1, 900 );
- d->mIntervalSpin->setEnabled( false );
-
- groupBox->setColumnLayout(1, Qt::Vertical);
- TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
- vbox->addWidget(intervalRadio);
- vbox->addWidget(intervalBox);
- vbox->addWidget(automaticReloadOnStartup);
- vbox->addWidget(noAutomaticReload);
- vbox->addStretch(1);
-}
-
-CardDavReloadConfig::~CardDavReloadConfig()
-{
- delete d;
-}
-
-void CardDavReloadConfig::loadSettings( ResourceCached *resource )
-{
- d->mIntervalSpin->setValue( resource->reloadInterval() );
- d->mGroup->setButton( resource->reloadPolicy() );
-}
-
-void CardDavReloadConfig::saveSettings( ResourceCached *resource )
-{
- resource->setReloadInterval( d->mIntervalSpin->value() );
- resource->setReloadPolicy( d->mGroup->selectedId() );
-}
-
-void CardDavReloadConfig::slotIntervalToggled( bool checked )
-{
- if ( checked ) {
- d->mIntervalSpin->setEnabled( true );
- } else {
- d->mIntervalSpin->setEnabled( false );
- }
-}
-
-CardDavSaveConfig::CardDavSaveConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KABC::CardDavSaveConfig::Private() )
-{
- TQBoxLayout *topLayout = new TQVBoxLayout( this );
-
- //TQGroupBox *groupBox = new TQGroupBox( i18nc( "@title:group", "Automatic Save" ), this );
- TQGroupBox *groupBox = new TQGroupBox( i18n( "Automatic Save" ), this );
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- topLayout->addWidget( groupBox );
-
- TQRadioButton *never =
- new TQRadioButton(
- //i18nc( "@option:radio never save the cache automatically", "Never" ), groupBox );
- i18n( "Never" ), groupBox );
- TQRadioButton *onExit =
- new TQRadioButton(
- //i18nc( "@option:radio save the cache on exit", "Only on exit" ), groupBox );
- i18n( "Only on exit" ), groupBox );
-
- TQRadioButton *intervalRadio =
- new TQRadioButton(
- //i18nc( "@option:radio save the cache at regular intervals", "Regular interval" ), groupBox );
- i18n( "Regular interval" ), groupBox );
-
- d->mGroup = new TQButtonGroup( this );
- d->mGroup->hide();
- d->mGroup->insert( never, 0 );
- d->mGroup->insert( onExit, 1 );
- d->mGroup->insert( intervalRadio, 2 );
-
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
-
- TQHBox *intervalBox = new TQHBox( groupBox );
- //new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
- new TQLabel( i18n( "Interval in minutes:" ), intervalBox );
- d->mIntervalSpin = new TQSpinBox( intervalBox );
- d->mIntervalSpin->setRange( 1, 900 );
- d->mIntervalSpin->setEnabled( false );
-
- TQRadioButton *delay =
- new TQRadioButton(
-// i18nc( "@option:radio save the cache after some delay",
-// "Delayed after changes" ), groupBox );
- i18n( "Delayed after changes" ), groupBox );
- TQRadioButton *every =
- new TQRadioButton(
-// i18nc( "@option:radio save the cache after every modification",
-// "Immediately after changes" ), groupBox );
- i18n( "Immediately after changes" ), groupBox );
- d->mGroup->insert( delay, 3 );
- d->mGroup->insert( every, 4 );
-
- // hide unwanted widgets. They may be useful in future, so don't delete them for now.
- intervalRadio->hide();
- intervalBox->hide();
-
- groupBox->setColumnLayout(1, Qt::Vertical);
- TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
- vbox->addWidget(delay);
- vbox->addWidget(every);
- vbox->addWidget(intervalRadio);
- vbox->addWidget(intervalBox);
- vbox->addWidget(onExit);
- vbox->addWidget(never);
- vbox->addStretch(1);
-}
-
-CardDavSaveConfig::~CardDavSaveConfig()
-{
- delete d;
-}
-
-void CardDavSaveConfig::loadSettings( ResourceCached *resource )
-{
- d->mIntervalSpin->setValue( resource->saveInterval() );
- d->mGroup->setButton( resource->savePolicy() );
-}
-
-void CardDavSaveConfig::saveSettings( ResourceCached *resource )
-{
- resource->setSaveInterval( d->mIntervalSpin->value() );
- resource->setSavePolicy( d->mGroup->selectedId() );
-}
-
-void CardDavSaveConfig::slotIntervalToggled( bool checked )
-{
- if ( checked ) {
- d->mIntervalSpin->setEnabled( true );
- } else {
- d->mIntervalSpin->setEnabled( false );
- }
-}
-
-#include "configwidgets.moc"
-
-// EOF ========================================================================
diff --git a/kresources/carddav/configwidgets.h b/kresources/carddav/configwidgets.h
deleted file mode 100644
index 9f45579d..00000000
--- a/kresources/carddav/configwidgets.h
+++ /dev/null
@@ -1,101 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Automatic Reload / Automatic Save configuration widgets.
-| The code is mostly taken from resourcecachedconfig.h/cpp files from
-| the kcal library and changed to meet our requirements.
-| The original copyright is below.
- ========================================================================*/
-/*
- This file is part of the kcal library.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCARDDAV_AUTOWIDGETS_H
-#define KCARDDAV_AUTOWIDGETS_H
-
-#include <tqwidget.h>
-#include <kdemacros.h>
-
-namespace KABC {
-
-class ResourceCached;
-
-/**
- Configuration widget for reload policy
-
- @see ResourceCached
-*/
-class KDE_EXPORT CardDavReloadConfig : public TQWidget
-{
- Q_OBJECT
-
- public:
- explicit CardDavReloadConfig( TQWidget *parent = 0 );
- ~CardDavReloadConfig();
- public slots:
- void loadSettings( ResourceCached *resource );
- void saveSettings( ResourceCached *resource );
-
- protected slots:
- void slotIntervalToggled( bool );
-
- private:
- //@cond PRIVATE
- //TQ_DISABLE_COPY( CardDavReloadConfig )
- class Private;
- Private *const d;
- //@endcond
-};
-
-/**
- Configuration widget for save policy
-
- @see ResourceCached
-*/
-class KDE_EXPORT CardDavSaveConfig : public TQWidget
-{
- Q_OBJECT
-
- public:
- explicit CardDavSaveConfig( TQWidget *parent = 0 );
- ~CardDavSaveConfig();
-
- public slots:
- void loadSettings( ResourceCached *resource );
- void saveSettings( ResourceCached *resource );
-
- protected slots:
- void slotIntervalToggled( bool );
-
- private:
- //@cond PRIVATE
- //TQ_DISABLE_COPY( CardDavSaveConfig )
- class Private;
- Private *const d;
- //@endcond
-};
-
-}
-
-#endif // KCARDDAV_AUTOWIDGETS_H
diff --git a/kresources/carddav/export.h b/kresources/carddav/export.h
deleted file mode 100644
index 2e22c557..00000000
--- a/kresources/carddav/export.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*=========================================================================
-| KCalDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-| (c) 2009 Kumaran Santhanam (initial KDE4 version)
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Some support macros.
-| The code is mostly taken from KDE source files.
-| The original copyright is below.
- ========================================================================*/
-/* This file is part of the KDE project
- Copyright (C) 2008 Jarosław Staniek <staniek@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KRESOURCES_TDEPIM_EXPORT_H
-#define KRESOURCES_TDEPIM_EXPORT_H
-
-/** Exports a function returning kresources plugin factory, for resource class @a resourceclass,
- * @a resourceconfigclass config class and @a catalog catalog.
- */
-#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
- typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
- class Factory : public FactoryBase { \
- public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \
- }; \
- K_EXPORT_PLUGIN( Factory )
-
-/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs.
- */
-#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
- typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
- class Factory : public FactoryBase { \
- public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \
- TDEGlobal::locale()->insertCatalogue(catalog2); } \
- }; \
- K_EXPORT_PLUGIN( Factory )
-
-#endif
diff --git a/kresources/carddav/job.cpp b/kresources/carddav/job.cpp
deleted file mode 100644
index 9c288650..00000000
--- a/kresources/carddav/job.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Job class for accessing remote address books.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "job.h"
-#include <kdebug.h>
-#include <klocale.h>
-
-#include <tqmutex.h>
-
-#define log(s) kdDebug() << s << '\n';
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| STATIC
- ========================================================================*/
-
-/*=========================================================================
-| CONSTRUCTOR AND DESTRUCTOR
- ========================================================================*/
-
-CardDavJob::CardDavJob(const TQString& url) : mUseURI(false) {
- cleanJob();
- setUrl(url);
-}
-
-CardDavJob::~CardDavJob() {
-}
-
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CardDavJob::enableCarddavDebug(runtime_info* rt) {
- if (rt && rt->options) {
- rt->options->debug = 0; // if debug = 1, it causes major CPU overhead
- rt->options->verify_ssl_certificate = FALSE;
- }
-}
-
-void CardDavJob::setErrorString(const TQString& err, const long number) {
- mError = true;
- mErrorString = err;
- mErrorNumber = number;
-}
-
-void CardDavJob::processError(const carddav_error* err) {
- TQString error_string;
-
- long code = err->code;
-
- if (-401 == code) { // unauthorized
- error_string = i18n("Unauthorized. Username or password incorrect.");
- } else if (-599 <= code && code <= -300) {
- error_string = i18n("HTTP error %1. Maybe, URL is not a CardDAV resource.").arg(-code);
- } else {
- error_string = err->str;
- }
-
- setErrorString(error_string, code);
-}
-
-
-void CardDavJob::run() {
- log("cleaning job");
- cleanJob();
-
- int res = OK;
-
- runtime_info* carddav_runtime = carddav_get_runtime_info();
-
-#ifdef KABCDAV_DEBUG
- log("setting debug carddav options");
- enableCarddavDebug(carddav_runtime);
-#endif // KABCDAV_DEBUG
-
- log("running job");
- res = runJob(carddav_runtime);
-
- if (OK != res) {
- log("job failed");
- processError(carddav_runtime->error);
- }
-
- carddav_free_runtime_info(&carddav_runtime);
-
- // Signal done
- // 1000 is read, 1001 is write
- if (type() == 0) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1000) ) );
- if (type() == 1) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1001) ) );
-}
-
-// EOF ========================================================================
diff --git a/kresources/carddav/job.h b/kresources/carddav/job.h
deleted file mode 100644
index 52a04bc7..00000000
--- a/kresources/carddav/job.h
+++ /dev/null
@@ -1,176 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Job class for accessing remote address books.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KABCDAV_JOB_H
-#define KABCDAV_JOB_H
-
-#include <tqthread.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-#include <tqapplication.h>
-
-extern "C" {
- #include <carddav.h>
-}
-
-namespace KABC {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar job.
- */
-class CardDavJob : public TQThread {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CardDavJob(const TQString& url = TQString());
-
- virtual ~CardDavJob();
-
- /**
- * Sets a new URL to load.
- */
- virtual void setUrl(const TQString& s) {
- mUrl = s;
- }
-
- /**
- * Sets whether to use UID (false) or URI (true) as an object's unique identifier
- */
- virtual void setUseURI(bool b) {
- mUseURI = b;
- }
-
- /**
- * Sets the parent qobject.
- */
- virtual void setParent(TQObject *s) {
- mParent = s;
- }
-
- /**
- * Sets the type (0==read, 1==write)
- */
- virtual void setType(int s) {
- mType = s;
- }
-
- /**
- * @return URL to load.
- */
- virtual TQString url() const {
- return mUrl;
- }
-
- /**
- * @return whether to use UID (false) or URI (true) as an object's unique identifier
- */
- virtual bool getUseURI() {
- return mUseURI;
- }
-
- /**
- * @return parent object
- */
- virtual TQObject *parent() {
- return mParent;
- }
-
- /**
- * @return type
- */
- virtual int type() {
- return mType;
- }
-
- /**
- * @return true if downloading process failed.
- */
- virtual bool error() const {
- return mError;
- }
-
- /**
- * @return an error string.
- */
- virtual TQString errorString() const {
- return mErrorString;
- }
-
- /**
- * @return an error number.
- */
- virtual long errorNumber() const {
- return mErrorNumber;
- }
-
-protected:
-
- virtual void run();
-
- /**
- * Main run method for jobs. Jobs should not override run() method.
- * Instead of this they should override this one.
- * @param carddavRuntime specific libcarddav runtime information. This pointer should not be saved for the usage
- * outside of runJob.
- * @return libcarddav response code (see CARDDAV_RESPONSE)
- */
- virtual int runJob(runtime_info* carddavRuntime) = 0;
-
- /**
- * Some cleaning. Jobs may (and usually should) override this method.
- */
- virtual void cleanJob() {
- mError = false;
- mErrorString = "";
- mErrorNumber = 0;
- }
-
- /**
- * Sets an error string to @p err. Also sets an error flag.
- */
- void setErrorString(const TQString& str, const long number);
-
- /**
- * Process an error.
- * Subclasses can overwrite this method, if some special error message handling
- * should be done. Call setErrorString() to set the error after processing is done.
- * @param err error structure.
- */
- virtual void processError(const carddav_error* err);
-
-private:
-
- TQString mUrl;
- bool mError;
- TQString mErrorString;
- long mErrorNumber;
- TQObject *mParent;
- int mType;
- bool mUseURI;
-
- void enableCarddavDebug(runtime_info*);
-};
-
-} // namespace KABC
-
-#endif // KABCDAV_JOB_H
-
diff --git a/kresources/carddav/kabc_carddav.desktop b/kresources/carddav/kabc_carddav.desktop
deleted file mode 100644
index 585d11b3..00000000
--- a/kresources/carddav/kabc_carddav.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=CardDAV Server (e.g. Zimbra Contacts)
-Name[af]=CardDAV bediener (bv. Zimbra Contacts)
-Name[bg]=Сървър CardDAV (e.g. Zimbra Contacts)
-Name[br]=Servijer CardDAV (e.g. Zimbra Contacts)
-Name[ca]=Servidor CardDAV (p.ex. Zimbra Contacts)
-Name[cs]=CardDAV server (např. Zimbra Contacts)
-Name[da]=CardDAV-server (f.eks. Zimbra Contacts)
-Name[de]=CardDAV-Server (z. B. Zimbra Contacts)
-Name[el]=Εξυπηρετητής CardDAV (π.χ. Zimbra Contacts)
-Name[es]=Servidor CardDAV (por ejemplo, Zimbra Contacts)
-Name[et]=CardDAV server (nt. Zimbra Contacts)
-Name[eu]=CardDAV zerbitzaria (adib. Zimbra Contacts)
-Name[fa]=کارساز CardDAV (مثلاً Zimbra Contacts)
-Name[fi]=CardDAV-palvelin (esim. Zimbra Contacts)
-Name[fr]=CardDAV Serveur (ex. Zimbra Contacts)
-Name[fy]=CardDAV-tsjinner (Zimbra Contacts)
-Name[ga]=Freastalaí CardDAV (m.sh. Zimbra Contacts)
-Name[gl]=Servidor CardDAV (e.g. Zimbra Contacts)
-Name[hu]=CardDAV-kiszolgáló (pl. Zimbra Contacts)
-Name[is]=CardDAV þjónn (t.d. Zimbra Contacts)
-Name[it]=Server CardDAV (per es. Zimbra Contacts)
-Name[ja]=CardDAV サーバ (例 Zimbra Contacts)
-Name[ka]=სერვერი CardDAV (მაგ., Zimbra Contacts)
-Name[kk]=CardDAV сервері (мысалы Zimbra Contacts)
-Name[km]=ម៉ាស៊ីន​បម្រើ CardDAV (ឧ. Zimbra Contacts)
-Name[lt]=CardDAV serveris (pvz.: Zimbra Contacts)
-Name[ms]=Pelayan CardDAV (misalnya Zimbra Contacts)
-Name[nb]=CardDAV-tjener (f.eks. Zimbra Contacts)
-Name[nds]=CardDAV-Server (t.B. Zimbra Contacts)
-Name[ne]=समूह DAV सर्भर (जस्तै: खुला ग्रुपवेयर)
-Name[nl]=CardDAV-server (Zimbra Contacts)
-Name[nn]=CardDAV-tenar (t.d. Zimbra Contacts)
-Name[pl]=Serwer CardDAV (np. Zimbra Contacts)
-Name[pt]=Servidor CardDAV (por exemplo Zimbra Contacts)
-Name[pt_BR]=Servidor GroupDav (p. ex. Zimbra Contacts)
-Name[ru]=Сервер CardDAV (например, Zimbra Contacts)
-Name[sk]=CardDAV Server (napr. Zimbra Contacts)
-Name[sl]=Strežnik CardDAV (npr. Zimbra Contacts)
-Name[sr]=CardDAV сервер (нпр. Zimbra Contacts)
-Name[sr@Latn]=CardDAV server (npr. Zimbra Contacts)
-Name[sv]=CardDAV-server (t.ex. Zimbra Contacts)
-Name[ta]=CardDAV சேவகன் (e.g. Zimbra Contacts)
-Name[tr]=CardDAV Sunucusu (ör. Zimbra Contacts)
-Name[uk]=Сервер CardDAV (напр., Zimbra Contacts)
-Name[zh_CN]=CardDAV 服务器(如 Zimbra Contacts)
-Name[zh_TW]=CardDAV 伺服器 (如: Zimbra Contacts)
-X-TDE-Library=kabc_carddav
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=carddav
diff --git a/kresources/carddav/plugin.cpp b/kresources/carddav/plugin.cpp
deleted file mode 100644
index d0c4724f..00000000
--- a/kresources/carddav/plugin.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CardDAV resource factory.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "resource.h"
-#include "config.h"
-#include "export.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-// Creates the resource factory.
-
-typedef KRES::PluginFactory<ResourceCardDav, ResourceCardDavConfig> CardDavFactory;
-
-extern "C"
-{
- void *init_kabc_carddav()
- {
- TDEGlobal::locale()->insertCatalogue( "tdepimresources" );
- TDEGlobal::locale()->insertCatalogue( "kres_caldav" );
- return new CardDavFactory;
- }
-}
-
-// EOF ========================================================================
diff --git a/kresources/carddav/preferences.cpp b/kresources/carddav/preferences.cpp
deleted file mode 100644
index 5e46b611..00000000
--- a/kresources/carddav/preferences.cpp
+++ /dev/null
@@ -1,239 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CardDAV resource preferences class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "preferences.h"
-
-#include <kwallet.h>
-#include <tqstring.h>
-#include <tqurl.h>
-#include <kdebug.h>
-
-/*=========================================================================
-| NAMESPACES
- ========================================================================*/
-
-using namespace KABC;
-using namespace KWallet;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-const TQString CardDavPrefs::NO_PASSWORD = "";
-const TQString CardDavPrefs::WALLET_FOLDER = "CardDAV resource";
-const TQString CardDavPrefs::WALLET_PWD_SUFFIX = ":carddav_password";
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-bool CardDavPrefs::setWalletFolder(const TQString& folder) {
- bool ret = true;
-
- if (!mNoWallet && NULL != mWallet) {
- if (!mWallet->hasFolder(folder)) {
- if (!mWallet->createFolder(folder)) {
- ret = false;
- kdWarning() << "can't create the wallet folder for CardDAV passwords";
- }
- }
- if (!mWallet->setFolder(folder)) {
- ret = false;
- kdWarning() << "can't set the wallet folder for CardDAV passwords";
- }
- } else {
- // the wallet is inaccessible or not configured
- ret = false;
- }
-
- return ret;
-}
-
-Wallet* CardDavPrefs::getWallet() {
- Wallet* ret = NULL;
-
- if (!mNoWallet) {
- // the wallet is not marked as inaccessible
-
- if (NULL == mWallet) {
- kdDebug() << "creating wallet for " + mPrefix << '\n';
-
- mWallet = Wallet::openWallet(Wallet::NetworkWallet(), 0);
- if (NULL == mWallet) {
- mNoWallet = true; // can't open the wallet, mark it inaccessible
- kdWarning() << "can't create a wallet for CardDAV passwords";
- } else {
- if (setWalletFolder(WALLET_FOLDER)) {
- // reserved
- } else {
- // can't set the wallet folder, remove the wallet and mark it inaccessible
- kdWarning() << "can't set the walet folder for CardDAV passwords";
- removeWallet(true);
- }
- }
- }
-
- ret = mWallet;
- }
-
- return ret;
-}
-
-void CardDavPrefs::removeWallet(bool noWallet) {
- delete mWallet;
- mWallet = NULL;
- mNoWallet = noWallet;
-}
-
-void CardDavPrefs::addPrefix(const TQString& prefix) {
- TDEConfigSkeletonItem::List itemList = items();
- TDEConfigSkeletonItem::List::Iterator it;
-
- for ( it = itemList.begin(); it != itemList.end(); ++it ) {
- (*it)->setGroup( prefix + ':' + (*it)->group() );
- }
-}
-
-bool CardDavPrefs::writePasswordToWallet(const TQString& password) {
-
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- int rc = w->writePassword(mPrefix + WALLET_PWD_SUFFIX, password);
- if (0 != rc) {
- kdWarning() << "CardDAV: can't write password to the wallet";
- } else {
- ret = true;
- }
- }
-
- return ret;
-}
-
-bool CardDavPrefs::readPasswordFromWallet(TQString& password) {
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- TQString p;
- int rc = w->readPassword(mPrefix + WALLET_PWD_SUFFIX, p);
- if (0 == rc) {
- //CardDavPrefsSkel::setPassword(p);
- password = p;
- ret = true;
- } else {
- kdWarning() << "CardDAV: can't read password from the wallet";
- password = NO_PASSWORD;
- }
- }
-
- return ret;
-}
-
-bool CardDavPrefs::removePasswordFromWallet() {
-
- Wallet* w = getWallet();
-
- bool ret = false;
- if (NULL != w) {
- int rc = w->removeEntry(mPrefix + WALLET_PWD_SUFFIX);
- if (0 == rc) {
- ret = true;
- } else {
- kdWarning() << "CardDAV: can't remove password from the wallet";
- }
- }
-
- return ret;
-}
-
-void CardDavPrefs::setPassword(const TQString& p) {
-
- mPassword = p;
-
- if (rememberPassword()) {
- writePasswordToWallet(p);
- }
-}
-
-TQString CardDavPrefs::password() {
- if (NO_PASSWORD == mPassword) {
- readPasswordFromWallet(mPassword);
- }
- return mPassword;
-}
-
-TQString CardDavPrefs::getusername() {
- return username();
-}
-
-void CardDavPrefs::setRememberPassword(bool v) {
- kdDebug() << "remember: " << v << '\n';
-
- CardDavPrefsSkel::setRememberPassword(v);
-
- if (!v) {
- // we should not remember password. If there is one already stored, it must be removed.
- kdDebug() << "removing password from wallet" << '\n';
- removePasswordFromWallet();
- }
-}
-
-void CardDavPrefs::writeConfig() {
- CardDavPrefsSkel::writeConfig();
-}
-
-void CardDavPrefs::readConfig() {
-
- CardDavPrefsSkel::readConfig();
-
- // the password is not in config file, try to restore it from the wallet.
- /*if (rememberPassword()) {
- readPasswordFromWallet();
- }*/
-}
-
-bool CardDavPrefs::getUseURI() {
- return useURI();
-}
-
-TQString CardDavPrefs::getFullUrl() {
-
- TQUrl t(url());
- TQString safeURL;
- int firstAt;
-
- t.setUser(username());
- t.setPassword(password());
-
- safeURL = t.toString();
-
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
- }
-
- // Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
-
- // Encode any spaces, as libcarddav stupidly fails otherwise
- safeURL.replace(" ", "%20");
-
- return safeURL;
-}
-
-// EOF ========================================================================
-
diff --git a/kresources/carddav/preferences.h b/kresources/carddav/preferences.h
deleted file mode 100644
index 89a8ac58..00000000
--- a/kresources/carddav/preferences.h
+++ /dev/null
@@ -1,155 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| CardDAV resource preferences class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KABC_CARDDAVPREFS_H
-#define KABC_CARDDAVPREFS_H
-
-#include "prefsskel.h"
-
-#include <kwallet.h>
-#include <kdebug.h>
-
-class TQString;
-
-namespace KABC {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * This class provides access to ResourceCardDav preferences.
- * It inherits auto-generated CardDavPrefsSkel class to add password-handling code.
- * KWallet is used for storing passwords.
- * It also adds code to allow multiple CardDAV resources to store settings in the same
- * config file.
- */
-class CardDavPrefs : public CardDavPrefsSkel {
-
-public:
-
- /**
- * @param prefix Unique prefix of the resource instance (use identifier() method).
- */
- CardDavPrefs(const TQString& prefix)
- : mWallet(NULL)
- , mNoWallet(false)
- , mPrefix(prefix)
- , mPassword(NO_PASSWORD)
- {
- addPrefix(prefix);
- }
-
- virtual ~CardDavPrefs() {
- kdDebug() << "removing wallet" << '\n';
- removeWallet();
- }
-
- virtual void writeConfig();
- virtual void readConfig();
-
- /**
- * Sets a new password. Also, if remember password flag is true,
- * remembers the password in the wallet. So, if you want the password
- * to be properly saved, call this method after ensuring the remember flag
- * is set.
- */
- void setPassword(const TQString& p);
-
- /**
- * Returns password. The password is taken from the wallet.
- * May return an empty string, if there is no password available.
- */
- TQString password();
-
- /**
- * Returns the username.
- */
- TQString getusername();
-
- void setRememberPassword(bool v);
-
- /**
- * @return A full URL to connect to CardDAV server (including username and password).
- */
- TQString getFullUrl();
-
- bool getUseURI();
-
-protected:
-
- /**
- * Add an unique prefix to TDEConfigGroup, so that different instances of the resource
- * can use the same config file.
- * @param prefix Unique prefix of the resource instance.
- */
- void addPrefix(const TQString& prefix);
-
- /**
- * Returns the wallet or NULL, if the wallet can't be obtained.
- */
- KWallet::Wallet* getWallet();
-
- /**
- * Tries to set a working folder for the wallet. If the wallet is not configured yet, does nothing.
- * @param folder the wallet working folder
- * @return true, if the folder has been set, and false otherwise.
- */
- bool setWalletFolder(const TQString& folder);
-
- /**
- * Removes the wallet. If @p noWallet is set, the wallet has been marked inaccessible, so that subsequent
- * getWallet calls will not try to recreate it.
- */
- void removeWallet(bool noWallet = false);
-
- /**
- * Wrire password to the wallet.
- * @param password password to write
- * @return true on success, false on failure
- */
- bool writePasswordToWallet(const TQString& password);
-
- /**
- * Extracts password from the wallet.
- * @param password a variable to save read password to.
- * @return true on success, false on failure
- */
- bool readPasswordFromWallet(TQString& password);
-
- /**
- * Clears password in the wallet.
- * @return true on success, false on failure
- */
- bool removePasswordFromWallet();
-
-private:
-
- static const TQString NO_PASSWORD;
- static const TQString WALLET_FOLDER;
- static const TQString WALLET_PWD_SUFFIX;
-
- KWallet::Wallet* mWallet;
- bool mNoWallet;
-
- TQString mPrefix;
- TQString mPassword;
-};
-
-} // namespace KABC
-
-#endif // KABC_CARDDAVPREFS_H
-
-
diff --git a/kresources/carddav/prefsskel.kcfg b/kresources/carddav/prefsskel.kcfg
deleted file mode 100644
index 9012e9ba..00000000
--- a/kresources/carddav/prefsskel.kcfg
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_caldavrc" />
- <group name="General" >
-
- <entry key="Url" type="String" >
- <label>URL</label>
- </entry>
-
- <entry key="Username" type="String">
- <label>User Name</label>
- </entry>
-
-<!-- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>-->
-
- <entry key="RememberPassword" type="Bool" >
- <label>Remember password</label>
- </entry>
-
- <entry key="UseURI" type="Bool" >
- <label>Use URI instead of UID</label>
- </entry>
-
- </group>
-</kcfg>
diff --git a/kresources/carddav/prefsskel.kcfgc b/kresources/carddav/prefsskel.kcfgc
deleted file mode 100644
index 12ca40ce..00000000
--- a/kresources/carddav/prefsskel.kcfgc
+++ /dev/null
@@ -1,7 +0,0 @@
-# Code generation options for kconfig_compiler
-File=prefsskel.kcfg
-ClassName=CardDavPrefsSkel
-NameSpace=KABC
-Singleton=false
-Mutators=true
-GlobalEnums=true
diff --git a/kresources/carddav/reader.cpp b/kresources/carddav/reader.cpp
deleted file mode 100644
index 62645535..00000000
--- a/kresources/carddav/reader.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote address book loading.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "reader.h"
-#include <kdebug.h>
-#include <string>
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CardDavReader::cleanJob() {
- CardDavJob::cleanJob();
- mData = "";
-}
-
-int CardDavReader::runJob(runtime_info* RT) {
- kdDebug() << "reader::run, url: " << url() << '\n';
-
- response* result = carddav_get_response();
- CARDDAV_RESPONSE res = OK;
-
- kdDebug() << "getting all objects" << '\n';
- if (getUseURI() == false)
- res = carddav_getall_object(result, std::string(url().ascii()).c_str(), RT);
- else
- res = carddav_getall_object_by_uri(result, std::string(url().ascii()).c_str(), RT);
-
- if (OK == res) {
- kdDebug() << "success" << '\n';
- if (result->msg) {
- mData = result->msg;
- } else {
- kdDebug() << "empty collection" << '\n';
- // empty collection
- mData = "";
- }
- }
-
- carddav_free_response(&result);
-
- return res;
-}
-
-// EOF ========================================================================
diff --git a/kresources/carddav/reader.h b/kresources/carddav/reader.h
deleted file mode 100644
index 181d4eb6..00000000
--- a/kresources/carddav/reader.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote address book loading class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KABCDAV_LOADER_H
-#define KABCDAV_LOADER_H
-
-#include "job.h"
-
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-namespace KABC {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar Reader.
- */
-class CardDavReader : public CardDavJob {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CardDavReader(const TQString& url = TQString()) :
- CardDavJob(url)
- , mGetAll(true)
- {
- }
-
- /**
- * Sets a time range. Only event between @p start and @p end will be loaded.
- * This method call disables the effect of setGetAll() call.
- * setGetAll() call disables the effect of this method.
- */
- void setRange(const TQDateTime& start, const TQDateTime& end) {
- mGetAll = false;
- mTimeStart = start;
- mTimeEnd = end;
- }
-
- /**
- * Sets the flag to load all events from the remote calendar.
- * This method call disables the effect of setRange() call.
- * setGetAll() call disables the effect of this method.
- */
- void setGetAll() {
- mGetAll = true;
- }
-
- /**
- * @return downloaded calendar data in iCal format.
- */
- TQString data() const {
- return mData;
- }
-
-protected:
-
- virtual int runJob(runtime_info* caldavRuntime);
-
- virtual void cleanJob();
-
-private:
-
- TQString mData;
- bool mGetAll;
- TQDateTime mTimeStart;
- TQDateTime mTimeEnd;
-
-};
-
-} // namespace KABC
-
-#endif // KABCDAV_LOADER_H
-
diff --git a/kresources/carddav/resource.cpp b/kresources/carddav/resource.cpp
deleted file mode 100644
index dae91c32..00000000
--- a/kresources/carddav/resource.cpp
+++ /dev/null
@@ -1,683 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Main interface to the KResource system.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include <string.h>
-#include <unistd.h>
-
-#include <tqurl.h>
-#include <tqmessagebox.h>
-#include <tqapplication.h>
-#include <tqeventloop.h>
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-
-#include <klocale.h>
-#include <kpassdlg.h>
-
-#include <tqdatetime.h>
-#include <tqmutex.h>
-#include <tqthread.h>
-#include <tqtimer.h>
-
-#ifdef KCARDDAV_DEBUG
- #include <tqfile.h>
-#endif
-
-#include "resource.h"
-#include "reader.h"
-#include "writer.h"
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| CONSTANTS
- ========================================================================*/
-
-const unsigned long ResourceCardDav::TERMINATION_WAITING_TIME = 3 * 1000; // 3 seconds
-const int ResourceCardDav::CACHE_DAYS = 90;
-
-const int ResourceCardDav::DEFAULT_RELOAD_INTERVAL = 10;
-const int ResourceCardDav::DEFAULT_SAVE_INTERVAL = 10;
-const int ResourceCardDav::DEFAULT_RELOAD_POLICY = ResourceCached::ReloadInterval;
-const int ResourceCardDav::DEFAULT_SAVE_POLICY = ResourceCached::SaveDelayed;
-
-/*=========================================================================
-| UTILITY
- ========================================================================*/
-
-#define log(s) kdDebug() << identifier() << ": " << (s) << '\n';
-
-/*=========================================================================
-| CONSTRUCTOR / DESTRUCTOR
- ========================================================================*/
-
-ResourceCardDav::ResourceCardDav( const TDEConfig *config ) :
- ResourceCached(config)
- , readLockout(false)
- , mAllWritesComplete(false)
- , mLock(true)
- , mPrefs(NULL)
- , mLoader(NULL)
- , mWriter(NULL)
- , mProgress(NULL)
- , mLoadingQueueReady(true)
- , mWritingQueueReady(true)
- , mWriteRetryTimer(NULL)
-{
- log("ResourceCardDav(config)");
- init();
-
- if ( config ) {
- readConfig( config );
- }
-}
-
-ResourceCardDav::~ResourceCardDav() {
- log("jobs termination");
-
- if (mWriteRetryTimer != NULL) {
- mWriteRetryTimer->stop(); // Unfortunately we cannot do anything at this point; if this timer is still running something is seriously wrong
- }
-
- if (mLoader) {
- readLockout = true;
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- }
-
- while ((mWriter->running() == true) || (mWritingQueue.isEmpty() == false) || !mWritingQueueReady) {
- readLockout = true;
- sleep(1);
- tqApp->processEvents(TQEventLoop::ExcludeUserInput);
- }
-
- if (mWriter) {
- mWriter->terminate();
- }
-
- log("waiting for jobs terminated");
-
- if (mWriter) {
- mWriter->wait(TERMINATION_WAITING_TIME);
- }
-
- log("deleting jobs");
-
- delete mLoader;
- delete mWriter;
-
- log("deleting preferences");
-
- delete mPrefs;
-}
-
-bool ResourceCardDav::isSaving() {
- doSave();
- return (((mWriteRetryTimer != NULL) ? 1 : 0) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false) || !mWritingQueueReady || readLockout);
-}
-
-/*=========================================================================
-| GENERAL METHODS
- ========================================================================*/
-
-bool ResourceCardDav::load() {
- bool syncCache = true;
-
- if ((mLoadingQueueReady == false) || (mLoadingQueue.isEmpty() == false) || (mLoader->running() == true) || (isSaving() == true)) {
- return true; // Silently fail; the user has obviously not responded to a dialog and we don't need to pop up more of them!
- }
-
- log(TQString("doLoad(%1)").arg(syncCache));
-
- // FIXME KABC
- //clearCache();
-
- log("loading from cache");
- //disableChangeNotification();
- loadCache();
- //enableChangeNotification();
- clearChanges();
- addressBook()->emitAddressBookChanged();
- emit loadingFinished( this );
-
- log("starting download job");
- startLoading(mPrefs->getFullUrl());
-
- return true;
-}
-
-bool ResourceCardDav::doSave() {
- bool syncCache = true;
-
- log(TQString("doSave(%1)").arg(syncCache));
-
- if (!hasChanges()) {
- log("no changes");
- return true;
- }
-
- log("saving cache");
- saveCache();
-
- // Delete any queued read jobs
- mLoadingQueue.clear();
-
- // See if there is a running read thread and terminate it
- if (mLoader->running() == true) {
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- }
-
- log("start writing job");
- if (startWriting(mPrefs->getFullUrl()) == true) {
- log("clearing changes");
- // FIXME: Calling clearChanges() here is not the ideal way since the
- // upload might fail, but there is no other place to call it...
- clearChanges();
- if (mWriteRetryTimer != NULL) {
- if (mWriteRetryTimer->isActive() == false) {
- disconnect( mWriteRetryTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doSave()) );
- delete mWriteRetryTimer;
- mWriteRetryTimer = NULL;
- }
- }
- return true;
- }
- else return true; // We do not need to alert the user to this transient failure; a timer has been started to retry the save
-}
-
-
-bool ResourceCardDav::save( Ticket* ticket ) {
- // To suppress warning about doSave() method hides ResourceCached::doSave(Ticket)
- //return ResourceCached::doSave();
- return doSave();
-}
-
-KABC::Lock* ResourceCardDav::lock() {
- log("lock()");
- return &mLock;
-}
-
-void ResourceCardDav::readConfig( const TDEConfig *config ) {
- log("readConfig");
- mPrefs->readConfig();
- // FIXME KABC
- //ResourceCached::readConfig(config);
-}
-
-void ResourceCardDav::writeConfig( TDEConfig *config ) {
- log("writeConfig()");
- Resource::writeConfig(config);
- mPrefs->writeConfig();
- ResourceCached::writeConfig(config);
-}
-
-CardDavPrefs* ResourceCardDav::createPrefs() const {
- log("createPrefs()");
- CardDavPrefs* p = new CardDavPrefs(identifier());
- return p;
-}
-
-void ResourceCardDav::init() {
-// // default settings
-// setReloadInterval(DEFAULT_RELOAD_INTERVAL);
-// setReloadPolicy(DEFAULT_RELOAD_POLICY);
-// setSaveInterval(DEFAULT_SAVE_INTERVAL);
-// setSavePolicy(DEFAULT_SAVE_POLICY);
-
- // creating preferences
- mPrefs = createPrefs();
-
- // creating reader/writer instances
- mLoader = new CardDavReader;
- mWriter = new CardDavWriter;
-
- // creating jobs
- // TQt4 handles this quite differently, as shown below,
- // whereas TQt3 needs events (see ::event())
-// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished()));
-// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished()));
-
- setType("ResourceCardDav");
-}
-
-void ResourceCardDav::ensureReadOnlyFlagHonored() {
- //disableChangeNotification();
-
- // FIXME KABC
- //Incidence::List inc( rawIncidences() );
- //setIncidencesReadOnly(inc, readOnly());
-
- //enableChangeNotification();
-
- if (addressBook() != NULL) {
- addressBook()->emitAddressBookChanged();
- }
-}
-
-void ResourceCardDav::setReadOnly(bool v) {
- KRES::Resource::setReadOnly(v);
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
-}
-
-void ResourceCardDav::updateProgressBar(int direction) {
- int current_queued_events;
- static int original_queued_events;
-
- // See if anything is in the queues
- current_queued_events = mWritingQueue.count() + mLoadingQueue.count();
- if ((direction == 0) && (mLoader->running() == true)) current_queued_events++;
- if ((direction == 1) && (mWriter->running() == true)) current_queued_events++;
- if (current_queued_events > original_queued_events) {
- original_queued_events = current_queued_events;
- }
-
- if (current_queued_events == 0) {
- if ( mProgress != NULL) {
- mProgress->setComplete();
- mProgress = NULL;
- original_queued_events = 0;
- }
- }
- else {
- if (mProgress == NULL) {
- if (direction == 0) mProgress = KPIM::ProgressManager::createProgressItem(KPIM::ProgressManager::getUniqueID(), i18n("Downloading Contacts") );
- if (direction == 1) mProgress = KPIM::ProgressManager::createProgressItem(KPIM::ProgressManager::getUniqueID(), i18n("Uploading Contacts") );
- }
- mProgress->setProgress( ((((float)original_queued_events-(float)current_queued_events)*100)/(float)original_queued_events) );
- }
-}
-
-/*=========================================================================
-| READING METHODS
- ========================================================================*/
-
-void ResourceCardDav::loadingQueuePush(const LoadingTask *task) {
- if ((mLoadingQueue.isEmpty() == true) && (mLoader->running() == false)) {
- mLoadingQueue.enqueue(task);
- updateProgressBar(0);
- loadingQueuePop();
- }
-}
-
-void ResourceCardDav::loadingQueuePop() {
- if (!mLoadingQueueReady || mLoadingQueue.isEmpty() || (isSaving() == true)) {
- return;
- }
-
- if (!mLoader) {
- log("loader == NULL");
- return;
- }
-
- // Loading queue and mLoadingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- LoadingTask *t = mLoadingQueue.head();
-
- mLoader->setUrl(t->url);
- mLoader->setParent(this);
- mLoader->setType(0);
- mLoader->setUseURI(mPrefs->getUseURI());
-
- mLoadingQueueReady = false;
-
- log("starting actual download job");
- mLoader->start(TQThread::LowestPriority);
-
- // if all ok, removing the task from the queue
- mLoadingQueue.dequeue();
- updateProgressBar(0);
-
- delete t;
-}
-
-void ResourceCardDav::startLoading(const TQString& url) {
- LoadingTask *t = new LoadingTask;
- t->url = url;
- loadingQueuePush(t);
-}
-
-void ResourceCardDav::loadFinished() {
- CardDavReader* loader = mLoader;
-
- log("load finished");
-
- if (!loader) {
- log("loader is NULL");
- return;
- }
-
- if (loader->error()) {
- if (loader->errorNumber() == -401) {
- if (NULL != mPrefs) {
- TQCString newpass;
- if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
- log("load error: " + loader->errorString() );
- addressBook()->error(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- else {
- // Set new password and try again
- mPrefs->setPassword(TQString(newpass));
- startLoading(mPrefs->getFullUrl());
- }
- }
- else {
- log("load error: " + loader->errorString() );
- addressBook()->error(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- }
- else {
- log("load error: " + loader->errorString() );
- addressBook()->error(TQString("[%1] ").arg(abs(loader->errorNumber())) + loader->errorString());
- }
- } else {
- log("successful load");
- TQString data = loader->data();
-
- if (!data.isNull() && !data.isEmpty()) {
- data.replace("\r\n", "\n"); // to avoid \r\n becomes \n\n after the next line
- data.replace('\r', '\n');
-
- log("trying to parse...");
- if (parseData(data)) {
- log("... parsing is ok");
- log("clearing changes");
- //enableChangeNotification();
- clearChanges();
- addressBook()->emitAddressBookChanged();
- emit loadingFinished( this );
- }
- }
- }
-
- // Loading queue and mLoadingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- mLoader->terminate();
- mLoader->wait(TERMINATION_WAITING_TIME);
- mLoadingQueueReady = true;
- updateProgressBar(0);
- loadingQueuePop();
-}
-
-bool ResourceCardDav::checkData(const TQString& data) {
- log("checking the data");
-
- KABC::VCardConverter converter;
- bool ret = true;
- KABC::VCardConverter conv;
- Addressee::List addressees = conv.parseVCards( data );
- if (addressees.isEmpty() == true) {
- ret = false;
- }
-
- return ret;
-}
-
-bool ResourceCardDav::parseData(const TQString& data) {
- log("parseData()");
-
- bool ret = true;
-
- // check if the data is OK
- // May be it's not efficient (parsing is done twice), but it should be safe
- if (!checkData(data)) {
- addressBook()->error(i18n("Parsing calendar data failed."));
- return false;
- }
-
- // FIXME KABC
- //log("clearing cache");
- //clearCache();
-
- //disableChangeNotification();
-
- log("actually parsing the data");
-
- KABC::VCardConverter conv;
- Addressee::List addressees = conv.parseVCards( data );
- Addressee::List::ConstIterator it;
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- KABC::Addressee addr = *it;
- if ( !addr.isEmpty() ) {
- addr.setResource( this );
-
- insertAddressee( addr );
- clearChange( addr );
- }
- }
-
- // debug code here -------------------------------------------------------
-#ifdef KCARDDAV_DEBUG
- const TQString fout_path = "/tmp/kcarddav_download_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << data << "\n";
- fout.close();
- } else {
- addressBook()->error(i18n("can't open file"));
- }
-#endif // KCARDDAV_DEBUG
- // end of debug code ----------------------------------------------------
-
- //enableChangeNotification();
-
- if (ret) {
- log("parsing is ok");
- //if ( !noReadOnlyOnLoad() && readOnly() ) {
- if ( readOnly() ) {
- log("ensuring read only flag honored");
- ensureReadOnlyFlagHonored();
- }
- log("cleaning up cache");
- cleanUpCache( addressees );
- log("saving to cache");
- saveCache();
- }
-
- return ret;
-}
-
-/*=========================================================================
-| WRITING METHODS
- ========================================================================*/
-
-Ticket *ResourceCardDav::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceCardDav::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-void ResourceCardDav::writingQueuePush(const WritingTask *task) {
-// printf("task->added: %s\n\r", task->added.ascii());
-// printf("task->deleted: %s\n\r", task->deleted.ascii());
-// printf("task->changed: %s\n\r", task->changed.ascii());
- mWritingQueue.enqueue(task);
- updateProgressBar(1);
- writingQueuePop();
-}
-
-void ResourceCardDav::writingQueuePop() {
- if (!mWritingQueueReady || mWritingQueue.isEmpty()) {
- return;
- }
-
- if (!mWriter) {
- log("writer == NULL");
- return;
- }
-
- // Writing queue and mWritingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- WritingTask *t = mWritingQueue.head();
-
- log("writingQueuePop: url = " + t->url);
-
- mWriter->setUrl(t->url);
- mWriter->setParent(this);
- mWriter->setType(1);
- mWriter->setUseURI(mPrefs->getUseURI());
-
-#ifdef KCARDDAV_DEBUG
- const TQString fout_path = "/tmp/kcarddav_upload_" + identifier() + ".tmp";
-
- TQFile fout(fout_path);
- if (fout.open(IO_WriteOnly | IO_Append)) {
- TQTextStream sout(&fout);
- sout << "---------- " << resourceName() << ": --------------------------------\n";
- sout << "================== Added:\n" << t->added << "\n";
- sout << "================== Changed:\n" << t->changed << "\n";
- sout << "================== Deleted:\n" << t->deleted << "\n";
- fout.close();
- } else {
- addressBook()->error(i18n("can't open file"));
- }
-#endif // debug
-
- mWriter->setAddedObjects(t->added);
- mWriter->setChangedObjects(t->changed);
- mWriter->setDeletedObjects(t->deleted);
-
- mWritingQueueReady = false;
-
- log("starting actual write job");
- mWriter->start(TQThread::LowestPriority);
-
- // if all ok, remove the task from the queue
- mWritingQueue.dequeue();
- updateProgressBar(1);
-
- delete t;
-}
-
-bool ResourceCardDav::event ( TQEvent * e ) {
- if (e->type() == 1000) {
- // Read done
- loadFinished();
- return TRUE;
- }
- else if (e->type() == 1001) {
- // Write done
- writingFinished();
- return TRUE;
- }
- else return FALSE;
-}
-
-bool ResourceCardDav::startWriting(const TQString& url) {
- log("startWriting: url = " + url);
-
- WritingTask *t = new WritingTask;
- KABC::VCardConverter converter;
-
- // WARNING: This will segfault if a separate read or write thread
- // modifies the calendar with clearChanges() or similar
- // Before these calls are made any existing read (and maybe write) threads should be finished
- if ((mLoader->running() == true) || (mLoadingQueue.isEmpty() == false) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false)) {
- if (mWriteRetryTimer == NULL) {
- mWriteRetryTimer = new TQTimer(this);
- connect( mWriteRetryTimer, TQT_SIGNAL(timeout()), TQT_SLOT(doSave()) );
- }
- mWriteRetryTimer->start(1000, TRUE);
- return false;
- }
-
- KABC::Addressee::List added = addedAddressees();
- KABC::Addressee::List changed = changedAddressees();
- KABC::Addressee::List deleted = deletedAddressees();
-
- t->url = url;
- // FIXME KABC
- t->added = converter.createVCards(added); // This crashes when an event is added from the remote server and save() is subsequently called
- t->changed = converter.createVCards(changed);
- t->deleted = converter.createVCards(deleted);
-
- writingQueuePush(t);
-
- return true;
-}
-
-void ResourceCardDav::writingFinished() {
- log("writing finished");
-
- if (!mWriter) {
- log("mWriter is NULL");
- return;
- }
-
- if (mWriter->error() && (abs(mWriter->errorNumber()) != 207)) {
- if (mWriter->errorNumber() == -401) {
- if (NULL != mPrefs) {
- TQCString newpass;
- if (KPasswordDialog::getPassword (newpass, TQString("<b>") + i18n("Remote authorization required") + TQString("</b><p>") + i18n("Please input the password for") + TQString(" ") + mPrefs->getusername(), NULL) != 1) {
- log("write error: " + mWriter->errorString());
- addressBook()->error(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- else {
- // Set new password and try again
- mPrefs->setPassword(TQString(newpass));
- startWriting(mPrefs->getFullUrl());
- }
- }
- else {
- log("write error: " + mWriter->errorString());
- addressBook()->error(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- }
- else {
- log("write error: " + mWriter->errorString());
- addressBook()->error(TQString("[%1] ").arg(abs(mWriter->errorNumber())) + mWriter->errorString());
- }
- } else {
- log("success");
- // is there something to do here?
- }
-
- // Writing queue and mWritingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
- // That's why no mutexes are required.
- mWriter->terminate();
- mWriter->wait(TERMINATION_WAITING_TIME);
- mWritingQueueReady = true;
- updateProgressBar(1);
- writingQueuePop();
-
- // If a URI is required we will need to retrieve it from the server after the new record is committed...
- if (mPrefs->getUseURI() == true) {
- startLoading(mPrefs->getFullUrl());
- }
-}
-
-#include "resource.moc"
-
-// EOF ========================================================================
diff --git a/kresources/carddav/resource.h b/kresources/carddav/resource.h
deleted file mode 100644
index cf5090e5..00000000
--- a/kresources/carddav/resource.h
+++ /dev/null
@@ -1,227 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Main interface to the KResource system.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KABC_RESOURCECARDDAV_H
-#define KABC_RESOURCECARDDAV_H
-
-#include "preferences.h"
-#include <tqthread.h>
-#include <tqptrqueue.h>
-
-#include <kabcresourcecached.h>
-#include <libtdepim/progressmanager.h>
-
-#include <kabc/locknull.h>
-
-#include <tdepimmacros.h>
-#include <kconfig.h>
-
-namespace KABC {
-
-class CardDavReader;
-class CardDavWriter;
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * This class provides a resource for accessing calendars via CardDAV protocol.
- */
-class KDE_EXPORT ResourceCardDav : public ResourceCached
-{
- Q_OBJECT
-
-
-public:
-
- explicit ResourceCardDav( const TDEConfig *config );
- virtual ~ResourceCardDav();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- virtual Ticket *requestSaveTicket();
- virtual void releaseSaveTicket( Ticket* );
-
- /**
- * @return This resource preferences.
- */
- CardDavPrefs* prefs() {
- return mPrefs;
- }
-
- /**
- * @return This resource preferences.
- */
- const CardDavPrefs* prefs() const {
- return mPrefs;
- }
-
- virtual void setReadOnly(bool v);
-
- bool isSaving();
-
-protected slots:
-
- void loadFinished();
-
- virtual bool doSave();
-
- void writingFinished();
-
-protected:
-
- struct LoadingTask {
- TQString url;
- };
-
- struct WritingTask {
- TQString url;
- TQString added;
- TQString changed;
- TQString deleted;
- };
-
-
-// virtual bool doLoad( bool syncCache );
-// virtual bool doSave( bool syncCache );
-
- virtual bool load();
-
- virtual bool save( Ticket* ticket );
-
- virtual KABC::Lock* lock();
-
- /**
- * Creates prefs and configures them.
- * @return a newly created preferences object. It should be removed by the caller.
- */
- CardDavPrefs* createPrefs() const;
-
- /**
- * Initializes internal state.
- * Particulary, sets save and reload policies to default values,
- * creates writing and reading jobs and preferences objects.
- */
- void init();
-
- /**
- * Updates the progress bar
- */
- void updateProgressBar(int direction);
-
- /**
- * Initiates calendar loading process.
- * @param url URL to load calendar data from.
- */
- void startLoading(const TQString& url);
-
- /**
- * Checks if the data is correct and can be parsed.
- * @param data ical string to check.
- * @return true if the data is correct, false otherwise.
- */
- bool checkData(const TQString& data);
-
- /**
- * Parses the data and adds events to the calendar.
- * @param data calendar data.
- * @return true on success, false on fail.
- */
- bool parseData(const TQString& data);
-
- /**
- * Initiates calendar writing process.
- * @param url URL to save calendar data to.
- * @return true if write was queued successfully, false if not
- */
- bool startWriting(const TQString& url);
-
- /**
- * Ensures incidences' read-only states are the same as the calendar's read-only state.
- */
- void ensureReadOnlyFlagHonored();
-
- /**
- * If the loading queue is empty or the loader is not ready, does nothing.
- * Otherwise, pops a head element and starts a loading process for it.
- */
- void loadingQueuePop();
-
- /**
- * Pushes the given loading task to the loading queue.
- * Then calls loadingQueuePop.
- */
- void loadingQueuePush(const LoadingTask *task);
-
- /**
- * If the writing queue is empty or the writer is not ready, does nothing.
- * Otherwise, pops a head element and starts a writing process for it.
- */
- void writingQueuePop();
-
- /**
- * Pushes the given writing task to the writing queue.
- * Then calls writingQueuePop.
- */
- void writingQueuePush(const WritingTask *task);
-
- virtual bool event ( TQEvent * e );
-
-private:
-
- // constants: =============================================================
-
- /// Termination waiting time in milliseconds. Used to terminate job threads.
- static const unsigned long TERMINATION_WAITING_TIME;
-
- /**
- * Resource caches only events which are from the interval [-CACHE_DAYS, CACHE_DAYS].
- */
- static const int CACHE_DAYS;
-
- static const int DEFAULT_RELOAD_INTERVAL;
- static const int DEFAULT_SAVE_INTERVAL;
- static const int DEFAULT_RELOAD_POLICY;
- static const int DEFAULT_SAVE_POLICY;
-
- bool readLockout;
- bool mAllWritesComplete;
-
- // members: ===============================================================
-
- KABC::LockNull mLock;
- CardDavPrefs* mPrefs;
- CardDavReader* mLoader;
- CardDavWriter* mWriter;
- KPIM::ProgressItem *mProgress;
-
- bool mLoadingQueueReady;
- TQPtrQueue<LoadingTask> mLoadingQueue;
-
- bool mWritingQueueReady;
- TQPtrQueue<WritingTask> mWritingQueue;
-
- TQTimer *mWriteRetryTimer;
-
-};
-
-
-
-} // namespace KABC
-
-#endif // KABC_RESOURCECARDDAV_H
-
diff --git a/kresources/carddav/uninstall.desktop b/kresources/carddav/uninstall.desktop
deleted file mode 100644
index e1e3e173..00000000
--- a/kresources/carddav/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true
diff --git a/kresources/carddav/writer.cpp b/kresources/carddav/writer.cpp
deleted file mode 100644
index 68bf126d..00000000
--- a/kresources/carddav/writer.cpp
+++ /dev/null
@@ -1,106 +0,0 @@
-/*=========================================================================
-| KABCDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote address book writing class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#include "writer.h"
-#include <kdebug.h>
-#include <string>
-
-/*=========================================================================
-| DEFINES
- ========================================================================*/
-
-// Use carddav_modify_object() function.
-// If it's not set, a pair of carddav_delete_object/carddav_add_object
-// is used for modifying objects.
-// It's done, because, for some reason, Zimbra returns an error
-// on carddav_modify_object.
-//#define USE_CARDDAV_MODIFY
-
-/*=========================================================================
-| NAMESPACE
- ========================================================================*/
-
-using namespace KABC;
-
-/*=========================================================================
-| METHODS
- ========================================================================*/
-
-void CardDavWriter::cleanJob() {
- CardDavJob::cleanJob();
-}
-
-int CardDavWriter::runJob(runtime_info* RT) {
- kdDebug() << "writer::run, url: " << url() << "\n";
-
- int res = OK;
-
- kdDebug() << "pushing added objects" << '\n';
- res = pushObjects(mAdded, carddav_add_object, OK, RT);
- if (OK == res) {
-#ifdef USE_CARDDAV_MODIFY
- kdDebug() << "pushing changed objects" << '\n';
- if (getUseURI() == false)
- res = pushObjects(mChanged, carddav_modify_object, OK, RT);
- else
- res = pushObjects(mChanged, carddav_modify_object_by_uri, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing deleted objects" << '\n';
- while (mDeleted.contains("BEGIN:VCARD", TRUE) > 0) {
- int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
- TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
- mDeleted = mDeleted.remove(0, endLocation+9);
- if (getUseURI() == false)
- res = pushObjects(deletedCurSeq, carddav_delete_object, OK, RT);
- else
- res = pushObjects(deletedCurSeq, carddav_delete_object_by_uri, OK, RT);
- }
- }
-#else // if USE_CARDDAV_MODIFY
- kdDebug() << "pushing changed objects (delete)" << '\n';
- if (getUseURI() == false)
- res = pushObjects(mChanged, carddav_delete_object, OK, RT);
- else
- res = pushObjects(mChanged, carddav_delete_object_by_uri, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing changed objects (add)" << '\n';
- if (getUseURI() == false)
- res = pushObjects(mChanged, carddav_add_object, OK, RT);
- else
- res = pushObjects(mChanged, carddav_add_object, OK, RT);
- if (OK == res) {
- kdDebug() << "pushing deleted objects" << '\n';
- while (mDeleted.contains("BEGIN:VCARD", TRUE) > 0) {
- int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
- TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
- mDeleted = mDeleted.remove(0, endLocation+9);
- if (getUseURI() == false)
- res = pushObjects(deletedCurSeq, carddav_delete_object, OK, RT);
- else
- res = pushObjects(deletedCurSeq, carddav_delete_object_by_uri, OK, RT);
- }
- }
- }
-#endif // if USE_CARDDAV_MODIFY
- }
-
- if (OK != res) {
- clearObjects();
- }
-
- return res;
-}
-
-// EOF ========================================================================
diff --git a/kresources/carddav/writer.h b/kresources/carddav/writer.h
deleted file mode 100644
index 4af3fe36..00000000
--- a/kresources/carddav/writer.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*=========================================================================
-| KCardDAV
-|--------------------------------------------------------------------------
-| (c) 2010 Timothy Pearson
-|
-| This project is released under the GNU General Public License.
-| Please see the file COPYING for more details.
-|--------------------------------------------------------------------------
-| Remote address book writing class.
- ========================================================================*/
-
-/*=========================================================================
-| INCLUDES
- ========================================================================*/
-
-#ifndef KCARDDAV_WRITER_H
-#define KCARDDAV_WRITER_H
-
-#include "job.h"
-
-#include <string>
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-namespace KABC {
-
-/*=========================================================================
-| CLASS
- ========================================================================*/
-
-/**
- * Calendar writer.
- */
-class CardDavWriter : public CardDavJob {
-
-public:
-
- /**
- * @param url URL to load.
- */
- CardDavWriter(const TQString& url = TQString()) :
- CardDavJob(url)
- {
- clearObjects();
- }
-
- /**
- * Sets the information about added incidences writer should send to server.
- * @param s icalendar-formatted string consists of all added incidences plus necessary calendar info.
- * May be an empty string, which means there is no added incidences to send.
- */
- void setAddedObjects(const TQString& s) {
- mAdded = s;
- }
-
- /**
- * Sets the information about changed incidences writer should send to server.
- * @param s icalendar-formatted string consists of all changed incidences plus necessary calendar info.
- * May be an empty string, which means there is no changed incidences to send.
- */
- void setChangedObjects(const TQString& s) {
- mChanged = s;
- }
-
- /**
- * Sets the information about deleted incidences writer should send to server.
- * @param s icalendar-formatted string consists of all deleted incidences plus necessary calendar info.
- * May be an empty string, which means there is no deleted incidences to send.
- */
- void setDeletedObjects(const TQString& s) {
- mDeleted = s;
- }
-
- /**
- * Clear all the information previously set.
- */
- void clearObjects() {
- setAddedObjects("");
- setChangedObjects("");
- setDeletedObjects("");
- }
-
-protected:
-
- virtual int runJob(runtime_info* caldavRuntime);
-
- virtual void cleanJob();
-
- /// Just a wrapper above libcaldav functions.
- template<typename Operation>
- int pushObjects(const TQString& data, Operation op, int okCode, runtime_info* RT) {
- int r = okCode;
- if (!data.isNull() && !data.isEmpty()) {
- r = op(std::string(data.ascii()).c_str(), std::string(url().ascii()).c_str(), RT);
- }
- return r;
- }
-
-private:
-
- TQString mAdded;
- TQString mChanged;
- TQString mDeleted;
-};
-
-} // namespace KABC
-
-#endif // KCARDDAV_WRITER_H
-
diff --git a/kresources/egroupware/CMakeLists.txt b/kresources/egroupware/CMakeLists.txt
deleted file mode 100644
index bc0bfd49..00000000
--- a/kresources/egroupware/CMakeLists.txt
+++ /dev/null
@@ -1,109 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_BINARY_DIR}/kaddressbook/common
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/kaddressbook/common
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### headers ###################################
-
-install( FILES
- kabc_resourcexmlrpc.h kcal_resourcexmlrpc.h
- DESTINATION ${INCLUDE_INSTALL_DIR}/kabc )
-
-
-##### other data ################################
-
-install( FILES kabc_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-install( FILES kcal_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-install( FILES knotes_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes )
-
-
-##### egwcommon (static) ########################
-
-tde_add_library( egwcommon STATIC_PIC AUTOMOC
- SOURCES
- xmlrpciface.cpp synchronizer.cpp debugdialog.cpp
-)
-
-
-##### kabc_xmlrpc (shared) ######################
-
-tde_add_library( kabc_xmlrpc SHARED AUTOMOC
- SOURCES
- kabc_resourcexmlrpc.cpp kabc_resourcexmlrpcconfig.cpp
- kabc_egroupwareprefs.kcfgc
- VERSION 1.0.0
- LINK egwcommon-static kabcommon-static tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kcal_xmlrpc (shared) ######################
-
-tde_add_library( kcal_xmlrpc SHARED AUTOMOC
- SOURCES
- kcal_resourcexmlrpc.cpp kcal_resourcexmlrpcconfig.cpp todostatemapper.cpp
- kcal_egroupwareprefs.kcfgc
- VERSION 1.0.0
- LINK egwcommon-static tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### knotes_xmlrpc (shared) ####################
-
-tde_add_library( knotes_xmlrpc SHARED AUTOMOC
- SOURCES
- knotes_resourcexmlrpc.cpp knotes_resourcexmlrpcconfig.cpp
- knotes_egroupwareprefs.kcfgc
- VERSION 1.0.0
- LINK egwcommon-static knotes-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kabc_xmlrpc (module) ######################
-
-tde_add_kpart( kabc_xmlrpc AUTOMOC
- SOURCES kabc_resourcexmlrpcplugin.cpp
- LINK kabc_xmlrpc-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcal_xmlrpc (module) ######################
-
-tde_add_kpart( kcal_xmlrpc AUTOMOC
- SOURCES kcal_resourcexmlrpcplugin.cpp
- LINK kcal_xmlrpc-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### knotes_xmlrpc (module) ####################
-
-tde_add_kpart( knotes_xmlrpc AUTOMOC
- SOURCES knotes_resourcexmlrpcplugin.cpp
- LINK knotes_xmlrpc-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kresources/egroupware/Makefile.am b/kresources/egroupware/Makefile.am
deleted file mode 100644
index a3effa7f..00000000
--- a/kresources/egroupware/Makefile.am
+++ /dev/null
@@ -1,73 +0,0 @@
-INCLUDES = -I$(top_srcdir)/libical/src/libical \
- -I$(top_srcdir)/libical/src/libicalss \
- -I$(top_builddir)/libical/src/libical \
- -I$(top_builddir)/libical/src/libicalss \
- -I$(srcdir)/versit -I$(top_srcdir)/ \
- -I$(top_srcdir)/knotes \
- -I$(top_builddir)/kaddressbook \
- -I$(top_builddir)/kaddressbook/common \
- -I$(top_srcdir)/kaddressbook/common \
- -I$(top_builddir)/kresources/egroupware \
- $(all_includes)
-
-noinst_HEADERS = kabc_resourcexmlrpcconfig.h kcal_resourcexmlrpcconfig.h \
- knotes_resourcexmlrpcconfig.h
-
-noinst_LTLIBRARIES = libegwcommon.la
-libegwcommon_la_SOURCES = xmlrpciface.cpp synchronizer.cpp debugdialog.cpp
-
-lib_LTLIBRARIES = libkabc_xmlrpc.la libkcal_xmlrpc.la libknotes_xmlrpc.la
-libkabc_xmlrpc_la_SOURCES = kabc_resourcexmlrpc.cpp kabc_resourcexmlrpcconfig.cpp \
- kabc_egroupwareprefs.kcfgc
-libkabc_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
-libkabc_xmlrpc_la_LIBADD = $(LIB_KIO) -lkabc $(top_builddir)/libtdepim/libtdepim.la \
- $(top_builddir)/kaddressbook/common/libkabcommon.la \
- libegwcommon.la
-
-libkcal_xmlrpc_la_SOURCES = kcal_resourcexmlrpc.cpp kcal_resourcexmlrpcconfig.cpp \
- todostatemapper.cpp kcal_egroupwareprefs.kcfgc
-libkcal_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
-libkcal_xmlrpc_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la \
- libegwcommon.la
-
-libknotes_xmlrpc_la_SOURCES = knotes_resourcexmlrpc.cpp knotes_resourcexmlrpcconfig.cpp \
- knotes_egroupwareprefs.kcfgc
-libknotes_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
-libknotes_xmlrpc_la_LIBADD = $(top_builddir)/libkcal/libkcal.la -ltdeprint \
- $(top_builddir)/knotes/libknotesresources.la \
- $(top_builddir)/libtdepim/libtdepim.la \
- libegwcommon.la
-
-kabcincludedir = $(includedir)/kabc
-kabcinclude_HEADERS = kabc_resourcexmlrpc.h kcal_resourcexmlrpc.h
-
-kde_module_LTLIBRARIES = kabc_xmlrpc.la kcal_xmlrpc.la knotes_xmlrpc.la
-
-kabc_xmlrpc_la_SOURCES = kabc_resourcexmlrpcplugin.cpp
-kabc_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kabc_xmlrpc_la_LIBADD = libkabc_xmlrpc.la
-
-kcal_xmlrpc_la_SOURCES = kcal_resourcexmlrpcplugin.cpp
-kcal_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_xmlrpc_la_LIBADD = libkcal_xmlrpc.la
-
-knotes_xmlrpc_la_SOURCES = knotes_resourcexmlrpcplugin.cpp
-knotes_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-knotes_xmlrpc_la_LIBADD = libknotes_xmlrpc.la
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_xmlrpc.desktop
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_xmlrpc.desktop
-
-knotes_servicedir = $(kde_servicesdir)/kresources/knotes
-knotes_service_DATA = knotes_xmlrpc.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_xmlrpc.pot
-
-kabc_resourcexmlrpc.lo: ../../kaddressbook/common/kabprefs_base.h
diff --git a/kresources/egroupware/access.h b/kresources/egroupware/access.h
deleted file mode 100644
index aab78779..00000000
--- a/kresources/egroupware/access.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ACCESS_H
-#define ACCESS_H
-
-#define EGW_ACCESS_READ 1
-#define EGW_ACCESS_ADD 2
-#define EGW_ACCESS_EDIT 4
-#define EGW_ACCESS_DELETE 8
-#define EGW_ACCESS_PRIVATE 9
-#define EGW_ACCESS_ALL 15
-
-#endif
diff --git a/kresources/egroupware/debugdialog.cpp b/kresources/egroupware/debugdialog.cpp
deleted file mode 100644
index 54fe0723..00000000
--- a/kresources/egroupware/debugdialog.cpp
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqfile.h>
-#include <tqfiledialog.h>
-#include <tqlayout.h>
-
-#include <ktextbrowser.h>
-#include <kstaticdeleter.h>
-
-#include <stdlib.h>
-#include <klocale.h>
-#include "debugdialog.h"
-
-DebugDialog* DebugDialog::mSelf = 0;
-static KStaticDeleter<DebugDialog> debugDialogDeleter;
-
-DebugDialog::DebugDialog()
- : KDialogBase( Plain, WStyle_DialogBorder | WStyle_StaysOnTop, 0,
- "Debug Dialog", false, i18n("Debug Dialog"),
- User1 | User2 | Ok, Ok, true )
-{
- TQWidget *page = plainPage();
- TQVBoxLayout *layout = new TQVBoxLayout( page, marginHint(), spacingHint() );
-
- mView = new KTextBrowser( page );
- layout->addWidget( mView );
-
- setButtonText( User1, "Save As..." );
- setButtonText( User2, "Clear" );
-
- clear();
-}
-
-void DebugDialog::init()
-{
- if ( !mSelf ) {
- if ( getenv( "EGROUPWARE_DEBUG" ) != 0 ) {
- debugDialogDeleter.setObject( mSelf, new DebugDialog );
- }
- }
-
- if ( mSelf ) {
- mSelf->show();
- mSelf->raise();
- }
-}
-
-DebugDialog::~DebugDialog()
-{
- mSelf = 0;
-}
-
-void DebugDialog::addMessage( const TQString &msg, Type type )
-{
- if ( mSelf )
- mSelf->addText( msg, type );
-}
-
-void DebugDialog::clear()
-{
- mView->clear();
- mMessages.clear();
-}
-
-void DebugDialog::save()
-{
- TQString fileName = TQFileDialog::getSaveFileName();
- if ( fileName.isEmpty() )
- return;
-
- TQFile file( fileName );
- if ( !file.open( IO_WriteOnly ) ) {
- tqWarning( "Couldn't open file %s", file.name().latin1() );
- return;
- }
-
- file.writeBlock( mMessages.join( "\n\n" ).utf8() );
- file.close();
-}
-
-void DebugDialog::slotUser1()
-{
- save();
-}
-
-void DebugDialog::slotUser2()
-{
- clear();
-}
-
-void DebugDialog::addText( const TQString &text, Type type )
-{
- TQString htmlCode( text );
- htmlCode.replace( "<", "&lt;" );
- htmlCode.replace( ">", "&gt;" );
- htmlCode.replace( "\n", "<br>" );
-
- mMessages.append( text );
- if ( type == Input )
- mHTMLMessages.append( "<font color=\"green\">" + htmlCode + "</font>" );
- else
- mHTMLMessages.append( "<font color=\"blue\">" + htmlCode + "</font>" );
-
- mView->clear();
- mView->setText( mHTMLMessages.join( "<br>" ) );
-}
-
-#include "debugdialog.moc"
diff --git a/kresources/egroupware/debugdialog.h b/kresources/egroupware/debugdialog.h
deleted file mode 100644
index bde17988..00000000
--- a/kresources/egroupware/debugdialog.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef DEBUGDIALOG_H
-#define DEBUGDIALOG_H
-
-#include <kdialogbase.h>
-
-class KTextBrowser;
-
-/**
- A dialog that parses chunks of XML documents and
- displays them in a treeview.
- */
-class DebugDialog : public KDialogBase
-{
- Q_OBJECT
-
-
- public:
- /**
- The type of the message.
- */
- enum Type { Input, Output };
-
- /**
- Starts the debug dialog depending on the presence
- of the environment variable EGROUPWARE_DEBUG.
- */
- static void init();
-
- /**
- Destructor.
- */
- ~DebugDialog();
-
- /**
- Adds a message, which will be shown by the dialog.
- */
- static void addMessage( const TQString &msg, Type type );
-
- private slots:
- void clear();
- void save();
-
- protected slots:
- virtual void slotUser1();
- virtual void slotUser2();
-
- private:
- DebugDialog();
- static DebugDialog *mSelf;
-
- void addText( const TQString&, Type );
-
- TQStringList mMessages;
- TQStringList mHTMLMessages;
-
- KTextBrowser *mView;
-};
-
-#endif
diff --git a/kresources/egroupware/kabc_egroupwareprefs.kcfgc b/kresources/egroupware/kabc_egroupwareprefs.kcfgc
deleted file mode 100644
index 959ab20b..00000000
--- a/kresources/egroupware/kabc_egroupwareprefs.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kabc_egroupware.kcfg
-ClassName=EGroupwarePrefs
-NameSpace=KABC
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/egroupware/kabc_resourcexmlrpc.cpp b/kresources/egroupware/kabc_resourcexmlrpc.cpp
deleted file mode 100644
index 84e78382..00000000
--- a/kresources/egroupware/kabc_resourcexmlrpc.cpp
+++ /dev/null
@@ -1,774 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-
-#include <kabc/addressee.h>
-#include <kabprefs.h>
-#include <kconfig.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kmdcodec.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <libkcal/freebusyurlstore.h>
-#include <libtdepim/kpimprefs.h>
-
-#include "kabc_egroupwareprefs.h"
-#include "kabc_resourcexmlrpc.h"
-#include "kabc_resourcexmlrpcconfig.h"
-
-#include "access.h"
-#include "synchronizer.h"
-#include "xmlrpciface.h"
-
-using namespace KABC;
-
-static const TQString SearchContactsCommand = "addressbook.boaddressbook.search";
-static const TQString AddContactCommand = "addressbook.boaddressbook.write";
-static const TQString DeleteContactCommand = "addressbook.boaddressbook.delete";
-static const TQString LoadCategoriesCommand = "addressbook.boaddressbook.categories";
-static const TQString LoadCustomFieldsCommand = "addressbook.boaddressbook.customfields";
-
-static void setRights( KABC::Addressee &addr, int rights )
-{
- addr.insertCustom( "EGWRESOURCE", "RIGHTS", TQString::number( rights ) );
-}
-
-static int rights( const KABC::Addressee &addr )
-{
- return addr.custom( "EGWRESOURCE", "RIGHTS" ).toInt();
-}
-
-ResourceXMLRPC::ResourceXMLRPC( const TDEConfig *config )
- : ResourceCached( config ), mServer( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- mPrefs->readConfig();
- } else {
- setResourceName( i18n( "eGroupware Server" ) );
- }
-
- initEGroupware();
-}
-
-ResourceXMLRPC::ResourceXMLRPC( const TQString &url, const TQString &domain,
- const TQString &user, const TQString &password )
- : ResourceCached( 0 ), mServer( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->setUrl( url );
- mPrefs->setDomain( domain );
- mPrefs->setUser( user );
- mPrefs->setPassword( password );
-
- initEGroupware();
-}
-
-void ResourceXMLRPC::init()
-{
- setType( "xmlrpc" );
-
- mSynchronizer = new Synchronizer;
-
- mPrefs = new EGroupwarePrefs;
-}
-
-void ResourceXMLRPC::initEGroupware()
-{
- KURL url( mPrefs->url() );
-
- mAddrTypes.insert( "dom", Address::Dom );
- mAddrTypes.insert( "intl", Address::Intl );
- mAddrTypes.insert( "parcel", Address::Parcel );
- mAddrTypes.insert( "postal", Address::Postal );
-}
-
-ResourceXMLRPC::~ResourceXMLRPC()
-{
- saveCache();
-
- delete mServer;
- mServer = 0;
-
- delete mPrefs;
- mPrefs = 0;
-
- delete mSynchronizer;
- mSynchronizer = 0;
-}
-
-void ResourceXMLRPC::writeConfig( TDEConfig *config )
-{
- Resource::writeConfig( config );
-
- mPrefs->writeConfig();
-}
-
-Ticket *ResourceXMLRPC::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceXMLRPC::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-bool ResourceXMLRPC::doOpen()
-{
- if ( mServer )
- delete mServer;
-
- mServer = new KXMLRPC::Server( KURL(), this );
- mServer->setUrl( KURL( mPrefs->url() ) );
- mServer->setUserAgent( "KDE-AddressBook" );
-
- TQMap<TQString, TQVariant> args;
- args.insert( "domain", mPrefs->domain() );
- args.insert( "username", mPrefs->user() );
- args.insert( "password", mPrefs->password() );
-
- mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-
- return true;
-}
-
-void ResourceXMLRPC::doClose()
-{
- TQMap<TQString, TQVariant> args;
- args.insert( "sessionid", mSessionID );
- args.insert( "kp3", mKp3 );
-
- mServer->call( "system.logout", TQVariant( args ),
- this, TQT_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-}
-
-bool ResourceXMLRPC::load()
-{
- mAddrMap.clear();
-
- return true;
-}
-
-bool ResourceXMLRPC::asyncLoad()
-{
- if ( !mServer )
- return false;
-
- mAddrMap.clear();
-
- loadCache();
-
- TQMap<TQString, TQVariant> args;
- args.insert( "start", "0" );
- args.insert( "query", "" );
- args.insert( "filter", "" );
- args.insert( "sort", "" );
- args.insert( "order", "" );
- args.insert( "include_users", "calendar" );
-
- mServer->call( SearchContactsCommand, args,
- this, TQT_SLOT( listContactsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mServer->call( LoadCategoriesCommand, TQVariant( false, 0 ),
- this, TQT_SLOT( loadCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mServer->call( LoadCustomFieldsCommand, TQVariant( TQValueList<TQVariant>() ),
- this, TQT_SLOT( loadCustomFieldsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- return true;
-}
-
-
-bool ResourceXMLRPC::save( Ticket *ticket )
-{
- return asyncSave( ticket );
-}
-
-bool ResourceXMLRPC::asyncSave( Ticket* )
-{
- KABC::Addressee::List::ConstIterator it;
-
- const KABC::Addressee::List addedList = addedAddressees();
- for ( it = addedList.begin(); it != addedList.end(); ++it ) {
- addContact( *it );
- }
-
- const KABC::Addressee::List changedList = changedAddressees();
- for ( it = changedList.begin(); it != changedList.end(); ++it ) {
- updateContact( *it );
- }
-
- const KABC::Addressee::List deletedList = deletedAddressees();
- for ( it = deletedList.begin(); it != deletedList.end(); ++it ) {
- deleteContact( *it );
- }
-
- return true;
-}
-
-void ResourceXMLRPC::addContact( const Addressee& addr )
-{
- TQMap<TQString, TQVariant> args;
- writeContact( addr, args );
-
- mServer->call( AddContactCommand, args,
- this, TQT_SLOT( addContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( addContactFault( int, const TQString&, const TQVariant& ) ),
- TQVariant( addr.uid() ) );
-}
-
-void ResourceXMLRPC::updateContact( const Addressee& addr )
-{
- if ( !(rights( addr ) & EGW_ACCESS_DELETE) && (rights( addr ) != -1) ) {
- clearChange( addr.uid() );
- return;
- }
-
- TQMap<TQString, TQVariant> args;
- writeContact( addr, args );
-
- args.insert( "id", idMapper().remoteId( addr.uid() ) );
- mServer->call( AddContactCommand, args,
- this, TQT_SLOT( updateContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( updateContactFault( int, const TQString&, const TQVariant& ) ),
- TQVariant( addr.uid() ) );
-}
-
-void ResourceXMLRPC::deleteContact( const Addressee& addr )
-{
- if ( !(rights( addr ) & EGW_ACCESS_DELETE) && rights( addr ) != -1 ) {
- clearChange( addr.uid() );
- idMapper().removeRemoteId( idMapper().remoteId( addr.uid() ) );
- return;
- }
-
- mServer->call( DeleteContactCommand, idMapper().remoteId( addr.uid() ),
- this, TQT_SLOT( deleteContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( deleteContactFault( int, const TQString&, const TQVariant& ) ),
- TQVariant( addr.uid() ) );
-}
-
-void ResourceXMLRPC::loginFinished( const TQValueList<TQVariant> &variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[0].toMap();
-
- KURL url( mPrefs->url() );
- if ( map[ "GOAWAY" ].toString() == "XOXO" ) { // failed
- mSessionID = mKp3 = "";
- addressBook()->error( i18n( "Login failed, please check your username and password." ) );
- } else {
- mSessionID = map[ "sessionid" ].toString();
- mKp3 = map[ "kp3" ].toString();
- }
-
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::logoutFinished( const TQValueList<TQVariant> &variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[0].toMap();
-
- if ( map[ "GOODBYE" ].toString() != "XOXO" )
- addressBook()->error( i18n( "Logout failed, please check your username and password." ) );
-
- KURL url( mPrefs->url() );
- mSessionID = mKp3 = "";
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::listContactsFinished( const TQValueList<TQVariant> &mapList,
- const TQVariant& )
-{
- const TQValueList<TQVariant> contactList = mapList[ 0 ].toList();
- TQValueList<TQVariant>::ConstIterator contactIt;
-
- KABC::Addressee::List serverContacts;
- for ( contactIt = contactList.begin(); contactIt != contactList.end(); ++contactIt ) {
- const TQMap<TQString, TQVariant> map = (*contactIt).toMap();
-
- Addressee addr;
- TQString uid;
-
- readContact( map, addr, uid );
-
- if ( !addr.isEmpty() ) {
- addr.setResource( this );
- addr.setChanged( false );
-
- TQString local = idMapper().localId( uid );
- if ( local.isEmpty() ) { // new entry
- idMapper().setRemoteId( addr.uid(), uid );
- } else {
- addr.setUid( local );
- }
-
- mAddrMap.insert( addr.uid(), addr );
- serverContacts.append( addr );
- }
- }
-
- cleanUpCache( serverContacts );
- saveCache();
-
- emit loadingFinished( this );
-}
-
-void ResourceXMLRPC::addContactFinished( const TQValueList<TQVariant> &list,
- const TQVariant &id )
-{
- clearChange( id.toString() );
- idMapper().setRemoteId( id.toString(), list[ 0 ].toString() );
-
- saveCache();
-}
-
-void ResourceXMLRPC::updateContactFinished( const TQValueList<TQVariant>&,
- const TQVariant &id )
-{
- clearChange( id.toString() );
-
- saveCache();
-}
-
-void ResourceXMLRPC::deleteContactFinished( const TQValueList<TQVariant>&,
- const TQVariant &id )
-{
- clearChange( id.toString() );
- idMapper().removeRemoteId( idMapper().remoteId( id.toString() ) );
-
- saveCache();
-}
-
-void ResourceXMLRPC::fault( int error, const TQString &errorMsg,
- const TQVariant& )
-{
- TQString msg = i18n( "<qt>Server sent error %1: <b>%2</b></qt>" ).arg( error ).arg( errorMsg );
- if ( addressBook() )
- addressBook()->error( msg );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::addContactFault( int, const TQString &errorMsg,
- const TQVariant &id )
-{
- KABC::Addressee addr = mAddrMap[ id.toString() ];
-
- mAddrMap.remove( addr.uid() );
-
- TQString msg = i18n( "Unable to add contact %1 to server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
-}
-
-void ResourceXMLRPC::updateContactFault( int, const TQString &errorMsg,
- const TQVariant &id )
-{
- KABC::Addressee addr = mAddrMap[ id.toString() ];
-
- TQString msg = i18n( "Unable to update contact %1 on server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
-}
-
-void ResourceXMLRPC::deleteContactFault( int, const TQString &errorMsg,
- const TQVariant &id )
-{
- KABC::Addressee addr;
-
- const KABC::Addressee::List deletedList = deletedAddressees();
- KABC::Addressee::List::ConstIterator it;
- for ( it = deletedList.begin(); it != deletedList.end(); ++it ) {
- if ( (*it).uid() == id.toString() ) {
- addr = *it;
- break;
- }
- }
-
- mAddrMap.insert( addr.uid(), addr );
-
- TQString msg = i18n( "Unable to delete contact %1 from server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
-}
-
-TQString ResourceXMLRPC::addrTypesToTypeStr( int typeMask )
-{
- TQStringList types;
- TQMap<TQString, int>::ConstIterator it;
- for ( it = mAddrTypes.begin(); it != mAddrTypes.end(); ++it )
- if ( it.data() & typeMask )
- types.append( it.key() );
-
- return types.join( ";" );
-}
-
-void ResourceXMLRPC::writeContact( const Addressee &addr, TQMap<TQString, TQVariant> &args )
-{
- args.insert( "access", ( addr.secrecy().type() == Secrecy::Private ? "private" : "public" ) );
- args.insert( "fn", addr.formattedName() );
- args.insert( "n_given", addr.givenName() );
- args.insert( "n_family", addr.familyName() );
- args.insert( "n_middle", addr.additionalName() );
- args.insert( "n_prefix", addr.prefix() );
- args.insert( "n_suffix", addr.suffix() );
-// args.insert( "sound", "sound" );
- args.insert( "bday", addr.birthday() );
- args.insert( "note", addr.note() );
- int hours = addr.timeZone().offset() / 60;
- args.insert( "tz", hours );
-// args.insert( "geo", "geo" );
- args.insert( "url", addr.url().url() );
-// args.insert( "pubkey", "pubkey" );
- args.insert( "org_name", addr.organization() );
-// args.insert( "org_unit", "org_unit" );
- args.insert( "title", addr.title() );
-
- // CATEGORIES
- TQStringList::ConstIterator catIt;
- const TQStringList categories = addr.categories();
-
- TQMap<TQString, TQVariant> catMap;
- int counter = 0;
- for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::ConstIterator it = mCategoryMap.find( *catIt );
- if ( it == mCategoryMap.end() ) // new category
- catMap.insert( TQString::number( counter-- ), *catIt );
- else
- catMap.insert( TQString::number( it.data() ), *catIt );
- }
- args.insert( "cat_id", catMap );
-
- Address workAddr = addr.address( Address::Work );
- if ( !workAddr.isEmpty() ) {
- args.insert( "adr_one_street", workAddr.street() );
- args.insert( "adr_one_locality", workAddr.locality() );
- args.insert( "adr_one_region", workAddr.region() );
- args.insert( "adr_one_postalcode", workAddr.postalCode() );
- args.insert( "adr_one_countryname", workAddr.country() );
-
- args.insert( "adr_one_type", addrTypesToTypeStr( workAddr.type() ) );
- args.insert( "label", workAddr.label() );
- }
-
- Address homeAddr = addr.address( Address::Home );
- if ( !homeAddr.isEmpty() ) {
- args.insert( "adr_two_street", homeAddr.street() );
- args.insert( "adr_two_locality", homeAddr.locality() );
- args.insert( "adr_two_region", homeAddr.region() );
- args.insert( "adr_two_postalcode", homeAddr.postalCode() );
- args.insert( "adr_two_countryname", homeAddr.country() );
- args.insert( "adr_two_type", addrTypesToTypeStr( homeAddr.type() ) );
- }
-
- PhoneNumber phone = addr.phoneNumber( PhoneNumber::Work );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_work", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Home );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_home", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Voice );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_voice", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Fax );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_fax", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Msg );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_msg", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Cell );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_cell", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Pager );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_pager", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Bbs );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_bbs", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Modem );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_modem", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Car );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_car", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Isdn );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_isdn", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Video );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_video", phone.number() );
-
- phone = addr.phoneNumber( PhoneNumber::Pref );
- if ( !phone.number().isEmpty() )
- args.insert( "tel_prefer", phone.number() );
-
- if ( !addr.preferredEmail().isEmpty() ) {
- args.insert( "email", addr.preferredEmail() );
- args.insert( "email_type", "INTERNET" );
- }
-
- if ( addr.emails().count() > 1 ) {
- args.insert( "email_home", addr.emails()[ 1 ] );
- args.insert( "email_home_type", "INTERNET" );
- }
-
-
- const TQStringList customFields = addr.customs();
- TQStringList::ConstIterator it;
- for ( it = customFields.begin(); it != customFields.end(); ++it ) {
- int colon = (*it).find( ":" );
- TQString identifier = (*it).left( colon );
- int dash = identifier.find( "-" );
- TQString app = identifier.left( dash );
- TQString name = identifier.mid( dash + 1 );
- TQString value = (*it).mid( colon + 1 );
- if ( value.isEmpty() )
- continue;
-
- if ( app == "XMLRPCResource" )
- args.insert( name, value );
- }
-
- TQString url = KCal::FreeBusyUrlStore::self()->readUrl( addr.preferredEmail() );
- if ( !url.isEmpty() )
- args.insert( "freebusy_url", url );
-}
-
-void ResourceXMLRPC::readContact( const TQMap<TQString, TQVariant> &args, Addressee &addr, TQString &uid )
-{
- Address addrOne, addrTwo;
-
- TQMap<TQString, TQVariant>::ConstIterator it;
- for ( it = args.begin(); it != args.end(); ++it ) {
- if ( it.key() == "id" ) {
- uid = it.data().toString();
- } else if ( it.key() == "access" ) {
- Secrecy secrecy;
- if ( it.data().toString() == "private" )
- secrecy.setType( Secrecy::Private );
- else
- secrecy.setType( Secrecy::Public );
-
- addr.setSecrecy( secrecy );
- } else if ( it.key() == "fn" ) {
- addr.setFormattedName( it.data().toString() );
- } else if ( it.key() == "n_given" ) {
- addr.setGivenName( it.data().toString() );
- } else if ( it.key() == "n_family" ) {
- addr.setFamilyName( it.data().toString() );
- } else if ( it.key() == "n_middle" ) {
- addr.setAdditionalName( it.data().toString() );
- } else if ( it.key() == "n_prefix" ) {
- addr.setPrefix( it.data().toString() );
- } else if ( it.key() == "n_suffix" ) {
- addr.setSuffix( it.data().toString() );
- } else if ( it.key() == "sound" ) {
- } else if ( it.key() == "bday" ) {
- addr.setBirthday( it.data().toDateTime() );
- } else if ( it.key() == "note" ) {
- addr.setNote( it.data().toString() );
- } else if ( it.key() == "tz" ) {
- int hour = it.data().toInt();
- TimeZone timeZone( hour * 60 );
- addr.setTimeZone( timeZone );
- } else if ( it.key() == "geo" ) {
- } else if ( it.key() == "url" ) {
- addr.setUrl( KURL( it.data().toString() ) );
- } else if ( it.key() == "pubkey" ) {
- } else if ( it.key() == "org_name" ) {
- addr.setOrganization( it.data().toString() );
- } else if ( it.key() == "org_unit" ) {
- } else if ( it.key() == "title" ) {
- addr.setTitle( it.data().toString() );
- } else if ( it.key() == "adr_one_street" ) {
- addrOne.setStreet( it.data().toString() );
- } else if ( it.key() == "adr_one_locality" ) {
- addrOne.setLocality( it.data().toString() );
- } else if ( it.key() == "adr_one_region" ) {
- addrOne.setRegion( it.data().toString() );
- } else if ( it.key() == "adr_one_postalcode" ) {
- addrOne.setPostalCode( it.data().toString() );
- } else if ( it.key() == "adr_one_countryname" ) {
- addrOne.setCountry( it.data().toString() );
- } else if ( it.key() == "adr_one_type" ) {
- TQStringList types = TQStringList::split( ';', it.data().toString() );
-
- int type = Address::Work;
- for ( uint i = 0; i < types.count(); ++i )
- type += mAddrTypes[ types[ i ] ];
-
- addrOne.setType( type );
- } else if ( it.key() == "label" ) {
- addrOne.setLabel( it.data().toString() );
- } else if ( it.key() == "adr_two_street" ) {
- addrTwo.setStreet( it.data().toString() );
- } else if ( it.key() == "adr_two_locality" ) {
- addrTwo.setLocality( it.data().toString() );
- } else if ( it.key() == "adr_two_region" ) {
- addrTwo.setRegion( it.data().toString() );
- } else if ( it.key() == "adr_two_postalcode" ) {
- addrTwo.setPostalCode( it.data().toString() );
- } else if ( it.key() == "adr_two_countryname" ) {
- addrTwo.setCountry( it.data().toString() );
- } else if ( it.key() == "adr_two_type" ) {
- TQStringList types = TQStringList::split( ';', it.data().toString() );
-
- int type = Address::Home;
- for ( uint i = 0; i < types.count(); ++i )
- type += mAddrTypes[ types[ i ] ];
-
- addrTwo.setType( type );
- } else if ( it.key() == "tel_work" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Work ) );
- } else if ( it.key() == "tel_home" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Home ) );
- } else if ( it.key() == "tel_voice" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Voice ) );
- } else if ( it.key() == "tel_fax" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Fax ) );
- } else if ( it.key() == "tel_msg" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Msg ) );
- } else if ( it.key() == "tel_cell" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Cell ) );
- } else if ( it.key() == "tel_pager" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Pager ) );
- } else if ( it.key() == "tel_bbs" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Bbs ) );
- } else if ( it.key() == "tel_modem" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Modem ) );
- } else if ( it.key() == "tel_car" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Car ) );
- } else if ( it.key() == "tel_isdn" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Isdn ) );
- } else if ( it.key() == "tel_video" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Video ) );
- } else if ( it.key() == "tel_prefer" ) {
- addr.insertPhoneNumber( PhoneNumber( it.data().toString(), PhoneNumber::Pref ) );
- } else if ( it.key() == "email" ) {
- addr.insertEmail( it.data().toString(), true );
- } else if ( it.key() == "email_type" ) {
- } else if ( it.key() == "email_home" ) {
- addr.insertEmail( it.data().toString(), false );
- } else if ( it.key() == "email_home_type" ) {
- } else if ( it.key() == "cat_id" ) {
- const TQMap<TQString, TQVariant> categories = it.data().toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- for ( it = categories.begin(); it != categories.end(); ++it )
- addr.insertCategory( it.data().toString() );
- } else if ( it.key() == "rights" ) {
- setRights( addr, it.data().toInt() );
- }
- }
-
- TQMap<TQString, TQString>::ConstIterator cfIt;
- for ( cfIt = mCustomFieldsMap.begin(); cfIt != mCustomFieldsMap.end(); ++cfIt ) {
- if ( args[ cfIt.key() ].toString().isEmpty() )
- continue;
-
- if ( cfIt.key() == "freebusy_url" ) {
- KCal::FreeBusyUrlStore::self()->writeUrl( addr.preferredEmail(),
- args[ cfIt.key() ].toString() );
- KCal::FreeBusyUrlStore::self()->sync();
- } else
- addr.insertCustom( "XMLRPCResource", cfIt.key(), cfIt.data() );
- }
-
- if ( !addrOne.isEmpty() )
- addr.insertAddress( addrOne );
- if ( !addrTwo.isEmpty() )
- addr.insertAddress( addrTwo );
-}
-
-void ResourceXMLRPC::loadCategoriesFinished( const TQValueList<TQVariant> &mapList,
- const TQVariant& )
-{
- mCategoryMap.clear();
-
- const TQMap<TQString, TQVariant> map = mapList[ 0 ].toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- KABPrefs *prefs = KABPrefs::instance();
- for ( it = map.begin(); it != map.end(); ++it ) {
- mCategoryMap.insert( it.data().toString(), it.key().toInt() );
-
- TQStringList categories = prefs->customCategories();
- if ( categories.find( it.data().toString() ) == categories.end() )
- categories.append( it.data().toString() );
-
- prefs->mCustomCategories = categories;
- }
-}
-
-void ResourceXMLRPC::loadCustomFieldsFinished( const TQValueList<TQVariant> &mapList,
- const TQVariant& )
-{
- mCustomFieldsMap.clear();
-
- const TQMap<TQString, TQVariant> map = mapList[ 0 ].toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- for ( it = map.begin(); it != map.end(); ++it )
- mCustomFieldsMap.insert( it.key(), it.data().toString() );
-}
-
-#include "kabc_resourcexmlrpc.moc"
diff --git a/kresources/egroupware/kabc_resourcexmlrpc.h b/kresources/egroupware/kabc_resourcexmlrpc.h
deleted file mode 100644
index d9b745aa..00000000
--- a/kresources/egroupware/kabc_resourcexmlrpc.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KABC_RESOURCEXMLRPC_H
-#define KABC_RESOURCEXMLRPC_H
-
-#include <tqmap.h>
-#include <tdepimmacros.h>
-
-#include "libtdepim/kabcresourcecached.h"
-
-class TDEConfig;
-class Synchronizer;
-
-namespace KXMLRPC {
-class Server;
-}
-
-namespace KABC {
-
-class EGroupwarePrefs;
-
-class KDE_EXPORT ResourceXMLRPC : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPC( const TDEConfig* );
- ResourceXMLRPC( const TQString &url, const TQString &domain,
- const TQString &user, const TQString &password );
- ~ResourceXMLRPC();
-
- virtual void writeConfig( TDEConfig* );
-
- EGroupwarePrefs *prefs() const { return mPrefs; }
-
- virtual bool doOpen();
- virtual void doClose();
-
- virtual Ticket *requestSaveTicket();
- virtual void releaseSaveTicket( Ticket* );
-
- virtual bool load();
- virtual bool asyncLoad();
- virtual bool save( Ticket * );
- virtual bool asyncSave( Ticket * );
-
- protected:
- void init();
-
- protected slots:
- void loginFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void logoutFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void listContactsFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void addContactFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void updateContactFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void deleteContactFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void loadCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void loadCustomFieldsFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void fault( int, const TQString&, const TQVariant& );
- void addContactFault( int, const TQString&, const TQVariant& );
- void updateContactFault( int, const TQString&, const TQVariant& );
- void deleteContactFault( int, const TQString&, const TQVariant& );
-
- void addContact( const KABC::Addressee& );
- void updateContact( const KABC::Addressee& );
- void deleteContact( const KABC::Addressee& );
-
- private:
- void initEGroupware();
-
- TQString addrTypesToTypeStr( int );
-
- void writeContact( const Addressee&, TQMap<TQString, TQVariant>& );
- void readContact( const TQMap<TQString, TQVariant>&, Addressee &addr, TQString& );
-
- EGroupwarePrefs *mPrefs;
-
- TQString mSessionID;
- TQString mKp3;
-
- TQMap<TQString, int> mCategoryMap;
- TQMap<TQString, int> mAddrTypes;
- TQMap<TQString, TQString> mCustomFieldsMap;
-
- KXMLRPC::Server *mServer;
- Synchronizer *mSynchronizer;
-
- class ResourceXMLRPCPrivate;
- ResourceXMLRPCPrivate *d;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/kabc_resourcexmlrpcconfig.cpp b/kresources/egroupware/kabc_resourcexmlrpcconfig.cpp
deleted file mode 100644
index ddafbd1f..00000000
--- a/kresources/egroupware/kabc_resourcexmlrpcconfig.cpp
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2002 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <kurlrequester.h>
-
-#include "kabc_egroupwareprefs.h"
-#include "kabc_resourcexmlrpc.h"
-#include "kabc_resourcexmlrpcconfig.h"
-
-using namespace KABC;
-
-ResourceXMLRPCConfig::ResourceXMLRPCConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 4, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "Domain:" ), this );
- mDomain = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mDomain, 1, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mUser, 2, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 3, 0 );
- mainLayout->addWidget( mPassword, 3, 1 );
-}
-
-void ResourceXMLRPCConfig::loadSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( resource->prefs()->url() );
- mDomain->setText( resource->prefs()->domain() );
- mUser->setText( resource->prefs()->user() );
- mPassword->setText( resource->prefs()->password() );
-}
-
-void ResourceXMLRPCConfig::saveSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setDomain( mDomain->text() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-}
-
-#include "kabc_resourcexmlrpcconfig.moc"
diff --git a/kresources/egroupware/kabc_resourcexmlrpcconfig.h b/kresources/egroupware/kabc_resourcexmlrpcconfig.h
deleted file mode 100644
index fb0c9b47..00000000
--- a/kresources/egroupware/kabc_resourcexmlrpcconfig.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2002 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef RESOURCEXMLRPCCONFIG_H
-#define RESOURCEXMLRPCCONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KLineEdit;
-class KURLRequester;
-
-namespace KABC {
-
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPCConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- private:
- KURLRequester *mURL;
- KLineEdit *mDomain;
- KLineEdit *mUser;
- KLineEdit *mPassword;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/kabc_resourcexmlrpcplugin.cpp b/kresources/egroupware/kabc_resourcexmlrpcplugin.cpp
deleted file mode 100644
index c4c0cc6c..00000000
--- a/kresources/egroupware/kabc_resourcexmlrpcplugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcexmlrpc.h"
-#include "kabc_resourcexmlrpcconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-typedef KRES::PluginFactory< ResourceXMLRPC, ResourceXMLRPCConfig > XMLRPCFactory;
-
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kabc_xmlrpc, XMLRPCFactory ); here
-// Problem: How to insert the catalogue!
-extern "C"
-{
- void *init_kabc_xmlrpc()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_xmlrpc" );
- return new XMLRPCFactory;
- }
-}
diff --git a/kresources/egroupware/kabc_xmlrpc.desktop b/kresources/egroupware/kabc_xmlrpc.desktop
deleted file mode 100644
index 6eeb94f3..00000000
--- a/kresources/egroupware/kabc_xmlrpc.desktop
+++ /dev/null
@@ -1,50 +0,0 @@
-[Desktop Entry]
-Name=eGroupware Server (via XML-RPC)
-Name[af]=eGroupware Bediener (via XML-RPC)
-Name[bg]=Сървър eGroupware (чрез XML-RPC)
-Name[br]=Servijer eGroupware (gant XML-RPC)
-Name[ca]=Servidor eGroupware (via XML-RPC)
-Name[cs]=eGroupware Server (přes XML-RPC)
-Name[da]=eGroupware server (via XML-RPC)
-Name[el]=Εξυπηρετητής eGroupware (μέσω XML-RPC)
-Name[es]=Servidor de eGroupware (por medio de XML-RPC)
-Name[et]=eGroupware server (XML-RPC vahendusel)
-Name[eu]=eGroupware zerbitzaria (XML-RPC bidez)
-Name[fa]=کارساز eGroupware (از طریق XML-RPC)
-Name[fi]=eGroupware-palvelin (XML-RPC kautta)
-Name[fr]=Serveur eGroupware (via XML-RPC)
-Name[fy]=eGroupware-tsjinner (fia XML-RPC)
-Name[ga]=Freastalaí eGroupware (via XML-RPC)
-Name[gl]=Servidor eGroupware (mediante XML-RPC)
-Name[hu]=eGroupware-kiszolgáló (XML-RPC-n keresztül)
-Name[is]=eGroupware þjónn (gegnum XML-RPC)
-Name[it]=Server eGroupware (via XML-RPC)
-Name[ja]=eGroupware サーバ (XML-RPC 経由)
-Name[kk]=eGroupware сервері (XML-RPC арқылы)
-Name[km]=ម៉ាស៊ីន​បម្រើ eGroupware (តាម​រយៈ XML-RPC)
-Name[lt]=eGroupware serveris (per XML-RPC)
-Name[ms]=Pelayan eGroupware (melalui XML-RPC)
-Name[nb]=eGroupware-tjener (via XML-RPPC)
-Name[nds]=eGroupware-Server (över XML-RPC)
-Name[ne]=(XML-RPC मार्फत) eGroupware सर्भर
-Name[nl]=eGroupware-server (via XML-RPC)
-Name[nn]=eGroupware-tenar (via XML-RPC)
-Name[pl]=Serwer eGroupware (poprzez XML-RPC)
-Name[pt]=Servidor eGroupware (via XML-RPC)
-Name[pt_BR]=Servidor eGroupware (via XML-RPC)
-Name[ru]=Сервер eGroupware (через XML-RPC)
-Name[sk]=eGroupware Server (cez XML-RPC)
-Name[sl]=Strežnik eGroupware (preko XML-RPC)
-Name[sr]=eGroupware сервер (преко XML-RPC)
-Name[sr@Latn]=eGroupware server (preko XML-RPC)
-Name[sv]=eGroupware-server (via XML-RPC)
-Name[ta]=eGroupware சேவகன் (via XML-RPC)
-Name[tr]=eGroupware Sunucusu (XML-RPC ile)
-Name[uk]=Сервер eGroupware (через XML-RPC)
-Name[zh_CN]=eGroupware 服务器(通过 XML-RPC)
-Name[zh_TW]=eGroupware 伺服器(透過 XML-RPC)
-X-TDE-Library=kabc_xmlrpc
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=xmlrpc
diff --git a/kresources/egroupware/kcal_egroupwareprefs.kcfgc b/kresources/egroupware/kcal_egroupwareprefs.kcfgc
deleted file mode 100644
index 0ede5926..00000000
--- a/kresources/egroupware/kcal_egroupwareprefs.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_egroupware.kcfg
-ClassName=EGroupwarePrefs
-NameSpace=KCal
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.cpp b/kresources/egroupware/kcal_resourcexmlrpc.cpp
deleted file mode 100644
index 1224a27c..00000000
--- a/kresources/egroupware/kcal_resourcexmlrpc.cpp
+++ /dev/null
@@ -1,1206 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <stdlib.h>
-#include <typeinfo>
-
-#include <tqapplication.h>
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqstringlist.h>
-#include <tqtimer.h>
-
-#include <kabc/locknull.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kresources/configwidget.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <kurl.h>
-#include <libtdepim/kpimprefs.h>
-
-#include "libkcal/vcaldrag.h"
-#include "libkcal/vcalformat.h"
-#include "libkcal/icalformat.h"
-#include "libkcal/exceptions.h"
-#include "libkcal/incidence.h"
-#include "libkcal/event.h"
-#include "libkcal/todo.h"
-#include "libkcal/journal.h"
-#include "libkcal/filestorage.h"
-#include "libkcal/alarm.h"
-
-#include "kcal_egroupwareprefs.h"
-#include "kcal_resourcexmlrpcconfig.h"
-#include "kcal_resourcexmlrpc.h"
-
-#include "access.h"
-#include "synchronizer.h"
-#include "xmlrpciface.h"
-
-#define CAL_PRIO_LOW 1
-#define CAL_PRIO_NORMAL 2
-#define CAL_PRIO_HIGH 3
-
-#define CAL_RECUR_NONE 0
-#define CAL_RECUR_DAILY 1
-#define CAL_RECUR_WEEKLY 2
-#define CAL_RECUR_MONTHLY_MDAY 3
-#define CAL_RECUR_MONTHLY_WDAY 4
-#define CAL_RECUR_YEARLY 5
-#define CAL_SUNDAY 1
-#define CAL_MONDAY 2
-#define CAL_TUESDAY 4
-#define CAL_WEDNESDAY 8
-#define CAL_THURSDAY 16
-#define CAL_FRIDAY 32
-#define CAL_SATURDAY 64
-#define CAL_WEEKDAYS 62
-#define CAL_WEEKEND 65
-#define CAL_ALLDAYS 127
-
-using namespace KCal;
-
-typedef KRES::PluginFactory<ResourceXMLRPC, ResourceXMLRPCConfig> XMLRPCFactory;
-K_EXPORT_COMPONENT_FACTORY( kcal_xmlrpc, XMLRPCFactory )
-
-
-static const TQString SearchEventsCommand = "calendar.bocalendar.search";
-static const TQString AddEventCommand = "calendar.bocalendar.write";
-static const TQString DeleteEventCommand = "calendar.bocalendar.delete";
-static const TQString LoadEventCategoriesCommand = "calendar.bocalendar.categories";
-
-static const TQString SearchTodosCommand = "infolog.boinfolog.search";
-static const TQString AddTodoCommand = "infolog.boinfolog.write";
-static const TQString DeleteTodoCommand = "infolog.boinfolog.delete";
-static const TQString LoadTodoCategoriesCommand = "infolog.boinfolog.categories";
-
-static void setRights( Incidence *incidence, int rights )
-{
- incidence->setCustomProperty( "EGWRESOURCE", "RIGHTS", TQString::number( rights ) );
-}
-
-static int rights( Incidence *incidence )
-{
- return incidence->customProperty( "EGWRESOURCE", "RIGHTS" ).toInt();
-}
-
-ResourceXMLRPC::ResourceXMLRPC( const TDEConfig* config )
- : ResourceCached( config ), mServer( 0 ), mLock( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "eGroupware Server" ) );
- }
-
- initEGroupware();
-}
-
-ResourceXMLRPC::ResourceXMLRPC( )
- : ResourceCached( 0 ), mServer( 0 ), mLock( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- initEGroupware();
-}
-
-ResourceXMLRPC::~ResourceXMLRPC()
-{
- disableChangeNotification();
-
- delete mServer;
- mServer = 0;
-
- delete mLock;
- mLock = 0;
-
- delete mPrefs;
- mPrefs = 0;
-
- delete mSynchronizer;
- mSynchronizer = 0;
-}
-
-void ResourceXMLRPC::init()
-{
- setType( "xmlrpc" );
-
- mTodoStateMapper.setPath( "kcal/todostatemap/" );
-
- mPrefs = new EGroupwarePrefs;
- mLoaded = 0;
-
- mLock = new KABC::LockNull( true );
- mSynchronizer = new Synchronizer();
-}
-
-void ResourceXMLRPC::initEGroupware()
-{
- KURL url( mPrefs->url() );
-}
-
-void ResourceXMLRPC::readConfig( const TDEConfig* config )
-{
- mPrefs->readConfig();
-
- ResourceCached::readConfig( config );
-}
-
-void ResourceXMLRPC::writeConfig( TDEConfig* config )
-{
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-
- ResourceCached::writeConfig( config );
-}
-
-bool ResourceXMLRPC::doOpen()
-{
- kdDebug(5800) << "ResourceXMLRPC::doOpen()" << endl;
-
- if ( mServer )
- delete mServer;
-
- mServer = new KXMLRPC::Server( KURL(), this );
- mServer->setUrl( KURL( mPrefs->url() ) );
- mServer->setUserAgent( "KDE-Calendar" );
-
- TQMap<TQString, TQVariant> args;
- args.insert( "domain", mPrefs->domain() );
- args.insert( "username", mPrefs->user() );
- args.insert( "password", mPrefs->password() );
-
- mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-
- return true;
-}
-
-void ResourceXMLRPC::doClose()
-{
- kdDebug(5800) << "ResourceXMLRPC::doClose()" << endl;
-
- TQMap<TQString, TQVariant> args;
- args.insert( "sessionid", mSessionID );
- args.insert( "kp3", mKp3 );
-
- mServer->call( "system.logout", TQVariant( args ),
- this, TQT_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-}
-
-bool ResourceXMLRPC::doLoad()
-{
- kdDebug() << "ResourceXMLRPC::load()" << endl;
-
- mCalendar.close();
-
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-
- clearChanges();
-
- loadCache();
- mTodoStateMapper.setIdentifier( type() + "_" + identifier() );
- mTodoStateMapper.load();
-
- TQMap<TQString, TQVariant> args, columns;
- args.insert( "start", TQDateTime( TQDate::currentDate().addDays( -12 ) ) );
- args.insert( "end", TQDateTime( TQDate::currentDate().addDays( 2000 ) ) );
-
- mServer->call( SearchEventsCommand, args,
- this, TQT_SLOT( listEventsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- args.clear();
-
- columns.insert( "type", "task" );
- args.insert( "filter", "none" );
- args.insert( "col_filter", columns );
- args.insert( "order", "id_parent" );
-
- mServer->call( SearchTodosCommand, args,
- this, TQT_SLOT( listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mServer->call( LoadEventCategoriesCommand, TQVariant( TQMap<TQString, TQVariant>() ),
- this, TQT_SLOT( loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mServer->call( LoadTodoCategoriesCommand, TQVariant( false, 0 ),
- this, TQT_SLOT( loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- return true;
-}
-
-bool ResourceXMLRPC::doSave()
-{
- if ( readOnly() || !hasChanges() ) {
- emit resourceSaved( this );
- return true;
- }
-
- saveCache();
-
- const Event::List events = mCalendar.rawEvents();
- Event::List::ConstIterator evIt;
-
- uint counter = 0;
- for ( evIt = events.begin(); evIt != events.end(); ++evIt ) {
- if ( !(*evIt)->isReadOnly() ) {
- TQMap<TQString, TQVariant> args;
- writeEvent( (*evIt), args );
-
- args.insert( "id", idMapper().remoteId( (*evIt)->uid() ).toInt() );
- mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- counter++;
- }
- }
-
- const Todo::List todos = mCalendar.rawTodos();
- Todo::List::ConstIterator todoIt;
-
- for ( todoIt = todos.begin(); todoIt != todos.end(); ++todoIt ) {
- if ( !(*todoIt)->isReadOnly() ) {
- TQMap<TQString, TQVariant> args;
- writeTodo( (*todoIt), args );
-
- args.insert( "id", idMapper().remoteId( (*todoIt)->uid() ).toInt() );
- mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- counter++;
- }
- }
-
- if ( counter != 0 )
- mSynchronizer->start();
-
- mTodoStateMapper.save();
-
- return true;
-}
-
-bool ResourceXMLRPC::isSaving()
-{
- return false;
-}
-
-KABC::Lock *ResourceXMLRPC::lock()
-{
- return mLock;
-}
-
-
-bool ResourceXMLRPC::addEvent( Event* ev )
-{
- TQMap<TQString, TQVariant> args;
-
- disableChangeNotification();
-
- setRights( ev, EGW_ACCESS_ALL );
- Event *oldEvent = mCalendar.event( ev->uid() );
- if ( oldEvent ) { // already exists
- if ( !oldEvent->isReadOnly() ) {
- writeEvent( ev, args );
- args.insert( "id", idMapper().remoteId( ev->uid() ).toInt() );
- mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mCalendar.deleteIncidence( oldEvent );
- mCalendar.addIncidence( ev );
- saveCache();
- }
- } else { // new event
- writeEvent( ev, args );
- mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( addEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( ev->uid() ) );
-
- mCalendar.addEvent( ev );
- saveCache();
- }
-
- enableChangeNotification();
-
- return true;
-}
-
-bool ResourceXMLRPC::deleteEvent( Event* ev )
-{
- if ( !(rights( ev ) & EGW_ACCESS_DELETE) && rights( ev ) != -1 )
- return false;
-
- mServer->call( DeleteEventCommand, idMapper().remoteId( ev->uid() ).toInt(),
- this, TQT_SLOT( deleteEventFinished( const TQValueList<TQVariant>&,
- const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( ev->uid() ) );
- return true;
-}
-
-
-Event *ResourceXMLRPC::event( const TQString& uid )
-{
- return mCalendar.event( uid );
-}
-
-Event::List ResourceXMLRPC::rawEventsForDate( const TQDate& qd,
- EventSortField sortField,
- SortDirection sortDirection )
-{
- return mCalendar.rawEventsForDate( qd, sortField, sortDirection );
-}
-
-
-Event::List ResourceXMLRPC::rawEvents( const TQDate& start, const TQDate& end,
- bool inclusive )
-{
- return mCalendar.rawEvents( start, end, inclusive );
-}
-
-Event::List ResourceXMLRPC::rawEventsForDate( const TQDateTime& qdt )
-{
- return mCalendar.rawEventsForDate( qdt.date() );
-}
-
-Event::List ResourceXMLRPC::rawEvents()
-{
- return mCalendar.rawEvents();
-}
-
-
-bool ResourceXMLRPC::addTodo( Todo *todo )
-{
- TQMap<TQString, TQVariant> args;
-
- disableChangeNotification();
-
- setRights( todo, EGW_ACCESS_ALL );
- Todo *oldTodo = mCalendar.todo( todo->uid() );
- if ( oldTodo ) { // already exists
- if ( !oldTodo->isReadOnly() ) {
- writeTodo( todo, args );
- args.insert( "id", idMapper().remoteId( todo->uid() ).toInt() );
- mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mCalendar.deleteIncidence( oldTodo );
- mCalendar.addIncidence( todo );
- saveCache();
- }
- } else { // new todo
- writeTodo( todo, args );
- mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( addTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( todo->uid() ) );
-
- mCalendar.addTodo( todo );
- saveCache();
- }
-
- enableChangeNotification();
-
- return true;
-}
-
-bool ResourceXMLRPC::deleteTodo( Todo *todo )
-{
- if ( !(rights( todo ) & EGW_ACCESS_DELETE) && rights( todo ) != -1 )
- return false;
-
- mServer->call( DeleteTodoCommand, idMapper().remoteId( todo->uid() ).toInt(),
- this, TQT_SLOT( deleteTodoFinished( const TQValueList<TQVariant>&,
- const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( todo->uid() ) );
- return true;
-}
-
-Todo::List ResourceXMLRPC::rawTodos()
-{
- return mCalendar.rawTodos();
-}
-
-Todo *ResourceXMLRPC::todo( const TQString& uid )
-{
- return mCalendar.todo( uid );
-}
-
-Todo::List ResourceXMLRPC::rawTodosForDate( const TQDate& date )
-{
- return mCalendar.rawTodosForDate( date );
-}
-
-bool ResourceXMLRPC::addJournal( Journal* journal )
-{
- return mCalendar.addJournal( journal );
-}
-
-bool ResourceXMLRPC::deleteJournal( Journal* journal )
-{
- return mCalendar.deleteJournal( journal );
-}
-
-Journal::List ResourceXMLRPC::journals( const TQDate& date )
-{
- return mCalendar.journals( date );
-}
-
-Journal *ResourceXMLRPC::journal( const TQString& uid )
-{
- return mCalendar.journal( uid );
-}
-
-
-Alarm::List ResourceXMLRPC::alarmsTo( const TQDateTime& to )
-{
- return mCalendar.alarmsTo( to );
-}
-
-Alarm::List ResourceXMLRPC::alarms( const TQDateTime& from, const TQDateTime& to )
-{
- return mCalendar.alarms( from, to );
-}
-
-void ResourceXMLRPC::dump() const
-{
- ResourceCalendar::dump();
-}
-
-void ResourceXMLRPC::reload()
-{
- load();
-}
-
-
-void ResourceXMLRPC::loginFinished( const TQValueList<TQVariant>& variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[ 0 ].toMap();
-
- KURL url = KURL( mPrefs->url() );
- if ( map[ "GOAWAY" ].toString() == "XOXO" ) { // failed
- mSessionID = mKp3 = "";
- } else {
- mSessionID = map[ "sessionid" ].toString();
- mKp3 = map[ "kp3" ].toString();
- }
-
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::logoutFinished( const TQValueList<TQVariant>& variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[ 0 ].toMap();
-
- if ( map[ "GOODBYE" ].toString() != "XOXO" )
- kdError() << "logout failed" << endl;
-
- KURL url = KURL( mPrefs->url() );
- mSessionID = mKp3 = "";
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::listEventsFinished( const TQValueList<TQVariant>& list,
- const TQVariant& )
-{
- const TQValueList<TQVariant> eventList = list[ 0 ].toList();
- TQValueList<TQVariant>::ConstIterator eventIt;
-
- disableChangeNotification();
-
- Event::List retrievedEvents;
-
- bool changed = false;
- for ( eventIt = eventList.begin(); eventIt != eventList.end(); ++eventIt ) {
- TQMap<TQString, TQVariant> map = (*eventIt).toMap();
-
- Event *event = new Event;
- event->setFloats( false );
-
- TQString uid;
- readEvent( map, event, uid );
-
- // do we already have this event?
- Event *oldEvent = 0;
- TQString localUid = idMapper().localId( uid );
- if ( !localUid.isEmpty() )
- oldEvent = mCalendar.event( localUid );
-
- if ( oldEvent ) {
- event->setUid( oldEvent->uid() );
- event->setCreated( oldEvent->created() );
-
- if ( !(*oldEvent == *event) ) {
- mCalendar.deleteEvent( oldEvent );
- mCalendar.addEvent( event );
- retrievedEvents.append( event );
- changed = true;
- } else
- delete event;
- } else {
- if ( !localUid.isEmpty() )
- event->setUid( localUid );
- idMapper().setRemoteId( event->uid(), uid );
- mCalendar.addEvent( event );
- retrievedEvents.append( event );
- changed = true;
- }
- }
-
- enableChangeNotification();
-
- clearChanges();
-
-
- if ( changed ) {
- cleanUpEventCache( retrievedEvents );
- saveCache();
- emit resourceChanged( this );
- }
-
- checkLoadingFinished();
-}
-
-void ResourceXMLRPC::deleteEventFinished( const TQValueList<TQVariant>&,
- const TQVariant& id )
-{
- idMapper().removeRemoteId( idMapper().remoteId( id.toString() ) );
-
- Event *ev = mCalendar.event( id.toString() );
-
- disableChangeNotification();
- mCalendar.deleteEvent( ev );
- saveCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-}
-
-void ResourceXMLRPC::updateEventFinished( const TQValueList<TQVariant>&,
- const TQVariant& )
-{
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::addEventFinished( const TQValueList<TQVariant>& list,
- const TQVariant& id )
-{
- idMapper().setRemoteId( id.toString(), list[ 0 ].toString() );
-
- emit resourceChanged( this );
-}
-
-void ResourceXMLRPC::loadEventCategoriesFinished( const TQValueList<TQVariant> &mapList, const TQVariant& )
-{
- mEventCategoryMap.clear();
-
- const TQMap<TQString, TQVariant> map = mapList[ 0 ].toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- KPimPrefs prefs( "korganizerrc" );
- for ( it = map.begin(); it != map.end(); ++it ) {
- mEventCategoryMap.insert( it.data().toString(), it.key().toInt() );
-
- if ( prefs.mCustomCategories.find( it.data().toString() ) == prefs.mCustomCategories.end() )
- prefs.mCustomCategories.append( it.data().toString() );
- }
-
- prefs.usrWriteConfig();
- prefs.config()->sync();
-
- checkLoadingFinished();
-}
-
-void ResourceXMLRPC::listTodosFinished( const TQValueList<TQVariant>& list,
- const TQVariant& )
-{
- const TQValueList<TQVariant> todoList = list[ 0 ].toList();
- TQValueList<TQVariant>::ConstIterator todoIt;
-
- disableChangeNotification();
-
- Todo::List retrievedTodos;
-
- bool changed = false;
- for ( todoIt = todoList.begin(); todoIt != todoList.end(); ++todoIt ) {
- TQMap<TQString, TQVariant> map = (*todoIt).toMap();
-
- Todo *todo = new Todo;
-
- TQString uid;
- readTodo( map, todo, uid );
-
- // do we already have this todo?
- Todo *oldTodo = 0;
- TQString localUid = idMapper().localId( uid );
- if ( !localUid.isEmpty() )
- oldTodo = mCalendar.todo( localUid );
-
- if ( oldTodo ) {
- todo->setUid( oldTodo->uid() );
- todo->setCreated( oldTodo->created() );
-
- if ( !(*oldTodo == *todo) ) {
- mCalendar.deleteTodo( oldTodo );
- mCalendar.addTodo( todo );
- retrievedTodos.append( todo );
- changed = true;
- } else
- delete todo;
- } else {
- idMapper().setRemoteId( todo->uid(), uid );
- mCalendar.addTodo( todo );
- retrievedTodos.append( todo );
- changed = true;
- }
- }
-
- enableChangeNotification();
-
- if ( changed ) {
- cleanUpTodoCache( retrievedTodos );
- saveCache();
- emit resourceChanged( this );
- }
-
- checkLoadingFinished();
-}
-
-void ResourceXMLRPC::deleteTodoFinished( const TQValueList<TQVariant>&,
- const TQVariant& id )
-{
- idMapper().removeRemoteId( idMapper().remoteId( id.toString() ) );
- mTodoStateMapper.remove( idMapper().remoteId( id.toString() ) );
-
- Todo *todo = mCalendar.todo( id.toString() );
- disableChangeNotification();
- mCalendar.deleteTodo( todo );
- saveCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-}
-
-void ResourceXMLRPC::addTodoFinished( const TQValueList<TQVariant>& list,
- const TQVariant& id )
-{
- idMapper().setRemoteId( id.toString(), list[ 0 ].toString() );
-
- emit resourceChanged( this );
-}
-
-void ResourceXMLRPC::updateTodoFinished( const TQValueList<TQVariant>&,
- const TQVariant& )
-{
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::loadTodoCategoriesFinished( const TQValueList<TQVariant> &mapList, const TQVariant& )
-{
- mTodoCategoryMap.clear();
-
- const TQMap<TQString, TQVariant> map = mapList[ 0 ].toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- KPimPrefs prefs( "korganizerrc" );
- for ( it = map.begin(); it != map.end(); ++it ) {
- mTodoCategoryMap.insert( it.data().toString(), it.key().toInt() );
-
- if ( prefs.mCustomCategories.find( it.data().toString() ) == prefs.mCustomCategories.end() )
- prefs.mCustomCategories.append( it.data().toString() );
- }
-
- prefs.usrWriteConfig();
- prefs.config()->sync();
-
- checkLoadingFinished();
-}
-
-void ResourceXMLRPC::fault( int error, const TQString& errorMsg,
- const TQVariant& )
-{
- kdError() << "Server send error " << error << ": " << errorMsg << endl;
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::readEvent( const TQMap<TQString, TQVariant> &args, Event *event,
- TQString &uid )
-{
- // for recurrence
- int rType = CAL_RECUR_NONE;
- int rInterval = 1;
- int rData = 0;
- int rights = 0;
- TQDateTime rEndDate;
- TQValueList<TQDateTime> rExceptions;
-
- TQMap<TQString, TQVariant>::ConstIterator it;
- for ( it = args.begin(); it != args.end(); ++it ) {
- if ( it.key() == "id" ) {
- uid = it.data().toString();
- } else if ( it.key() == "rights" ) {
- rights = it.data().toInt();
- } else if ( it.key() == "start" ) {
- event->setDtStart( it.data().toDateTime() );
- } else if ( it.key() == "end" ) {
- TQDateTime start = args[ "start" ].toDateTime();
- TQDateTime end = it.data().toDateTime();
- if ( start.time() == end.time() &&
- start.time().hour() == 0 && start.time().minute() == 0 &&
- start.time().second() == 0 ) {
- event->setDtEnd( end.addDays( -1 ) );
- event->setFloats( true );
- } else {
- event->setDtEnd( end );
- event->setHasEndDate( true );
- }
- } else if ( it.key() == "modtime" ) {
- event->setLastModified( it.data().toDateTime() );
- } else if ( it.key() == "title" ) {
- event->setSummary( it.data().toString() );
- } else if ( it.key() == "description" ) {
- event->setDescription( it.data().toString() );
- } else if ( it.key() == "location" ) {
- event->setLocation( it.data().toString() );
- } else if ( it.key() == "access" ) {
- event->setSecrecy( (it.data().toString() == "public" ?
- Incidence::SecrecyPublic : Incidence::SecrecyPrivate) );
- } else if ( it.key() == "category" ) {
- const TQMap<TQString, TQVariant> categories = it.data().toMap();
- TQMap<TQString, TQVariant>::ConstIterator catIt;
-
- TQStringList eventCategories;
- for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- mEventCategoryMap.insert( catIt.data().toString(), catIt.key().toInt() );
- eventCategories.append( catIt.data().toString() );
- }
-
- event->setCategories( eventCategories );
- } else if ( it.key() == "priority" ) {
- int priority = 0;
-
- switch( it.data().toInt() ) {
- case CAL_PRIO_LOW:
- priority = 10;
- break;
- case CAL_PRIO_NORMAL:
- priority = 5;
- break;
- case CAL_PRIO_HIGH:
- priority = 1;
- }
-
- event->setPriority( priority );
- } else if ( it.key() == "recur_type" ) {
- rType = it.data().toInt();
- } else if ( it.key() == "recur_interval" ) {
- rInterval = it.data().toInt();
- } else if ( it.key() == "recur_enddate" ) {
- rEndDate = it.data().toDateTime();
- } else if ( it.key() == "recur_data" ) {
- rData = it.data().toInt();
- } else if ( it.key() == "recur_exception" ) {
- const TQMap<TQString, TQVariant> dateList = it.data().toMap();
- TQMap<TQString, TQVariant>::ConstIterator dateIt;
-
- for ( dateIt = dateList.begin(); dateIt != dateList.end(); ++dateIt )
- rExceptions.append( (*dateIt).toDateTime() );
- } else if ( it.key() == "participants" ) {
- const TQMap<TQString, TQVariant> persons = it.data().toMap();
- TQMap<TQString, TQVariant>::ConstIterator personsIt;
-
- for ( personsIt = persons.begin(); personsIt != persons.end(); ++personsIt ) {
- TQMap<TQString, TQVariant> person = (*personsIt).toMap();
- Attendee::PartStat status = Attendee::InProcess;
- if ( person[ "status" ] == "A" )
- status = Attendee::Accepted;
- else if ( person[ "status" ] == "R" )
- status = Attendee::Declined;
- else if ( person[ "status" ] == "T" )
- status = Attendee::Tentative;
- else if ( person[ "status" ] == "N" )
- status = Attendee::InProcess;
-
- Attendee *attendee = new Attendee( person[ "name" ].toString(),
- person[ "email" ].toString(),
- false, status );
- attendee->setUid( personsIt.key() );
- event->addAttendee( attendee );
- }
- } else if ( it.key() == "alarm" ) {
- const TQMap<TQString, TQVariant> alarmList = it.data().toMap();
- TQMap<TQString, TQVariant>::ConstIterator alarmIt;
-
- for ( alarmIt = alarmList.begin(); alarmIt != alarmList.end(); ++alarmIt ) {
- TQMap<TQString, TQVariant> alarm = (*alarmIt).toMap();
-
- Alarm *vAlarm = event->newAlarm();
- vAlarm->setText( event->summary() );
- vAlarm->setTime( alarm[ "time" ].toDateTime() );
- vAlarm->setStartOffset( alarm[ "offset" ].toInt() );
- vAlarm->setEnabled( alarm[ "enabled" ].toBool() );
- }
- }
- }
-
- if ( rType != CAL_RECUR_NONE && rInterval > 0 ) {
- Recurrence *re = event->recurrence();
-// re->setRecurStart( event->dtStart() );
-
-
- if ( rInterval == 0 ) // libkcal crashes with rInterval == 0
- rInterval = 1;
-
- switch ( rType ) {
- case CAL_RECUR_DAILY:
- re->setDaily( rInterval );
- break;
- case CAL_RECUR_WEEKLY: {
- TQBitArray weekMask( 7 );
- weekMask.setBit( 0, rData & CAL_MONDAY );
- weekMask.setBit( 1, rData & CAL_TUESDAY );
- weekMask.setBit( 2, rData & CAL_WEDNESDAY );
- weekMask.setBit( 3, rData & CAL_THURSDAY );
- weekMask.setBit( 4, rData & CAL_FRIDAY );
- weekMask.setBit( 5, rData & CAL_SATURDAY );
- weekMask.setBit( 6, rData & CAL_SUNDAY );
-
- re->setWeekly( rInterval, weekMask );
- break; }
- case CAL_RECUR_MONTHLY_MDAY:
- re->setMonthly( rInterval );
- break;
- case CAL_RECUR_MONTHLY_WDAY:
- re->setMonthly( rInterval );
- // TODO: Set the correct monthly pos
- break;
- case CAL_RECUR_YEARLY:
- re->setYearly( rInterval );
- break;
- }
- if ( rEndDate.date().isValid() )
- re->setEndDate( rEndDate.date() );
-
- TQValueList<TQDateTime>::ConstIterator exIt;
- for ( exIt = rExceptions.begin(); exIt != rExceptions.end(); ++exIt )
- re->addExDateTime( *exIt );
- }
-
- event->setReadOnly( !(rights & EGW_ACCESS_EDIT) );
- setRights( event, rights );
-}
-
-void ResourceXMLRPC::writeEvent( Event *event, TQMap<TQString, TQVariant> &args )
-{
- args.insert( "start", event->dtStart() );
-
- // handle all day events
- if ( event->doesFloat() )
- args.insert( "end", TQDateTime(event->dtEnd().addDays( 1 )) );
- else
- args.insert( "end", event->dtEnd() );
-
- args.insert( "modtime", event->lastModified() );
- args.insert( "title", event->summary() );
- args.insert( "description", event->description() );
- args.insert( "location", event->location() );
-
- // SECRECY
- args.insert( "access", (event->secrecy() == Incidence::SecrecyPublic ? "public" : "private") );
-
- // CATEGORY
- const TQStringList categories = event->categories();
- TQStringList::ConstIterator catIt;
- TQMap<TQString, TQVariant> catMap;
- int counter = 0;
- for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::Iterator it = mEventCategoryMap.find( *catIt );
- if ( it == mEventCategoryMap.end() ) // new category
- catMap.insert( TQString::number( counter-- ), *catIt );
- else
- catMap.insert( TQString::number( it.data() ), *catIt );
- }
- args.insert( "category", catMap );
-
- // PRIORITY
- int priority = 0;
- if ( event->priority() == 1 )
- priority = CAL_PRIO_HIGH;
- else if ( event->priority() > 1 && event->priority() <= 5 )
- priority = CAL_PRIO_NORMAL;
- else
- priority = CAL_PRIO_LOW;
-
- args.insert( "priority", priority );
-
- // RECURRENCE
- Recurrence *rec = event->recurrence();
- if ( !rec->doesRecur() ) {
- args.insert( "recur_type", int( 0 ) );
- args.insert( "recur_interval", int( 0 ) );
- args.insert( "recur_enddate", TQDateTime() );
- args.insert( "recur_data", int( 0 ) );
- args.insert( "recur_exception", TQMap<TQString, TQVariant>() );
- } else {
- switch ( rec->recurrenceType() ) {
- case Recurrence::rDaily:
- args.insert( "recur_type", int( CAL_RECUR_DAILY ) );
- break;
- case Recurrence::rWeekly: {
- int weekMask = 0;
- if ( rec->days().testBit( 0 ) )
- weekMask += CAL_MONDAY;
- if ( rec->days().testBit( 1 ) )
- weekMask += CAL_TUESDAY;
- if ( rec->days().testBit( 2 ) )
- weekMask += CAL_WEDNESDAY;
- if ( rec->days().testBit( 3 ) )
- weekMask += CAL_THURSDAY;
- if ( rec->days().testBit( 4 ) )
- weekMask += CAL_FRIDAY;
- if ( rec->days().testBit( 5 ) )
- weekMask += CAL_SATURDAY;
- if ( rec->days().testBit( 6 ) )
- weekMask += CAL_SUNDAY;
-
- args.insert( "recur_data", weekMask );
- args.insert( "recur_type", int( CAL_RECUR_WEEKLY ) );
- }
- break;
- case Recurrence::rMonthlyPos:
- args.insert( "recur_type", int( CAL_RECUR_MONTHLY_MDAY ) );
- break;
- case Recurrence::rMonthlyDay:
- args.insert( "recur_type", int( CAL_RECUR_MONTHLY_WDAY ) );
- break;
- case Recurrence::rYearlyDay:
- args.insert( "recur_type", int( CAL_RECUR_YEARLY ) );
- break;
- default:
- break;
- }
-
- args.insert( "recur_interval", rec->frequency() );
- args.insert( "recur_enddate", rec->endDateTime() );
-
- // TODO: Also use exception dates!
- const TQValueList<TQDateTime> dates = event->recurrence()->exDateTimes();
- TQValueList<TQDateTime>::ConstIterator dateIt;
- TQMap<TQString, TQVariant> exMap;
- int counter = 0;
- for ( dateIt = dates.begin(); dateIt != dates.end(); ++dateIt, ++counter )
- exMap.insert( TQString::number( counter ), *dateIt );
-
- args.insert( "recur_exception", exMap );
- }
-
- // PARTICIPANTS
- const Attendee::List attendees = event->attendees();
- Attendee::List::ConstIterator attIt;
- TQMap<TQString, TQVariant> persons;
- for ( attIt = attendees.begin(); attIt != attendees.end(); ++attIt ) {
- TQMap<TQString, TQVariant> person;
- TQString status;
-
- if ( (*attIt)->status() == Attendee::Accepted )
- status = "A";
- else if ( (*attIt)->status() == Attendee::Declined )
- status = "R";
- else if ( (*attIt)->status() == Attendee::Tentative )
- status = "T";
- else
- status = "N";
-
- person.insert( "status", status );
- person.insert( "name", (*attIt)->name() );
- person.insert( "email", (*attIt)->email() );
-
- persons.insert( (*attIt)->uid(), person );
- }
- args.insert( "participants", persons );
-
- // ALARMS
- const Alarm::List alarms = event->alarms();
- Alarm::List::ConstIterator alarmIt;
- TQMap<TQString, TQVariant> alarmMap;
- for ( alarmIt = alarms.begin(); alarmIt != alarms.end(); ++alarmIt ) {
- TQMap<TQString, TQVariant> alarm;
- alarm.insert( "time", (*alarmIt)->time() );
- alarm.insert( "offset", (*alarmIt)->startOffset().asSeconds() );
- alarm.insert( "enabled", ( (*alarmIt)->enabled() ? int( 1 ) : int( 0 ) ) );
-
- alarmMap.insert( "id", alarm ); // that sucks...
- }
-
- args.insert( "alarm", alarmMap );
-}
-
-void ResourceXMLRPC::writeTodo( Todo* todo, TQMap<TQString, TQVariant>& args )
-{
- args.insert( "subject", todo->summary() );
- args.insert( "des", todo->description() );
- args.insert( "access",
- (todo->secrecy() == Todo::SecrecyPublic ? "public" : "private" ) );
-
- // CATEGORIES
- TQMap<TQString, TQVariant> catMap;
-
- const TQStringList categories = todo->categories();
- TQStringList::ConstIterator catIt;
- int counter = 0;
- for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::Iterator it = mTodoCategoryMap.find( *catIt );
- if ( it == mTodoCategoryMap.end() )
- catMap.insert( TQString::number( counter-- ), *catIt );
- else
- catMap.insert( TQString::number( it.data() ), *catIt );
- }
- args.insert( "category", catMap );
-
- args.insert( "datemodified", todo->lastModified() );
- args.insert( "startdate", todo->dtStart() );
- args.insert( "enddate", todo->dtDue() );
-
- // SUBTODO
- Incidence *inc = todo->relatedTo();
- if ( inc ) {
- TQString parentUid = idMapper().remoteId( inc->uid() );
- args.insert( "id_parent", parentUid );
- }
-
- // STATE
- TQString remoteId = idMapper().remoteId( todo->uid() );
- TQString status = mTodoStateMapper.remoteState( remoteId, todo->percentComplete() );
- args.insert( "status", status );
-}
-
-void ResourceXMLRPC::readTodo( const TQMap<TQString, TQVariant>& args, Todo *todo, TQString &uid )
-{
- uid = args[ "id" ].toString();
-
-/*
- info_from
- info_addr
- info_owner
- info_responsible
- info_modifier
-*/
-
- todo->setSummary( args[ "subject" ].toString() );
- todo->setDescription( args[ "des" ].toString() );
- todo->setSecrecy( args[ "access" ].toString() == "public" ? Todo::SecrecyPublic : Todo::SecrecyPrivate );
-
- // CATEGORIES
- const TQMap<TQString, TQVariant> categories = args[ "category" ].toMap();
- TQMap<TQString, TQVariant>::ConstIterator it;
-
- TQStringList todoCategories;
- for ( it = categories.begin(); it != categories.end(); ++it ) {
- mTodoCategoryMap.insert( it.data().toString(), it.key().toInt() );
- todoCategories.append( it.data().toString() );
- }
-
- todo->setCategories( todoCategories );
-
- todo->setLastModified( args[ "datemodified" ].toDateTime() );
-
- todo->setFloats( true );
- TQDateTime dateTime = args[ "startdate" ].toDateTime();
- if ( dateTime.isValid() ) {
- todo->setDtStart( dateTime );
- todo->setHasStartDate( true );
- if ( !dateTime.time().isNull() )
- todo->setFloats( false );
- }
-
- dateTime = args[ "enddate" ].toDateTime();
- if ( dateTime.isValid() ) {
- todo->setDtDue( dateTime );
- todo->setHasDueDate( true );
- if ( !dateTime.time().isNull() )
- todo->setFloats( false );
- }
-
- // SUBTODO
- TQString parentId = args[ "id_parent" ].toString();
- if ( parentId != "0" ) { // we are a sub todo
- TQString localParentUid = idMapper().localId( parentId );
- if ( !localParentUid.isEmpty() ) { // found parent todo
- Todo *parent = mCalendar.todo( localParentUid );
- if ( parent )
- todo->setRelatedTo( parent );
- }
- }
-
- // STATE
- TQString status = args[ "status" ].toString();
- int state = TodoStateMapper::toLocal( status );
-
- mTodoStateMapper.addTodoState( uid, state, status );
- todo->setPercentComplete( state );
-
- int rights = args[ "rights" ].toInt();
- todo->setReadOnly( !(rights & EGW_ACCESS_EDIT) );
- setRights( todo, rights );
-}
-
-void ResourceXMLRPC::checkLoadingFinished()
-{
- mLoaded++;
- if ( mLoaded == 4 ) {
- mLoaded = 0;
- emit resourceLoaded( this );
- }
-}
-
-#include "kcal_resourcexmlrpc.moc"
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.h b/kresources/egroupware/kcal_resourcexmlrpc.h
deleted file mode 100644
index 5253baba..00000000
--- a/kresources/egroupware/kcal_resourcexmlrpc.h
+++ /dev/null
@@ -1,237 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KCAL_RESOURCEXMLRPC_H
-#define KCAL_RESOURCEXMLRPC_H
-
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqstring.h>
-
-#include <kconfig.h>
-#include <kurl.h>
-
-#include <tdepimmacros.h>
-
-#include "libkcal/calendarlocal.h"
-#include "libkcal/incidence.h"
-#include "libkcal/resourcecached.h"
-#include "todostatemapper.h"
-
-namespace KXMLRPC {
-class Server;
-}
-
-class Synchronizer;
-class TQTimer;
-
-namespace KCal {
-
-class EGroupwarePrefs;
-
-/**
- This class provides access to php/eGroupware calendar via XML-RPC.
-*/
-class KDE_EXPORT ResourceXMLRPC : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPC( const TDEConfig* );
- ResourceXMLRPC();
- virtual ~ResourceXMLRPC();
-
- void readConfig( const TDEConfig* config );
- void writeConfig( TDEConfig* config );
-
- EGroupwarePrefs *prefs() const { return mPrefs; }
-
- bool isSaving();
-
- KABC::Lock *lock();
-
- /**
- Add Event to calendar.
- */
- bool addEvent( Event* event );
-
- /**
- Deletes an event from this calendar.
- */
- bool deleteEvent( Event* );
-
- /**
- Retrieves an event on the basis of the unique string ID.
- */
- Event *event( const TQString& uid );
-
- /**
- Return unfiltered list of all events in calendar.
- */
- Event::List rawEvents();
-
- /**
- Builds and then returns a list of all events that match for the
- date specified. useful for dayView, etc. etc.
- */
- Event::List rawEventsForDate(
- const TQDate& date,
- EventSortField sortField=EventSortUnsorted,
- SortDirection sortDirection=SortDirectionAscending );
-
- /**
- Get unfiltered events for date \a qdt.
- */
- Event::List rawEventsForDate( const TQDateTime& qdt );
-
- /**
- Get unfiltered events in a range of dates. If inclusive is set to true,
- only events are returned, which are completely included in the range.
- */
- Event::List rawEvents( const TQDate& start, const TQDate& end,
- bool inclusive = false );
-
-
- /**
- Add a todo to the todolist.
- */
- bool addTodo( Todo* todo );
-
- /**
- Remove a todo from the todolist.
- */
- bool deleteTodo( Todo* todo );
-
- /**
- Searches todolist for an event with this unique string identifier,
- returns a pointer or null.
- */
- Todo *todo( const TQString& uid );
-
- /**
- Return list of all todos.
- */
- Todo::List rawTodos();
-
- /**
- Returns list of todos due on the specified date.
- */
- Todo::List rawTodosForDate( const TQDate& date );
-
- /**
- Add a Journal entry to calendar
- */
- virtual bool addJournal( Journal* journal );
-
- /**
- Remove journal from the calendar.
- */
- bool deleteJournal( Journal* journal );
-
- /**
- Return Journals for given date
- */
- virtual Journal::List journals( const TQDate& );
-
- /**
- Return Journal with given UID
- */
- virtual Journal *journal( const TQString& uid );
-
- /**
- Return all alarms, which ocur in the given time interval.
- */
- Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
-
- /**
- Return all alarms, which ocur before given date.
- */
- Alarm::List alarmsTo( const TQDateTime& to );
-
- /**
- Public because needed in MultiCalendar::load()
- */
- bool doOpen();
- void doClose();
-
- void dump() const;
-
- void setTimeZoneId( const TQString& ) {}
-
- protected slots:
- void loginFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void logoutFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void listEventsFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void addEventFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void deleteEventFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void addTodoFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void deleteTodoFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void fault( int, const TQString&, const TQVariant& );
-
- protected:
- bool doLoad();
- bool doSave();
-
- private slots:
- void reload();
-
- private:
- void init();
- void initEGroupware();
-
- void writeEvent( Event*, TQMap<TQString, TQVariant>& );
- void readEvent( const TQMap<TQString, TQVariant>&, Event*, TQString& );
-
- void writeTodo( Todo*, TQMap<TQString, TQVariant>& );
- void readTodo( const TQMap<TQString, TQVariant>&, Todo*, TQString& );
-
- void checkLoadingFinished();
-
- KXMLRPC::Server *mServer;
-
- EGroupwarePrefs *mPrefs;
-
- TQString mSessionID;
- TQString mKp3;
-
- TQMap<TQString, int> mEventCategoryMap;
- TQMap<TQString, int> mTodoCategoryMap;
-
- TodoStateMapper mTodoStateMapper;
-
- Synchronizer *mSynchronizer;
-
- KABC::Lock *mLock;
- int mLoaded;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/kcal_resourcexmlrpcconfig.cpp b/kresources/egroupware/kcal_resourcexmlrpcconfig.cpp
deleted file mode 100644
index 213da26e..00000000
--- a/kresources/egroupware/kcal_resourcexmlrpcconfig.cpp
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klineedit.h>
-#include <klocale.h>
-#include <knuminput.h>
-#include <kurlrequester.h>
-
-#include "kcal_egroupwareprefs.h"
-#include "kcal_resourcexmlrpc.h"
-#include "kcal_resourcexmlrpcconfig.h"
-
-using namespace KCal;
-
-ResourceXMLRPCConfig::ResourceXMLRPCConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 4, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "Domain:" ), this );
- mDomain = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mDomain, 1, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mUser, 2, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 3, 0 );
- mainLayout->addWidget( mPassword, 3, 1 );
-}
-
-void ResourceXMLRPCConfig::loadSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( resource->prefs()->url() );
- mDomain->setText( resource->prefs()->domain() );
- mUser->setText( resource->prefs()->user() );
- mPassword->setText( resource->prefs()->password() );
-}
-
-void ResourceXMLRPCConfig::saveSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setDomain( mDomain->text() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-}
-
-#include "kcal_resourcexmlrpcconfig.moc"
diff --git a/kresources/egroupware/kcal_resourcexmlrpcconfig.h b/kresources/egroupware/kcal_resourcexmlrpcconfig.h
deleted file mode 100644
index 1ff75ea8..00000000
--- a/kresources/egroupware/kcal_resourcexmlrpcconfig.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef RESOURCEXMLRPCCONFIG_H
-#define RESOURCEXMLRPCCONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KIntSpinBox;
-class KLineEdit;
-class KURLRequester;
-
-namespace KCal {
-
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPCConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- private:
- KURLRequester *mURL;
- KLineEdit *mDomain;
- KLineEdit *mUser;
- KLineEdit *mPassword;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/kcal_resourcexmlrpcplugin.cpp b/kresources/egroupware/kcal_resourcexmlrpcplugin.cpp
deleted file mode 100644
index 021389b6..00000000
--- a/kresources/egroupware/kcal_resourcexmlrpcplugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2003 - 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcexmlrpc.h"
-#include "kcal_resourcexmlrpcconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory<ResourceXMLRPC, ResourceXMLRPCConfig> XMLRPCFactory;
-
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_xmlrpc, XMLRPCFactory ); here
-// Problem: How to insert the catalogue!
-extern "C"
-{
- void *init_kcal_xmlrpc()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_xmlrpc" );
- return new XMLRPCFactory;
- }
-}
diff --git a/kresources/egroupware/kcal_xmlrpc.desktop b/kresources/egroupware/kcal_xmlrpc.desktop
deleted file mode 100644
index 4a6134e5..00000000
--- a/kresources/egroupware/kcal_xmlrpc.desktop
+++ /dev/null
@@ -1,50 +0,0 @@
-[Desktop Entry]
-Name=eGroupware Server (via XML-RPC)
-Name[af]=eGroupware Bediener (via XML-RPC)
-Name[bg]=Сървър eGroupware (чрез XML-RPC)
-Name[br]=Servijer eGroupware (gant XML-RPC)
-Name[ca]=Servidor eGroupware (via XML-RPC)
-Name[cs]=eGroupware Server (přes XML-RPC)
-Name[da]=eGroupware server (via XML-RPC)
-Name[el]=Εξυπηρετητής eGroupware (μέσω XML-RPC)
-Name[es]=Servidor de eGroupware (por medio de XML-RPC)
-Name[et]=eGroupware server (XML-RPC vahendusel)
-Name[eu]=eGroupware zerbitzaria (XML-RPC bidez)
-Name[fa]=کارساز eGroupware (از طریق XML-RPC)
-Name[fi]=eGroupware-palvelin (XML-RPC kautta)
-Name[fr]=Serveur eGroupware (via XML-RPC)
-Name[fy]=eGroupware-tsjinner (fia XML-RPC)
-Name[ga]=Freastalaí eGroupware (via XML-RPC)
-Name[gl]=Servidor eGroupware (mediante XML-RPC)
-Name[hu]=eGroupware-kiszolgáló (XML-RPC-n keresztül)
-Name[is]=eGroupware þjónn (gegnum XML-RPC)
-Name[it]=Server eGroupware (via XML-RPC)
-Name[ja]=eGroupware サーバ (XML-RPC 経由)
-Name[kk]=eGroupware сервері (XML-RPC арқылы)
-Name[km]=ម៉ាស៊ីន​បម្រើ eGroupware (តាម​រយៈ XML-RPC)
-Name[lt]=eGroupware serveris (per XML-RPC)
-Name[ms]=Pelayan eGroupware (melalui XML-RPC)
-Name[nb]=eGroupware-tjener (via XML-RPPC)
-Name[nds]=eGroupware-Server (över XML-RPC)
-Name[ne]=(XML-RPC मार्फत) eGroupware सर्भर
-Name[nl]=eGroupware-server (via XML-RPC)
-Name[nn]=eGroupware-tenar (via XML-RPC)
-Name[pl]=Serwer eGroupware (poprzez XML-RPC)
-Name[pt]=Servidor eGroupware (via XML-RPC)
-Name[pt_BR]=Servidor eGroupware (via XML-RPC)
-Name[ru]=Сервер eGroupware (через XML-RPC)
-Name[sk]=eGroupware Server (cez XML-RPC)
-Name[sl]=Strežnik eGroupware (preko XML-RPC)
-Name[sr]=eGroupware сервер (преко XML-RPC)
-Name[sr@Latn]=eGroupware server (preko XML-RPC)
-Name[sv]=eGroupware-server (via XML-RPC)
-Name[ta]=eGroupware சேவகன் (via XML-RPC)
-Name[tr]=eGroupware Sunucusu (XML-RPC ile)
-Name[uk]=Сервер eGroupware (через XML-RPC)
-Name[zh_CN]=eGroupware 服务器(通过 XML-RPC)
-Name[zh_TW]=eGroupware 伺服器(透過 XML-RPC)
-X-TDE-Library=kcal_xmlrpc
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=xmlrpc
diff --git a/kresources/egroupware/knotes_egroupwareprefs.kcfgc b/kresources/egroupware/knotes_egroupwareprefs.kcfgc
deleted file mode 100644
index 1aaf0265..00000000
--- a/kresources/egroupware/knotes_egroupwareprefs.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_knotes_egroupware.kcfg
-ClassName=EGroupwarePrefs
-NameSpace=KNotes
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/egroupware/knotes_resourcexmlrpc.cpp b/kresources/egroupware/knotes_resourcexmlrpc.cpp
deleted file mode 100644
index 1b19831b..00000000
--- a/kresources/egroupware/knotes_resourcexmlrpc.cpp
+++ /dev/null
@@ -1,336 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-#include <tqstringlist.h>
-
-#include <kdebug.h>
-#include <klocale.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <kurl.h>
-
-#include "libkcal/journal.h"
-
-#include "knotes/resourcemanager.h"
-
-#include "knotes_egroupwareprefs.h"
-#include "knotes_resourcexmlrpc.h"
-#include "knotes_resourcexmlrpcconfig.h"
-
-#include "synchronizer.h"
-#include "xmlrpciface.h"
-
-using namespace KNotes;
-
-typedef KRES::PluginFactory< ResourceXMLRPC, ResourceXMLRPCConfig> XMLRPCFactory;
-K_EXPORT_COMPONENT_FACTORY( knotes_xmlrpc, XMLRPCFactory )
-
-static const TQString SearchNotesCommand = "infolog.boinfolog.search";
-static const TQString AddNoteCommand = "infolog.boinfolog.write";
-static const TQString DeleteNoteCommand = "infolog.boinfolog.delete";
-static const TQString LoadNoteCategoriesCommand = "infolog.boinfolog.categories";
-
-ResourceXMLRPC::ResourceXMLRPC( const TDEConfig* config )
- : ResourceNotes( config ), mCalendar( TQString::fromLatin1("UTC") ),
- mServer( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "eGroupware Server" ) );
- }
-}
-
-ResourceXMLRPC::ResourceXMLRPC( )
- : ResourceNotes( 0 ), mCalendar( TQString::fromLatin1("UTC") ),
- mServer( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-}
-
-ResourceXMLRPC::~ResourceXMLRPC()
-{
- delete mServer;
- mServer = 0;
-
- delete mPrefs;
- mPrefs = 0;
-
- delete mSynchronizer;
- mSynchronizer = 0;
-}
-
-void ResourceXMLRPC::init()
-{
- setType( "xmlrpc" );
-
- mPrefs = new EGroupwarePrefs;
-
- mSynchronizer = new Synchronizer;
-}
-
-void ResourceXMLRPC::readConfig( const TDEConfig* )
-{
- mPrefs->readConfig();
-}
-
-void ResourceXMLRPC::writeConfig( TDEConfig* config )
-{
- ResourceNotes::writeConfig( config );
-
- mPrefs->writeConfig();
-}
-
-bool ResourceXMLRPC::load()
-{
- mCalendar.close();
-
- if ( mServer )
- delete mServer;
-
- mServer = new KXMLRPC::Server( KURL(), this );
- mServer->setUrl( KURL( mPrefs->url() ) );
- mServer->setUserAgent( "KDE-Notes" );
-
- TQMap<TQString, TQVariant> args, columns;
- args.insert( "domain", mPrefs->domain() );
- args.insert( "username", mPrefs->user() );
- args.insert( "password", mPrefs->password() );
-
- mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-
- columns.insert( "type", "note" );
- args.clear();
- args.insert( "filter", "none" );
- args.insert( "col_filter", columns );
- args.insert( "order", "id_parent" );
-
- mServer->call( SearchNotesCommand, args,
- this, TQT_SLOT( listNotesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
-
- mSynchronizer->start();
-
- return true;
-}
-
-bool ResourceXMLRPC::save()
-{
- mCalendar.close();
-
- return true;
-}
-
-bool ResourceXMLRPC::addNote( KCal::Journal *journal )
-{
- TQMap<TQString, TQVariant> args;
- writeNote( journal, args );
-
- KCal::Journal *oldJournal = mCalendar.journal( journal->uid() );
-
- bool added = false;
- if ( oldJournal ) {
- if ( !oldJournal->isReadOnly() ) {
- writeNote( journal, args );
- args.insert( "id", mUidMap[ journal->uid() ].toInt() );
- mServer->call( AddNoteCommand, TQVariant( args ),
- this, TQT_SLOT( updateNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- mCalendar.addJournal( journal );
- added = true;
- }
- } else {
- mServer->call( AddNoteCommand, TQVariant( args ),
- this, TQT_SLOT( addNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( journal->uid() ) );
-
- mCalendar.addJournal( journal );
- added = true;
- }
-
- if ( added )
- mSynchronizer->start();
-
- return true;
-}
-
-bool ResourceXMLRPC::deleteNote( KCal::Journal *journal )
-{
- int id = mUidMap[ journal->uid() ].toInt();
-
- mServer->call( DeleteNoteCommand, id,
- this, TQT_SLOT( deleteNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
- TQVariant( journal->uid() ) );
- mSynchronizer->start();
-
- return true;
-}
-
-KCal::Alarm::List ResourceXMLRPC::alarms( const TQDateTime& from, const TQDateTime& to )
-{
- KCal::Alarm::List alarms;
- KCal::Journal::List notes = mCalendar.journals();
- KCal::Journal::List::ConstIterator note;
- for ( note = notes.begin(); note != notes.end(); ++note )
- {
- TQDateTime preTime = from.addSecs( -1 );
- KCal::Alarm::List::ConstIterator it;
- for( it = (*note)->alarms().begin(); it != (*note)->alarms().end(); ++it )
- {
- if ( (*it)->enabled() )
- {
- TQDateTime dt = (*it)->nextRepetition( preTime );
- if ( dt.isValid() && dt <= to )
- alarms.append( *it );
- }
- }
- }
-
- return alarms;
-}
-
-void ResourceXMLRPC::loginFinished( const TQValueList<TQVariant>& variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[ 0 ].toMap();
-
- KURL url = KURL( mPrefs->url() );
- if ( map[ "GOAWAY" ].toString() == "XOXO" ) { // failed
- mSessionID = mKp3 = "";
- } else {
- mSessionID = map[ "sessionid" ].toString();
- mKp3 = map[ "kp3" ].toString();
- }
-
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::logoutFinished( const TQValueList<TQVariant>& variant,
- const TQVariant& )
-{
- TQMap<TQString, TQVariant> map = variant[ 0 ].toMap();
-
- if ( map[ "GOODBYE" ].toString() != "XOXO" )
- kdError() << "logout failed" << endl;
-
- KURL url = KURL( mPrefs->url() );
- mSessionID = mKp3 = "";
- url.setUser( mSessionID );
- url.setPass( mKp3 );
- mServer->setUrl( url );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::listNotesFinished( const TQValueList<TQVariant> &list, const TQVariant& )
-{
- TQMap<TQString, TQString>::Iterator uidIt;
- for ( uidIt = mUidMap.begin(); uidIt != mUidMap.end(); ++uidIt ) {
- KCal::Journal *journal = mCalendar.journal( uidIt.key() );
- mCalendar.deleteJournal( journal );
- }
-
- mUidMap.clear();
-
- TQValueList<TQVariant> noteList = list[ 0 ].toList();
- TQValueList<TQVariant>::Iterator noteIt;
-
- for ( noteIt = noteList.begin(); noteIt != noteList.end(); ++noteIt ) {
- TQMap<TQString, TQVariant> map = (*noteIt).toMap();
-
- KCal::Journal *journal = new KCal::Journal();
-
- TQString uid;
- readNote( map, journal, uid );
- mUidMap.insert( journal->uid(), uid );
-
- mCalendar.addJournal( journal );
- manager()->registerNote( this, journal );
- }
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::addNoteFinished( const TQValueList<TQVariant> &list, const TQVariant &id )
-{
- int uid = list[ 0 ].toInt();
- mUidMap.insert( id.toString(), TQString::number( uid ) );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::updateNoteFinished( const TQValueList<TQVariant>&, const TQVariant& )
-{
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::deleteNoteFinished( const TQValueList<TQVariant>&, const TQVariant &id )
-{
- mUidMap.erase( id.toString() );
-
- KCal::Journal *journal = mCalendar.journal( id.toString() );
- mCalendar.deleteJournal( journal );
-
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::fault( int error, const TQString& errorMsg, const TQVariant& )
-{
- kdError() << "Server send error " << error << ": " << errorMsg << endl;
- mSynchronizer->stop();
-}
-
-void ResourceXMLRPC::writeNote( KCal::Journal* journal, TQMap<TQString, TQVariant>& args )
-{
- args.insert( "subject", journal->summary() );
- args.insert( "des", journal->description() );
- args.insert( "access",
- (journal->secrecy() == KCal::Journal::SecrecyPublic ? "public" : "private" ) );
-}
-
-void ResourceXMLRPC::readNote( const TQMap<TQString, TQVariant>& args, KCal::Journal *journal, TQString &uid )
-{
- uid = args[ "id" ].toString();
-
- journal->setSummary( args[ "subject" ].toString() );
- journal->setDescription( args[ "des" ].toString() );
- journal->setSecrecy( args[ "access" ].toString() == "public" ?
- KCal::Journal::SecrecyPublic : KCal::Journal::SecrecyPrivate );
-}
-
-#include "knotes_resourcexmlrpc.moc"
diff --git a/kresources/egroupware/knotes_resourcexmlrpc.h b/kresources/egroupware/knotes_resourcexmlrpc.h
deleted file mode 100644
index df8a4dd3..00000000
--- a/kresources/egroupware/knotes_resourcexmlrpc.h
+++ /dev/null
@@ -1,104 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KNOTES_RESOURCEXMLRPC_H
-#define KNOTES_RESOURCEXMLRPC_H
-
-#include <tqptrlist.h>
-#include <tqstring.h>
-
-#include <kconfig.h>
-#include <kurl.h>
-#include <tdepimmacros.h>
-
-#include "libkcal/calendarlocal.h"
-#include "libkcal/journal.h"
-#include "knotes/resourcenotes.h"
-
-namespace KXMLRPC {
-class Server;
-}
-
-class Synchronizer;
-
-namespace KNotes {
-
-class EGroupwarePrefs;
-
-/**
- This class provides access to eGroupware notes via XML-RPC.
-*/
-class KDE_EXPORT ResourceXMLRPC : public ResourceNotes
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPC( const TDEConfig* );
- ResourceXMLRPC();
- virtual ~ResourceXMLRPC();
-
- void readConfig( const TDEConfig* config );
- void writeConfig( TDEConfig* config );
-
- EGroupwarePrefs *prefs() const { return mPrefs; }
-
- bool load();
- bool save();
-
- bool addNote( KCal::Journal* );
- bool deleteNote( KCal::Journal* );
-
- KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
-
- protected slots:
- void loginFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void logoutFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void listNotesFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void addNoteFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void updateNoteFinished( const TQValueList<TQVariant>&, const TQVariant& );
- void deleteNoteFinished( const TQValueList<TQVariant>&, const TQVariant& );
-
- void fault( int, const TQString&, const TQVariant& );
-
- private:
- void init();
- void initEGroupware();
-
- void writeNote( KCal::Journal*, TQMap<TQString, TQVariant>& );
- void readNote( const TQMap<TQString, TQVariant>&, KCal::Journal*, TQString& );
-
- KCal::CalendarLocal mCalendar;
- KXMLRPC::Server *mServer;
-
- EGroupwarePrefs *mPrefs;
-
- TQString mSessionID;
- TQString mKp3;
- TQMap<TQString, TQString> mUidMap;
-
- Synchronizer *mSynchronizer;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/knotes_resourcexmlrpcconfig.cpp b/kresources/egroupware/knotes_resourcexmlrpcconfig.cpp
deleted file mode 100644
index 8cf2a35c..00000000
--- a/kresources/egroupware/knotes_resourcexmlrpcconfig.cpp
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klineedit.h>
-#include <klocale.h>
-#include <knuminput.h>
-#include <kurlrequester.h>
-
-#include "knotes_egroupwareprefs.h"
-#include "knotes_resourcexmlrpc.h"
-#include "knotes_resourcexmlrpcconfig.h"
-
-using namespace KNotes;
-
-ResourceXMLRPCConfig::ResourceXMLRPCConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 4, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "Domain:" ), this );
- mDomain = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mDomain, 1, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mUser, 2, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 3, 0 );
- mainLayout->addWidget( mPassword, 3, 1 );
-}
-
-void ResourceXMLRPCConfig::loadSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( resource->prefs()->url() );
- mDomain->setText( resource->prefs()->domain() );
- mUser->setText( resource->prefs()->user() );
- mPassword->setText( resource->prefs()->password() );
-}
-
-void ResourceXMLRPCConfig::saveSettings( KRES::Resource *res )
-{
- ResourceXMLRPC *resource = dynamic_cast<ResourceXMLRPC*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceXMLRPCConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setDomain( mDomain->text() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-}
-
-#include "knotes_resourcexmlrpcconfig.moc"
diff --git a/kresources/egroupware/knotes_resourcexmlrpcconfig.h b/kresources/egroupware/knotes_resourcexmlrpcconfig.h
deleted file mode 100644
index afc5371f..00000000
--- a/kresources/egroupware/knotes_resourcexmlrpcconfig.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef RESOURCEXMLRPCCONFIG_H
-#define RESOURCEXMLRPCCONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KIntSpinBox;
-class KLineEdit;
-class KURLRequester;
-
-namespace KNotes {
-
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceXMLRPCConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- private:
- KURLRequester *mURL;
- KLineEdit *mDomain;
- KLineEdit *mUser;
- KLineEdit *mPassword;
-};
-
-}
-
-#endif
diff --git a/kresources/egroupware/knotes_resourcexmlrpcplugin.cpp b/kresources/egroupware/knotes_resourcexmlrpcplugin.cpp
deleted file mode 100644
index 276cb6b0..00000000
--- a/kresources/egroupware/knotes_resourcexmlrpcplugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "knotes_resourcexmlrpc.h"
-#include "knotes_resourcexmlrpcconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KNotes;
-
-typedef KRES::PluginFactory<ResourceXMLRPC, ResourceXMLRPCConfig> XMLRPCFactory;
-
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( knotes_xmlrpc, XMLRPCFactory ); here
-// Problem: How to insert the catalogue!
-extern "C"
-{
- void *init_knotes_xmlrpc()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_xmlrpc" );
- return new XMLRPCFactory;
- }
-}
diff --git a/kresources/egroupware/knotes_xmlrpc.desktop b/kresources/egroupware/knotes_xmlrpc.desktop
deleted file mode 100644
index 93d5e471..00000000
--- a/kresources/egroupware/knotes_xmlrpc.desktop
+++ /dev/null
@@ -1,50 +0,0 @@
-[Desktop Entry]
-Name=eGroupware Server (via XML-RPC)
-Name[af]=eGroupware Bediener (via XML-RPC)
-Name[bg]=Сървър eGroupware (чрез XML-RPC)
-Name[br]=Servijer eGroupware (gant XML-RPC)
-Name[ca]=Servidor eGroupware (via XML-RPC)
-Name[cs]=eGroupware Server (přes XML-RPC)
-Name[da]=eGroupware server (via XML-RPC)
-Name[el]=Εξυπηρετητής eGroupware (μέσω XML-RPC)
-Name[es]=Servidor de eGroupware (por medio de XML-RPC)
-Name[et]=eGroupware server (XML-RPC vahendusel)
-Name[eu]=eGroupware zerbitzaria (XML-RPC bidez)
-Name[fa]=کارساز eGroupware (از طریق XML-RPC)
-Name[fi]=eGroupware-palvelin (XML-RPC kautta)
-Name[fr]=Serveur eGroupware (via XML-RPC)
-Name[fy]=eGroupware-tsjinner (fia XML-RPC)
-Name[ga]=Freastalaí eGroupware (via XML-RPC)
-Name[gl]=Servidor eGroupware (mediante XML-RPC)
-Name[hu]=eGroupware-kiszolgáló (XML-RPC-n keresztül)
-Name[is]=eGroupware þjónn (gegnum XML-RPC)
-Name[it]=Server eGroupware (via XML-RPC)
-Name[ja]=eGroupware サーバ (XML-RPC 経由)
-Name[kk]=eGroupware сервері (XML-RPC арқылы)
-Name[km]=ម៉ាស៊ីន​បម្រើ eGroupware (តាម​រយៈ XML-RPC)
-Name[lt]=eGroupware serveris (per XML-RPC)
-Name[ms]=Pelayan eGroupware (melalui XML-RPC)
-Name[nb]=eGroupware-tjener (via XML-RPPC)
-Name[nds]=eGroupware-Server (över XML-RPC)
-Name[ne]=(XML-RPC मार्फत) eGroupware सर्भर
-Name[nl]=eGroupware-server (via XML-RPC)
-Name[nn]=eGroupware-tenar (via XML-RPC)
-Name[pl]=Serwer eGroupware (poprzez XML-RPC)
-Name[pt]=Servidor eGroupware (via XML-RPC)
-Name[pt_BR]=Servidor eGroupware (via XML-RPC)
-Name[ru]=Сервер eGroupware (через XML-RPC)
-Name[sk]=eGroupware Server (cez XML-RPC)
-Name[sl]=Strežnik eGroupware (preko XML-RPC)
-Name[sr]=eGroupware сервер (преко XML-RPC)
-Name[sr@Latn]=eGroupware server (preko XML-RPC)
-Name[sv]=eGroupware-server (via XML-RPC)
-Name[ta]=eGroupware சேவகன் (via XML-RPC)
-Name[tr]=eGroupware Sunucusu (XML-RPC ile)
-Name[uk]=Сервер eGroupware (через XML-RPC)
-Name[zh_CN]=eGroupware 服务器(通过 XML-RPC)
-Name[zh_TW]=eGroupware 伺服器(透過 XML-RPC)
-X-TDE-Library=knotes_xmlrpc
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=notes
-X-TDE-ResourceType=xmlrpc
diff --git a/kresources/egroupware/kresources_kabc_egroupware.kcfg b/kresources/egroupware/kresources_kabc_egroupware.kcfg
deleted file mode 100644
index 3655109b..00000000
--- a/kresources/egroupware/kresources_kabc_egroupware.kcfg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kabc_egroupwarerc"/>
-
- <group name="General">
- <entry type="String" name="Url">
- <label>URL</label>
- </entry>
- <entry type="String" name="Domain">
- <label>Domain</label>
- <default>default</default>
- </entry>
- <entry type="String" name="User">
- <label>User Name</label>
- </entry>
- <entry type="Password" name="Password">
- <label>Password</label>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/egroupware/kresources_kcal_egroupware.kcfg b/kresources/egroupware/kresources_kcal_egroupware.kcfg
deleted file mode 100644
index 91889d71..00000000
--- a/kresources/egroupware/kresources_kcal_egroupware.kcfg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_egroupwarerc"/>
-
- <group name="General">
- <entry type="String" name="Url">
- <label>URL</label>
- </entry>
- <entry type="String" name="Domain">
- <label>Domain</label>
- <default>default</default>
- </entry>
- <entry type="String" name="User">
- <label>User Name</label>
- </entry>
- <entry type="Password" name="Password">
- <label>Password</label>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/egroupware/kresources_knotes_egroupware.kcfg b/kresources/egroupware/kresources_knotes_egroupware.kcfg
deleted file mode 100644
index 2fbb84a0..00000000
--- a/kresources/egroupware/kresources_knotes_egroupware.kcfg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_knotes_egroupwarerc"/>
-
- <group name="General">
- <entry type="String" name="Url">
- <label>URL</label>
- </entry>
- <entry type="String" name="Domain">
- <label>Domain</label>
- <default>default</default>
- </entry>
- <entry type="String" name="User">
- <label>User Name</label>
- </entry>
- <entry type="Password" name="Password">
- <label>Password</label>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/egroupware/synchronizer.cpp b/kresources/egroupware/synchronizer.cpp
deleted file mode 100644
index 8152828c..00000000
--- a/kresources/egroupware/synchronizer.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <kapplication.h>
-#include <tqeventloop.h>
-
-#include <unistd.h>
-
-#include "synchronizer.h"
-
-Synchronizer::Synchronizer()
- : mBlocked( false )
-{
-}
-
-void Synchronizer::start()
-{
- mBlocked = true;
-
- while ( mBlocked ) {
- TQApplication::eventLoop()->processEvents( TQEventLoop::ExcludeUserInput );
-
- // use sleep here to reduce cpu usage
- usleep( 100 );
- }
-}
-
-void Synchronizer::stop()
-{
- mBlocked = false;
-}
-
diff --git a/kresources/egroupware/synchronizer.h b/kresources/egroupware/synchronizer.h
deleted file mode 100644
index e9183bd2..00000000
--- a/kresources/egroupware/synchronizer.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SYNCHRONIZER_H
-#define SYNCHRONIZER_H
-
-#include <tqobject.h>
-
-/**
- A small helper class which blocks an asynchronous operation (e.g. a KIO request)
- so that it can be used in a synchronous environment.
-
- Example:
-
- ...
-
- Synchronizer mSynchronizer;
-
- ...
-
- job = TDEIO::file_copy( url, file, -1, true );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
-
- mSynchronizer.start(); // will block here until the slot was called
- ...
-
-
- void slotResult( TDEIO::Job* )
- {
- mSynchronizer.stop();
- }
- */
-class Synchronizer
-{
- public:
- Synchronizer();
-
- /**
- Blocks the execution until @ref stop() is called.
- */
- void start();
-
- /**
- Unblocks the execution.
- */
- void stop();
-
- private:
- bool mBlocked;
-};
-
-#endif
-
diff --git a/kresources/egroupware/todostatemapper.cpp b/kresources/egroupware/todostatemapper.cpp
deleted file mode 100644
index 531b298f..00000000
--- a/kresources/egroupware/todostatemapper.cpp
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqdatastream.h>
-#include <tqfile.h>
-
-#include <kdebug.h>
-#include <kstandarddirs.h>
-
-#include "todostatemapper.h"
-
-TQDataStream& operator<<( TQDataStream &stream, const TodoStateMapper::TodoStateMapEntry &entry )
-{
- stream << entry.uid << entry.localState << entry.remoteState;
-
- return stream;
-}
-
-TQDataStream& operator>>( TQDataStream &stream, TodoStateMapper::TodoStateMapEntry &entry )
-{
- stream >> entry.uid >> entry.localState >> entry.remoteState;
-
- return stream;
-}
-
-TodoStateMapper::TodoStateMapper()
-{
-}
-
-TodoStateMapper::~TodoStateMapper()
-{
-}
-
-void TodoStateMapper::setPath( const TQString &path )
-{
- mPath = path;
-}
-
-void TodoStateMapper::setIdentifier( const TQString &identifier )
-{
- mIdentifier = identifier;
-}
-
-bool TodoStateMapper::load()
-{
- TQFile file( filename() );
- if ( !file.open( IO_ReadOnly ) ) {
- kdError() << "Can't read uid map file '" << filename() << "'" << endl;
- return false;
- }
-
- clear();
-
- TQDataStream stream;
- stream.setVersion( 6 );
- stream.setDevice( &file );
- stream >> mTodoStateMap;
-
- file.close();
-
- return true;
-}
-
-bool TodoStateMapper::save()
-{
- TQFile file( filename() );
- if ( !file.open( IO_WriteOnly ) ) {
- kdError() << "Can't write uid map file '" << filename() << "'" << endl;
- return false;
- }
-
- TQDataStream stream;
- stream.setVersion( 6 );
- stream.setDevice( &file );
- stream << mTodoStateMap;
-
- file.close();
-
- return true;
-}
-
-void TodoStateMapper::clear()
-{
- mTodoStateMap.clear();
-}
-
-void TodoStateMapper::addTodoState( const TQString &uid, int localState, const TQString &remoteState )
-{
- TodoStateMapEntry entry;
- entry.uid = uid;
- entry.localState = localState;
- entry.remoteState = remoteState;
-
- mTodoStateMap.insert( uid, entry );
-}
-
-TQString TodoStateMapper::remoteState( const TQString &uid, int localState )
-{
- if ( mTodoStateMap.find( uid ) == mTodoStateMap.end() )
- kdError() << "TodoStateMapper: no entry for " << uid << " found" << endl;
-
- TodoStateMapEntry entry = mTodoStateMap[ uid ];
- if ( entry.localState == localState )
- return entry.remoteState;
- else
- return toRemote( localState );
-}
-
-void TodoStateMapper::remove( const TQString &uid )
-{
- mTodoStateMap.remove( uid );
-}
-
-int TodoStateMapper::toLocal( const TQString &remoteState )
-{
- if ( remoteState == "offer" )
- return 0;
- else if ( remoteState == "ongoing" )
- return 50;
- else if ( remoteState == "done" || remoteState == "billed" )
- return 100;
- else {
- TQString number( remoteState );
- number.replace( "%", "" );
- return number.toInt();
- }
-}
-
-TQString TodoStateMapper::toRemote( int localState )
-{
- if ( localState == 0 )
- return "offer";
- else if ( localState == 50 )
- return "ongoing";
- else if ( localState == 100 )
- return "done";
- else
- return TQString( "%1%" ).arg( localState );
-}
-
-TQString TodoStateMapper::filename()
-{
- TQString file = mPath;
- if ( !file.endsWith( "/" ) ) file += "/";
- file += mIdentifier;
-
- return locateLocal( "data", file );
-}
-
diff --git a/kresources/egroupware/todostatemapper.h b/kresources/egroupware/todostatemapper.h
deleted file mode 100644
index fb82b478..00000000
--- a/kresources/egroupware/todostatemapper.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef TODOSTATEMAPPER_H
-#define TODOSTATEMAPPER_H
-
-#include <tqdatastream.h>
-#include <tqmap.h>
-
-class TodoStateMapper
-{
- public:
- /**
- Create Id mapper. You have to set path and identifier before you can call
- load() or save().
- */
- TodoStateMapper();
- ~TodoStateMapper();
-
- void setPath( const TQString &path );
- void setIdentifier( const TQString &identifier );
-
- bool load();
- bool save();
-
- void clear();
-
- void addTodoState( const TQString &uid, int localState, const TQString &remoteState );
-
- TQString remoteState( const TQString &uid, int localState );
-
- void remove( const TQString &uid );
-
- static int toLocal( const TQString &remoteState );
- static TQString toRemote( int localState );
-
- protected:
- TQString filename();
-
- private:
- TQString mPath;
- TQString mIdentifier;
-
- typedef struct {
- TQString uid;
- int localState;
- TQString remoteState;
- } TodoStateMapEntry;
-
- typedef TQMap<TQString, TodoStateMapEntry> TodoStateMap;
- TodoStateMap mTodoStateMap;
-
- friend TQDataStream &operator<<( TQDataStream&, const TodoStateMapEntry& );
- friend TQDataStream &operator>>( TQDataStream&, TodoStateMapEntry& );
-};
-
-#endif
diff --git a/kresources/egroupware/xmlrpciface.cpp b/kresources/egroupware/xmlrpciface.cpp
deleted file mode 100644
index d43613e6..00000000
--- a/kresources/egroupware/xmlrpciface.cpp
+++ /dev/null
@@ -1,464 +0,0 @@
-/**************************************************************************
-* Copyright (C) 2003 - 2004 by Frerich Raabe <raabe@kde.org> *
-* Tobias Koenig <tokoe@kde.org> *
-* *
-* 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 of the License, or *
-* (at your option) any later version. *
-***************************************************************************/
-
-#include <tqfile.h>
-
-#include <kdebug.h>
-#include <kio/job.h>
-#include <klocale.h>
-#include <kmdcodec.h>
-
-#include "debugdialog.h"
-#include "xmlrpciface.h"
-
-using namespace KXMLRPC;
-
-namespace KXMLRPC
-{
- class Result
- {
- friend class Query;
- public:
- Result()
- { }
-
- bool success() const
- {
- return m_success;
- }
- int errorCode() const
- {
- return m_errorCode;
- }
- TQString errorString() const
- {
- return m_errorString;
- }
- TQValueList<TQVariant> data() const
- {
- return m_data;
- }
-
- private:
- bool m_success;
- int m_errorCode;
- TQString m_errorString;
- TQValueList<TQVariant> m_data;
- };
-}
-
-Query *Query::create( const TQVariant &id, TQObject *parent, const char *name )
-{
- return new Query( id, parent, name );
-}
-
-void Query::call( const TQString &server, const TQString &method,
- const TQValueList<TQVariant> &args, const TQString &userAgent )
-{
- const TQString xmlMarkup = markupCall( method, args );
- DebugDialog::addMessage( xmlMarkup, DebugDialog::Output );
-
- TQByteArray postData;
- TQDataStream stream( postData, IO_WriteOnly );
- stream.writeRawBytes( xmlMarkup.utf8(), xmlMarkup.utf8().length() );
-
- TDEIO::TransferJob *job = TDEIO::http_post( KURL( server ), postData, false );
- if ( !job ) {
- kdWarning() << "Unable to create KIO job for " << server << endl;
- return;
- }
- job->addMetaData( "UserAgent", userAgent );
- job->addMetaData( "content-type", "Content-Type: text/xml; charset=utf-8" );
- job->addMetaData( "ConnectTimeout", "50" );
-
- connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- this, TQT_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
-
- m_pendingJobs.append( job );
-}
-
-void Query::slotData( TDEIO::Job *, const TQByteArray &data )
-{
- unsigned int oldSize = m_buffer.size();
- m_buffer.resize( oldSize + data.size() );
- memcpy( m_buffer.data() + oldSize, data.data(), data.size() );
-}
-
-void Query::slotResult( TDEIO::Job *job )
-{
- m_pendingJobs.remove( job );
-
- if ( job->error() != 0 )
- {
- emit fault( job->error(), job->errorString(), m_id );
- emit finished( this );
- return ;
- }
-
- TQString data = TQString::fromUtf8( m_buffer.data(), m_buffer.size() );
- DebugDialog::addMessage( data, DebugDialog::Input );
-
- TQDomDocument doc;
- TQString errMsg;
- int errLine, errCol;
- if ( !doc.setContent( data, false, &errMsg, &errLine, &errCol ) )
- {
- emit fault( -1, i18n( "Received invalid XML markup: %1 at %2:%3" )
- .arg( errMsg ).arg( errLine ).arg( errCol ), m_id );
- emit finished( this );
- return ;
- }
-
- m_buffer.truncate( 0 );
-
- if ( isMessageResponse( doc ) )
- emit message( parseMessageResponse( doc ).data(), m_id );
- else if ( isFaultResponse( doc ) )
- {
- emit fault( parseFaultResponse( doc ).errorCode(), parseFaultResponse( doc ).errorString(), m_id );
- }
- else
- {
- emit fault( 1, i18n( "Unknown type of XML markup received" ), m_id );
- }
-
- emit finished( this );
-}
-
-bool Query::isMessageResponse( const TQDomDocument &doc ) const
-{
- return doc.documentElement().firstChild().toElement().tagName().lower() == "params";
-}
-
-Result Query::parseMessageResponse( const TQDomDocument &doc ) const
-{
- Result response;
- response.m_success = true;
-
- TQDomNode paramNode = doc.documentElement().firstChild().firstChild();
- while ( !paramNode.isNull() )
- {
- response.m_data << demarshal( paramNode.firstChild().toElement() );
- paramNode = paramNode.nextSibling();
- }
-
- return response;
-}
-
-bool Query::isFaultResponse( const TQDomDocument &doc ) const
-{
- return doc.documentElement().firstChild().toElement().tagName().lower() == "fault";
-}
-
-Result Query::parseFaultResponse( const TQDomDocument &doc ) const
-{
- Result response;
- response.m_success = false;
-
- TQDomNode errorNode = doc.documentElement().firstChild().firstChild();
- const TQVariant errorVariant = demarshal( errorNode.toElement() );
- response.m_errorCode = errorVariant.toMap() [ "faultCode" ].toInt();
- response.m_errorString = errorVariant.toMap() [ "faultString" ].toString();
-
- return response;
-}
-
-TQString Query::markupCall( const TQString &cmd,
- const TQValueList<TQVariant> &args ) const
-{
- TQString markup = "<?xml version=\"1.0\" ?>\r\n<methodCall>\r\n";
-
- markup += "<methodName>" + cmd + "</methodName>\r\n";
-
- if ( !args.isEmpty() )
- {
- markup += "<params>\r\n";
- TQValueList<TQVariant>::ConstIterator it = args.begin();
- TQValueList<TQVariant>::ConstIterator end = args.end();
- for ( ; it != end; ++it )
- markup += "<param>\r\n" + marshal( *it ) + "</param>\r\n";
- markup += "</params>\r\n";
- }
-
- markup += "</methodCall>\r\n";
-
- return markup;
-}
-
-TQString Query::marshal( const TQVariant &arg ) const
-{
- switch ( arg.type() )
- {
- case TQVariant::String:
- case TQVariant::CString:
- {
- TQString result = arg.toString();
- result = result.replace( "&", "&amp;" );
- result = result.replace( "\"", "&quot;" );
- result = result.replace( "<", "&lt;" );
- result = result.replace( ">", "&gt;" );
- return "<value><string>" + result + "</string></value>\r\n";
- }
- case TQVariant::Int:
- return "<value><int>" + TQString::number( arg.toInt() ) + "</int></value>\r\n";
- case TQVariant::Double:
- return "<value><double>" + TQString::number( arg.toDouble() ) + "</double></value>\r\n";
- case TQVariant::Bool:
- {
- TQString markup = "<value><boolean>";
- markup += arg.toBool() ? "1" : "0";
- markup += "</boolean></value>\r\n";
- return markup;
- }
- case TQVariant::ByteArray:
- return "<value><base64>" + KCodecs::base64Encode( arg.toByteArray() ) + "</base64></value>\r\n";
- case TQVariant::DateTime:
- return "<value><datetime.iso8601>" + arg.toDateTime().toString( Qt::ISODate ) + "</datetime.iso8601></value>\r\n";
- case TQVariant::List:
- {
- TQString markup = "<value><array><data>\r\n";
- const TQValueList<TQVariant> args = arg.toList();
- TQValueList<TQVariant>::ConstIterator it = args.begin();
- TQValueList<TQVariant>::ConstIterator end = args.end();
- for ( ; it != end; ++it )
- markup += marshal( *it );
- markup += "</data></array></value>\r\n";
- return markup;
- }
- case TQVariant::Map:
- {
- TQString markup = "<value><struct>\r\n";
- TQMap<TQString, TQVariant> map = arg.toMap();
- TQMap<TQString, TQVariant>::ConstIterator it = map.begin();
- TQMap<TQString, TQVariant>::ConstIterator end = map.end();
- for ( ; it != end; ++it )
- {
- markup += "<member>\r\n";
- markup += "<name>" + it.key() + "</name>\r\n";
- markup += marshal( it.data() );
- markup += "</member>\r\n";
- }
- markup += "</struct></value>\r\n";
- return markup;
- }
- default:
- kdWarning() << "Failed to marshal unknown variant type: " << arg.type() << endl;
- };
- return TQString();
-}
-
-TQVariant Query::demarshal( const TQDomElement &elem ) const
-{
- Q_ASSERT( elem.tagName().lower() == "value" );
-
- const TQDomElement typeElement = elem.firstChild().toElement();
- const TQString typeName = typeElement.tagName().lower();
-
- if ( typeName == "string" )
- return TQVariant( typeElement.text() );
- else if ( typeName == "i4" || typeName == "int" )
- return TQVariant( typeElement.text().toInt() );
- else if ( typeName == "double" )
- return TQVariant( typeElement.text().toDouble() );
- else if ( typeName == "boolean" )
- {
- if ( typeElement.text().lower() == "true" || typeElement.text() == "1" )
- return TQVariant( true );
- else
- return TQVariant( false );
- }
- else if ( typeName == "base64" )
- return TQVariant( KCodecs::base64Decode( TQCString(typeElement.text().latin1()) ) );
- else if ( typeName == "datetime" || typeName == "datetime.iso8601" )
- return TQVariant( TQDateTime::fromString( typeElement.text(), Qt::ISODate ) );
- else if ( typeName == "array" )
- {
- TQValueList<TQVariant> values;
- TQDomNode valueNode = typeElement.firstChild().firstChild();
- while ( !valueNode.isNull() )
- {
- values << demarshal( valueNode.toElement() );
- valueNode = valueNode.nextSibling();
- }
- return TQVariant( values );
- }
- else if ( typeName == "struct" )
- {
- TQMap<TQString, TQVariant> map;
- TQDomNode memberNode = typeElement.firstChild();
- while ( !memberNode.isNull() )
- {
- const TQString key = memberNode.toElement().elementsByTagName( "name" ).item( 0 ).toElement().text();
- const TQVariant data = demarshal( memberNode.toElement().elementsByTagName( "value" ).item( 0 ).toElement() );
- map[ key ] = data;
- memberNode = memberNode.nextSibling();
- }
- return TQVariant( map );
- }
- else
- kdWarning() << "Cannot demarshal unknown type " << typeName << endl;
-
- return TQVariant();
-}
-
-Query::Query( const TQVariant &id, TQObject *parent, const char *name )
- : TQObject( parent, name ), m_id( id )
-{}
-
-Query::~Query()
-{
- TQValueList<TDEIO::Job*>::Iterator it;
- for ( it = m_pendingJobs.begin(); it != m_pendingJobs.end(); ++it )
- (*it)->kill();
-}
-
-Server::Server( const KURL &url, TQObject *parent, const char *name )
- : TQObject( parent, name )
-{
- if ( url.isValid() )
- m_url = url;
-
- m_userAgent = "KDE XMLRPC resources";
-
- DebugDialog::init();
-}
-
-Server::~Server()
-{
- TQValueList<Query*>::Iterator it;
- for ( it = mPendingQueries.begin(); it !=mPendingQueries.end(); ++it )
- (*it)->deleteLater();
-
- mPendingQueries.clear();
-}
-
-void Server::queryFinished( Query *query )
-{
- mPendingQueries.remove( query );
- query->deleteLater();
-}
-
-void Server::setUrl( const KURL &url )
-{
- m_url = url.isValid() ? url : KURL();
-}
-
-void Server::call( const TQString &method, const TQValueList<TQVariant> &args,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot, const TQVariant &id )
-{
- if ( m_url.isEmpty() )
- kdWarning() << "Cannot execute call to " << method << ": empty server URL" << endl;
-
- Query *query = Query::create( id, this );
- connect( query, TQT_SIGNAL( message( const TQValueList<TQVariant> &, const TQVariant& ) ), msgObj, messageSlot );
- connect( query, TQT_SIGNAL( fault( int, const TQString&, const TQVariant& ) ), faultObj, faultSlot );
- connect( query, TQT_SIGNAL( finished( Query* ) ), this, TQT_SLOT( queryFinished( Query* ) ) );
- mPendingQueries.append( query );
-
- query->call( m_url.url(), method, args, m_userAgent );
-}
-
-void Server::call( const TQString &method, const TQVariant &arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << arg ;
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, int arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, bool arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, double arg ,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, const TQString &arg ,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, const TQCString &arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, const TQByteArray &arg ,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, faultObj, faultSlot, msgObj, messageSlot, id );
-}
-
-void Server::call( const TQString &method, const TQDateTime &arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- args << TQVariant( arg );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-void Server::call( const TQString &method, const TQStringList &arg,
- TQObject* msgObj, const char* messageSlot,
- TQObject* faultObj, const char* faultSlot,
- const TQVariant &id )
-{
- TQValueList<TQVariant> args;
- TQStringList::ConstIterator it = arg.begin();
- TQStringList::ConstIterator end = arg.end();
- for ( ; it != end; ++it )
- args << TQVariant( *it );
- call( method, args, msgObj, messageSlot, faultObj, faultSlot, id );
-}
-
-#include "xmlrpciface.moc"
diff --git a/kresources/egroupware/xmlrpciface.h b/kresources/egroupware/xmlrpciface.h
deleted file mode 100644
index df2f3a6d..00000000
--- a/kresources/egroupware/xmlrpciface.h
+++ /dev/null
@@ -1,167 +0,0 @@
-/**************************************************************************
-* Copyright (C) 2003 - 2004 by Frerich Raabe <raabe@kde.org> *
-* Tobias Koenig <tokoe@kde.org> *
-* *
-* 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 of the License, or *
-* (at your option) any later version. *
-***************************************************************************/
-#ifndef KXMLRPCIFACE_H
-#define KXMLRPCIFACE_H
-
-#include <kurl.h>
-
-#include <tqbuffer.h>
-#include <tqdom.h>
-#include <tqobject.h>
-#include <tqvariant.h>
-#include <tqvaluelist.h>
-
-namespace TDEIO
-{
- class Job;
-}
-
-namespace KXMLRPC
-{
- class Query;
- class QueryResult;
- class Server;
- class Result;
-
- class Query : public TQObject
- {
- Q_OBJECT
-
- public:
-
-
- static Query *create( const TQVariant &id = TQVariant(),
- TQObject *parent = 0, const char *name = 0 );
-
- public slots:
- void call( const TQString &server, const TQString &method,
- const TQValueList<TQVariant> &args = TQValueList<TQVariant>(),
- const TQString &userAgent = "KDE-XMLRPC" );
-
- signals:
- void message( const TQValueList<TQVariant> &result, const TQVariant &id );
- void fault( int, const TQString&, const TQVariant &id );
- void finished( Query* );
-
- private slots:
- void slotData( TDEIO::Job *job, const TQByteArray &data );
- void slotResult( TDEIO::Job *job );
-
- private:
- bool isMessageResponse( const TQDomDocument &doc ) const;
- bool isFaultResponse( const TQDomDocument &doc ) const;
-
- Result parseMessageResponse( const TQDomDocument &doc ) const;
- Result parseFaultResponse( const TQDomDocument &doc ) const;
-
- TQString markupCall( const TQString &method,
- const TQValueList<TQVariant> &args ) const;
- TQString marshal( const TQVariant &v ) const;
- TQVariant demarshal( const TQDomElement &e ) const;
-
- Query( const TQVariant &id, TQObject *parent = 0, const char *name = 0 );
- ~Query();
-
- TQByteArray m_buffer;
- TQVariant m_id;
-
- TQValueList<TDEIO::Job*> m_pendingJobs;
- };
-
- class Server : public TQObject
- {
- Q_OBJECT
-
- public:
- Server( const KURL &url = KURL(),
- TQObject *parent = 0, const char *name = 0 );
- ~Server();
-
- const KURL &url() const { return m_url; }
- void setUrl( const KURL &url );
-
- TQString userAgent() const { return m_userAgent; }
- void setUserAgent( const TQString &userAgent ) { m_userAgent = userAgent; }
-
- template <typename T>
- void call( const TQString &method, const TQValueList<T> &arg,
- TQObject* obj1, const char* faultSlot,
- TQObject* obj2, const char* messageSlot, const TQVariant &id = TQVariant() );
-
-
- public slots:
- void call( const TQString &method, const TQValueList<TQVariant> &args,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQVariant &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, int arg ,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, bool arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, double arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQString &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQCString &arg ,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQByteArray &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQDateTime &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
- void call( const TQString &method, const TQStringList &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot,
- const TQVariant &id = TQVariant() );
-
- private slots:
- void queryFinished( Query* );
-
- private:
- KURL m_url;
- TQString m_userAgent;
-
- TQValueList<Query*> mPendingQueries;
- };
-}
-
-template <typename T>
-void KXMLRPC::Server::call( const TQString &method, const TQValueList<T> &arg,
- TQObject* faultObj, const char* faultSlot,
- TQObject* msgObj, const char* messageSlot, const TQVariant &id )
-{
- TQValueList<TQVariant> args;
-
- typename TQValueList<T>::ConstIterator it = arg.begin();
- typename TQValueList<T>::ConstIterator end = arg.end();
- for ( ; it != end; ++it )
- args << TQVariant( *it );
-
- return call( method, args, faultObj, faultSlot, msgObj, messageSlot, id );
-}
-
-#endif
diff --git a/kresources/exchange/CMakeLists.txt b/kresources/exchange/CMakeLists.txt
deleted file mode 100644
index 98633d6b..00000000
--- a/kresources/exchange/CMakeLists.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-tde_import( libkpimexchange )
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${CMAKE_SOURCE_DIR}/libkpimexchange/core
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES exchange.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### resourcecalendarexchange (module) #########
-
-tde_add_kpart( resourcecalendarexchange AUTOMOC
- SOURCES
- resourceexchange.cpp resourceexchangeconfig.cpp dateset.cpp
- LINK kpimexchange-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kresources/exchange/Makefile.am b/kresources/exchange/Makefile.am
deleted file mode 100644
index 556e3df6..00000000
--- a/kresources/exchange/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/korganizer/interfaces \
- -I$(top_srcdir)/interfaces \
- -I$(top_srcdir) \
- -I$(top_srcdir)/libkpimexchange/core -I$(top_builddir)/libkpimexchange/core \
- -I$(top_srcdir)/libical/src/libical -I$(top_srcdir)/libical/src/libicalss \
- -I$(top_builddir)/libical/src/libical -I$(top_builddir)/libical/src/libicalss \
- $(all_includes)
-
-kde_module_LTLIBRARIES = resourcecalendarexchange.la
-
-resourcecalendarexchange_la_SOURCES = resourceexchange.cpp resourceexchangeconfig.cpp dateset.cpp
-resourcecalendarexchange_la_LDFLAGS= $(all_libraries) -module $(KDE_PLUGIN)
-resourcecalendarexchange_la_LIBADD= -lkresources \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libkpimexchange/libkpimexchange.la
-
-servicedir = $(kde_servicesdir)/kresources/kcal
-service_DATA= exchange.desktop
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_exchange.pot
diff --git a/kresources/exchange/dateset.cpp b/kresources/exchange/dateset.cpp
deleted file mode 100644
index b2622902..00000000
--- a/kresources/exchange/dateset.cpp
+++ /dev/null
@@ -1,280 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-*/
-
-// $Id$
-
-#include <tqptrlist.h>
-#include <tqdatetime.h>
-#include <tqpair.h>
-
-#include <kdebug.h>
-
-#include "dateset.h"
-
-DateSet::DateSet()
-{
- kdDebug() << "Creating DateSet" << endl;
- // mOldestDate =
- mDates = new RangeList();
- mDates->setAutoDelete( true );
-}
-
-DateSet::~DateSet()
-{
- kdDebug() << "Deleting DateSet" << endl;
- delete mDates;
-}
-
-void DateSet::add( TQDate const& date )
-{
- if (mDates->isEmpty()) {
- mDates->insert( 0, new TQPair<TQDate,TQDate>( date, date ) );
- return;
- }
- int i = find( date );
- mDates->insert( i, new TQPair<TQDate,TQDate>( date, date ) );
- tryMerge( i );
- tryMerge( i-1 );
-}
-
-void DateSet::add( TQDate const& from, TQDate const& to )
-{
- if (mDates->isEmpty()) {
- mDates->insert( 0, new TQPair<TQDate,TQDate>( from, to ) );
- return;
- }
- uint i = find( from );
- kdDebug() << "Adding range at position " << i << endl;
- mDates->insert( i, new TQPair<TQDate,TQDate>( from, to ) );
-
- do {
- } while ( tryMerge( i ) );
- do {
- } while ( tryMerge( i-1 ) );
-/*
- TQPair<TQDate,TQDate>* item = mDates->at( i );
-
- if (to >= item->first)
- return;
-
- if (to.daysTo( item->first ) == 1 )
- item->first = from;
- else
- mDates->insert( i, new TQPair<TQDate,TQDate>( from, to ) );
-*/
-}
-
-void DateSet::remove( TQDate const& date )
-{
- if (mDates->isEmpty()) {
- return;
- }
-
- uint i = find( date );
- if ( i == mDates->count() )
- return;
-
- TQPair<TQDate,TQDate>* item = mDates->at( i );
- if ( date < item->first )
- return;
- if ( date == item->first ) {
- if ( date == item->second ) {
- mDates->remove( i );
- } else {
- item->first = item->first.addDays( 1 );
- }
- return;
- }
-
- if ( date == item->second ) {
- item->second = item->second.addDays( -1 );
- } else {
- mDates->insert( i, new TQPair<TQDate,TQDate>(item->first, date.addDays( -1 ) ) );
- item->first = date.addDays( 1 );
- }
-}
-
-void DateSet::remove( TQDate const& from, TQDate const& to )
-{
- if (mDates->isEmpty()) {
- return;
- }
-
- uint i = find( from );
- if ( i == mDates->count() )
- return;
-
- while( i < mDates->count() ) {
- TQPair<TQDate,TQDate>* item = mDates->at( i );
- // Check if we're done: next item is later dan removal period
- if ( to < item->first )
- break;
-
- // Check if entire item should be removed
- if ( from <= item->first && to >= item->second ) {
- mDates->remove( i );
- // Don't skip the next range
- continue;
- }
-
- // Check if we should take a slice out of the middle of the item
- if ( from > item->first && to < item->second ) {
- mDates->insert( i, new TQPair<TQDate,TQDate>( item->first, from.addDays( -1 ) ) );
- item->first = to.addDays( 1 );
- break; // We're done
- }
-
- // Now check if we should take off the beginning of the item
- if ( from <= item->first ) {
- item->first = to.addDays( 1 );
- // Finished
- break;
- }
-
- // Only one possibility left: we should take off the end
- // of the current range
- item->second = from.addDays( -1 );
- i++;
- }
-}
-
-bool DateSet::contains( TQDate const& date )
-{
- if (mDates->isEmpty()) {
- return false;
- }
-
- uint i = find( date );
-// kdDebug() << "contains looking for " << date.toString() << " at range " << i << endl;
- if ( i == mDates->count() )
- return false;
-
- TQPair<TQDate,TQDate>* item = mDates->at( i );
- // kdDebug() << "contains looking at range " << item->first.toString() << " -- " << item->second.toString() << endl;
- return ( item->first <= date );
-}
-
-// returns true if and only if the whole range is in the set
-bool DateSet::contains( TQDate const& from, TQDate const& to )
-{
- if (mDates->isEmpty()) {
- return false;
- }
-
- uint i = find( from );
- if ( i == mDates->count() )
- return false;
-
- TQPair<TQDate,TQDate>* item = mDates->at( i );
-
- return ( from >= item->first && to <= item->second );
-}
-
-// Finds the index in mDates of the range containing date, if it
-// exists. Else, return the index of the range following the date.
-// If mDates is empty, return 0.
-// If date is later than the last item in mDates, return mDates->count()
-
-int DateSet::find( TQDate const& date )
-{
- if ( mDates->isEmpty() )
- return 0;
-
- int start = 0;
- int end = mDates->count();
- while ( start < end ) {
- int i = start + (end-start) / 2;
- // kdDebug() << start << ", " << i << ", " << end << endl;
- TQPair<TQDate,TQDate> *item = mDates->at( i );
- if ( item->first <= date && date <= item->second )
- return i;
- if ( date > item->second ) {
- start = i+1;
- } else { // this means date < item->first
- end = i;
- }
- }
-
- // kdDebug() << "Found for date " << date.toString() << " range " << end << endl;
- return end;
-/*
- // Now either start==end or start+1 == end
- if ( mDates->at( end )->second < date )
- return end+1;
- else if (mDates->at( start )->first > date )
- return start;
- else
- return end;
-*/
-}
-
-void DateSet::print()
-{
- for( uint i=0; i<mDates->count(); i++ )
- {
- TQDate start = mDates->at( i )->first;
- TQDate end = mDates->at( i )->second;
- if (start == end)
- kdDebug() << TQString(start.toString()) << endl;
- else
- kdDebug() << "(" << TQString(start.toString()) << " , " << TQString(end.toString()) << ")" << endl;
- }
-}
-
-// Try and merge range i with range i+1
-// NOT TRUE preconditions: range i starts before range i+1, but MAY end later!
-// preconditions: range i starts before or in range i+1
-bool DateSet::tryMerge( int i )
-{
- if ( i < 0 || i+1 >= (int)(mDates->count()) )
- return false;
-
- TQPair<TQDate,TQDate>* item1 = mDates->at( i );
- TQPair<TQDate,TQDate>* item2 = mDates->at( i+1 );
-
- // First case: item1 starts before or on the same date as item2
- if ( item1->first <= item2->first ) {
- // Check for overlap
- if ( item1->second >= item2->first ||
- item1->second.daysTo( item2->first ) == 1 ) {
- kdDebug() << "Merging items " << i << " and " << (i+1) << endl;
- if (item1->second < item2->second) item1->second = item2->second;
- mDates->remove( i+1 );
- return true;
- }
- return false;
- }
-
- // Second case: item1 starts later than item2 (but at the latest on
- // the last day of item2, see preconditions!)
-
- // Check for overlap
- if ( item1->second >= item2->first ||
- item1->second.daysTo( item2->first ) == 1 ) {
- kdDebug() << "Merging items " << i << " and " << (i+1) << endl;
- if (item1->second < item2->second) item1->second = item2->second;
- item1->first = item2->first;
- mDates->remove( i+1 );
- return true;
- }
- return false;
-}
-
-
diff --git a/kresources/exchange/dateset.h b/kresources/exchange/dateset.h
deleted file mode 100644
index 693aa4a3..00000000
--- a/kresources/exchange/dateset.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-*/
-
-// $Id$
-
-#ifndef _DATESET_H
-#define _DATESET_H
-
-#include <tqdatetime.h>
-#include <tqpair.h>
-#include <tqptrlist.h>
-
-/*
-class DateRange {
- public:
- DateRange() { }
- DateRange( TQDate const& from, TQDate const& to )
- : mFrom( from ), mTo( to ) { }
- bool operator< ( const DateRange& r ) { return mFrom < r.from(); }
- bool contains( TQDate const& d ) { return ( mFrom <= d && d <= mTo ); }
- bool contains( TQDate const& from, TQDate const& to ) { return ( mFrom <= from && to <= mTo ); }
-
- TQDate from() { return mFrom; }
- TQDate to() { return mTo; }
-
- private:
- TQDate mFrom;
- TQDate mTo;
-}
-*/
-
-class RangeList : public TQPtrList< TQPair<TQDate, TQDate> > {
- protected:
- virtual int compareItems(TQPtrCollection::Item item1, TQPtrCollection::Item item2) {
- TQPair<TQDate,TQDate> *i1 = static_cast<TQPair<TQDate,TQDate> *> (item1);
- TQPair<TQDate,TQDate> *i2 = static_cast<TQPair<TQDate,TQDate> *> (item2);
- if ( *i1 < *i2 ) return -1;
- if ( *i2 < *i1 ) return 1;
- return 0;
- }
-};
-
-class DateSet {
- public:
- DateSet();
- ~DateSet();
-
- void add( TQDate const& date );
- void add( TQDate const& from, TQDate const& to );
-
- void remove( TQDate const& date );
- void remove( TQDate const& from, TQDate const& to );
-
- bool contains( TQDate const& date );
- // returns true if and only if the whole range is in the set
- bool contains( TQDate const& from, TQDate const& to );
-
- int find( TQDate const &date );
- void print();
-
- protected:
- private:
- bool tryMerge( int i );
- RangeList *mDates;
-
- TQDate mOldestDate;
- TQDate mNewestDate;
-};
-
-#endif
diff --git a/kresources/exchange/exchange.desktop b/kresources/exchange/exchange.desktop
deleted file mode 100644
index 0ee32090..00000000
--- a/kresources/exchange/exchange.desktop
+++ /dev/null
@@ -1,53 +0,0 @@
-[Desktop Entry]
-Type=Service
-X-TDE-Library=resourcecalendarexchange
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=exchange
-ServiceTypes=KResources/Plugin
-Name=Exchange 2000 Server
-Name[af]=Exchange 2000 Bediener
-Name[be]=Сэрвэр Exchange 2000
-Name[bg]=Сървър Exchange 2000
-Name[br]=Servijer Exchange 2000
-Name[ca]=Servidor Exchange 2000
-Name[cs]=Exchange 2000 server
-Name[da]=Exchange 2000 server
-Name[el]=Εξυπηρετητής Exchange2000
-Name[es]=Servidor Exchange 2000
-Name[et]=Exchange 2000 server
-Name[eu]=Exchange 2000 zerbitzaria
-Name[fa]=کارساز Exchange ۲۰۰۰
-Name[fi]=Exchange 2000 -palvelin
-Name[fr]=Serveur Exchange2000
-Name[fy]=Exchange2000-tsjinner
-Name[ga]=Freastalaí Exchange 2000
-Name[gl]=Servidor Exchange 2000
-Name[hu]=Exchange 2000-kiszolgáló
-Name[is]=Exchange 2000 þjónn
-Name[it]=Server Exchange 2000
-Name[ja]=Exchange 2000 サーバ
-Name[kk]=MS Exchange 2000 сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ Exchange ២០០០
-Name[lt]=Exchange 2000 serveris
-Name[mk]=Exchange 2000-сервер
-Name[ms]=Pelayan Exchange 2000
-Name[nb]=Exchange 2000-tjener
-Name[nds]=Exchange2000-Server
-Name[ne]=एक्सचेन्ज 2000 सर्भर
-Name[nl]=Exchange2000-server
-Name[nn]=Exchange 2000-tenar
-Name[pl]=Serwer Exchange 2000
-Name[pt]=Servidor Exchange 2000
-Name[pt_BR]=Servidor Exchange2000
-Name[ru]=Сервер Microsoft Exchange 2000
-Name[sk]=Exchange 2000 server
-Name[sl]=Strežnik Exchange 2000
-Name[sr]=Exchange 2000 сервер
-Name[sr@Latn]=Exchange 2000 server
-Name[sv]=Exchange 2000-server
-Name[ta]=பரிமாற்ற 2000 சேவகன்
-Name[tr]=Exchange 2000 Sunucusu
-Name[uk]=Сервер Exchange 2000
-Name[zh_CN]=Exchange 2000 服务器
-Name[zh_TW]=Exchange 2000 伺服器
-
diff --git a/kresources/exchange/exchange_deprecated.desktop b/kresources/exchange/exchange_deprecated.desktop
deleted file mode 100644
index eba22eed..00000000
--- a/kresources/exchange/exchange_deprecated.desktop
+++ /dev/null
@@ -1,48 +0,0 @@
-[Desktop Entry]
-Hidden=true
-Name=Exchange 2000 Server (deprecated)
-Name[af]=Exchange 2000 Bediener (nie verder ondersteun)
-Name[bg]=Сървър Exchange 2000 (остаряло)
-Name[ca]=Servidor Exchange 2000 (desaconsellat)
-Name[cs]=Exchange 2000 server (zastaralé)
-Name[da]=Exchange 2000 server (forældet)
-Name[de]=Exchange 2000 Server (veraltet)
-Name[el]=Εξυπηρετητής Exchange2000 (ξεπερασμένος)
-Name[es]=Servidor Exchange 2000 (obsoleto)
-Name[et]=Exchange 2000 server (iganenud)
-Name[eu]=Exchange 2000 zerbitzaria (zaharkituta)
-Name[fa]=کارسازExchange ۲۰۰۰ (محکوم)
-Name[fi]=Exchange 2000 -palvelin (vanhentunut)
-Name[fr]=Serveur Exchange2000 (désuet)
-Name[fy]=Exchange 2000-tsjinner (ôfrieden)
-Name[ga]=Freastalaí Exchange 2000 (as dáta)
-Name[gl]=Servidor Exchange 2000 (desaprobado)
-Name[hu]=Exchange 2000-kiszolgáló (elavult)
-Name[is]=Exchange 2000 þjónn (úrelt)
-Name[it]=Server Exchange 2000 (deprecato)
-Name[ja]=Exchange 2000 サーバ (廃止予定)
-Name[kk]=MS Exchange 2000 сервері (ескірген)
-Name[km]=ម៉ាស៊ីន​បម្រើ Exchange ២០០០ (មិន​សូវ​ល្អ)
-Name[lt]=Exchange 2000 serveris (deprecated)
-Name[mk]=Exchange 2000-сервер (застарено)
-Name[ms]=Pelayan Exchange 2000 (tidak disetujui)
-Name[nb]=Exchange 2000-tjener (frarådet)
-Name[nds]=Exchange2000-Server (utlopen Ünnerstütten)
-Name[ne]=एक्सचेन्ज २००० सर्भर (अनुचित ठानिएको)
-Name[nl]=Exchange 2000-server (afgeraden)
-Name[nn]=Exchange 2000-tenar (frårådd)
-Name[pl]=Serwer Exchange 2000 (przestarzałe)
-Name[pt]=Servidor Exchange 2000 (depreciado)
-Name[pt_BR]=Servidor Exchange2000 (versão de compatibilidade)
-Name[ru]=Сервер Microsoft Exchange 2000 (устаревший)
-Name[sk]=Exchange 2000 server (deprecated)
-Name[sl]=Strežnik Exchange 2000 (opuščeno)
-Name[sr]=Exchange 2000 сервер (неодобраван)
-Name[sr@Latn]=Exchange 2000 server (neodobravan)
-Name[sv]=Exchange 2000-server (avråds från)
-Name[ta]=பரிமாற்ற 2000 சேவகன் (மாறுபாடானது)
-Name[tr]=Exchange 2000 Sunucusu
-Name[uk]=Сервер Exchange 2000 (застаріле)
-Name[zh_CN]=Exchange 2000 服务器(不推荐使用)
-Name[zh_TW]=Exchange 2000 伺服器(已廢除)
-
diff --git a/kresources/exchange/resourceexchange.cpp b/kresources/exchange/resourceexchange.cpp
deleted file mode 100644
index 1f6779a8..00000000
--- a/kresources/exchange/resourceexchange.cpp
+++ /dev/null
@@ -1,627 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-*/
-
-#include <stdlib.h>
-
-#include <tqdatetime.h>
-#include <tqstring.h>
-#include <tqptrlist.h>
-#include <tqwidgetlist.h>
-#include <tqwidget.h>
-
-#include <kdebug.h>
-#include <kapplication.h>
-#include <kstringhandler.h>
-#include <kglobal.h>
-#include <klocale.h>
-
-#include <libkcal/calendarlocal.h>
-#include <libkcal/calendar.h>
-#include <libkcal/journal.h>
-
-#include <kresources/configwidget.h>
-
-#include <kabc/locknull.h>
-
-#include "dateset.h"
-#include "exchangeaccount.h"
-#include "exchangeclient.h"
-#include "exchangemonitor.h"
-
-#include "resourceexchange.h"
-#include "resourceexchangeconfig.h"
-
-
-using namespace KCal;
-using namespace KPIM;
-
-typedef KRES::PluginFactory<ResourceExchange,ResourceExchangeConfig> ExchangeFactory;
-
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( resourcecalendarexchange, ExchangeFactory ); here
-// Problem: How to insert the catalogue!
-extern "C"
-{
- void* init_resourcecalendarexchange()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_exchange" );
- return new ExchangeFactory;
- }
-}
-
-class ResourceExchange::EventInfo {
-public:
- KCal::Event* event;
- KURL url;
- long updateWatch;
-};
-
-ResourceExchange::ResourceExchange( const TDEConfig *config )
- : ResourceCalendar( config ), mClient(0), mMonitor(0), mCache(0), mDates(0),
- mEventDates(0), mCacheDates(0)
-{
- mLock = new KABC::LockNull( true );
-
- mTimeZoneId = TQString::fromLatin1( "UTC" );
-
- kdDebug() << "Creating ResourceExchange" << endl;
- if (config ) {
- mAccount = new ExchangeAccount(
- config->readEntry( "ExchangeHost" ),
- config->readEntry( "ExchangePort" ),
- config->readEntry( "ExchangeAccount" ),
- KStringHandler::obscure( config->readEntry( "ExchangePassword" ) ),
- config->readEntry( "ExchangeMailbox" ) );
- mCachedSeconds = config->readNumEntry( "ExchangeCacheTimeout", 600 );
- mAutoMailbox = config->readBoolEntry( "ExchangeAutoMailbox", true );
- } else {
- setResourceName( i18n( "Exchange Server" ) );
- mAccount = new ExchangeAccount( "", "", "", "" );
- mCachedSeconds = 600;
- }
-}
-
-ResourceExchange::~ResourceExchange()
-{
- kdDebug() << "Destructing ResourceExchange" << endl;
-
- close();
-
- delete mAccount; mAccount = 0;
-}
-
-void ResourceExchange::writeConfig( TDEConfig* config )
-{
- ResourceCalendar::writeConfig( config );
- config->writeEntry( "ExchangeHost", mAccount->host() );
- config->writeEntry( "ExchangePort", mAccount->port() );
- config->writeEntry( "ExchangeAccount", mAccount->account() );
- config->writeEntry( "ExchangeMailbox", mAccount->mailbox() );
- config->writeEntry( "ExchangePassword", KStringHandler::obscure( mAccount->password() ) );
- config->writeEntry( "ExchangeCacheTimeout", mCachedSeconds );
- config->writeEntry( "ExchangeAutoMailbox", mAutoMailbox );
-}
-
-bool ResourceExchange::doOpen()
-{
- kdDebug() << "ResourceExchange::doOpen()" << endl;
-
- mClient = new ExchangeClient( mAccount, mTimeZoneId );
- connect( mClient, TQT_SIGNAL( downloadFinished( int, const TQString & ) ),
- TQT_SLOT( slotDownloadFinished( int, const TQString & ) ) );
- connect( mClient, TQT_SIGNAL( event( KCal::Event *, const KURL & ) ),
- TQT_SLOT( downloadedEvent( KCal::Event *, const KURL & ) ) );
-
-#if 0
- kdDebug() << "Creating monitor" << endl;
- TQHostAddress ip;
- ip.setAddress( mAccount->host() );
- mMonitor = new ExchangeMonitor( mAccount, ExchangeMonitor::CallBack, ip );
- connect( mMonitor, TQT_SIGNAL(notify( const TQValueList<long>& , const TQValueList<KURL>& )), this, TQT_SLOT(slotMonitorNotify( const TQValueList<long>& , const TQValueList<KURL>& )) );
- connect( mMonitor, TQT_SIGNAL(error(int , const TQString&)), this, TQT_SLOT(slotMonitorError(int , const TQString&)) );
-
- mMonitor->addWatch( mAccount->calendarURL(), ExchangeMonitor::UpdateNewMember, 1 );
-#endif
-
- TQWidgetList* widgets = TQApplication::topLevelWidgets();
- if ( !widgets->isEmpty() )
- mClient->setWindow( widgets->first() );
- delete widgets;
-
- mDates = new DateSet();
-
- mEventDates = new TQMap<Event,TQDateTime>();
- mCacheDates = new TQMap<TQDate, TQDateTime>();
-
- mCache = new CalendarLocal( mTimeZoneId );
- // mOldestDate = 0L;
- // mNewestDate = 0L;
-
- // FIXME: check if server exists, account is OK, etc.
- return true;
-}
-
-void ResourceExchange::doClose()
-{
- kdDebug() << "ResourceExchange::doClose()" << endl;
-
- // delete mNewestDate;
- // delete mOldestDate;
- delete mDates; mDates = 0;
-// delete mMonitor; mMonitor = 0;
- delete mClient; mClient = 0;
- delete mEventDates; mEventDates = 0;
- delete mCacheDates; mCacheDates = 0;
- if (mCache) {
- mCache->close();
- delete mCache; mCache = 0;
- }
-// setModified( false );
-}
-
-bool ResourceExchange::doLoad()
-{
- return true;
-}
-
-bool ResourceExchange::doSave()
-{
- kdDebug() << "ResourceExchange::save() " << mChangedIncidences.count()
- << endl;
-
- Incidence::List::Iterator it = mChangedIncidences.begin();
- while( it != mChangedIncidences.end() ) {
- if ( (*it)->type() == "Event" ) {
- if ( uploadEvent( static_cast<Event *>( *it ) ) ) {
- it = mChangedIncidences.remove( it );
- } else {
- kdError() << "ResourceExchange::save(): upload failed." << endl;
- ++it;
- }
- } else {
- kdError() << "ResourceExchange::save() type not handled: "
- << (*it)->type() << endl;
- ++it;
- }
- }
- return true;
-}
-
-KABC::Lock *ResourceExchange::lock()
-{
- return mLock;
-}
-
-void ResourceExchange::slotMonitorNotify( const TQValueList<long>& IDs, const TQValueList<KURL>& urls )
-{
- kdDebug() << "ResourceExchange::slotMonitorNotify()" << endl;
-
- TQString result;
- KPIM::ExchangeMonitor::IDList::ConstIterator it;
- for ( it = IDs.begin(); it != IDs.end(); ++it ) {
- if ( it == IDs.begin() )
- result += TQString::number( (*it) );
- else
- result += "," + TQString::number( (*it) );
- }
- kdDebug() << "Got signals for " << result << endl;
- TQValueList<KURL>::ConstIterator it2;
- for ( it2 = urls.begin(); it2 != urls.end(); ++it2 ) {
- kdDebug() << "URL: " << (*it2).prettyURL() << endl;
- }
-
- /* Now find out what happened:
- * One or more of the following:
- * 1. Event added in period that we think we have cached
- * 2. Event deleted that we have in cache
- * 3. Event modified that we have in cache
- * 4. Something else happened that isn't relevant to us
- * Update cache, then notify whoever's watching us
- * We may be able to find (1) and (3) by looking at the
- * DAV:getlastmodified property
- * (2) is trickier: we might have to resort to checking
- * all uids in the cache
- * Or: put monitors on every event in the cache, so that
- * we know when one gets deleted or modified
- * Only look for new events using the global monitor
- */
-}
-
-void ResourceExchange::slotMonitorError( int errorCode, const TQString& moreInfo )
-{
- kdError() << "Ignoring error from Exchange monitor, code=" << errorCode << "; more info: " << moreInfo << endl;
-}
-
-
-bool ResourceExchange::addEvent( Event *event )
-{
- return addEvent( event, TQString() );
-}
-
-bool ResourceExchange::addEvent( Event *event, const TQString &subresource )
-{
- Q_UNUSED( subresource ); //subresources are not supported
-
- if( !mCache ) return false;
- kdDebug() << "ResourceExchange::addEvent" << endl;
-
- // FIXME: first check of upload finished successfully, only then
- // add to cache
- mCache->addEvent( event );
-
- uploadEvent( event );
-// insertEvent( event );
-
- event->registerObserver( this );
-// setModified( true );
-
- return true;
-}
-
-bool ResourceExchange::uploadEvent( Event *event )
-{
- mClient->uploadSynchronous( event );
- return true;
-}
-
-bool ResourceExchange::deleteEvent(Event *event)
-{
- if ( !mCache ) return false;
- kdDebug(5800) << "ResourceExchange::deleteEvent" << endl;
-
- mClient->removeSynchronous( event );
-
- // This also frees the event
- return mCache->deleteEvent( event );
-
-// setModified( true );
-}
-
-void ResourceExchange::changeIncidence( Incidence *incidence )
-{
- kdDebug() << "ResourceExchange::changeIncidence(): "
- << incidence->summary() << endl;
-
- if ( mChangedIncidences.find( incidence ) == mChangedIncidences.end() ) {
- mChangedIncidences.append( incidence );
- }
-}
-
-Event *ResourceExchange::event( const TQString &uid )
-{
- kdDebug(5800) << "ResourceExchange::event(): " << uid << endl;
-
- // FIXME: Look in exchange server for uid!
- Event *event = 0;
- if ( mCache )
- event = mCache->event( uid );
- return event;
-}
-
-void ResourceExchange::subscribeEvents( const TQDate &start, const TQDate &end )
-{
- kdDebug(5800) << "ResourceExchange::subscribeEvents()" << endl;
- // FIXME: possible race condition if several subscribe events are run close
- // to each other
- mClient->download( start, end, false );
-}
-
-void ResourceExchange::downloadedEvent( KCal::Event *event, const KURL &url )
-{
- kdDebug() << "Downloaded event: " << event->summary() << " from url "
- << url.prettyURL() << endl;
- // FIXME: add watches to the monitor for these events
- // KURL url =
- // mMonitor->addWatch( url, KPIM::ExchangeMonitor::Update, 0 );
-// emit eventsAdded( events );
-}
-
-void ResourceExchange::slotDownloadFinished( int result,
- const TQString &moreinfo )
-{
- kdDebug() << "ResourceExchange::downloadFinished" << endl;
-
- if ( result != KPIM::ExchangeClient::ResultOK ) {
- // Do something useful with the error report
- kdError() << "ResourceExchange::slotDownloadFinished(): error " << result
- << ": " << moreinfo << endl;
- }
-}
-
-void ResourceExchange::unsubscribeEvents( const TQDate &/*start*/, const TQDate &/*end*/ )
-{
- kdDebug() << "ResourceExchange::unsubscribeEvents()" << endl;
-}
-
-bool ResourceExchange::addTodo( Todo *todo )
-{
- return addTodo( todo, TQString() );
-}
-
-bool ResourceExchange::addTodo( Todo */*todo*/, const TQString &subresource )
-{
- Q_UNUSED( subresource ); //subresources are not supported
- // This resource doesn't handle todos yet!
- return false;
-/* if( !mCache)
- return false;
- mCache->addTodo( todo );
-
- todo->registerObserver( this );
-
-// setModified( true );
-
- return true;*/
-}
-
-
-bool ResourceExchange::deleteTodo(Todo */*todo*/)
-{
- // We don't handle todos yet
-// if( !mCache )
- return false;
-// mCache->deleteTodo( todo );
-
-// setModified( true );
-}
-
-Todo::List ResourceExchange::rawTodos( TodoSortField /*sortField*/, SortDirection /*sortDirection*/ )
-{
- // We don't handle todos yet
- return Todo::List();
-/* Todo::List list;
- if ( mCache )
- list = mCache->rawTodos( sortField, sortDirection );
- return list;*/
-}
-
-Todo *ResourceExchange::todo( const TQString &/*uid*/ )
-{
- // We don't handle todos yet
- return 0;
-/* if ( !mCache )
- return 0;
- else
- return mCache->todo( uid );*/
-}
-
-Todo::List ResourceExchange::rawTodosForDate( const TQDate &/*date*/ )
-{
- Todo::List list;
- // We don't handle todos yet
-/* if ( mCache )
- list = mCache->rawTodosForDate( date );*/
- return list;
-}
-
-Alarm::List ResourceExchange::alarmsTo( const TQDateTime &to )
-{
- Alarm::List list;
- if ( mCache )
- list = mCache->alarmsTo( to );
- return list;
-}
-
-/* Invoked by korgac when checking alarms. Always updates the cache. */
-Alarm::List ResourceExchange::alarms( const TQDateTime &from, const TQDateTime &to )
-{
- kdDebug(5800) << "ResourceExchange::alarms(" << from.toString() << " - " << to.toString() << ")\n";
- Alarm::List list;
-
- TQDate start = from.date();
- TQDate end = to.date();
-
- if ( mCache ) {
-
- /* Clear the cache */
- Event::List oldEvents = mCache->rawEvents( start, end, false );
-
- Event::List::ConstIterator it;
- for( it = oldEvents.begin(); it != oldEvents.end(); ++it ) {
- mCache->deleteEvent( *it );
- }
-
- /* Fetch events */
- mClient->downloadSynchronous( mCache, start, end, false );
-
- list = mCache->alarms( from, to );
- }
- return list;
-}
-
-/****************************** PROTECTED METHODS ****************************/
-
-// after changes are made to an event, this should be called.
-void ResourceExchange::incidenceUpdated( IncidenceBase *incidence )
-{
- Event* event = dynamic_cast<Event *>( incidence );
- if ( event ) {
- kdDebug() << "Event updated, resubmit to server..." << endl;
- uploadEvent( event );
- }
-// setModified( true );
-}
-
-// this function will take a VEvent and insert it into the event
-// dictionary for the ResourceExchange. If there is no list of events for that
-// particular location in the dictionary, a new one will be created.
-/*
-void ResourceExchange::insertEvent(const Event *anEvent)
-{
- kdDebug() << "ResourceExchange::insertEvent" << endl;
-
-}
-*/
-// taking a TQDate, this function will look for an eventlist in the dict
-// with that date attached -
-Event::List ResourceExchange::rawEventsForDate( const TQDate &qd,
- EventSortField sortField,
- SortDirection sortDirection )
-{
- if (!mCache) return Event::List();
- // If the events for this date are not in the cache, or if they are old,
- // get them again
- TQDateTime now = TQDateTime::currentDateTime();
- // kdDebug() << "Now is " << now.toString() << endl;
- // kdDebug() << "mDates: " << mDates << endl;
- TQDate start = TQDate( qd.year(), qd.month(), 1 ); // First day of month
- if ( mDates && ( !mDates->contains( start ) ||
- (*mCacheDates)[start].secsTo( now ) > mCachedSeconds ) ) {
- TQDate end = start.addMonths( 1 ).addDays( -1 ); // Last day of month
- // Get events that occur in this period from the cache
- Event::List oldEvents = mCache->rawEvents( start, end, false );
- // And remove them all
- Event::List::ConstIterator it;
- for( it = oldEvents.begin(); it != oldEvents.end(); ++it ) {
- mCache->deleteEvent( *it );
- }
-
- // FIXME: This is needed for the hack below:
- Event::List eventsBefore = mCache->rawEvents();
-
- kdDebug() << "Reading events for month of " << TQString(start.toString()) << endl;
- mClient->downloadSynchronous( mCache, start, end, true ); // Show progress dialog
-
- // FIXME: This is a terrible hack! We need to install the observer for
- // newly downloaded events.However, downloading is done by
- // mClient->downloadSynchronous, where we don't have the pointer to this
- // available... On the other hand, here we don't really know which events
- // are really new.
- Event::List eventsAfter = mCache->rawEvents();
- for ( it = eventsAfter.begin(); it != eventsAfter.end(); ++it ) {
- if ( eventsBefore.find( *it ) == eventsBefore.end() ) {
- // it's a new event downloaded by downloadSynchronous -> install observer
- (*it)->registerObserver( this );
- }
- }
-
- mDates->add( start );
- mCacheDates->insert( start, now );
- }
-
- // Events are safely in the cache now, return them from cache
- Event::List events;
- if ( mCache )
- events = mCache->rawEventsForDate( qd, sortField, sortDirection );
- // kdDebug() << "Found " << events.count() << " events." << endl;
- return events;
-}
-
-
-Event::List ResourceExchange::rawEvents( const TQDate &start, const TQDate &end,
- bool inclusive )
-{
- kdDebug() << "ResourceExchange::rawEvents(start,end,inclusive)" << endl;
- if (!mCache) return Event::List();
- return mCache->rawEvents( start, end, inclusive );
-}
-
-Event::List ResourceExchange::rawEventsForDate(const TQDateTime &qdt)
-{
- kdDebug() << "ResourceExchange::rawEventsForDate(qdt)" << endl;
- return rawEventsForDate( qdt.date() );
-}
-
-Event::List ResourceExchange::rawEvents( EventSortField sortField, SortDirection sortDirection )
-{
- kdDebug() << "ResourceExchange::rawEvents()" << endl;
- if (!mCache) return Event::List();
- return mCache->rawEvents( sortField, sortDirection );
-}
-
-bool ResourceExchange::addJournal( Journal *journal )
-{
- return addJournal( journal, TQString() );
-}
-
-bool ResourceExchange::addJournal( Journal */*journal*/, const TQString &subresource )
-{
- Q_UNUSED( subresource ); //subresources are not supported
-
- // This resource doesn't handle journals yet
- return false;
-/* kdDebug(5800) << "Adding Journal on " << journal->dtStart().toString() << endl;
- if (mCache) {
- mCache->addJournal( journal );
-
- journal->registerObserver( this );
-
-// setModified( true );
- }
-
- return true;*/
-}
-
-bool ResourceExchange::deleteJournal(Journal */*journal*/)
-{
- // Wedon't handle journals yet
-// if( !mCache )
- return false;
-// mCache->deleteJournal( journal );
-
-// setModified( true );
-}
-
-Journal::List ResourceExchange::journals(const TQDate &/*date*/)
-{
- // We don't handle journals yet
- return Journal::List();
-/* Journal::List list;
- if ( mCache )
- list = mCache->journals( date );
- return list;*/
-}
-
-Journal *ResourceExchange::journal(const TQString &/*uid*/)
-{
- // We don't handle journals yet
- return 0;
-/* if( !mCache )
- return 0;
- return mCache->journal( uid );*/
-}
-
-Journal::List ResourceExchange::rawJournals( JournalSortField /*sortField*/, SortDirection /*sortDirection*/ )
-{
- // We don't handle journals yet
- return Journal::List();
-/* Journal::List list;
- if ( mCache )
- list = mCache->rawJournals( sortField, sortDirection );
- return list;*/
-}
-
-Journal::List ResourceExchange::rawJournalsForDate( const TQDate &/*date*/ )
-{
- // We don't handle journals yet
- return Journal::List();
-/* Journal::List list;
- if ( mCache )
- list = mCache->rawJournalsForDate( date );
- return list;*/
-}
-
-void ResourceExchange::setTimeZoneId( const TQString &tzid )
-{
- mTimeZoneId = tzid;
- if ( mCache ) mCache->setTimeZoneId( tzid );
- if ( mClient ) mClient->setTimeZoneId( tzid );
-}
-
-#include "resourceexchange.moc"
diff --git a/kresources/exchange/resourceexchange.h b/kresources/exchange/resourceexchange.h
deleted file mode 100644
index 9b414dbb..00000000
--- a/kresources/exchange/resourceexchange.h
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-*/
-#ifndef KPIM_EXCHANGECALENDAR_H
-#define KPIM_EXCHANGECALENDAR_H
-
-#include <tqmap.h>
-#include <tqdict.h>
-#include <tqintdict.h>
-
-#include <libkcal/calendar.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/resourcecalendar.h>
-
-#include "exchangemonitor.h"
-
-class DateSet;
-
-namespace KPIM {
-class ExchangeAccount;
-class ExchangeClient;
-}
-
-namespace KCal {
-class Event;
-class CalFormat;
-
-/**
- This class provides a calendar stored on a Microsoft Exchange 2000 server
-*/
-// FIXME: Use ResourceCached
-class ResourceExchange : public ResourceCalendar, public IncidenceBase::Observer
-{
- Q_OBJECT
-
-
- public:
- ResourceExchange( const TDEConfig * );
- virtual ~ResourceExchange();
-
- virtual void writeConfig( TDEConfig* config );
-
- KABC::Lock *lock();
-
- /** constructs a new calendar, with variables initialized to sane values. */
-// ExchangeCalendar( KPIM::ExchangeAccount* account );
- /** constructs a new calendar, with variables initialized to sane values. */
-// ExchangeCalendar( KPIM::ExchangeAccount* account, const TQString &timeZoneId );
-// virtual ~ExchangeCalendar();
-
- /**
- Semantics not yet defined. Should the Exchange calendar be wiped clean?
- Should the disk calendar be copied to the Exchange calendar?
- At the moment, does nothing.
- @return true, if successful, false on error.
- @param fileName the name of the calendar on disk.
- */
-// bool load( const TQString &fileName );
- /**
- Writes out the calendar to disk in the specified \a format.
- ExchangeCalendar takes ownership of the CalFormat object.
- @return true, if successful, false on error.
- @param fileName the name of the file
- */
-// bool save( const TQString &fileName, CalFormat *format = 0 );
-
- /** clears out the current calendar, freeing all used memory etc. etc. */
-// void close();
-
- /** Add Event to calendar. */
- KDE_DEPRECATED bool addEvent( Event *event );
- bool addEvent( Event *event, const TQString &subresource );
-
- /** deletes an event from this calendar. */
- bool deleteEvent(Event *);
-
- // Isn't called anymore.
- void changeIncidence( Incidence * );
-
- /**
- Retrieves an event on the basis of the unique string ID.
- */
- Event *event(const TQString &UniqueStr);
- /**
- Return filtered list of all events in calendar.
- */
-// Event::List events();
- /**
- Return unfiltered list of all events in calendar.
- Use with care, since this causes a LOT of network activity
- */
- Event::List rawEvents();
-
- virtual void subscribeEvents( const TQDate& start, const TQDate& end );
-
- /**
- Stop receiving event signals for the given period (inclusive). After this call,
- the calendar resource will no longer send eventsAdded, eventsModified or
- eventsDeleted signals for events falling completely in this period. The resource
- MAY delete the Events objects. The application MUST NOT dereference pointers
- to the relevant Events after this call.
- */
- virtual void unsubscribeEvents( const TQDate& start, const TQDate& end );
-
- /**
- Add a todo to the todolist.
- */
- KDE_DEPRECATED bool addTodo( Todo *todo );
- bool addTodo( Todo *todo, const TQString &subresource );
- /**
- Remove a todo from the todolist.
- */
- bool deleteTodo( Todo * );
- /**
- Searches todolist for an event with this unique string identifier,
- returns a pointer or null.
- */
- Todo *todo( const TQString &uid );
- /**
- Return list of all todos.
- */
- Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /**
- Returns list of todos due on the specified date.
- */
- Todo::List rawTodosForDate( const TQDate &date );
-
- /** Add a Journal entry to calendar */
- KDE_DEPRECATED bool addJournal( Journal *journal );
- bool addJournal( Journal *journal, const TQString &subresource );
- /** deletes an event from this calendar. */
- virtual bool deleteJournal(Journal *);
- /** Return Journals for given date */
- virtual Journal::List journals(const TQDate &);
- /** Return Journal with given UID */
- virtual Journal *journal(const TQString &UID);
- /** Return list of all Journals stored in calendar */
- Journal::List rawJournals( JournalSortField sortField = JournalSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- /** Return journals for the given date. */
- Journal::List rawJournalsForDate( const TQDate & );
-
- /** Return all alarms, which ocur in the given time interval. */
- Alarm::List alarms( const TQDateTime &from, const TQDateTime &to );
-
- /** Return all alarms, which ocur before given date. */
- Alarm::List alarmsTo( const TQDateTime &to );
-
- friend class ResourceExchangeConfig;
-
- protected:
- /**
- Prepare the calendar for use. Load the calendar from disk,
- open connections to the calendaring server, whatever.
- Must be called before other methods can be called.
- */
- virtual bool doOpen();
-
- /** clears out the current calendar, freeing all used memory etc. etc. */
- virtual void doClose();
-
- virtual bool doLoad();
- virtual bool doSave();
-
- public:
- /**
- Builds and then returns a list of all events that match for the
- date specified. useful for dayView, etc. etc.
- */
- Event::List rawEventsForDate(
- const TQDate &date,
- EventSortField sortField=EventSortUnsorted,
- SortDirection sortDirection=SortDirectionAscending );
-
- /**
- Get unfiltered events for date \a qdt.
- */
- Event::List rawEventsForDate( const TQDateTime &qdt );
- /**
- Get unfiltered events in a range of dates. If inclusive is set to true,
- only events are returned, which are completely included in the range.
- */
- Event::List rawEvents( const TQDate &start, const TQDate &end,
- bool inclusive = false );
- /**
- Get unfiltered events in sorted order.
- */
- Event::List rawEvents( EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
-
- protected:
- /** Notification function of IncidenceBase::Observer. */
- void incidenceUpdated( IncidenceBase *i );
-
- /** inserts an event into its "proper place" in the calendar. */
-// void insertEvent(const Event *anEvent);
-
- /** Append alarms of incidence in interval to list of alarms. */
-// void appendAlarms( Alarm::List &alarms, Incidence *incidence,
-// const TQDateTime &from, const TQDateTime &to );
-
- /** Append alarms of recurring events in interval to list of alarms. */
-// void appendRecurringAlarms( Alarm::List &alarms, Incidence *incidence,
-// const TQDateTime &from, const TQDateTime &to );
-
- bool uploadEvent( Event *event );
-
- void setTimeZoneId( const TQString &tzid );
-
- protected slots:
- void slotMonitorNotify( const TQValueList<long>& IDs, const TQValueList<KURL>& urls);
- void slotMonitorError( int errorCode, const TQString& moreInfo );
- void slotDownloadFinished( int result, const TQString& moreinfo );
- void downloadedEvent( KCal::Event*, const KURL& );
-
- private:
- class EventInfo;
- KPIM::ExchangeAccount* mAccount;
- KPIM::ExchangeClient* mClient;
- KPIM::ExchangeMonitor* mMonitor;
- CalendarLocal* mCache;
- TQDict<EventInfo> mEventDict; // maps UIDS to EventInfo records
- TQIntDict<EventInfo> mWatchDict; // maps Watch IDs to EventInfo records
- DateSet* mDates;
- TQMap<Event, TQDateTime>* mEventDates;
- TQMap<TQDate, TQDateTime>* mCacheDates;
- int mCachedSeconds;
- bool mAutoMailbox;
- TQString mTimeZoneId;
-
- KABC::Lock *mLock;
-
- // FIXME: Remove variable, use ResourceCached::changedIncidences() instead.
- Incidence::List mChangedIncidences;
-};
-
-}
-
-#endif
diff --git a/kresources/exchange/resourceexchangeconfig.cpp b/kresources/exchange/resourceexchangeconfig.cpp
deleted file mode 100644
index 36774901..00000000
--- a/kresources/exchange/resourceexchangeconfig.cpp
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <kstandarddirs.h>
-#include <kmessagebox.h>
-
-#include "exchangeaccount.h"
-#include "resourceexchangeconfig.h"
-#include "resourceexchange.h"
-
-using namespace KCal;
-
-ResourceExchangeConfig::ResourceExchangeConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 8, 3 );
-
- TQLabel *label = new TQLabel( i18n( "Host:" ), this );
- mHostEdit = new KLineEdit( this );
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mHostEdit, 1, 1 );
-
- label = new TQLabel( i18n( "Port:" ), this );
- mPortEdit = new KLineEdit( this );
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mPortEdit, 2, 1 );
-
- label = new TQLabel( i18n( "Account:" ), this );
- mAccountEdit = new KLineEdit( this );
- mainLayout->addWidget( label, 3, 0 );
- mainLayout->addWidget( mAccountEdit, 3, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPasswordEdit = new KLineEdit( this );
- mPasswordEdit->setEchoMode( TQLineEdit::Password );
- mainLayout->addWidget( label, 4, 0 );
- mainLayout->addWidget( mPasswordEdit, 4, 1 );
-
- mAutoMailbox = new TQCheckBox( i18n( "Determine mailbox &automatically" ), this );
- mainLayout->addMultiCellWidget( mAutoMailbox, 5, 5, 0, 1 );
- connect( mAutoMailbox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAuto(bool)) );
-
- mMailboxEdit = new KLineEdit( this );
- mainLayout->addWidget( new TQLabel( i18n( "Mailbox URL:" ), this ), 6, 0 );
- mainLayout->addWidget( mMailboxEdit, 6, 1 );
-
- mTryFindMailbox = new TQPushButton( i18n( "&Find" ), this );
- mainLayout->addWidget( mTryFindMailbox, 6, 2 );
- connect( mTryFindMailbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFindClicked()) );
-
- label = new TQLabel( i18n( "Cache timeout:" ), this );
- mCacheEdit = new KIntNumInput( this );
- connect(mCacheEdit, TQT_SIGNAL(valueChanged( int )), TQT_SLOT(slotCacheEditChanged( int )));
- mCacheEdit->setMinValue( 0 );
- mainLayout->addWidget( label, 7, 0 );
- mainLayout->addWidget( mCacheEdit, 7, 1 );
-}
-
-void ResourceExchangeConfig::loadSettings( KRES::Resource *resource )
-{
- ResourceExchange* res = dynamic_cast<ResourceExchange*>( resource );
- if (res) {
- mHostEdit->setText( res->mAccount->host() );
- mPortEdit->setText( res->mAccount->port() );
- mAccountEdit->setText( res->mAccount->account() );
- mPasswordEdit->setText( res->mAccount->password() );
- mAutoMailbox->setChecked( res->mAutoMailbox );
- mMailboxEdit->setText( res->mAccount->mailbox() );
- mCacheEdit->setValue( res->mCachedSeconds );
- } else
- kdDebug(5700) << "ERROR: ResourceExchangeConfig::loadSettings(): no ResourceExchange, cast failed" << endl;
-}
-
-void ResourceExchangeConfig::saveSettings( KRES::Resource *resource )
-{
- kdDebug() << "Saving settings to resource " << resource->resourceName() << endl;
- ResourceExchange* res = dynamic_cast<ResourceExchange*>( resource );
- if (res) {
- if ( mAutoMailbox->isChecked() ) {
- mMailboxEdit->setText( TQString() );
- slotFindClicked();
- if ( mMailboxEdit->text().isNull() ) {
- kdWarning() << "Could not find Exchange mailbox URL, incomplete settings!" << endl;
- }
- }
- res->mAutoMailbox = mAutoMailbox->isChecked();
-
- res->mAccount->setHost(mHostEdit->text());
- res->mAccount->setPort(mPortEdit->text());
- res->mAccount->setAccount(mAccountEdit->text());
- res->mAccount->setPassword(mPasswordEdit->text());
- res->mAccount->setMailbox( mMailboxEdit->text() );
- res->mCachedSeconds = mCacheEdit->value();
- } else
- kdDebug(5700) << "ERROR: ResourceExchangeConfig::saveSettings(): no ResourceExchange, cast failed" << endl;
-}
-
-void ResourceExchangeConfig::slotToggleAuto( bool on )
-{
- mMailboxEdit->setEnabled( ! on );
-// mTryFindMailbox->setEnabled( ! on );
-}
-
-void ResourceExchangeConfig::slotUserChanged( const TQString& /*text*/ )
-{
-// if ( mMailboxEqualsUser->isChecked() ) {
-// mMailboxEdit->setText( "webdav://" + mHostEdit->text() + "/exchange/" + text );
-// }
-}
-
-void ResourceExchangeConfig::slotFindClicked()
-{
- TQString mailbox = KPIM::ExchangeAccount::tryFindMailbox(
- mHostEdit->text(), mPortEdit->text(),
- mAccountEdit->text(), mPasswordEdit->text() );
-
- if ( mailbox.isNull() ) {
- KMessageBox::sorry( this, i18n( "Could not determine mailbox URL, please check your account settings." ) );
- } else {
- mMailboxEdit->setText( mailbox );
- }
-}
-
-void ResourceExchangeConfig::slotCacheEditChanged( int value )
-{
- mCacheEdit->setSuffix( i18n(" second", " seconds", value) );
-}
-
-#include "resourceexchangeconfig.moc"
diff --git a/kresources/exchange/resourceexchangeconfig.h b/kresources/exchange/resourceexchangeconfig.h
deleted file mode 100644
index 42c4ce7e..00000000
--- a/kresources/exchange/resourceexchangeconfig.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- This file is part of libkpimexchange.
- Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef TDEPIM_RESOURCECALENDAREXCHANGECONFIG_H
-#define TDEPIM_RESOURCECALENDAREXCHANGECONFIG_H
-
-#include <tqcheckbox.h>
-
-#include <kcombobox.h>
-#include <kurlrequester.h>
-#include <klineedit.h>
-#include <knuminput.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-namespace KCal {
-
-class ResourceExchangeConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
-public:
- ResourceExchangeConfig( TQWidget* parent = 0, const char* name = 0 );
-
-public slots:
- virtual void loadSettings( KRES::Resource *resource);
- virtual void saveSettings( KRES::Resource *resource );
-
-protected slots:
- void slotToggleAuto( bool on );
- void slotUserChanged( const TQString& text );
- void slotFindClicked();
- void slotCacheEditChanged( int value );
-
-private:
- KLineEdit* mHostEdit;
- KLineEdit* mPortEdit;
- KLineEdit* mAccountEdit;
- KLineEdit* mPasswordEdit;
- TQCheckBox *mAutoMailbox;
- KLineEdit* mMailboxEdit;
- TQPushButton* mTryFindMailbox;
- KIntNumInput* mCacheEdit;
-};
-
-}
-#endif
diff --git a/kresources/featureplan/CMakeLists.txt b/kresources/featureplan/CMakeLists.txt
deleted file mode 100644
index 7d07c761..00000000
--- a/kresources/featureplan/CMakeLists.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-if( BUILD_KODE )
- set( KXML_COMPILER_EXECUTABLE ${CMAKE_BINARY_DIR}/kode/kxml_compiler/kxml_compiler )
- set( KXML_COMPILER_TARGET kxml_compiler )
-else( )
- find_program( KXML_COMPILER_EXECUTABLE
- NAMES kxml_compiler
- HINTS ${TDE_BIN_DIR} ${BIN_INSTALL_DIR} )
- if( NOT KXML_COMPILER_EXECUTABLE )
- tde_message_fatal( "kxml_compiler is NOT found.\n kode package is correctly installed?" )
- endif( )
-endif( )
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES
- kcal_resourcefeatureplan.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### kcal_resourcefeatureplan (module) #########
-
-tde_add_kpart( kcal_resourcefeatureplan AUTOMOC
- SOURCES kcal_resourcefeatureplanplugin.cpp
- LINK kcal_resourcefeatureplan-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### featureplancommon (static) ################
-
-add_custom_command(
- OUTPUT kde-features.h kde-features.cpp kde-features_parser.h kde-features_parser.cpp
- COMMAND ${KXML_COMPILER_EXECUTABLE} --custom-parser ${CMAKE_CURRENT_SOURCE_DIR}/kde-features.rng >/dev/null
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kde-features.rng ${KXML_COMPILER_TARGET} )
-
-tde_add_library( featureplancommon STATIC_PIC
- SOURCES
- kde-features.cpp kde-features_parser.cpp prefs.kcfgc
-)
-
-
-##### kcal_resourcefeatureplan (shared) #########
-
-tde_add_library( kcal_resourcefeatureplan SHARED AUTOMOC
- SOURCES
- kcal_resourcefeatureplan.cpp kcal_resourcefeatureplanconfig.cpp
- VERSION 1.0.0
- LINK featureplancommon-static tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/featureplan/Makefile.am b/kresources/featureplan/Makefile.am
deleted file mode 100644
index dffee0bf..00000000
--- a/kresources/featureplan/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_resourcefeatureplan.la
-
-noinst_LTLIBRARIES = libfeatureplancommon.la
-libfeatureplancommon_la_SOURCES = kde-features.cpp kde-features_parser.cpp \
- prefs.kcfgc
-
-libkcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplan.cpp \
- kcal_resourcefeatureplanconfig.cpp
-libkcal_resourcefeatureplan_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_resourcefeatureplan_la_LIBADD = libfeatureplancommon.la \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-libkcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h
-
-
-kde_module_LTLIBRARIES = kcal_resourcefeatureplan.la
-
-kcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplanplugin.cpp
-kcal_resourcefeatureplan_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_resourcefeatureplan_la_LIBADD = libkcal_resourcefeatureplan.la
-kcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_resourcefeatureplan.desktop
-
-check_PROGRAMS = dumpfeaturelist benchmarkfeaturelist
-
-dumpfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-dumpfeaturelist_LDADD = libfeatureplancommon.la $(LIB_TDECORE)
-dumpfeaturelist_SOURCES = dumpfeaturelist.cpp
-dumpfeaturelist_COMPILE_FIRST = kde-features.h
-
-benchmarkfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-benchmarkfeaturelist_LDADD = libfeatureplancommon.la $(LIB_TDECORE)
-benchmarkfeaturelist_SOURCES = benchmarkfeaturelist.cpp
-benchmarkfeaturelist_COMPILE_FIRST = kde-features.h
-
-kde-features.cpp: kde-features.h
-kde-features_parser.h kde-features_parser.cpp: kde-features.h
-
-kde-features.h kde-features.cpp kde-features_parser.h kde-features_parser.cpp: $(srcdir)/kde-features.rng \
- $(top_builddir)/kode/kxml_compiler/kxml_compiler
- $(top_builddir)/kode/kxml_compiler/kxml_compiler \
- --custom-parser $(srcdir)/kde-features.rng
-
-METASOURCES = AUTO
-DISTCLEANFILES = kde-features.h kde-features.cpp \
- kde-features_parser.h kde-features_parser.cpp \
- kde-features.h.backup kde-features.cpp.backup \
- kde-features_parser.h.backup kde-features_parser.cpp.backup
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_featureplan.pot
-
-kcal_resourcefeatureplan.lo: kde-features_parser.h
-kde-features.lo: kde-features.h
-kde-features_parser.lo: kde-features_parser.h kde-features.h
-
diff --git a/kresources/featureplan/benchmarkfeaturelist.cpp b/kresources/featureplan/benchmarkfeaturelist.cpp
deleted file mode 100644
index f9f88c5c..00000000
--- a/kresources/featureplan/benchmarkfeaturelist.cpp
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kde-features.h"
-#include "kde-features_parser.h"
-
-#include <kapplication.h>
-#include <kcmdlineargs.h>
-#include <kaboutdata.h>
-#include <kdebug.h>
-
-#include <tqfile.h>
-#include <tqtextstream.h>
-
-#include <iostream>
-
-static const KCmdLineOptions options[] =
-{
- { "+featurelist", "Name of featurelist XML file", 0 },
- KCmdLineLastOption
-};
-
-void displayFeature( Feature *f )
-{
- std::cout << "FEATURE: " << f->summary().local8Bit() << std::endl;
- Responsible::List r = f->responsibleList();
- Responsible::List::ConstIterator it;
- for( it = r.begin(); it != r.end(); ++it ) {
- std::cout << " RESPONSIBLE: " << (*it)->name().local8Bit() << " ("
- << (*it)->email().local8Bit() << ")" << std::endl;
- }
- std::cout << " TARGET: " << f->target().local8Bit() << std::endl;
- std::cout << " STATUS: " << f->status().local8Bit() << std::endl;
-}
-
-void displayCategory( const TQValueList<Category *> categories )
-{
- Category::List::ConstIterator it;
- for( it = categories.begin(); it != categories.end(); ++it ) {
- std::cout << "CATEGORY: " << (*it)->name().local8Bit() << std::endl;
-
- Feature::List features = (*it)->featureList();
- Feature::List::ConstIterator it2;
- for( it2 = features.begin(); it2 != features.end(); ++it2 ) {
- displayFeature( *it2 );
- }
-
- displayCategory( (*it)->categoryList() );
- }
-}
-
-int main( int argc, char **argv )
-{
- TDEAboutData aboutData( "benchmarkfeaturelist",
- "Benchmark for feature list XML parser",
- "0.1" );
- TDECmdLineArgs::init( argc, argv, &aboutData );
- TDECmdLineArgs::addCmdLineOptions( options );
-
- TDEApplication app( false, false );
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
-
- if ( args->count() != 1 ) {
- args->usage( "Wrong number of arguments." );
- }
-
- TQString filename = TQFile::decodeName( args->arg( 0 ) );
-
- for( int i = 0; i < 1; ++i ) {
- FeaturesParser parser;
-
- Features *features = parser.parseFile( filename );
-
- if ( !features ) {
- kdError() << "Parse error" << endl;
- return 1;
- }
- }
-}
diff --git a/kresources/featureplan/dumpfeaturelist.cpp b/kresources/featureplan/dumpfeaturelist.cpp
deleted file mode 100644
index a007b70d..00000000
--- a/kresources/featureplan/dumpfeaturelist.cpp
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kde-features.h"
-#include "kde-features_parser.h"
-
-#include <kapplication.h>
-#include <kcmdlineargs.h>
-#include <kaboutdata.h>
-#include <kdebug.h>
-
-#include <tqfile.h>
-#include <tqtextstream.h>
-
-#include <iostream>
-
-static const KCmdLineOptions options[] =
-{
- { "+featurelist", "Name of featurelist XML file", 0 },
- KCmdLineLastOption
-};
-
-void displayFeature( Feature *f )
-{
- std::cout << "FEATURE: " << f->summary().local8Bit() << std::endl;
- Responsible::List r = f->responsibleList();
- Responsible::List::ConstIterator it;
- for( it = r.begin(); it != r.end(); ++it ) {
- std::cout << " RESPONSIBLE: " << (*it)->name().local8Bit() << " ("
- << (*it)->email().local8Bit() << ")" << std::endl;
- }
- std::cout << " TARGET: " << f->target().local8Bit() << std::endl;
- std::cout << " STATUS: " << f->status().local8Bit() << std::endl;
-}
-
-void displayCategory( const TQValueList<Category *> categories )
-{
- Category::List::ConstIterator it;
- for( it = categories.begin(); it != categories.end(); ++it ) {
- std::cout << "CATEGORY: " << (*it)->name().local8Bit() << std::endl;
-
- Feature::List features = (*it)->featureList();
- Feature::List::ConstIterator it2;
- for( it2 = features.begin(); it2 != features.end(); ++it2 ) {
- displayFeature( *it2 );
- }
-
- displayCategory( (*it)->categoryList() );
- }
-}
-
-int main( int argc, char **argv )
-{
- TDEAboutData aboutData( "dumpfeaturelist", "Dump XML feature list to stdout",
- "0.1" );
- TDECmdLineArgs::init( argc, argv, &aboutData );
- TDECmdLineArgs::addCmdLineOptions( options );
-
- TDEApplication app( false, false );
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
-
- if ( args->count() != 1 ) {
- args->usage( "Wrong number of arguments." );
- }
-
- TQString filename = TQFile::decodeName( args->arg( 0 ) );
-
- FeaturesParser parser;
-
- Features *features = parser.parseFile( filename );
-
- if ( !features ) {
- kdError() << "Parse error" << endl;
- } else {
- TQValueList<Category *> categories = features->categoryList();
- displayCategory( categories );
-
- TQString out = filename + ".out";
- if ( !features->writeFile( out ) ) {
- kdError() << "Write error" << endl;
- }
- }
-}
diff --git a/kresources/featureplan/kcal_resourcefeatureplan.cpp b/kresources/featureplan/kcal_resourcefeatureplan.cpp
deleted file mode 100644
index 762bee1f..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplan.cpp
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcefeatureplan.h"
-
-#include "kcal_resourcefeatureplanconfig.h"
-
-#include "kde-features.h"
-#include "kde-features_parser.h"
-
-#include <tqapplication.h>
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqstringlist.h>
-#include <tqtimer.h>
-
-#include <kabc/locknull.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kresources/configwidget.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <kurl.h>
-#include <libtdepim/kpimprefs.h>
-
-using namespace KCal;
-
-ResourceFeaturePlan::ResourceFeaturePlan( const TDEConfig *config )
- : ResourceCached( config ), mLock( true )
-{
- mPrefs = new Prefs;
-
- if ( config ) readConfig( config );
-}
-
-ResourceFeaturePlan::~ResourceFeaturePlan()
-{
-}
-
-Prefs *ResourceFeaturePlan::prefs()
-{
- return mPrefs;
-}
-
-void ResourceFeaturePlan::readConfig( const TDEConfig * )
-{
- mPrefs->readConfig();
-}
-
-void ResourceFeaturePlan::writeConfig( TDEConfig *config )
-{
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-}
-
-bool ResourceFeaturePlan::doLoad()
-{
- kdDebug() << "ResourceFeaturePlan::load()" << endl;
-
- mCalendar.close();
-
- FeaturesParser parser;
-
- Features *features = parser.parseFile( mPrefs->filename() );
-
- if ( !features ) {
- return false;
- } else {
- Category::List categories = features->categoryList();
-
- KCal::Todo *masterTodo = new KCal::Todo;
- masterTodo->setSummary( i18n("Feature Plan") );
- mCalendar.addTodo( masterTodo );
-
- insertCategories( categories, masterTodo );
- }
-
- emit resourceChanged( this );
-
- return true;
-}
-
-void ResourceFeaturePlan::insertCategories( const Category::List &categories,
- Todo *parent )
-{
- Category::List::ConstIterator it;
- for( it = categories.begin(); it != categories.end(); ++it ) {
- Category *c = *it;
-
- Todo *categoryTodo = new Todo;
- categoryTodo->setSummary( c->name() );
- categoryTodo->setRelatedTo( parent );
-
- insertCategories( c->categoryList(), categoryTodo );
-
- Feature::List features = (*it)->featureList();
- Feature::List::ConstIterator it2;
- for( it2 = features.begin(); it2 != features.end(); ++it2 ) {
- Feature *f = *it2;
- Todo *todo = new Todo;
-
- TQString summary = f->summary();
- int pos = summary.find( '\n' );
- if ( pos > 0 ) summary = summary.left( pos ) + "...";
- todo->setSummary( summary );
-
- todo->setDescription( f->summary() );
-
- todo->setRelatedTo( categoryTodo );
-
- int completed;
- if ( f->status() == "done" ) completed = 100;
- else if ( f->status() == "inprogress" ) completed = 50;
- else completed = 0;
- todo->setPercentComplete( completed );
-
- mCalendar.addTodo( todo );
- }
- }
-}
-
-bool ResourceFeaturePlan::doSave()
-{
- return true;
-}
-
-KABC::Lock *ResourceFeaturePlan::lock()
-{
- return &mLock;
-}
-
-
-#include "kcal_resourcefeatureplan.moc"
diff --git a/kresources/featureplan/kcal_resourcefeatureplan.desktop b/kresources/featureplan/kcal_resourcefeatureplan.desktop
deleted file mode 100644
index 2bca3fbe..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplan.desktop
+++ /dev/null
@@ -1,41 +0,0 @@
-[Desktop Entry]
-Name=XML Feature Plan
-Name[af]=XML eienskappe plan
-Name[ca]=Pla de característiques XML
-Name[cs]=XML plán vlastností
-Name[da]=XML Funktionsplan
-Name[el]=Σχέδιο χαρακτηριστικών XML
-Name[eo]=XML-Trajtplano
-Name[es]=Plan de características XML
-Name[et]=XML võimaluste plaan
-Name[eu]=XML eginbide plana
-Name[fa]=نقشۀ ویژگی XML
-Name[fi]=XML-ominaisuussuunnitelma
-Name[fr]=Plan de fonctionnalités XML
-Name[fy]=Funksjonaliteitsplanning yn XML
-Name[gl]=Plan de Características en XML
-Name[hu]=XML FeaturePlan
-Name[is]=XML fídusa áætlun
-Name[it]=Piano caratteristiche XML
-Name[km]=គ្រោង​លក្ខណៈ​ពិសេស XML
-Name[lt]=XML bruožų planas
-Name[ms]=Pelan Cirian XML
-Name[nds]=XML-Funkschonenplaan
-Name[ne]=एक्सएमएल विशेषता योजना
-Name[nl]=Functionaliteitsplanning in XML
-Name[pl]=Plan funkcjonalności XML
-Name[pt]=Plano de Funcionalidades em XML
-Name[pt_BR]=Plano de Funcionalidades XML
-Name[sk]=XML plán vlastností
-Name[sl]=Načrt zmožnosti v XML
-Name[sr]=XML план могућности
-Name[sr@Latn]=XML plan mogućnosti
-Name[ta]=XML பண்பு திட்டம்
-Name[tr]=XML Özellik Planı
-Name[zh_CN]=XML 特性计划
-Name[zh_TW]=XML 功能計畫
-X-TDE-Library=kcal_resourcefeatureplan
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=featureplan
diff --git a/kresources/featureplan/kcal_resourcefeatureplan.h b/kresources/featureplan/kcal_resourcefeatureplan.h
deleted file mode 100644
index 2808aef7..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplan.h
+++ /dev/null
@@ -1,68 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEFEATUREPLAN_H
-#define KCAL_RESOURCEFEATUREPLAN_H
-
-#include "prefs.h"
-
-#include "kde-features.h"
-
-#include <libkcal/resourcecached.h>
-
-#include <kabc/locknull.h>
-
-#include <tdepimmacros.h>
-#include <kconfig.h>
-
-namespace KCal {
-
-/**
- This class represents a featureplan (in KDE XML format)
-*/
-class KDE_EXPORT ResourceFeaturePlan : public ResourceCached
-{
- Q_OBJECT
-
- public:
- ResourceFeaturePlan( const TDEConfig * );
- virtual ~ResourceFeaturePlan();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- Prefs *prefs();
-
- bool doLoad();
- bool doSave();
-
- KABC::Lock *lock();
-
- protected:
- void insertCategories( const Category::List &categories, Todo *parent );
-
- private:
- Prefs *mPrefs;
- KABC::LockNull mLock;
-};
-
-}
-
-#endif
diff --git a/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp b/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp
deleted file mode 100644
index 55d12cbd..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klineedit.h>
-#include <klocale.h>
-#include <knuminput.h>
-#include <kurlrequester.h>
-
-#include "kcal_resourcefeatureplan.h"
-#include "kcal_resourcefeatureplanconfig.h"
-
-using namespace KCal;
-
-ResourceFeaturePlanConfig::ResourceFeaturePlanConfig( TQWidget *parent,
- const char *name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *topLayout = new TQGridLayout( this, 3, 2, 0,
- KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "Filename:" ), this );
- mFilename = new KURLRequester( this );
-
- topLayout->addWidget( label, 0, 0 );
- topLayout->addWidget( mFilename, 0, 1 );
-
- label = new TQLabel( i18n( "Filter email:" ), this );
- mFilterEmail = new KLineEdit( this );
-
- topLayout->addWidget( label, 1, 0 );
- topLayout->addWidget( mFilterEmail, 1, 1 );
-
- mCvsCheck = new TQCheckBox( i18n("Use CVS"), this );
-
- topLayout->addMultiCellWidget( mCvsCheck, 2, 2, 0, 1 );
-}
-
-void ResourceFeaturePlanConfig::loadSettings( KRES::Resource *res )
-{
- ResourceFeaturePlan *resource = dynamic_cast<ResourceFeaturePlan *>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceFeaturePlanConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- Prefs *p = resource->prefs();
- mFilename->setURL( p->filename() );
- mFilterEmail->setText( p->filterEmail() );
- mCvsCheck->setChecked( p->useCvs() );
-}
-
-void ResourceFeaturePlanConfig::saveSettings( KRES::Resource *res )
-{
- ResourceFeaturePlan *resource = dynamic_cast<ResourceFeaturePlan *>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceFeaturePlanConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- Prefs *p = resource->prefs();
- p->setFilename( mFilename->url() );
- p->setFilterEmail( mFilterEmail->text() );
- p->setUseCvs( mCvsCheck->isChecked() );
-}
-
-#include "kcal_resourcefeatureplanconfig.moc"
diff --git a/kresources/featureplan/kcal_resourcefeatureplanconfig.h b/kresources/featureplan/kcal_resourcefeatureplanconfig.h
deleted file mode 100644
index 5ee83c54..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplanconfig.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef RESOURCEFEATUREPLANCONFIG_H
-#define RESOURCEFEATUREPLANCONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KLineEdit;
-class KURLRequester;
-class TQCheckBox;
-
-namespace KCal {
-
-class KDE_EXPORT ResourceFeaturePlanConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceFeaturePlanConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource * );
- void saveSettings( KRES::Resource * );
-
- private:
- KURLRequester *mFilename;
- KLineEdit *mFilterEmail;
- TQCheckBox *mCvsCheck;
-};
-
-}
-
-#endif
diff --git a/kresources/featureplan/kcal_resourcefeatureplanplugin.cpp b/kresources/featureplan/kcal_resourcefeatureplanplugin.cpp
deleted file mode 100644
index ae2759e4..00000000
--- a/kresources/featureplan/kcal_resourcefeatureplanplugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcefeatureplan.h"
-#include "kcal_resourcefeatureplanconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceFeaturePlan, ResourceFeaturePlanConfig > FeatureplanFactory;
-// FIXME K_EXPORT_COMPONENT_FACTORY( kcal_resourcefeatureplan, FeatureplanFactory )
-// Problem: How to insert the catalogue!
-extern "C"
-{
- void* init_kcal_resourcefeatureplan()
- {
- TDEGlobal::locale()->insertCatalogue( "kres_featureplan" );
- return new FeatureplanFactory;
- }
-}
diff --git a/kresources/featureplan/kde-features.dtd b/kresources/featureplan/kde-features.dtd
deleted file mode 100644
index 732c447d..00000000
--- a/kresources/featureplan/kde-features.dtd
+++ /dev/null
@@ -1,25 +0,0 @@
-
-<!ELEMENT features (category+)>
-
-<!ELEMENT category (feature|category)*>
-<!ATTLIST category name CDATA #REQUIRED >
-
-<!ELEMENT feature (summary?,responsible*)>
-<!ATTLIST feature status (inprogress|todo|done) "todo"
- target CDATA #REQUIRED>
-
-<!ELEMENT responsible EMPTY>
-<!ATTLIST responsible name CDATA #IMPLIED
- email CDATA #IMPLIED>
-
-<!ELEMENT summary (#PCDATA|i|a|b|em|strong|br)*>
-
-<!ELEMENT i (#PCDATA)>
-<!ELEMENT b (#PCDATA)>
-<!ELEMENT em (#PCDATA)>
-<!ELEMENT strong (#PCDATA)>
-<!ELEMENT br EMPTY>
-
-<!ELEMENT a (#PCDATA)>
-<!ATTLIST a href CDATA #IMPLIED>
-<!ATTLIST a title CDATA #IMPLIED>
diff --git a/kresources/featureplan/kde-features.rng b/kresources/featureplan/kde-features.rng
deleted file mode 100644
index 89a31dcb..00000000
--- a/kresources/featureplan/kde-features.rng
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
- <define name="features">
- <element name="features">
- <ref name="attlist.features"/>
- <oneOrMore>
- <ref name="category"/>
- </oneOrMore>
- </element>
- </define>
- <define name="attlist.features" combine="interleave">
- <empty/>
- </define>
- <define name="category">
- <element name="category">
- <ref name="attlist.category"/>
- <zeroOrMore>
- <choice>
- <ref name="feature"/>
- <ref name="category"/>
- </choice>
- </zeroOrMore>
- </element>
- </define>
- <define name="attlist.category" combine="interleave">
- <attribute name="name"/>
- </define>
- <define name="feature">
- <element name="feature">
- <ref name="attlist.feature"/>
- <optional>
- <ref name="summary"/>
- </optional>
- <zeroOrMore>
- <ref name="responsible"/>
- </zeroOrMore>
- </element>
- </define>
- <define name="attlist.feature" combine="interleave">
- <optional>
- <attribute name="status" a:defaultValue="todo">
- <choice>
- <value>inprogress</value>
- <value>todo</value>
- <value>done</value>
- </choice>
- </attribute>
- </optional>
- <attribute name="target"/>
- </define>
- <define name="responsible">
- <element name="responsible">
- <ref name="attlist.responsible"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.responsible" combine="interleave">
- <optional>
- <attribute name="name"/>
- </optional>
- <optional>
- <attribute name="email"/>
- </optional>
- </define>
- <define name="summary">
- <element name="summary">
- <ref name="attlist.summary"/>
- <zeroOrMore>
- <choice>
- <text/>
- <ref name="i"/>
- <ref name="a"/>
- <ref name="b"/>
- <ref name="em"/>
- <ref name="strong"/>
- <ref name="br"/>
- </choice>
- </zeroOrMore>
- </element>
- </define>
- <define name="attlist.summary" combine="interleave">
- <empty/>
- </define>
- <define name="i">
- <element name="i">
- <ref name="attlist.i"/>
- <text/>
- </element>
- </define>
- <define name="attlist.i" combine="interleave">
- <empty/>
- </define>
- <define name="b">
- <element name="b">
- <ref name="attlist.b"/>
- <text/>
- </element>
- </define>
- <define name="attlist.b" combine="interleave">
- <empty/>
- </define>
- <define name="em">
- <element name="em">
- <ref name="attlist.em"/>
- <text/>
- </element>
- </define>
- <define name="attlist.em" combine="interleave">
- <empty/>
- </define>
- <define name="strong">
- <element name="strong">
- <ref name="attlist.strong"/>
- <text/>
- </element>
- </define>
- <define name="attlist.strong" combine="interleave">
- <empty/>
- </define>
- <define name="br">
- <element name="br">
- <ref name="attlist.br"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.br" combine="interleave">
- <empty/>
- </define>
- <define name="a">
- <element name="a">
- <ref name="attlist.a"/>
- <text/>
- </element>
- </define>
- <define name="attlist.a" combine="interleave">
- <optional>
- <attribute name="href"/>
- </optional>
- </define>
- <define name="attlist.a" combine="interleave">
- <optional>
- <attribute name="title"/>
- </optional>
- </define>
- <start>
- <choice>
- <ref name="features"/>
- </choice>
- </start>
-</grammar>
diff --git a/kresources/featureplan/kresources_kcal_featureplan.kcfg b/kresources/featureplan/kresources_kcal_featureplan.kcfg
deleted file mode 100644
index b4a5449d..00000000
--- a/kresources/featureplan/kresources_kcal_featureplan.kcfg
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_bugzillarc"/>
-
- <group name="General">
- <entry type="String" name="Filename">
- <label>Filename</label>
- </entry>
- <entry type="String" name="FilterEmail">
- <label>Filter for Email</label>
- </entry>
- <entry type="Bool" name="UseCvs">
- <label>Use CVS</label>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/featureplan/prefs.kcfgc b/kresources/featureplan/prefs.kcfgc
deleted file mode 100644
index d0e12c2d..00000000
--- a/kresources/featureplan/prefs.kcfgc
+++ /dev/null
@@ -1,9 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_featureplan.kcfg
-ClassName=Prefs
-#NameSpace=KBB
-Singleton=false
-Mutators=true
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/groupdav/CMakeLists.txt b/kresources/groupdav/CMakeLists.txt
deleted file mode 100644
index 1ab46c46..00000000
--- a/kresources/groupdav/CMakeLists.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}/../lib
- ${CMAKE_CURRENT_SOURCE_DIR}/../lib
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES kcal_groupdav.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-install( FILES uninstall.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal RENAME kcal_opengroupware.desktop )
-install( FILES kabc_groupdav.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-install( FILES uninstall.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc RENAME kabc_opengroupware.desktop)
-
-
-##### kcal_groupdav (module) ####################
-
-tde_add_kpart( kcal_groupdav AUTOMOC
- SOURCES kcal_resourcegroupdav_plugin.cpp
- LINK kcal_groupdav-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabc_groupdav (module) ####################
-
-tde_add_kpart( kabc_groupdav AUTOMOC
- SOURCES kabc_resourcegroupdav_plugin.cpp
- LINK kabc_groupdav-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kgroupdav (static) ########################
-
-tde_add_library( kgroupdav STATIC_PIC
- SOURCES groupdavglobals.cpp
-)
-
-
-##### kcal_groupdav (shared) ####################
-
-tde_add_library( kcal_groupdav SHARED AUTOMOC
- SOURCES groupdavcalendaradaptor.cpp kcal_resourcegroupdav.cpp
- VERSION 1.0.0
- LINK kgroupdav-static kgroupwaredav-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kabc_groupdav (shared) ####################
-
-tde_add_library( kabc_groupdav SHARED AUTOMOC
- SOURCES kabc_resourcegroupdav.cpp groupdavaddressbookadaptor.cpp
- VERSION 1.0.0
- LINK kgroupdav-static kgroupwaredav-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/groupdav/Makefile.am b/kresources/groupdav/Makefile.am
deleted file mode 100644
index 8006e635..00000000
--- a/kresources/groupdav/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/lib \
- -I../lib $(all_includes)
-
-lib_LTLIBRARIES = libkcal_groupdav.la libkabc_groupdav.la
-noinst_LTLIBRARIES = libkgroupdav.la
-
-libkgroupdav_la_SOURCES = groupdavglobals.cpp
-
-libkcal_groupdav_la_SOURCES = groupdavcalendaradaptor.cpp kcal_resourcegroupdav.cpp
-libkcal_groupdav_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_groupdav_la_LIBADD = \
- libkgroupdav.la ../lib/libkgroupwaredav.la \
- $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la
-
-libkabc_groupdav_la_SOURCES = kabc_resourcegroupdav.cpp groupdavaddressbookadaptor.cpp
-libkabc_groupdav_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkabc_groupdav_la_LIBADD = \
- libkgroupdav.la ../lib/libkgroupwaredav.la \
- $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la \
- -lkabc
-
-kde_module_LTLIBRARIES = kcal_groupdav.la kabc_groupdav.la
-
-kcal_groupdav_la_SOURCES = kcal_resourcegroupdav_plugin.cpp
-kcal_groupdav_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kcal_groupdav_la_LIBADD = libkcal_groupdav.la
-
-kabc_groupdav_la_SOURCES = kabc_resourcegroupdav_plugin.cpp
-kabc_groupdav_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kabc_groupdav_la_LIBADD = libkabc_groupdav.la
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_groupdav.desktop
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_groupdav.desktop
-
-METASOURCES = AUTO
-
-install-data-local: uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(kde_servicesdir)/kresources/kabc
- $(mkinstalldirs) $(DESTDIR)$(kde_servicesdir)/kresources/kcal
- $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_servicesdir)/kresources/kabc/kabc_opengroupware.desktop
- $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_servicesdir)/kresources/kcal/kcal_opengroupware.desktop
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_groupdav.pot
-
-kabc_resourcegroupdav.lo: ../lib/kresources_groupwareprefs.h
-
diff --git a/kresources/groupdav/groupdavaddressbookadaptor.cpp b/kresources/groupdav/groupdavaddressbookadaptor.cpp
deleted file mode 100644
index f8f30f65..00000000
--- a/kresources/groupdav/groupdavaddressbookadaptor.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupdavaddressbookadaptor.h"
-#include "groupdavglobals.h"
-#include "davgroupwareglobals.h"
-#include "webdavhandler.h"
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-#include <kabcresourcecached.h>
-
-#include <kio/job.h>
-#include <kdebug.h>
-
-using namespace KABC;
-
-GroupDavAddressBookAdaptor::GroupDavAddressBookAdaptor() : DavAddressBookAdaptor()
-{
-}
-
-void GroupDavAddressBookAdaptor::customAdaptDownloadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-}
-
-void GroupDavAddressBookAdaptor::customAdaptUploadUrl( KURL &url )
-{
-kdDebug()<<"GroupDavAddressBookAdaptor::adaptUploadUrl( "<<url.url()<<")"<<endl;
- url = WebdavHandler::toDAV( url );
-// url.setPath( url.path() + "/new.vcf" );
-// url.addPath( "new.vcf" );
-kdDebug()<<"after GroupDavAddressBookAdaptor::adaptUploadUrl( "<<url.url()<<")"<<endl;
-}
diff --git a/kresources/groupdav/groupdavaddressbookadaptor.h b/kresources/groupdav/groupdavaddressbookadaptor.h
deleted file mode 100644
index 425c6371..00000000
--- a/kresources/groupdav/groupdavaddressbookadaptor.h
+++ /dev/null
@@ -1,79 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_GROUPDAVADDRESSBOOKADAPTOR_H
-#define KABC_GROUPDAVADDRESSBOOKADAPTOR_H
-
-#include "davaddressbookadaptor.h"
-#include "groupdavglobals.h"
-#include <davgroupwareglobals.h>
-#include <kabc/addressee.h>
-#include <kurl.h>
-
-#include <tqdom.h>
-
-namespace KABC {
-
-class GroupDavAddressBookAdaptor : public DavAddressBookAdaptor
-{
- public:
- GroupDavAddressBookAdaptor();
-
- void customAdaptDownloadUrl( KURL &url );
- void customAdaptUploadUrl( KURL &url );
- TQString mimeType() const { return "text/x-vcard"; }
- TQCString identifier() const { return "KABCResourceGroupDAV"; }
- TQString defaultNewItemName( KPIM::GroupwareUploadItem */*item*/ ) { return "new.vcf"; }
- long flags() const { return 0; }
-
-
- // Creating Jobs
- TDEIO::Job *createListFoldersJob( const KURL &url )
- { return GroupDavGlobals::createListFoldersJob( url ); }
- TDEIO::TransferJob *createListItemsJob( const KURL &url )
- { return GroupDavGlobals::createListItemsJob( url ); }
- TDEIO::TransferJob *createDownloadJob( const KURL &url, KPIM::FolderLister::ContentType ctype )
- { return GroupDavGlobals::createDownloadJob( this, url, ctype ); }
- TDEIO::Job *createRemoveJob( const KURL &uploadurl, KPIM::GroupwareUploadItem *deletedItem )
- { return GroupDavGlobals::createRemoveJob( this, uploadurl, deletedItem ); }
-
-
- // Interpreting Jobs
- bool interpretListItemsJob( TDEIO::Job *job, const TQString &/*jobData*/ )
- { return GroupDavGlobals::interpretListItemsJob( this, job ); }
- bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return GroupDavGlobals::interpretAddressBookDownloadItemsJob(
- this, job, jobData ); }
-
-
- bool getFolderHasSubs( const TQDomNode &folderNode )
- { return GroupDavGlobals::getFolderHasSubs( folderNode ); }
- KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode )
- { return GroupDavGlobals::getContentType( folderNode ); }
-};
-
-}
-
-
-
-
-#endif
diff --git a/kresources/groupdav/groupdavcalendaradaptor.cpp b/kresources/groupdav/groupdavcalendaradaptor.cpp
deleted file mode 100644
index 2556e3d0..00000000
--- a/kresources/groupdav/groupdavcalendaradaptor.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupdavcalendaradaptor.h"
-#include "webdavhandler.h"
-
-#include <kdebug.h>
-
-using namespace KCal;
-
-GroupDavCalendarAdaptor::GroupDavCalendarAdaptor() : DavCalendarAdaptor()
-{
-}
-
-void GroupDavCalendarAdaptor::customAdaptDownloadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-}
-
-void GroupDavCalendarAdaptor::customAdaptUploadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
- // FIXME: Find a good place where we can obtain the path for a new item
-// url.setPath( url.path() + "/new.ics" );
-}
-
diff --git a/kresources/groupdav/groupdavcalendaradaptor.h b/kresources/groupdav/groupdavcalendaradaptor.h
deleted file mode 100644
index b1a0bd36..00000000
--- a/kresources/groupdav/groupdavcalendaradaptor.h
+++ /dev/null
@@ -1,84 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_GROUPDAVCALENDARADAPTOR_H
-#define KCAL_GROUPDAVCALENDARADAPTOR_H
-
-#include "davcalendaradaptor.h"
-#include "groupwareuploadjob.h"
-#include "groupdavglobals.h"
-#include <davgroupwareglobals.h>
-
-#include <kurl.h>
-
-namespace TDEIO {
-class Job;
-}
-
-namespace KCal {
-
-class GroupDavCalendarAdaptor : public DavCalendarAdaptor
-{
- public:
- GroupDavCalendarAdaptor();
-
- TQValueList<KPIM::FolderLister::ContentType> supportedTypes()
- {
- TQValueList<KPIM::FolderLister::ContentType> types;
- types << KPIM::FolderLister::Event;
- types << KPIM::FolderLister::Todo;
- return types;
- }
- void customAdaptDownloadUrl( KURL &url );
- void customAdaptUploadUrl( KURL &url );
- TQCString identifier() const { return "KCalResourceGroupDAV"; }
- TQString defaultNewItemName( KPIM::GroupwareUploadItem */*item*/ ) { return "new.ics"; }
- long flags() const { return 0; }
-
-
- // Creating Jobs
- TDEIO::Job *createListFoldersJob( const KURL &url )
- { return GroupDavGlobals::createListFoldersJob( url ); }
- TDEIO::TransferJob *createListItemsJob( const KURL &url )
- { return GroupDavGlobals::createListItemsJob( url ); }
- TDEIO::TransferJob *createDownloadJob( const KURL &url, KPIM::FolderLister::ContentType ctype )
- { return GroupDavGlobals::createDownloadJob( this, url, ctype ); }
- TDEIO::Job *createRemoveJob( const KURL &uploadurl, KPIM::GroupwareUploadItem *deletedItem )
- { return GroupDavGlobals::createRemoveJob( this, uploadurl, deletedItem ); }
-
-
- // Interpreting Jobs
- bool interpretListItemsJob( TDEIO::Job *job, const TQString &/*jobData*/ )
- { return GroupDavGlobals::interpretListItemsJob( this, job ); }
- bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return GroupDavGlobals::interpretCalendarDownloadItemsJob( this, job, jobData ); }
-
-
- bool getFolderHasSubs( const TQDomNode &folderNode )
- { return GroupDavGlobals::getFolderHasSubs( folderNode ); }
- KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode )
- { return GroupDavGlobals::getContentType( folderNode ); }
-};
-}
-
-
-#endif
diff --git a/kresources/groupdav/groupdavglobals.cpp b/kresources/groupdav/groupdavglobals.cpp
deleted file mode 100644
index 5088bca9..00000000
--- a/kresources/groupdav/groupdavglobals.cpp
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupdavglobals.h"
-#include "groupwaredataadaptor.h"
-#include <webdavhandler.h>
-#include <libemailfunctions/idmapper.h>
-#include <calendaradaptor.h>
-#include <addressbookadaptor.h>
-
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcecached.h>
-#include <kabc/vcardconverter.h>
-
-#include <kdebug.h>
-#include <kio/davjob.h>
-#include <kio/job.h>
-
-TQString GroupDavGlobals::extractFingerprint( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- const TQString& headers = job->queryMetaData( "HTTP-Headers" );
- return WebdavHandler::getEtagFromHeaders( headers );
-}
-
-
-KPIM::FolderLister::ContentType GroupDavGlobals::getContentType( const TQDomElement &prop )
-{
- TQDomElement ctype = prop.namedItem("getcontenttype").toElement();
- if ( ctype.isNull() ) return KPIM::FolderLister::Unknown;
- const TQString &type = ctype.text();
-kdDebug()<<"Found content type: "<<type<<endl;
- /// TODO: Not yet implemented in GroupDav!
- return KPIM::FolderLister::Unknown;
-}
-
-
-KPIM::FolderLister::ContentType GroupDavGlobals::getContentType( const TQDomNode &folderNode )
-{
- TQDomNode n4;
-kdDebug()<<"GroupDavGlobals::getContentType(...)"<<endl;
- int type = KPIM::FolderLister::Unknown;
- for( n4 = folderNode.firstChild(); !n4.isNull(); n4 = n4.nextSibling() ) {
- TQDomElement e = n4.toElement();
-
- if ( e.tagName() == "resourcetype" ) {
- if ( !e.namedItem( "vevent-collection" ).isNull() )
- type |= KPIM::FolderLister::Event;
- if ( !e.namedItem( "vtodo-collection" ).isNull() )
- type |= KPIM::FolderLister::Todo;
- if ( !e.namedItem( "vjournal-collection" ).isNull() )
- type |= KPIM::FolderLister::Journal;
- if ( !e.namedItem( "vcard-collection" ).isNull() )
- type |= KPIM::FolderLister::Contact;
- if ( (type == KPIM::FolderLister::Unknown) &&
- !( e.namedItem( "collection" ).isNull() ) )
- type |= KPIM::FolderLister::Folder;
- }
- }
- return (KPIM::FolderLister::ContentType)type;
-}
-
-bool GroupDavGlobals::getFolderHasSubs( const TQDomNode &folderNode )
-{
- // a folder is identified by the collection item in the resourcetype:
- // <a:resourcetype xmlns:a="DAV:"><a:collection xmlns:a="DAV:"/>...</a:resourcetype>
- TQDomElement e = folderNode.namedItem("resourcetype").toElement();
- if ( !e.namedItem( "collection" ).isNull() )
- return true;
- else return false;
-}
-
-
-
-
-TDEIO::Job *GroupDavGlobals::createListFoldersJob( const KURL &url )
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" );
- TQDomElement prop = WebdavHandler::addElement( doc, root, "d:prop" );
- WebdavHandler::addElement( doc, prop, "d:displayname" );
- WebdavHandler::addElement( doc, prop, "d:resourcetype" );
-// WebdavHandler::addElement( doc, prop, "d:hassubs" );
-
- kdDebug(7000) << "props: " << doc.toString() << endl;
- return TDEIO::davPropFind( url, doc, "1", false );
-}
-
-
-TDEIO::TransferJob *GroupDavGlobals::createListItemsJob( const KURL &url )
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addDavElement( doc, prop, "getetag" );
-// WebdavHandler::addDavElement( doc, prop, "getcontenttype" );
- kdDebug(5800) << "props = "<< doc.toString() << endl;
- TDEIO::TransferJob *job = TDEIO::davPropFind( url, doc, "1", false );
- if ( job ) {
- job->addMetaData( "accept", "text/xml" );
- job->addMetaData( "customHTTPHeader", "accept-encoding: " );
- }
- return job;
-}
-
-
-TDEIO::TransferJob *GroupDavGlobals::createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor,
- const KURL &url, KPIM::FolderLister::ContentType /*ctype*/ )
-{
-kdDebug()<<"GroupDavGlobals::createDownloadJob, url="<<url.url()<<endl;
- TDEIO::TransferJob *job = TDEIO::get( url, false, false );
- if ( adaptor ) {
- TQString mt = adaptor->mimeType();
- job->addMetaData( "accept", mt );
- }
- job->addMetaData( "PropagateHttpHeader", "true" );
- return job;
-}
-
-
-TDEIO::Job *GroupDavGlobals::createRemoveJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &/*uploadurl*/,
- KPIM::GroupwareUploadItem *deletedItem )
-{
- if ( !deletedItem ) return 0;
- //kdDebug(7000) << "Delete: " << endl << format.toICalString(*it) << endl;
- KURL url( deletedItem->url() );
- if ( adaptor ) {
- adaptor->adaptUploadUrl( url );
- }
- TDEIO::Job *delJob = 0;
- if ( !url.isEmpty() ) {
- kdDebug(5700) << "Delete: " << url.url() << endl;
- delJob = TDEIO::file_delete( url, false );
- }
- if ( delJob && adaptor && adaptor->idMapper() ) {
- kdDebug(5800 ) << "Adding If-Match metadata: " << adaptor->idMapper()->fingerprint( deletedItem->uid() ) << endl;
- delJob->addMetaData( "customHTTPHeader", "If-Match: " + adaptor->idMapper()->fingerprint( deletedItem->uid() ) );
- }
- return delJob;
-
-/* TQStringList urls;
- KPIM::GroupwareUploadItem::List::const_iterator it;
- kdDebug(5800) << " GroupDavGlobals::createRemoveJob, BaseURL="<<uploadurl.url()<<endl;
- for ( it = deletedItems.constBegin(); it != deletedItems.constEnd(); ++it ) {
- //kdDebug(7000) << "Delete: " << endl << format.toICalString(*it) << endl;
- KURL url( (*it)->url() );
- if ( adaptor ) {
- adaptor->adaptUploadUrl( url );
- }*/
-/* KURL url( uploadurl );
- url.setPath( (*it)->url().path() );
- if ( !(*it)->url().isEmpty() )*/
-/* if ( !url.isEmpty() ) {
-kdDebug() << "Deleting item at "<< url.url() << endl;
- urls << url.url();
- }
- kdDebug(5700) << "Delete (Mod) : " << url.url() << endl;
- }
- return TDEIO::file_del( urls, false, false );*/
-}
-
-
-
-
-bool GroupDavGlobals::interpretListItemsJob( KPIM::GroupwareDataAdaptor *adaptor,
- TDEIO::Job *job )
-{
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob *>(job);
-
- if ( !davjob ) {
- return false;
- }
- TQDomDocument doc = davjob->response();
-
- kdDebug(7000) << " Doc: " << doc.toString() << endl;
- kdDebug(7000) << " IdMapper: " << adaptor->idMapper()->asString() << endl;
-
- TQDomElement docElem = doc.documentElement();
- TQDomNode n = docElem.firstChild();
- while( !n.isNull() ) {
- TQDomElement e = n.toElement(); // try to convert the node to an element.
- n = n.nextSibling();
- if ( e.isNull() )
- continue;
-
- const KURL &entry( e.namedItem("href").toElement().text() );
- TQDomElement propstat = e.namedItem("propstat").toElement();
- if ( propstat.isNull() )
- continue;
- TQDomElement prop = propstat.namedItem( "prop" ).toElement();
- if ( prop.isNull() )
- continue;
- TQDomElement elem = prop.namedItem("getetag").toElement();
- const TQString &newFingerprint = elem.text();
- if ( elem.isNull() || newFingerprint.isEmpty() )
- continue;
-
- KPIM::FolderLister::ContentType type = getContentType( prop );
-
- adaptor->processDownloadListItem( entry, newFingerprint, type );
- }
-
- return true;
-}
-
-
-bool GroupDavGlobals::interpretCalendarDownloadItemsJob( KCal::CalendarAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData )
-{
-kdDebug(5800) << "GroupDavGlobals::interpretCalendarDownloadItemsJob, iCalendar=" << endl;
-kdDebug(5800) << jobData << endl;
- if ( !adaptor || !job ) return false;
- KCal::CalendarLocal calendar( TQString::fromLatin1("UTC") );
- KCal::ICalFormat ical;
- calendar.setTimeZoneId( adaptor->resource()->timeZoneId() );
- KCal::Incidence::List incidences;
- if ( ical.fromString( &calendar, jobData ) ) {
- KCal::Incidence::List raw = calendar.rawIncidences();
- KCal::Incidence::List::Iterator it = raw.begin();
- if ( raw.count() != 1 ) {
- kdError() << "Parsed iCalendar does not contain exactly one event." << endl;
- return false;
- }
-
- KCal::Incidence *inc = (raw.front())->clone();
- if ( !inc ) return false;
- TDEIO::SimpleJob *sjob = dynamic_cast<TDEIO::SimpleJob *>(job);
- KURL remoteId;
- if ( sjob ) remoteId = sjob->url();
- TQString fingerprint = extractFingerprint( job, jobData );
- adaptor->calendarItemDownloaded( inc, inc->uid(), remoteId, fingerprint,
- remoteId.prettyURL() );
- return true;
- } else {
- kdError() << "Unable to parse iCalendar" << endl;
- }
- return false;
-}
-
-
-bool GroupDavGlobals::interpretAddressBookDownloadItemsJob(
- KABC::AddressBookAdaptor *adaptor, TDEIO::Job *job, const TQString &jobData )
-{
-kdDebug(5800) << "GroupDavGlobals::interpretAddressBookDownloadItemsJob, vCard=" << endl;
-kdDebug(5800) << jobData << endl;
- if ( !adaptor || !job ) return false;
-
- KABC::VCardConverter conv;
- KABC::Addressee::List addrs( conv.parseVCards( jobData ) );
-
- if ( addrs.count() != 1 ) {
- kdError() << "Parsed vCard does not contain exactly one addressee." << endl;
- return false;
- }
-
- KABC::Addressee a = addrs.first();
-
- TDEIO::SimpleJob *sjob = dynamic_cast<TDEIO::SimpleJob*>(job);
- KURL remoteId;
- if ( sjob ) remoteId = sjob->url();
- TQString fingerprint = extractFingerprint( job, jobData );
- adaptor->addressbookItemDownloaded( a, a.uid(), remoteId, fingerprint,
- remoteId.prettyURL() );
- return true;
-}
-
-
diff --git a/kresources/groupdav/groupdavglobals.h b/kresources/groupdav/groupdavglobals.h
deleted file mode 100644
index e7f2b06e..00000000
--- a/kresources/groupdav/groupdavglobals.h
+++ /dev/null
@@ -1,73 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (C) 2004-2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef GROUPDAVGLOBALS_H
-#define GROUPDAVGLOBALS_H
-
-#include <groupwareuploadjob.h>
-#include <folderlister.h>
-#include <kurl.h>
-#include <tqdom.h>
-
-namespace KPIM {
-class GroupwareDataAdaptor;
-class GroupwareUploadItem;
-}
-namespace TDEIO {
-class TransferJob;
-class Job;
-}
-namespace KABC {
-class AddressBookAdaptor;
-}
-namespace KCal {
-class CalendarAdaptor;
-}
-
-class GroupDavGlobals
-{
- public:
- GroupDavGlobals() {}
- static TQString extractFingerprint( TDEIO::Job *job, const TQString &/*jobData*/ );
- static KPIM::FolderLister::ContentType getContentType( const TQDomElement &prop );
- static KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode );
- static bool getFolderHasSubs( const TQDomNode &folderNode );
-
-
- static TDEIO::Job *createListFoldersJob( const KURL &url );
- static TDEIO::TransferJob *createListItemsJob( const KURL &url );
- static TDEIO::TransferJob *createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor,
- const KURL &url, KPIM::FolderLister::ContentType ctype );
- static TDEIO::Job *createRemoveJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &uploadurl,
- KPIM::GroupwareUploadItem *deletedItems );
-
-
- static bool interpretListItemsJob( KPIM::GroupwareDataAdaptor *adaptor,
- TDEIO::Job *job );
- static bool interpretCalendarDownloadItemsJob( KCal::CalendarAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData );
- static bool interpretAddressBookDownloadItemsJob( KABC::AddressBookAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData );
-
-};
-
-#endif
diff --git a/kresources/groupdav/kabc_groupdav.desktop b/kresources/groupdav/kabc_groupdav.desktop
deleted file mode 100644
index c10ea97c..00000000
--- a/kresources/groupdav/kabc_groupdav.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=GroupDAV Server (e.g. OpenGroupware)
-Name[af]=GroupDAV bediener (bv. OpenGroupware)
-Name[bg]=Сървър GroupDAV (e.g. OpenGroupware)
-Name[br]=Servijer GroupDAV (e.g. OpenGroupware)
-Name[ca]=Servidor GroupDAV (p.ex. OpenGroupware)
-Name[cs]=GroupDAV server (např. OpenGroupware)
-Name[da]=GroupDAV-server (f.eks. OpenGroupware)
-Name[de]=GroupDAV-Server (z. B. OpenGroupware)
-Name[el]=Εξυπηρετητής GroupDAV (π.χ. OpenGroupware)
-Name[es]=Servidor GroupDAV (por ejemplo, OpenGroupware)
-Name[et]=GroupDAV server (nt. OpenGroupware)
-Name[eu]=GroupDAV zerbitzaria (adib. OpenGroupware)
-Name[fa]=کارساز GroupDAV (مثلاً OpenGroupware)
-Name[fi]=GroupDAV-palvelin (esim. OpenGroupware)
-Name[fr]=GroupDAV Serveur (ex. OpenGroupware)
-Name[fy]=GroupDAV-tsjinner (OpenGroupware)
-Name[ga]=Freastalaí GroupDAV (m.sh. OpenGroupware)
-Name[gl]=Servidor GroupDAV (e.g. OpenGroupware)
-Name[hu]=GroupDAV-kiszolgáló (pl. OpenGroupware)
-Name[is]=GroupDAV þjónn (t.d. OpenGroupware)
-Name[it]=Server GroupDAV (per es. OpenGroupware)
-Name[ja]=GroupDAV サーバ (例 OpenGroupware)
-Name[ka]=სერვერი GroupDAV (მაგ., OpenGroupware)
-Name[kk]=GroupDAV сервері (мысалы OpenGroupware)
-Name[km]=ម៉ាស៊ីន​បម្រើ GroupDAV (ឧ. OpenGroupware)
-Name[lt]=GroupDAV serveris (pvz.: OpenGroupware)
-Name[ms]=Pelayan GroupDAV (misalnya OpenGroupware)
-Name[nb]=GroupDAV-tjener (f.eks. OpenGroupware)
-Name[nds]=GroupDAV-Server (t.B. OpenGroupware)
-Name[ne]=समूह DAV सर्भर (जस्तै: खुला ग्रुपवेयर)
-Name[nl]=GroupDAV-server (OpenGroupware)
-Name[nn]=GroupDAV-tenar (t.d. OpenGroupware)
-Name[pl]=Serwer GroupDAV (np. OpenGroupware)
-Name[pt]=Servidor GroupDAV (por exemplo OpenGroupware)
-Name[pt_BR]=Servidor GroupDav (p. ex. OpenGroupware)
-Name[ru]=Сервер GroupDAV (например, OpenGroupware)
-Name[sk]=GroupDAV Server (napr. OpenGroupware)
-Name[sl]=Strežnik GroupDAV (npr. OpenGroupware)
-Name[sr]=GroupDAV сервер (нпр. OpenGroupware)
-Name[sr@Latn]=GroupDAV server (npr. OpenGroupware)
-Name[sv]=GroupDAV-server (t.ex. OpenGroupware)
-Name[ta]=GroupDAV சேவகன் (e.g. OpenGroupware)
-Name[tr]=GroupDAV Sunucusu (ör. OpenGroupware)
-Name[uk]=Сервер GroupDAV (напр., OpenGroupware)
-Name[zh_CN]=GroupDAV 服务器(如 OpenGroupware)
-Name[zh_TW]=GroupDAV 伺服器 (如: OpenGroupware)
-X-TDE-Library=kabc_groupdav
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=groupdav
diff --git a/kresources/groupdav/kabc_resourcegroupdav.cpp b/kresources/groupdav/kabc_resourcegroupdav.cpp
deleted file mode 100644
index 54a02a0a..00000000
--- a/kresources/groupdav/kabc_resourcegroupdav.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "groupdavaddressbookadaptor.h"
-#include "kresources_groupwareprefs.h"
-
-#include "kabc_resourcegroupdav.h"
-
-using namespace KABC;
-
-ResourceGroupDav::ResourceGroupDav( const TDEConfig *config )
- : ResourceGroupwareBase( config )
-{
- init();
- if ( config ) readConfig( config );
-}
-
-void ResourceGroupDav::init()
-{
- setType( "ResourceGroupDav" );
- setPrefs( createPrefs() );
- setFolderLister( new KPIM::FolderLister( KPIM::FolderLister::AddressBook ) );
- setAdaptor( new GroupDavAddressBookAdaptor() );
-
- ResourceGroupwareBase::init();
-}
-
-#include "kabc_resourcegroupdav.moc"
diff --git a/kresources/groupdav/kabc_resourcegroupdav.h b/kresources/groupdav/kabc_resourcegroupdav.h
deleted file mode 100644
index ca7ed96d..00000000
--- a/kresources/groupdav/kabc_resourcegroupdav.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPDAV_H
-#define KABC_RESOURCEGROUPDAV_H
-
-#include "kabc_resourcegroupwarebase.h"
-#include <tdepimmacros.h>
-
-namespace KABC {
-
-class KDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupDav( const TDEConfig * );
-// ResourceGroupDav( const KURL &url,
-// const TQString &user, const TQString &password );
- protected:
- void init();
-};
-
-}
-
-#endif
diff --git a/kresources/groupdav/kabc_resourcegroupdav_plugin.cpp b/kresources/groupdav/kabc_resourcegroupdav_plugin.cpp
deleted file mode 100644
index d487889f..00000000
--- a/kresources/groupdav/kabc_resourcegroupdav_plugin.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupdav.h"
-#include "kabc_resourcegroupwarebaseconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-typedef KRES::PluginFactory< ResourceGroupDav, ResourceGroupwareBaseConfig > GroupDavFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kabc_groupdav, GroupDavFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kabc_groupdav()
- {
- TDEGlobal::locale()->insertCatalogue( "tdepimresources" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupdav" );
- return new GroupDavFactory;
- }
-}
diff --git a/kresources/groupdav/kcal_groupdav.desktop b/kresources/groupdav/kcal_groupdav.desktop
deleted file mode 100644
index 288659d6..00000000
--- a/kresources/groupdav/kcal_groupdav.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=GroupDAV Server (e.g. OpenGroupware)
-Name[af]=GroupDAV bediener (bv. OpenGroupware)
-Name[bg]=Сървър GroupDAV (e.g. OpenGroupware)
-Name[br]=Servijer GroupDAV (e.g. OpenGroupware)
-Name[ca]=Servidor GroupDAV (p.ex. OpenGroupware)
-Name[cs]=GroupDAV server (např. OpenGroupware)
-Name[da]=GroupDAV-server (f.eks. OpenGroupware)
-Name[de]=GroupDAV-Server (z. B. OpenGroupware)
-Name[el]=Εξυπηρετητής GroupDAV (π.χ. OpenGroupware)
-Name[es]=Servidor GroupDAV (por ejemplo, OpenGroupware)
-Name[et]=GroupDAV server (nt. OpenGroupware)
-Name[eu]=GroupDAV zerbitzaria (adib. OpenGroupware)
-Name[fa]=کارساز GroupDAV (مثلاً OpenGroupware)
-Name[fi]=GroupDAV-palvelin (esim. OpenGroupware)
-Name[fr]=GroupDAV Serveur (ex. OpenGroupware)
-Name[fy]=GroupDAV-tsjinner (OpenGroupware)
-Name[ga]=Freastalaí GroupDAV (m.sh. OpenGroupware)
-Name[gl]=Servidor GroupDAV (e.g. OpenGroupware)
-Name[hu]=GroupDAV-kiszolgáló (pl. OpenGroupware)
-Name[is]=GroupDAV þjónn (t.d. OpenGroupware)
-Name[it]=Server GroupDAV (per es. OpenGroupware)
-Name[ja]=GroupDAV サーバ (例 OpenGroupware)
-Name[ka]=სერვერი GroupDAV (მაგ., OpenGroupware)
-Name[kk]=GroupDAV сервері (мысалы OpenGroupware)
-Name[km]=ម៉ាស៊ីន​បម្រើ GroupDAV (ឧ. OpenGroupware)
-Name[lt]=GroupDAV serveris (pvz.: OpenGroupware)
-Name[ms]=Pelayan GroupDAV (misalnya OpenGroupware)
-Name[nb]=GroupDAV-tjener (f.eks. OpenGroupware)
-Name[nds]=GroupDAV-Server (t.B. OpenGroupware)
-Name[ne]=समूह DAV सर्भर (जस्तै: खुला ग्रुपवेयर)
-Name[nl]=GroupDAV-server (OpenGroupware)
-Name[nn]=GroupDAV-tenar (t.d. OpenGroupware)
-Name[pl]=Serwer GroupDAV (np. OpenGroupware)
-Name[pt]=Servidor GroupDAV (por exemplo OpenGroupware)
-Name[pt_BR]=Servidor GroupDav (p. ex. OpenGroupware)
-Name[ru]=Сервер GroupDAV (например, OpenGroupware)
-Name[sk]=GroupDAV Server (napr. OpenGroupware)
-Name[sl]=Strežnik GroupDAV (npr. OpenGroupware)
-Name[sr]=GroupDAV сервер (нпр. OpenGroupware)
-Name[sr@Latn]=GroupDAV server (npr. OpenGroupware)
-Name[sv]=GroupDAV-server (t.ex. OpenGroupware)
-Name[ta]=GroupDAV சேவகன் (e.g. OpenGroupware)
-Name[tr]=GroupDAV Sunucusu (ör. OpenGroupware)
-Name[uk]=Сервер GroupDAV (напр., OpenGroupware)
-Name[zh_CN]=GroupDAV 服务器(如 OpenGroupware)
-Name[zh_TW]=GroupDAV 伺服器 (如: OpenGroupware)
-X-TDE-Library=kcal_groupdav
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=groupdav
diff --git a/kresources/groupdav/kcal_resourcegroupdav.cpp b/kresources/groupdav/kcal_resourcegroupdav.cpp
deleted file mode 100644
index b93ba769..00000000
--- a/kresources/groupdav/kcal_resourcegroupdav.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "groupdavcalendaradaptor.h"
-
-#include "kcal_resourcegroupdav.h"
-
-using namespace KCal;
-
-ResourceGroupDav::ResourceGroupDav()
- : ResourceGroupwareBase()
-{
- init();
-}
-
-ResourceGroupDav::ResourceGroupDav( const TDEConfig *config )
- : ResourceGroupwareBase( config )
-{
- init();
- if ( config ) readConfig( config );
-}
-
-void ResourceGroupDav::init()
-{
- setType( "ResourceGroupDav" );
- setPrefs( createPrefs() );
- setFolderLister( new KPIM::FolderLister( KPIM::FolderLister::Calendar ) );
- setAdaptor( new GroupDavCalendarAdaptor() );
-
- ResourceGroupwareBase::init();
-}
-
-#include "kcal_resourcegroupdav.moc"
diff --git a/kresources/groupdav/kcal_resourcegroupdav.h b/kresources/groupdav/kcal_resourcegroupdav.h
deleted file mode 100644
index dba9bd27..00000000
--- a/kresources/groupdav/kcal_resourcegroupdav.h
+++ /dev/null
@@ -1,48 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEGROUPDAV_H
-#define KCAL_RESOURCEGROUPDAV_H
-
-#include "kcal_resourcegroupwarebase.h"
-
-namespace KCal {
-
-
-/**
- This class provides a resource for accessing an GroupDav.org server
-*/
-class KDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
-{
- Q_OBJECT
-
- public:
- ResourceGroupDav();
- ResourceGroupDav( const TDEConfig * );
-
- protected:
- void init();
-};
-
-}
-
-#endif
diff --git a/kresources/groupdav/kcal_resourcegroupdav_plugin.cpp b/kresources/groupdav/kcal_resourcegroupdav_plugin.cpp
deleted file mode 100644
index f06e5d24..00000000
--- a/kresources/groupdav/kcal_resourcegroupdav_plugin.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupdav.h"
-#include "kcal_resourcegroupwarebaseconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceGroupDav, ResourceGroupwareBaseConfig > GroupDavFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_groupdav, GroupDavFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kcal_groupdav()
- {
- TDEGlobal::locale()->insertCatalogue( "tdepimresources" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupdav" );
- return new GroupDavFactory;
- }
-}
diff --git a/kresources/groupdav/uninstall.desktop b/kresources/groupdav/uninstall.desktop
deleted file mode 100644
index e1e3e173..00000000
--- a/kresources/groupdav/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true
diff --git a/kresources/groupware/Makefile.am b/kresources/groupware/Makefile.am
deleted file mode 100644
index 741c1052..00000000
--- a/kresources/groupware/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_groupware.la libkabc_groupware.la
-
-libkcal_groupware_la_SOURCES = kcal_resourcegroupware.cpp \
- kcal_resourcegroupwareconfig.cpp \
- kcal_groupwareprefsbase.kcfgc
-libkcal_groupware_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_groupware_la_LIBADD = \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-libkabc_groupware_la_SOURCES = kabc_resourcegroupware.cpp \
- kabc_resourcegroupwareconfig.cpp \
- kabc_groupwareprefs.kcfgc
-libkabc_groupware_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkabc_groupware_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la \
- -lkabc
-
-kde_module_LTLIBRARIES = kcal_groupware.la kabc_groupware.la
-
-kcal_groupware_la_SOURCES = kcal_resourcegroupware_plugin.cpp
-kcal_groupware_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_groupware_la_LIBADD = libkcal_groupware.la
-
-kabc_groupware_la_SOURCES = kabc_resourcegroupware_plugin.cpp
-kabc_groupware_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kabc_groupware_la_LIBADD = libkabc_groupware.la
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_groupware.desktop
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_groupware.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_groupware.pot
diff --git a/kresources/groupware/kabc_groupware.desktop b/kresources/groupware/kabc_groupware.desktop
deleted file mode 100644
index dee5d9c2..00000000
--- a/kresources/groupware/kabc_groupware.desktop
+++ /dev/null
@@ -1,49 +0,0 @@
-[Desktop Entry]
-Name=Groupware Server
-Name[af]=Groupware bediener
-Name[ar]=خادم البرمجيات الجماعية
-Name[bg]=Сървър Groupware
-Name[br]=Servijer strollant
-Name[ca]=Servidor Groupware
-Name[cs]=Groupware server
-Name[el]=Εξυπηρετητής Groupware
-Name[es]=Servidor de Groupware
-Name[et]=Grupitöö server
-Name[eu]=Groupware zerbitzaria
-Name[fa]=کارساز Groupware
-Name[fi]=Groupware-palvelin
-Name[fr]=Serveur de travail collaboratif
-Name[fy]=Groupware-tsjinner
-Name[ga]=Freastalaí Groupware
-Name[gl]=Servidor de Traballo en Grupo
-Name[hu]=Groupware kiszolgáló
-Name[is]=Groupware þjónn
-Name[it]=Server Groupware
-Name[ja]=グループウェアサーバ
-Name[kk]=Groupware сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ​កម្មវិធី​ពហុ​អ្នកប្រើ
-Name[lt]=Grupinio darbo serveris
-Name[ms]=Pelayan Groupware
-Name[nb]=Groupware-tjener
-Name[nds]=Groupware-Server
-Name[ne]=ग्रुपवेयर सर्भर
-Name[nl]=Groupware-server
-Name[nn]=Groupware-tenar
-Name[pl]=Serwer Groupware
-Name[pt]=Servidor de Groupware
-Name[pt_BR]=Servidor Groupware
-Name[ru]=Сервер Groupware
-Name[sl]=Strežnik za skupinsko delo
-Name[sr]=Groupware сервер
-Name[sr@Latn]=Groupware server
-Name[sv]=Grupprogramserver
-Name[ta]=குழுவாரி சேவகன்
-Name[tr]=Grupyazılımı(Groupware) Sunucusu
-Name[uk]=Сервер Groupware
-Name[zh_CN]=群件服务器
-Name[zh_TW]=群組伺服器
-X-TDE-Library=kabc_groupware
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=groupware
diff --git a/kresources/groupware/kabc_groupwareprefs.kcfgc b/kresources/groupware/kabc_groupwareprefs.kcfgc
deleted file mode 100644
index d19f1ae7..00000000
--- a/kresources/groupware/kabc_groupwareprefs.kcfgc
+++ /dev/null
@@ -1,8 +0,0 @@
-ClassName=GroupwarePrefs
-File=kresources_kabc_groupware.kcfg
-GlobalEnums=true
-IncludeFiles=libtdepim/kresourceprefs.h
-Inherits=KResourcePrefs
-Mutators=true
-NameSpace=KABC
-Singleton=false
diff --git a/kresources/groupware/kabc_resourcegroupware.cpp b/kresources/groupware/kabc_resourcegroupware.cpp
deleted file mode 100644
index 3c9d9792..00000000
--- a/kresources/groupware/kabc_resourcegroupware.cpp
+++ /dev/null
@@ -1,365 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-#include <kconfig.h>
-#include <kdebug.h>
-#include <klocale.h>
-
-#include <libtdepim/groupwarejob.h>
-
-#include "kabc_groupwareprefs.h"
-
-#include "kabc_resourcegroupware.h"
-
-using namespace KABC;
-
-ResourceGroupware::ResourceGroupware( const TDEConfig *config )
- : ResourceCached( config )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Groupware Server" ) );
- }
-}
-
-ResourceGroupware::ResourceGroupware( const KURL &url,
- const TQString &user,
- const TQString &password )
- : ResourceCached( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->setUrl( url.url() );
- mPrefs->setUser( user );
- mPrefs->setPassword( password );
-}
-
-void ResourceGroupware::init()
-{
- mDownloadJob = 0;
- mProgress = 0;
-
- mPrefs = new GroupwarePrefs;
-
- setType( "groupware" );
-}
-
-ResourceGroupware::~ResourceGroupware()
-{
- delete mPrefs;
- mPrefs = 0;
-}
-
-void ResourceGroupware::readConfig( const TDEConfig * )
-{
- mPrefs->readConfig();
-
- readAddressBooks();
-}
-
-void ResourceGroupware::writeConfig( TDEConfig *config )
-{
- Resource::writeConfig( config );
-
- writeAddressBooks();
-
- mPrefs->writeConfig();
-}
-
-void ResourceGroupware::readAddressBooks()
-{
-#if 0
- TQStringList ids = prefs()->ids();
- TQStringList names = prefs()->names();
- TQStringList personals = prefs()->personals();
- TQStringList frequents = prefs()->frequents();
-
- if ( ids.count() != names.count() || ids.count() != personals.count() ||
- ids.count() != frequents.count() ) {
- kdError() << "Corrupt addressbook configuration" << endl;
- return;
- }
-
- mAddressBooks.clear();
-
- for( uint i = 0; i < ids.count(); ++i ) {
- Groupware::AddressBook ab;
- ab.id = ids[ i ];
- ab.name = names[ i ];
- ab.isPersonal = personals[ i ] == "1";
- ab.isFrequentContacts = frequents[ i ] == "1";
-
- mAddressBooks.append( ab );
- }
-#endif
-}
-
-void ResourceGroupware::writeAddressBooks()
-{
-#if 0
- TQStringList ids;
- TQStringList names;
- TQStringList personals;
- TQStringList frequents;
- Groupware::AddressBook::List::ConstIterator it;
- for( it = mAddressBooks.begin(); it != mAddressBooks.end(); ++it ) {
- ids.append( (*it).id );
- names.append( (*it).name );
- personals.append( (*it).isPersonal ? "1" : "0" );
- frequents.append( (*it).isFrequentContacts ? "1" : "0" );
- }
- prefs()->setIds( ids );
- prefs()->setNames( names );
- prefs()->setPersonals( personals );
- prefs()->setFrequents( frequents );
-#endif
-}
-
-void ResourceGroupware::retrieveAddressBooks()
-{
-#if 0
- bool firstRetrieve = mAddressBooks.isEmpty();
-
- GroupwareServer server( prefs()->url(),
- prefs()->user(),
- prefs()->password(), this );
-
- server.login();
- mAddressBooks = server.addressBookList();
- server.logout();
-
- if ( firstRetrieve ) {
- TQStringList reads;
- TQString write;
-
- Groupware::AddressBook::List::ConstIterator it;
- for( it = mAddressBooks.begin(); it != mAddressBooks.end(); ++it ) {
- if ( (*it).isPersonal ) {
- reads.append( (*it).id );
- if ( write.isEmpty() ) write = (*it).id;
- }
- }
-
- prefs()->setReadAddressBooks( reads );
- prefs()->setWriteAddressBook( write );
- }
-#endif
-}
-
-Ticket *ResourceGroupware::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceGroupware::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-bool ResourceGroupware::doOpen()
-{
- return true;
-}
-
-void ResourceGroupware::doClose()
-{
- kdDebug() << "ResourceGroupware::doClose()" << endl;
-
- cancelLoad();
-}
-
-bool ResourceGroupware::load()
-{
- return asyncLoad();
-}
-
-bool ResourceGroupware::asyncLoad()
-{
- if ( mDownloadJob ) {
- kdWarning() << "Download still in progress" << endl;
- return false;
- }
-
- mAddrMap.clear();
- loadCache();
-
-#if 0
- if ( addressBooks().isEmpty() ) {
- kdDebug() << "Retrieving default addressbook list." << endl;
- retrieveAddressBooks();
- writeAddressBooks();
- }
-#endif
-
- KURL url( prefs()->url() );
- url.setUser( prefs()->user() );
- url.setPass( prefs()->password() );
-
-#if 0
- TQString query = "?";
- TQStringList ids = mPrefs->readAddressBooks();
- TQStringList::ConstIterator it;
- for( it = ids.begin(); it != ids.end(); ++it ) {
- if ( it != ids.begin() ) query += "&";
- query += "addressbookid=" + *it;
- }
- url.setQuery( query );
-#endif
-
- kdDebug() << "Download URL: " << url << endl;
-
- mJobData = TQString();
-
- mDownloadJob = KPIM::GroupwareJob::getAddressBook( url );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
-
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading addressbook") );
- connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
-
- return true;
-}
-
-bool ResourceGroupware::save( Ticket *ticket )
-{
- return asyncSave( ticket );
-}
-
-bool ResourceGroupware::asyncSave( Ticket* )
-{
-#if 0
- if ( !mServer->login() ) return false;
-
- KABC::Addressee::List::Iterator it;
-
- KABC::Addressee::List addedList = addedAddressees();
- for ( it = addedList.begin(); it != addedList.end(); ++it ) {
- if ( mServer->insertAddressee( mPrefs->writeAddressBook(), *it ) ) {
- clearChange( *it );
- idMapper().setRemoteId( (*it).uid(), (*it).custom( "GWRESOURCE", "UID" ) );
- }
- }
-
- KABC::Addressee::List changedList = changedAddressees();
- for ( it = changedList.begin(); it != changedList.end(); ++it ) {
- if ( mServer->changeAddressee( *it ) )
- clearChange( *it );
- }
-
- KABC::Addressee::List deletedList = deletedAddressees();
- for ( it = deletedList.begin(); it != deletedList.end(); ++it ) {
- if ( mServer->removeAddressee( *it ) )
- clearChange( *it );
- }
-
- saveCache();
-
- mServer->logout();
-#endif
-
- return true;
-}
-
-void ResourceGroupware::slotJobResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupware::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- kdError() << job->errorString() << endl;
- emit loadingError( this, job->errorString() );
- } else {
- mAddrMap.clear();
-
- KABC::VCardConverter conv;
- Addressee::List addressees = conv.parseVCards( mJobData );
- Addressee::List::ConstIterator it;
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- KABC::Addressee addr = *it;
- if ( !addr.isEmpty() ) {
- addr.setResource( this );
-
- TQString remote = addr.custom( "GWRESOURCE", "UID" );
- TQString local = idMapper().localId( remote );
- if ( local.isEmpty() ) {
- idMapper().setRemoteId( addr.uid(), remote );
- } else {
- addr.setUid( local );
- }
-
- insertAddressee( addr );
- clearChange( addr );
- }
- }
- }
-
- saveCache();
-
- emit loadingFinished( this );
-
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-void ResourceGroupware::slotJobData( TDEIO::Job *, const TQByteArray &data )
-{
-// kdDebug() << "ResourceGroupware::slotJobData()" << endl;
-
- mJobData.append( data.data() );
-}
-
-void ResourceGroupware::slotJobPercent( TDEIO::Job *, unsigned long percent )
-{
- kdDebug() << "ResourceGroupware::slotJobPercent() " << percent << endl;
- if ( mProgress ) mProgress->setProgress( percent );
-}
-
-void ResourceGroupware::cancelLoad()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-#include "kabc_resourcegroupware.moc"
diff --git a/kresources/groupware/kabc_resourcegroupware.h b/kresources/groupware/kabc_resourcegroupware.h
deleted file mode 100644
index 53c1d007..00000000
--- a/kresources/groupware/kabc_resourcegroupware.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWARE_H
-#define KABC_RESOURCEGROUPWARE_H
-
-#include <kabcresourcecached.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <kio/job.h>
-
-class TDEConfig;
-
-namespace KABC {
-
-class GroupwarePrefs;
-
-class ResourceGroupware : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupware( const TDEConfig * );
- ResourceGroupware( const KURL &url,
- const TQString &user, const TQString &password );
- ~ResourceGroupware();
-
- void readConfig( const TDEConfig * );
- void writeConfig( TDEConfig * );
-
- void readAddressBooks();
- void writeAddressBooks();
-
- void retrieveAddressBooks();
-
- GroupwarePrefs *prefs() const { return mPrefs; }
-
- bool doOpen();
- void doClose();
-
- Ticket *requestSaveTicket();
- void releaseSaveTicket( Ticket* );
-
- bool load();
- bool asyncLoad();
- bool save( Ticket * );
- bool asyncSave( Ticket * );
-
- protected:
- void init();
-
- private slots:
- void slotJobResult( TDEIO::Job * );
- void slotJobData( TDEIO::Job *, const TQByteArray & );
- void slotJobPercent( TDEIO::Job *job, unsigned long percent );
-
- void cancelLoad();
-
- private:
- GroupwarePrefs *mPrefs;
-
- TDEIO::TransferJob *mDownloadJob;
- KPIM::ProgressItem *mProgress;
- TQString mJobData;
-};
-
-}
-
-#endif
diff --git a/kresources/groupware/kabc_resourcegroupware_plugin.cpp b/kresources/groupware/kabc_resourcegroupware_plugin.cpp
deleted file mode 100644
index c7266b18..00000000
--- a/kresources/groupware/kabc_resourcegroupware_plugin.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupware.h"
-#include "kabc_resourcegroupwareconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-typedef KRES::PluginFactory<ResourceGroupware, ResourceGroupwareConfig> GroupwareFactory;
-
-extern "C"
-{
- void *init_kabc_groupware()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupware" );
- return new ResourceGroupware;
- }
-}
diff --git a/kresources/groupware/kabc_resourcegroupwareconfig.cpp b/kresources/groupware/kabc_resourcegroupwareconfig.cpp
deleted file mode 100644
index 956ee432..00000000
--- a/kresources/groupware/kabc_resourcegroupwareconfig.cpp
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupwareconfig.h"
-
-#include "kabc_resourcegroupware.h"
-#include "kabc_groupwareprefs.h"
-
-#include <kcombobox.h>
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <klistview.h>
-#include <kurlrequester.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-using namespace KABC;
-
-class AddressBookItem : public TQCheckListItem
-{
- public:
- AddressBookItem( KListView *parent, const TQString &id )
- : TQCheckListItem( parent, "", CheckBox ),
- mId( id )
- {
- setText( 0, mId );
-#if 0
- if ( ab.isPersonal ) setText( 1, "Yes" );
- else setText( 1, "No" );
- if ( ab.isFrequentContacts ) setText( 2, "Yes" );
- else setText( 2, "No" );
-#endif
- }
-
- TQString id() const { return mId; }
-
- private:
- TQString mId;
-};
-
-ResourceGroupwareConfig::ResourceGroupwareConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 7, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUser, 1, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mPassword, 2, 1 );
-
- TQFrame *hline = new TQFrame( this );
- hline->setFrameStyle( TQFrame::HLine | TQFrame::Sunken );
-
- mainLayout->addMultiCellWidget( hline, 3, 3, 0, 1 );
-
- TQPushButton *updateButton = new TQPushButton( i18n( "Retrieve Address Book List From Server" ), this );
- mainLayout->addMultiCellWidget( updateButton, 4, 4, 0, 1 );
-
- mAddressBookView = new KListView( this );
- mAddressBookView->addColumn( i18n( "Address Book" ) );
-#if 0
- mAddressBookView->addColumn( i18n( "Personal" ) );
- mAddressBookView->addColumn( i18n( "Frequent Contacts" ) );
-#endif
- mAddressBookView->setFullWidth( true );
-
- mainLayout->addMultiCellWidget( mAddressBookView, 5, 5, 0, 1 );
-
- label = new TQLabel( i18n( "Address book for new contacts:" ), this );
- mAddressBookBox = new KComboBox( this );
-
- mainLayout->addWidget( label, 6, 0 );
- mainLayout->addWidget( mAddressBookBox, 6, 1 );
-
- connect( updateButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateAddressBookList() ) );
-}
-
-void ResourceGroupwareConfig::loadSettings( KRES::Resource *res )
-{
- mResource = dynamic_cast<ResourceGroupware*>( res );
-
- if ( !mResource ) {
- kdDebug(5700) << "ResourceGroupwareConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( mResource->prefs()->url() );
- mUser->setText( mResource->prefs()->user() );
- mPassword->setText( mResource->prefs()->password() );
-
- updateAddressBookView();
-}
-
-void ResourceGroupwareConfig::saveSettings( KRES::Resource *res )
-{
- ResourceGroupware *resource = dynamic_cast<ResourceGroupware*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceGroupwareConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- saveServerSettings( resource );
-
- saveAddressBookSettings();
-}
-
-void ResourceGroupwareConfig::saveServerSettings( ResourceGroupware *resource )
-{
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-}
-
-void ResourceGroupwareConfig::updateAddressBookList()
-{
- saveServerSettings( mResource );
-
- mResource->retrieveAddressBooks();
-
- updateAddressBookView();
-}
-
-void ResourceGroupwareConfig::saveAddressBookSettings()
-{
-#if 0
- TQStringList selectedRead;
- TQString selectedWrite;
-
- TQListViewItemIterator it2( mAddressBookView );
- while ( it2.current() ) {
- AddressBookItem *item = static_cast<AddressBookItem*>( it2.current() );
- if ( item->isOn() )
- selectedRead.append( item->id() );
-
- ++it2;
- }
-
- selectedWrite = mWriteAddressBookIds[ mAddressBookBox->currentItem() ];
-
- mResource->prefs()->setReadAddressBooks( selectedRead );
- mResource->prefs()->setWriteAddressBook( selectedWrite );
-#endif
-}
-
-void ResourceGroupwareConfig::updateAddressBookView()
-{
- if ( mAddressBookBox->count() != 0 ) // we loaded it already
- saveAddressBookSettings();
-
- mAddressBookView->clear();
- mAddressBookBox->clear();
- mWriteAddressBookIds.clear();
-
-#if 0
- TQStringList selectedRead = mResource->prefs()->readAddressBooks();
-
- Groupware::AddressBook::List addressBooks = mResource->addressBooks();
- Groupware::AddressBook::List::ConstIterator abIt;
- for ( abIt = addressBooks.begin(); abIt != addressBooks.end(); ++abIt ) {
- AddressBookItem *item = new AddressBookItem( mAddressBookView, *abIt );
- if ( selectedRead.find( (*abIt).id ) != selectedRead.end() )
- item->setOn( true );
-
- mAddressBookBox->insertItem( (*abIt).name );
- mWriteAddressBookIds.append( (*abIt).id );
- }
-
- int index = mWriteAddressBookIds.findIndex( mResource->prefs()->writeAddressBook() );
- mAddressBookBox->setCurrentItem( index );
-#endif
-}
-
-#include "kabc_resourcegroupwareconfig.moc"
diff --git a/kresources/groupware/kabc_resourcegroupwareconfig.h b/kresources/groupware/kabc_resourcegroupwareconfig.h
deleted file mode 100644
index 00c5c360..00000000
--- a/kresources/groupware/kabc_resourcegroupwareconfig.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWARECONFIG_H
-#define KABC_RESOURCEGROUPWARECONFIG_H
-
-#include <kresources/configwidget.h>
-
-#include <tqmap.h>
-
-class KComboBox;
-class KLineEdit;
-class KListView;
-class KURLRequester;
-
-namespace KABC {
-
-class ResourceGroupware;
-
-class ResourceGroupwareConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupwareConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- protected slots:
- void updateAddressBookList();
-
- private:
- void updateAddressBookView();
- void saveAddressBookSettings();
- void loadAddressBookSettings();
- void saveServerSettings( ResourceGroupware *resource );
-
- KURLRequester *mURL;
- KLineEdit *mUser;
- KLineEdit *mPassword;
-
- KListView *mAddressBookView;
- KComboBox *mAddressBookBox;
-
- TQStringList mWriteAddressBookIds;
-
- ResourceGroupware *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/groupware/kcal_groupware.desktop b/kresources/groupware/kcal_groupware.desktop
deleted file mode 100644
index 42c4bc9a..00000000
--- a/kresources/groupware/kcal_groupware.desktop
+++ /dev/null
@@ -1,49 +0,0 @@
-[Desktop Entry]
-Name=Groupware Server
-Name[af]=Groupware bediener
-Name[ar]=خادم البرمجيات الجماعية
-Name[bg]=Сървър Groupware
-Name[br]=Servijer strollant
-Name[ca]=Servidor Groupware
-Name[cs]=Groupware server
-Name[el]=Εξυπηρετητής Groupware
-Name[es]=Servidor de Groupware
-Name[et]=Grupitöö server
-Name[eu]=Groupware zerbitzaria
-Name[fa]=کارساز Groupware
-Name[fi]=Groupware-palvelin
-Name[fr]=Serveur de travail collaboratif
-Name[fy]=Groupware-tsjinner
-Name[ga]=Freastalaí Groupware
-Name[gl]=Servidor de Traballo en Grupo
-Name[hu]=Groupware kiszolgáló
-Name[is]=Groupware þjónn
-Name[it]=Server Groupware
-Name[ja]=グループウェアサーバ
-Name[kk]=Groupware сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ​កម្មវិធី​ពហុ​អ្នកប្រើ
-Name[lt]=Grupinio darbo serveris
-Name[ms]=Pelayan Groupware
-Name[nb]=Groupware-tjener
-Name[nds]=Groupware-Server
-Name[ne]=ग्रुपवेयर सर्भर
-Name[nl]=Groupware-server
-Name[nn]=Groupware-tenar
-Name[pl]=Serwer Groupware
-Name[pt]=Servidor de Groupware
-Name[pt_BR]=Servidor Groupware
-Name[ru]=Сервер Groupware
-Name[sl]=Strežnik za skupinsko delo
-Name[sr]=Groupware сервер
-Name[sr@Latn]=Groupware server
-Name[sv]=Grupprogramserver
-Name[ta]=குழுவாரி சேவகன்
-Name[tr]=Grupyazılımı(Groupware) Sunucusu
-Name[uk]=Сервер Groupware
-Name[zh_CN]=群件服务器
-Name[zh_TW]=群組伺服器
-X-TDE-Library=kcal_groupware
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=groupware
diff --git a/kresources/groupware/kcal_groupwareprefsbase.kcfgc b/kresources/groupware/kcal_groupwareprefsbase.kcfgc
deleted file mode 100644
index 15bd1e28..00000000
--- a/kresources/groupware/kcal_groupwareprefsbase.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_groupware.kcfg
-ClassName=GroupwarePrefsBase
-NameSpace=KCal
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/groupware/kcal_resourcegroupware.cpp b/kresources/groupware/kcal_resourcegroupware.cpp
deleted file mode 100644
index 79658bb6..00000000
--- a/kresources/groupware/kcal_resourcegroupware.cpp
+++ /dev/null
@@ -1,304 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupware.h"
-
-#include "kcal_groupwareprefsbase.h"
-#include "kcal_resourcegroupwareconfig.h"
-
-#include <libkcal/confirmsavedialog.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/calendarlocal.h>
-
-#include <tqapplication.h>
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqstringlist.h>
-#include <tqtimer.h>
-
-#include <kabc/locknull.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kresources/configwidget.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <kurl.h>
-#include <libtdepim/kpimprefs.h>
-#include <libtdepim/groupwarejob.h>
-
-using namespace KCal;
-
-ResourceGroupware::ResourceGroupware()
- : ResourceCached( 0 ), mLock( true ),
- mProgress( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-}
-
-ResourceGroupware::ResourceGroupware( const TDEConfig *config )
- : ResourceCached( config ), mLock( true )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Groupware Server" ) );
- }
-}
-
-ResourceGroupware::~ResourceGroupware()
-{
- disableChangeNotification();
-
- delete mPrefs;
- mPrefs = 0;
-}
-
-void ResourceGroupware::init()
-{
- mDownloadJob = 0;
- mProgress = 0;
-
- mIsShowingError = false;
-
- mPrefs = new GroupwarePrefsBase();
-
- setType( "groupware" );
-
- enableChangeNotification();
-}
-
-GroupwarePrefsBase *ResourceGroupware::prefs()
-{
- return mPrefs;
-}
-
-void ResourceGroupware::readConfig( const TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceGroupware::readConfig()" << endl;
-
- mPrefs->readConfig();
-
- ResourceCached::readConfig( config );
-}
-
-void ResourceGroupware::writeConfig( TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceGroupware::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-
- ResourceCached::writeConfig( config );
-}
-
-bool ResourceGroupware::doOpen()
-{
- return true;
-}
-
-void ResourceGroupware::doClose()
-{
- ResourceCached::doClose();
-}
-
-bool ResourceGroupware::doLoad()
-{
- kdDebug() << "ResourceGroupware::load()" << endl;
-
- if ( mIsShowingError ) {
- kdDebug() << "Still showing error" << endl;
- return true;
- }
-
- if ( mDownloadJob ) {
- kdWarning() << "Download still in progress" << endl;
- return false;
- }
-
- mCalendar.close();
-
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-
- clearChanges();
-
- KURL url( prefs()->url() );
- url.setUser( prefs()->user() );
- url.setPass( prefs()->password() );
-
- kdDebug() << "Download URL: " << url << endl;
-
- mJobData = TQString();
-
- mDownloadJob = KPIM::GroupwareJob::getCalendar( url );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
-
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading calendar") );
- connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
-
- return true;
-}
-
-void ResourceGroupware::slotJobResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupware::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- mIsShowingError = true;
- loadError( job->errorString() );
- mIsShowingError = false;
- } else {
- disableChangeNotification();
-
- clearCache();
-
- // FIXME: This does not take into account the time zone!
- CalendarLocal calendar;
- ICalFormat ical;
- if ( !ical.fromString( &calendar, mJobData ) ) {
- loadError( i18n("Error parsing calendar data.") );
- } else {
- Incidence::List incidences = calendar.incidences();
- Incidence::List::ConstIterator it;
- for( it = incidences.begin(); it != incidences.end(); ++it ) {
-// kdDebug() << "INCIDENCE: " << (*it)->summary() << endl;
- Incidence *i = (*it)->clone();
- TQString remote = (*it)->customProperty( "GWRESOURCE", "UID" );
- TQString local = idMapper().localId( remote );
- if ( local.isEmpty() ) {
- idMapper().setRemoteId( i->uid(), remote );
- } else {
- i->setUid( local );
- }
- addIncidence( i );
- }
- }
- saveCache();
- enableChangeNotification();
-
- clearChanges();
-
- emit resourceChanged( this );
- emit resourceLoaded( this );
- }
-
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-void ResourceGroupware::slotJobData( TDEIO::Job *, const TQByteArray &data )
-{
-// kdDebug() << "ResourceGroupware::slotJobData()" << endl;
-
- mJobData.append( data.data() );
-}
-
-void ResourceGroupware::loadFinished()
-{
- saveCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
- emit resourceLoaded( this );
-}
-
-bool ResourceGroupware::doSave()
-{
- kdDebug() << "KCal::ResourceGroupware::doSave()" << endl;
-
- saveCache();
-
- if ( !hasChanges() ) {
- kdDebug() << "No changes" << endl;
- return true;
- }
-
- if ( !confirmSave() ) return false;
-
-#if 0
- Incidence::List::ConstIterator it;
-
- Incidence::List added = addedIncidences();
- for( it = added.begin(); it != added.end(); ++it ) {
- if ( mServer->addIncidence( *it, this ) ) {
- clearChange( *it );
- saveCache();
- }
- }
- Incidence::List changed = changedIncidences();
- for( it = changed.begin(); it != changed.end(); ++it ) {
- if ( mServer->changeIncidence( *it ) ) clearChange( *it );
- }
- Incidence::List deleted = deletedIncidences();
- for( it = deleted.begin(); it != deleted.end(); ++it ) {
- if ( mServer->deleteIncidence( *it ) ) clearChange( *it );
- }
-#endif
-
- return true;
-}
-
-// FIXME: Put this into ResourceCached
-bool ResourceGroupware::confirmSave()
-{
- if ( !hasChanges() ) return true;
-
- ConfirmSaveDialog dlg( resourceName(), 0 );
-
- dlg.addIncidences( addedIncidences(), i18n("Added") );
- dlg.addIncidences( changedIncidences(), i18n("Changed") );
- dlg.addIncidences( deletedIncidences(), i18n("Deleted") );
-
- int result = dlg.exec();
- return result == TQDialog::Accepted;
-}
-
-KABC::Lock *ResourceGroupware::lock()
-{
- return &mLock;
-}
-
-void ResourceGroupware::cancelLoad()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-#include "kcal_resourcegroupware.moc"
diff --git a/kresources/groupware/kcal_resourcegroupware.h b/kresources/groupware/kcal_resourcegroupware.h
deleted file mode 100644
index d3c809db..00000000
--- a/kresources/groupware/kcal_resourcegroupware.h
+++ /dev/null
@@ -1,91 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEGROUPWARE_H
-#define KCAL_RESOURCEGROUPWARE_H
-
-#include <libtdepim/progressmanager.h>
-
-#include <libkcal/resourcecached.h>
-
-#include <kabc/locknull.h>
-#include <kio/job.h>
-#include <kconfig.h>
-
-namespace KPIM {
-class GroupwarePrefsBase;
-}
-
-namespace KCal {
-
-/**
- This class provides a resource for accessing a Groupware kioslave-based
- calendar.
-*/
-class ResourceGroupware : public ResourceCached
-{
- Q_OBJECT
-
- public:
- ResourceGroupware();
-
- ResourceGroupware( const TDEConfig * );
- virtual ~ResourceGroupware();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- GroupwarePrefsBase *prefs();
-
- bool doOpen();
- void doClose();
-
- bool doLoad();
- bool doSave();
-
- KABC::Lock *lock();
-
- protected:
- void init();
-
- bool confirmSave();
-
- protected slots:
- void loadFinished();
-
- void slotJobResult( TDEIO::Job * );
- void slotJobData( TDEIO::Job *, const TQByteArray & );
-
- void cancelLoad();
-
- private:
- GroupwarePrefsBase *mPrefs;
- KABC::LockNull mLock;
-
- TDEIO::TransferJob *mDownloadJob;
- KPIM::ProgressItem *mProgress;
- TQString mJobData;
-
- bool mIsShowingError;
-};
-
-}
-
-#endif
diff --git a/kresources/groupware/kcal_resourcegroupware_plugin.cpp b/kresources/groupware/kcal_resourcegroupware_plugin.cpp
deleted file mode 100644
index 992a95d5..00000000
--- a/kresources/groupware/kcal_resourcegroupware_plugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupware.h"
-#include "kcal_resourcegroupwareconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory<ResourceGroupware, ResourceGroupwareConfig> GroupwareFactory;
-
-extern "C"
-{
- void *init_kcal_groupware()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupware" );
- return new ResourceGroupware;
- }
-}
diff --git a/kresources/groupware/kcal_resourcegroupwareconfig.cpp b/kresources/groupware/kcal_resourcegroupwareconfig.cpp
deleted file mode 100644
index 9a191bc3..00000000
--- a/kresources/groupware/kcal_resourcegroupwareconfig.cpp
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <kstandarddirs.h>
-#include <klineedit.h>
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include "kcal_resourcegroupware.h"
-#include "kcal_groupwareprefsbase.h"
-
-#include "kcal_resourcegroupwareconfig.h"
-
-using namespace KCal;
-
-ResourceGroupwareConfig::ResourceGroupwareConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 );
-
- TQLabel *label = new TQLabel( i18n("URL:"), this );
- mainLayout->addWidget( label, 1, 0 );
- mUrl = new KLineEdit( this );
- mainLayout->addWidget( mUrl, 1, 1 );
-
- label = new TQLabel( i18n("User:"), this );
- mainLayout->addWidget( label, 2, 0 );
- mUserEdit = new KLineEdit( this );
- mainLayout->addWidget( mUserEdit, 2, 1 );
-
- label = new TQLabel( i18n("Password:"), this );
- mainLayout->addWidget( label, 3, 0 );
- mPasswordEdit = new KLineEdit( this );
- mainLayout->addWidget( mPasswordEdit, 3, 1 );
- mPasswordEdit->setEchoMode( KLineEdit::Password );
-
- mReloadConfig = new KCal::ResourceCachedReloadConfig( this );
- mainLayout->addMultiCellWidget( mReloadConfig, 5, 5, 0, 1 );
-
- mSaveConfig = new KCal::ResourceCachedSaveConfig( this );
- mainLayout->addMultiCellWidget( mSaveConfig, 6, 6, 0, 1 );
-}
-
-void ResourceGroupwareConfig::loadSettings( KRES::Resource *resource )
-{
- kdDebug() << "KCal::ResourceGroupwareConfig::loadSettings()" << endl;
-
- ResourceGroupware *res = static_cast<ResourceGroupware *>( resource );
- if ( res ) {
- if ( !res->prefs() ) {
- kdError() << "No PREF" << endl;
- return;
- }
-
- mUrl->setText( res->prefs()->url() );
- mUserEdit->setText( res->prefs()->user() );
- mPasswordEdit->setText( res->prefs()->password() );
- mReloadConfig->loadSettings( res );
- mSaveConfig->loadSettings( res );
- } else {
- kdError(5700) << "KCalResourceGroupwareConfig::loadSettings(): no KCalResourceGroupware, cast failed" << endl;
- }
-}
-
-void ResourceGroupwareConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceGroupware *res = static_cast<ResourceGroupware*>( resource );
- if ( res ) {
- res->prefs()->setUrl( mUrl->text() );
- res->prefs()->setUser( mUserEdit->text() );
- res->prefs()->setPassword( mPasswordEdit->text() );
- mReloadConfig->saveSettings( res );
- mSaveConfig->saveSettings( res );
- } else {
- kdError(5700) << "KCalResourceGroupwareConfig::saveSettings(): no KCalResourceGroupware, cast failed" << endl;
- }
-}
-
-#include "kcal_resourcegroupwareconfig.moc"
diff --git a/kresources/groupware/kcal_resourcegroupwareconfig.h b/kresources/groupware/kcal_resourcegroupwareconfig.h
deleted file mode 100644
index 08c75e77..00000000
--- a/kresources/groupware/kcal_resourcegroupwareconfig.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALRESOURCEGROUPWARECONFIG_H
-#define KCALRESOURCEGROUPWARECONFIG_H
-
-#include <kurlrequester.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-class TQCheckBox;
-class KLineEdit;
-
-namespace KCal {
-
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-
-/**
- Configuration widget for groupware kioslave resource.
-
- @see KCalResourceGroupware
-*/
-class ResourceGroupwareConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- ResourceGroupwareConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- private:
- KLineEdit *mUrl;
- KLineEdit *mUserEdit;
- KLineEdit *mPasswordEdit;
-
- ResourceCachedReloadConfig *mReloadConfig;
- ResourceCachedSaveConfig *mSaveConfig;
-};
-
-}
-
-#endif
diff --git a/kresources/groupware/kresources_kabc_groupware.kcfg b/kresources/groupware/kresources_kabc_groupware.kcfg
deleted file mode 100644
index 33dd7aa8..00000000
--- a/kresources/groupware/kresources_kabc_groupware.kcfg
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kabc_groupwarerc" />
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Server URL</label>
- </entry>
- <entry key="User" type="String" >
- <label>User Name</label>
- </entry>
- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>
- </group>
-</kcfg>
diff --git a/kresources/groupware/kresources_kcal_groupware.kcfg b/kresources/groupware/kresources_kcal_groupware.kcfg
deleted file mode 100644
index d86a43b5..00000000
--- a/kresources/groupware/kresources_kcal_groupware.kcfg
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_groupwarerc" />
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Server URL</label>
- </entry>
- <entry key="User" type="String" >
- <label>User Name</label>
- </entry>
- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>
- <entry key="Port" type="UInt" >
- <label>TCP Port</label>
- <default>80</default>
- </entry>
- </group>
-</kcfg>
diff --git a/kresources/groupwise/CMakeLists.txt b/kresources/groupwise/CMakeLists.txt
deleted file mode 100644
index e2d2f424..00000000
--- a/kresources/groupwise/CMakeLists.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-add_subdirectory( soap )
-add_subdirectory( kioslave )
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES kcal_groupwise.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-install( FILES kabc_groupwise.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-
-##### kcal_groupwise (module) ###################
-
-tde_add_kpart( kcal_groupwise AUTOMOC
- SOURCES kcal_resourcegroupwise_plugin.cpp
- LINK kcal_groupwise-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabc_groupwise (module) ###################
-
-tde_add_kpart( kabc_groupwise AUTOMOC
- SOURCES kabc_resourcegroupwise_plugin.cpp
- LINK kabc_groupwise-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcal_groupwise (shared) ###################
-
-tde_add_library( kcal_groupwise SHARED AUTOMOC
- SOURCES
- kcal_resourcegroupwise.cpp kcal_resourcegroupwiseconfig.cpp
- kcal_groupwiseprefsbase.kcfgc kcal_groupwiseprefs.cpp
- groupwisesettingswidget.cpp groupwisesettingswidgetbase.ui
- VERSION 1.0.0
- LINK gwsoap-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kabc_groupwise (shared) ###################
-
-tde_add_library( kabc_groupwise SHARED AUTOMOC
- SOURCES
- kabc_resourcegroupwise.cpp kabc_resourcegroupwiseconfig.cpp
- kabc_groupwiseprefs.kcfgc
- VERSION 1.0.0
- LINK gwsoap-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/groupwise/Makefile.am b/kresources/groupwise/Makefile.am
deleted file mode 100644
index 5056a35d..00000000
--- a/kresources/groupwise/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-SUBDIRS = soap kioslave
-
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_groupwise.la libkabc_groupwise.la
-
-libkcal_groupwise_la_SOURCES = kcal_resourcegroupwise.cpp \
- kcal_resourcegroupwiseconfig.cpp kcal_groupwiseprefsbase.kcfgc kcal_groupwiseprefs.cpp \
- groupwisesettingswidget.cpp groupwisesettingswidgetbase.ui
-libkcal_groupwise_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_groupwise_la_LIBADD = soap/libgwsoap.la \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-libkabc_groupwise_la_SOURCES = kabc_resourcegroupwise.cpp \
- kabc_resourcegroupwiseconfig.cpp \
- kabc_groupwiseprefs.kcfgc
-libkabc_groupwise_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkabc_groupwise_la_LIBADD = soap/libgwsoap.la \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la \
- -lkabc
-
-
-kde_module_LTLIBRARIES = kcal_groupwise.la kabc_groupwise.la
-
-kcal_groupwise_la_SOURCES = kcal_resourcegroupwise_plugin.cpp
-kcal_groupwise_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_groupwise_la_LIBADD = libkcal_groupwise.la
-
-kabc_groupwise_la_SOURCES = kabc_resourcegroupwise_plugin.cpp
-kabc_groupwise_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kabc_groupwise_la_LIBADD = libkabc_groupwise.la
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_groupwise.desktop
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_groupwise.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp soap/*.cpp -o $(podir)/kres_groupwise.pot
-noinst_HEADERS = groupwisesettingswidget.h
diff --git a/kresources/groupwise/TODO b/kresources/groupwise/TODO
deleted file mode 100644
index 7acfa65d..00000000
--- a/kresources/groupwise/TODO
+++ /dev/null
@@ -1,13 +0,0 @@
-General:
- - check encoding (utf8 seems not to work correctly)
- - asynchronous access
- - keep groupwise.wsdl up to date
-
-AddressBook:
- - support for IM addresses
-
-Calendar:
- - extract description from CalendarItem
- - support for recurrences
- - support for attendees
- - freebusy list
diff --git a/kresources/groupwise/groupwisesettingswidget.cpp b/kresources/groupwise/groupwisesettingswidget.cpp
deleted file mode 100644
index ec1bc178..00000000
--- a/kresources/groupwise/groupwisesettingswidget.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@suse.de>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <kdebug.h>
-#include <klistview.h>
-
-#include "groupwisesettingswidget.h"
-
-GroupWiseSettingsWidget::GroupWiseSettingsWidget( TQWidget * parent )
-: GroupWiseSettingsWidgetBase( parent )
-{
- connect( m_settingsList, TQT_SIGNAL( itemRenamed( TQListViewItem *, int ) ),
- this, TQT_SLOT( slotItemRenamed( TQListViewItem *, int ) ) );
-}
-
-void GroupWiseSettingsWidget::slotItemRenamed( TQListViewItem * item, int )
-{
- kdDebug() << "GroupWiseSettingsWidget::slotItemRenamed() - " << item->text( 1 ) << " changed to " << item->text( 2 ) << endl;
- m_dirtySettings.insert( item->text( 1 ), item->text( 2 ) );
-}
-
-TQMap<TQString, TQString> GroupWiseSettingsWidget::dirtySettings()
-{
- return m_dirtySettings;
-}
-
-void GroupWiseSettingsWidget::reset()
-{
- m_dirtySettings.clear();
-}
-
-#include "groupwisesettingswidget.moc"
diff --git a/kresources/groupwise/groupwisesettingswidget.h b/kresources/groupwise/groupwisesettingswidget.h
deleted file mode 100644
index 9fff6aa7..00000000
--- a/kresources/groupwise/groupwisesettingswidget.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@suse.de>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef GROUPWISE_SETTINGS_WIDGET_H
-#define GROUPWISE_SETTINGS_WIDGET_H
-
-#include <tqmap.h>
-
-class TQListViewItem;
-
-#include "groupwisesettingswidgetbase.h"
-
-class GroupWiseSettingsWidget : public GroupWiseSettingsWidgetBase
-{
-Q_OBJECT
-
-public:
- GroupWiseSettingsWidget( TQWidget * parent );
- TQMap<TQString, TQString> dirtySettings();
- void reset();
-protected slots:
- /**
- * Add the renamed item to the list of dirty (changed) settings
- */
- void slotItemRenamed( TQListViewItem *Item, int ColumnRenamed );
-private:
- TQMap<TQString, TQString> m_dirtySettings;
-};
-
-#endif
diff --git a/kresources/groupwise/groupwisesettingswidgetbase.ui b/kresources/groupwise/groupwisesettingswidgetbase.ui
deleted file mode 100644
index 49437ef4..00000000
--- a/kresources/groupwise/groupwisesettingswidgetbase.ui
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>GroupWiseSettingsWidgetBase</class>
-<widget class="TQWidget">
- <property name="name">
- <cstring>GroupWiseSettingsWidgetBase</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>480</height>
- </rect>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="KListView" row="0" column="0">
- <column>
- <property name="text">
- <string>Group</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Setting</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Value</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Locked</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>m_settingsList</cstring>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="rootIsDecorated">
- <bool>true</bool>
- </property>
- </widget>
- </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klistview.h</includehint>
-</includehints>
-</UI>
diff --git a/kresources/groupwise/kabc_groupwise.desktop b/kresources/groupwise/kabc_groupwise.desktop
deleted file mode 100644
index 695ab445..00000000
--- a/kresources/groupwise/kabc_groupwise.desktop
+++ /dev/null
@@ -1,50 +0,0 @@
-[Desktop Entry]
-Name=Novell GroupWise Server
-Name[af]=Novell GroupWise bediener
-Name[bg]=Сървър Novell GroupWise
-Name[br]=Servijer Novell GroupWise
-Name[ca]=Servidor Novell GroupWise
-Name[cs]=Novell GroupWise server
-Name[da]=Novell GroupWise server
-Name[el]=Εξυπηρετητής Novell GroupWise
-Name[es]=Servidor de Novell GroupWise
-Name[et]=Novelli GroupWise server
-Name[eu]=Novell GroupWise zerbitzaria
-Name[fa]=کارساز Novell GroupWise
-Name[fi]=Novell GroupWise -palvelin
-Name[fr]=Serveur de travail collaboratif GroupWise de Novell
-Name[fy]=Novell GroupWise-tsjinner
-Name[ga]=Freastalaí Novell GroupWise
-Name[gl]=Servidor Novell GroupWise
-Name[hu]=Novell GroupWise kiszolgáló
-Name[is]=Novell GroupWise þjónn
-Name[it]=Server Novell GroupWise
-Name[ja]=Novell GroupWise サーバ
-Name[ka]=სერვერი Novell GroupWise
-Name[kk]=Novell GroupWise сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ GroupWise របស់​ណូវែល
-Name[lt]=Novell GroupWise serveris
-Name[ms]=Pelayan Novell GroupWise
-Name[nb]=Novell GroupWise-tjener
-Name[nds]=Novell-GroupWise-Server
-Name[ne]=नोभेल समूहगत सर्भर
-Name[nl]=Novell GroupWise-server
-Name[nn]=Novell GroupWise-tenar
-Name[pl]=Serwer Novell GroupWise
-Name[pt]=Servidor Novell GroupWise
-Name[pt_BR]=Servidor GroupWise da Novell
-Name[ru]=Сервер Novell GroupWise
-Name[sl]=Strežnik Novell GroupWise
-Name[sr]=Novell-ов GroupWise сервер
-Name[sr@Latn]=Novell-ov GroupWise server
-Name[sv]=Novell Groupwise-server
-Name[ta]=Novell குழுவாரிச் சேவகன்
-Name[tr]=Novell GroupWise Sunucusu
-Name[uk]=Сервер Novell GroupWise
-Name[zh_CN]=Novell GroupWise 服务器
-Name[zh_TW]=Novell 群組伺服器
-X-TDE-Library=kabc_groupwise
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=groupwise
diff --git a/kresources/groupwise/kabc_groupwiseprefs.kcfgc b/kresources/groupwise/kabc_groupwiseprefs.kcfgc
deleted file mode 100644
index 98493547..00000000
--- a/kresources/groupwise/kabc_groupwiseprefs.kcfgc
+++ /dev/null
@@ -1,8 +0,0 @@
-ClassName=GroupwisePrefs
-File=kresources_kabc_groupwise.kcfg
-GlobalEnums=true
-IncludeFiles=libtdepim/kresourceprefs.h
-Inherits=KResourcePrefs
-Mutators=true
-NameSpace=KABC
-Singleton=false
diff --git a/kresources/groupwise/kabc_resourcegroupwise.cpp b/kresources/groupwise/kabc_resourcegroupwise.cpp
deleted file mode 100644
index b3930bfb..00000000
--- a/kresources/groupwise/kabc_resourcegroupwise.cpp
+++ /dev/null
@@ -1,743 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-#include <tqfile.h>
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-#include <kconfig.h>
-#include <kdebug.h>
-#include <klocale.h>
-
-#include "kabc_groupwiseprefs.h"
-
-#include "kabc_resourcegroupwise.h"
-
-using namespace KABC;
-
-ResourceGroupwise::ResourceGroupwise( const TDEConfig *config )
- : ResourceCached( config )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- }
- initGroupwise();
-}
-
-ResourceGroupwise::ResourceGroupwise( const KURL &url,
- const TQString &user,
- const TQString &password,
- const TQStringList &readAddressBooks,
- const TQString &writeAddressBook )
- : ResourceCached( 0 )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->setUrl( url.url() );
- mPrefs->setUser( user );
- mPrefs->setPassword( password );
- mPrefs->setReadAddressBooks( readAddressBooks );
- mPrefs->setWriteAddressBook( writeAddressBook );
-
- initGroupwise();
-}
-
-void ResourceGroupwise::init()
-{
- mJob = 0;
- mProgress = 0;
- mSABProgress = 0;
- mUABProgress = 0;
- mServerFirstSequence = 0;
- mServerLastSequence = 0;
- mServerLastPORebuildTime = 0;
- mPrefs = new GroupwisePrefs;
- mState = Start;
- setType( "groupwise" );
-}
-
-void ResourceGroupwise::initGroupwise()
-{
- mServer = new GroupwiseServer( mPrefs->url(), mPrefs->user(),
- mPrefs->password(), this );
-}
-
-ResourceGroupwise::~ResourceGroupwise()
-{
- delete mServer;
- mServer = 0;
-
- delete mPrefs;
- mPrefs = 0;
-}
-
-void ResourceGroupwise::readConfig( const TDEConfig * )
-{
- mPrefs->readConfig();
-
- readAddressBooks();
-}
-
-void ResourceGroupwise::writeConfig( TDEConfig *config )
-{
- Resource::writeConfig( config );
-
- writeAddressBooks();
-
- mPrefs->writeConfig();
-}
-
-void ResourceGroupwise::clearCache()
-{
- idMapper().clear();
- mAddrMap.clear();
- TQFile file( cacheFile() );
- file.remove();
-}
-
-void ResourceGroupwise::readAddressBooks()
-{
- TQStringList ids = prefs()->ids();
- TQStringList names = prefs()->names();
- TQStringList personals = prefs()->personals();
- TQStringList frequents = prefs()->frequents();
-
- if ( ids.count() != names.count() || ids.count() != personals.count() ||
- ids.count() != frequents.count() ) {
- kdError() << "Corrupt addressbook configuration" << endl;
- return;
- }
-
- mAddressBooks.clear();
-
- for( uint i = 0; i < ids.count(); ++i ) {
- GroupWise::AddressBook ab;
- ab.id = ids[ i ];
- ab.name = names[ i ];
- ab.isPersonal = personals[ i ] == "1";
- ab.isFrequentContacts = frequents[ i ] == "1";
-
- mAddressBooks.append( ab );
- }
-}
-
-void ResourceGroupwise::writeAddressBooks()
-{
- TQStringList ids;
- TQStringList names;
- TQStringList personals;
- TQStringList frequents;
- GroupWise::AddressBook::List::ConstIterator it;
- for( it = mAddressBooks.begin(); it != mAddressBooks.end(); ++it ) {
- ids.append( (*it).id );
- names.append( (*it).name );
- personals.append( (*it).isPersonal ? "1" : "0" );
- frequents.append( (*it).isFrequentContacts ? "1" : "0" );
- }
- prefs()->setIds( ids );
- prefs()->setNames( names );
- prefs()->setPersonals( personals );
- prefs()->setFrequents( frequents );
-}
-
-void ResourceGroupwise::retrieveAddressBooks()
-{
- bool firstRetrieve = mAddressBooks.isEmpty();
-
- GroupwiseServer server( prefs()->url(),
- prefs()->user(),
- prefs()->password(), this );
-
- if ( server.login() )
- {
- mAddressBooks = server.addressBookList();
- server.logout();
-
- TQStringList reads;
- TQString write;
-
- GroupWise::AddressBook::List::ConstIterator it;
- for( it = mAddressBooks.begin(); it != mAddressBooks.end(); ++it ) {
- reads.append( (*it).id );
- if ( (*it).isPersonal ) {
- if ( write.isEmpty() ) write = (*it).id;
- }
- else
- prefs()->setSystemAddressBook( (*it).id );
- }
-
- if ( firstRetrieve ) {
- prefs()->setReadAddressBooks( reads );
- prefs()->setWriteAddressBook( write );
- }
- }
- else
- emit loadingError( this, server.errorText() );
-}
-
-Ticket *ResourceGroupwise::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceGroupwise::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-bool ResourceGroupwise::doOpen()
-{
- return true;
-}
-
-void ResourceGroupwise::doClose()
-{
- kdDebug() << "ResourceGroupwise::doClose()" << endl;
-
- cancelLoad();
-}
-
-bool ResourceGroupwise::save( Ticket *ticket )
-{
- return asyncSave( ticket );
-}
-
-bool ResourceGroupwise::asyncSave( Ticket* )
-{
- if ( !mServer->login() ) return false;
-
- KABC::Addressee::List::Iterator it;
-
- KABC::Addressee::List addedList = addedAddressees();
- for ( it = addedList.begin(); it != addedList.end(); ++it ) {
- if ( mServer->insertAddressee( mPrefs->writeAddressBook(), *it ) ) {
- clearChange( *it );
- idMapper().setRemoteId( (*it).uid(), (*it).custom( "GWRESOURCE", "UID" ) );
- }
- }
-
- KABC::Addressee::List changedList = changedAddressees();
- for ( it = changedList.begin(); it != changedList.end(); ++it ) {
- if ( mServer->changeAddressee( *it ) )
- clearChange( *it );
- }
-
- KABC::Addressee::List deletedList = deletedAddressees();
- for ( it = deletedList.begin(); it != deletedList.end(); ++it ) {
- if ( mServer->removeAddressee( *it ) )
- clearChange( *it );
- }
-
- if ( appIsWhiteListedForSAB() )
- saveCache();
-
- mServer->logout();
-
- return true;
-}
-
-bool ResourceGroupwise::load()
-{
- return asyncLoad();
-}
-
-bool ResourceGroupwise::asyncLoad()
-{
- kdDebug() << "ResourceGroupwise::asyncLoad()" << endl;
- //mPrefs->readConfig(); TODO: remove if the system addressbook is not read when disabled in config
-
- if ( mState != Start )
- {
- kdDebug() << " Download still in progress" << endl;
- return true;
- }
-
- if ( appIsWhiteListedForSAB() )
- loadCache();
-
- if ( !mProgress )
- {
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n( "Loading GroupWise resource %1" ).arg( resourceName() ), TQString(), true /*CanBeCancelled*/, mPrefs->url().startsWith("https" ) );
- connect( mProgress, TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
- }
-
- if ( addressBooks().isEmpty() ) {
- kdDebug() << " Retrieving default addressbook list." << endl;
- retrieveAddressBooks();
- writeAddressBooks();
- }
-
- SABState sabState = systemAddressBookState();
- if ( shouldFetchSystemAddressBook() )
- {
- if ( sabState == RefreshNeeded )
- {
- kdDebug() << " Fetching system addressbook" << endl;
- fetchAddressBooks( System );
- return true;
- }
- else if ( sabState == Stale )
- {
- kdDebug() << " Updating system addressbook" << endl;
- updateSystemAddressBook(); // we then fetch the user address books after doing this
- return true;
- }
- }
- else if ( shouldFetchUserAddressBooks() )
- {
- kdDebug() << " Fetching user addressbook" << endl;
- fetchAddressBooks( User );
- return true;
- }
- return true;
-}
-
-void ResourceGroupwise::fetchAddressBooks( const BookType bookType )
-{
- KURL url = createAccessUrl( bookType, Fetch );
- if ( !url.isValid() )
- return;
-
- kdDebug() << k_funcinfo << ( bookType == System ? " System" : " User" ) << " URL: " << url << endl;
- // sanity check
- if ( bookType == User && !( mState == SABUptodate || mState == Start ) )
- {
- kdDebug() << " **ERROR** - fetchAddressBooks( User ) called when SAB not up to date" << endl;
- return;
- }
-
- mState = ( bookType == System ? FetchingSAB : FetchingUAB );
- mJobData = TQString();
-
- if ( mJob )
- {
- kdDebug() << " **ERROR** - fetchAddressBooks() called when a job was already running!" << endl;
- return;
- }
-
- mJob = TDEIO::get( url, false, false ); // TODO: make the GW jobs call finished if the URL
- // contains no address book IDs
- kdDebug() << " Job address: " << mJob << endl;
- connect( mJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotReadJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
-
- if ( bookType == System )
- {
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( fetchSABResult( TDEIO::Job * ) ) );
- mSABProgress = KPIM::ProgressManager::instance()->createProgressItem(
- mProgress, KPIM::ProgressManager::getUniqueID(),
- i18n( "Fetching System Address Book" ), TQString(),
- false /*CannotBeCancelled*/,
- mPrefs->url().startsWith("https" ) );
- }
- else
- {
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( fetchUABResult( TDEIO::Job * ) ) );
- mUABProgress = KPIM::ProgressManager::instance()->createProgressItem(
- mProgress, KPIM::ProgressManager::getUniqueID(),
- i18n( "Fetching User Address Books" ), TQString(),
- false /*CannotBeCancelled*/,
- mPrefs->url().startsWith("https" ) );
- }
-
- return;
-}
-
-void ResourceGroupwise::fetchSABResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupwise::fetchSABResult() " << endl;
-
- if ( job->error() ) {
- kdError() << job->errorString() << endl;
- emit loadingError( this, job->errorString() );
- // TODO kill the rest of the load sequence as well
- }
-
- mJob->disconnect( this );
- mJob = 0;
- mState = SABUptodate;
- if ( mSABProgress )
- mSABProgress->setComplete();
-
- storeDeltaInfo();
-
- if ( shouldFetchUserAddressBooks() )
- fetchAddressBooks( User );
- else
- loadCompleted();
-}
-
-void ResourceGroupwise::fetchUABResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupwise::fetchUABResult() " << endl;
-
- if ( job->error() ) {
- kdError() << job->errorString() << endl;
- emit loadingError( this, job->errorString() );
- }
-
- mJob->disconnect( this );
- mJob = 0;
- mState = Uptodate;
- if ( mUABProgress )
- mUABProgress->setComplete();
- loadCompleted();
-}
-
-void ResourceGroupwise::updateSystemAddressBook()
-{
- kdDebug() << "ResourceGroupwise::updateSystemAddressBook()" << endl;
-
- if ( mState != Start ) {
- kdWarning() << " Action already in progress" << endl;
- return;
- }
-
- if ( addressBooks().isEmpty() ) {
- kdDebug() << " Retrieving default addressbook list." << endl;
- retrieveAddressBooks();
- writeAddressBooks();
- }
-
- KURL url = createAccessUrl( System, Update, mPrefs->lastSequenceNumber(), mPrefs->lastTimePORebuild() );
- kdDebug() << " Update URL: " << url << endl;
-
- mJobData = TQString();
- mSABProgress = KPIM::ProgressManager::instance()->createProgressItem(
- mProgress, KPIM::ProgressManager::getUniqueID(),
- i18n( "Updating System Address Book" ), TQString(),
- false /*CannotBeCancelled*/,
- mPrefs->url().startsWith("https" ) );
-
- mJob = TDEIO::get( url, false, false );
- mJob->setInteractive( false );
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( updateSABResult( TDEIO::Job * ) ) );
- connect( mJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUpdateJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
-
- return;
-}
-
-void ResourceGroupwise::updateSABResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupwise::updateSABResult() " << endl;
-
- mSABProgress->setComplete();
- mSABProgress = 0;
- mJob->disconnect( this );
- mJob = 0;
-
- int errorCode = job->error();
- if ( errorCode != 0 ) {
- if ( errorCode == TDEIO::ERR_NO_CONTENT ) // we need to refresh the SAB
- {
- kdDebug() << " update SAB failed, fetching all of it again" << endl;
- mPrefs->setLastSequenceNumber( 0 );
- mPrefs->setFirstSequenceNumber( 0 );
- fetchAddressBooks( System );
- return;
- }
- }
-
- mState = SABUptodate;
- storeDeltaInfo();
-
- if ( shouldFetchUserAddressBooks() )
- fetchAddressBooks( User );
- else
- loadCompleted();
-}
-
-void ResourceGroupwise::slotReadJobData( TDEIO::Job *job , const TQByteArray &data )
-{
- kdDebug() << "ResourceGroupwise::slotReadJobData()" << endl;
- Q_UNUSED( job );
-
- mJobData.append( data.data() );
-
- KABC::VCardConverter conv;
- TQTime profile;
- profile.start();
- Addressee::List addressees = conv.parseVCards( mJobData );
- // kdDebug() << " parsed " << addressees.count() << " contacts in " << profile.elapsed() << "ms, now adding to resource..." << endl;
-
- Addressee::List::ConstIterator it;
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- KABC::Addressee addr = *it;
- if ( !addr.isEmpty() ) {
- addr.setResource( this );
-
- TQString remote = addr.custom( "GWRESOURCE", "UID" );
- TQString local = idMapper().localId( remote );
- if ( local.isEmpty() ) {
- idMapper().setRemoteId( addr.uid(), remote );
- } else {
- addr.setUid( local );
- }
-
- insertAddressee( addr );
- clearChange( addr );
- }
- }
- mJobData = TQString();
-}
-
-void ResourceGroupwise::slotUpdateJobData( TDEIO::Job *job, const TQByteArray &data )
-{
- kdDebug() << "ResourceGroupwise::slotUpdateJobData()" << endl;
- kdDebug() << " Job address: " << job << endl;
- KABC::VCardConverter conv;
- mJobData.append( data.data() );
-
- Addressee::List addressees = conv.parseVCards( mJobData );
- Addressee::List::ConstIterator it;
-
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- KABC::Addressee addr = *it;
- if ( !addr.isEmpty() ) {
- // if added or changed
- TQString syncType = addr.custom( "GWRESOURCE", "SYNC" );
- TQString remote = addr.custom( "GWRESOURCE", "UID" );
- TQString local = idMapper().localId( remote );
-
- if ( syncType == "ADD" || syncType == "UPD" )
- {
- addr.setResource( this );
- if ( local.isEmpty() ) {
- idMapper().setRemoteId( addr.uid(), remote );
- } else {
- addr.setUid( local );
- }
-
- insertAddressee( addr );
- clearChange( addr );
- }
- else if ( syncType == "DEL" )
- {
- // if deleted
- if ( !remote.isEmpty() )
- {
- if ( !local.isEmpty() )
- {
- idMapper().removeRemoteId( remote );
- KABC::Addressee addrToDelete = findByUid( local );
- removeAddressee( addrToDelete );
- }
- }
- else
- kdError() << "Addressee to delete did not have a remote UID, unable to find the corresponding local contact" << endl;
- }
- }
- }
- mJobData = TQString();
-}
-
-void ResourceGroupwise::loadCompleted()
-{
- kdDebug() << "ResourceGroupwise::loadCompleted()" << endl;
- if ( mProgress )
- mProgress->setComplete();
- mProgress = 0;
- mSABProgress = 0;
- mUABProgress = 0;
- mState = Start;
- if ( appIsWhiteListedForSAB() )
- saveCache();
- emit loadingFinished( this );
- addressBook()->emitAddressBookChanged();
-}
-
-void ResourceGroupwise::slotJobPercent( TDEIO::Job *, unsigned long percent )
-{
- // TODO: make this act on the correct progress item
- kdDebug() << "ResourceGroupwise::slotJobPercent() " << percent << endl;
- if ( mProgress ) mProgress->setProgress( percent );
-}
-
-void ResourceGroupwise::cancelLoad()
-{
- if ( mJob )
- {
- mJob->disconnect( this );
- mJob->kill();
- }
- mJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
- mState = Start;
-}
-
-ResourceGroupwise::SABState ResourceGroupwise::systemAddressBookState()
-{
- unsigned long storedFirstSequence = mPrefs->firstSequenceNumber();
- unsigned long storedLastSequence = mPrefs->lastSequenceNumber();
- unsigned long storedLastPORebuildTime = mPrefs->lastTimePORebuild();
-
- kdDebug() << "ResourceGroupwise::systemAddressBookState()" << endl;
- kdDebug() << " Stored first seq no: " << storedFirstSequence << endl;
- kdDebug() << " Stored last seq no: " << storedLastSequence << endl;
- kdDebug() << " Stored last PO Rebuild time: " << storedLastPORebuildTime << endl;
-
- kdDebug() << " Fetching delta info to check if update possible" << endl;
- if ( mServer->login() )
- {
- GroupWise::DeltaInfo deltaInfo = mServer->getDeltaInfo( mPrefs->systemAddressBook() );
- mServer->logout();
-
- mServerFirstSequence = deltaInfo.firstSequence;
- mServerLastSequence = deltaInfo.lastSequence;
- mServerLastPORebuildTime = deltaInfo.lastTimePORebuild;
-
- kdDebug() << " Server first seq no: " << mServerFirstSequence << endl;
- kdDebug() << " Server last seq no: " << mServerLastSequence << endl;
- kdDebug() << " Server last PO Rebuild time: " << mServerLastPORebuildTime << endl;
-
- if ( storedFirstSequence == 0 || storedLastSequence == 0 )
- {
- kdDebug() << " no fetched SAB exists yet, can't update" << endl;
- return RefreshNeeded;
- }
-
- if ( mServerFirstSequence > storedLastSequence || storedLastPORebuildTime != mServerLastPORebuildTime)
- {
- kdDebug() << " New entries since the last fetch are no longer available as deltas, or the PO was rebuilt, refresh needed" << endl;
- return RefreshNeeded;
- }
-
- if ( mServerLastSequence == storedLastSequence )
- {
- kdDebug() << " The local data is up to date" << endl;
- return InSync;
- }
- }
- else
- emit loadingError( this, mServer->errorText() );
-
- if ( storedFirstSequence == 0 || storedLastSequence == 0 )
- {
- kdDebug() << " Fallthrough - no fetched SAB exists yet, refresh" << endl;
- return RefreshNeeded;
- }
- else
- kdDebug() << " Fallthrough - returning Stale" << endl;
- return Stale;
-}
-
-bool ResourceGroupwise::shouldFetchSystemAddressBook()
-{
-
- TQStringList ids = mPrefs->readAddressBooks();
- return ( appIsWhiteListedForSAB() && ids.find( mPrefs->systemAddressBook() ) != ids.end() );
-}
-
-bool ResourceGroupwise::shouldFetchUserAddressBooks()
-{
- TQStringList ids = mPrefs->readAddressBooks();
- return ( ids.count() > 1 || ids.find( mPrefs->systemAddressBook() ) == ids.end() );
-}
-
-KURL ResourceGroupwise::createAccessUrl( BookType bookType, AccessMode mode, unsigned long lastSequenceNumber, unsigned long lastPORebuildTime )
-{
- // set up list of address book IDs to fetch
- TQStringList ids;
- if ( bookType == System )
- ids.append( mPrefs->systemAddressBook() );
- else
- {
- ids = mPrefs->readAddressBooks();
- ids.remove( mPrefs->systemAddressBook() );
- }
-
- if ( ids.isEmpty() )
- return KURL();
-
- KURL url( prefs()->url() );
- if ( url.protocol() == "http" )
- url.setProtocol( "groupwise" );
- else
- url.setProtocol( "groupwises" );
-
- url.setPath( url.path() + "/addressbook/" );
- url.setUser( prefs()->user() );
- url.setPass( prefs()->password() );
-
- TQString query = "?";
- TQStringList::ConstIterator it;
- for( it = ids.begin(); it != ids.end(); ++it ) {
- if ( it != ids.begin() ) query += "&";
- query += "addressbookid=" + *it;
- }
-
- if ( mode == Update && lastSequenceNumber > 0 && lastPORebuildTime > 0 )
- {
- query += TQString::fromLatin1( "&update=true&lastSeqNo=%1&PORebuildTime=%2" ).arg( lastSequenceNumber ).arg( lastPORebuildTime );;
- }
- url.setQuery( query );
- return url;
-}
-
-void ResourceGroupwise::storeDeltaInfo()
-{
- // update SAB delta info
- kdDebug() << "ResourceGroupwise::storeDeltaInfo()" << endl;
- kdDebug() << " Server first seq no: " << mServerFirstSequence << endl;
- kdDebug() << " Server last seq no: " << mServerLastSequence << endl;
- kdDebug() << " Server last PO Rebuild time: " << mServerLastPORebuildTime << endl;
-
- if ( mServerFirstSequence == 0 || mServerLastSequence == 0 || mServerLastPORebuildTime == 0 )
- return;
- mPrefs->setFirstSequenceNumber( mServerFirstSequence );
- mPrefs->setLastSequenceNumber( mServerLastSequence );
- mPrefs->setLastTimePORebuild( mServerLastPORebuildTime );
- mPrefs->writeConfig();
-}
-
-bool ResourceGroupwise::appIsWhiteListedForSAB()
-{
- if ( !mPrefs->systemAddressBookWhiteList().contains( tqApp->argv()[ 0 ] ) )
- {
- kdDebug() << "Application " << tqApp->argv()[ 0 ] << " is _blacklisted_ to load the SAB" << endl;
- return false;
- }
- return true;
-}
-
-#include "kabc_resourcegroupwise.moc"
diff --git a/kresources/groupwise/kabc_resourcegroupwise.h b/kresources/groupwise/kabc_resourcegroupwise.h
deleted file mode 100644
index 658ddd76..00000000
--- a/kresources/groupwise/kabc_resourcegroupwise.h
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWISE_H
-#define KABC_RESOURCEGROUPWISE_H
-
-#include "soap/groupwiseserver.h"
-
-#include <kabcresourcecached.h>
-#include <tdepimmacros.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <kio/job.h>
-
-class TDEConfig;
-
-class GroupwiseServer;
-
-namespace KABC {
-
-class GroupwisePrefs;
-
-class KDE_EXPORT ResourceGroupwise : public ResourceCached
-{
- friend class ResourceGroupwiseConfig;
-
- Q_OBJECT
-
-
- public:
- ResourceGroupwise( const TDEConfig * );
- ResourceGroupwise( const KURL &url,
- const TQString &user, const TQString &password,
- const TQStringList &readAddressBooks,
- const TQString &writeAddressBook );
- ~ResourceGroupwise();
-
- void readConfig( const TDEConfig * );
- void writeConfig( TDEConfig * );
-
- void readAddressBooks();
- void writeAddressBooks();
-
- void retrieveAddressBooks();
-
- GroupwisePrefs *prefs() const { return mPrefs; }
-
- GroupWise::AddressBook::List addressBooks() const { return mAddressBooks; }
-
- bool doOpen();
- void doClose();
-
- Ticket *requestSaveTicket();
- void releaseSaveTicket( Ticket* );
-
- bool load();
- bool asyncLoad();
- bool save( Ticket * );
- bool asyncSave( Ticket * );
- enum SABState { Error, Stale, InSync, RefreshNeeded };
-
- /**
- * Clears the cached data, in memory and on disk
- */
- void clearCache();
- protected:
- enum ResourceState { Start, FetchingSAB, SABUptodate, FetchingUAB, Uptodate };
- enum BookType { System, User };
- enum AccessMode { Fetch, Update };
- void init();
- void initGroupwise();
-
- /* STATE CHANGING METHODS */
- /**
- * Begin asynchronously fetching the system address book , replacing the cached copy
- */
- void fetchAddressBooks( const BookType booktype );
- /**
- * Asynchronously update the system address book
- */
- void updateSystemAddressBook();
- /**
- * Wrap up the load sequence
- */
- void loadCompleted();
-
- /** HELPER METHODS **/
- /**
- * Check to see if a local download of the SAB already exists
- */
- SABState systemAddressBookState();
- /**
- * Check if the resource is configured to download the SAB
- */
- bool shouldFetchSystemAddressBook();
- /**
- * Check if the resource is configured to download personal address
- * books
- */
- bool shouldFetchUserAddressBooks();
-
- /**
- * Create a URL for a single addressbook access.
- * To fetch an address book completely, use mode = Fetch
- * To just update an addressbook, use mode = Update and give the ast sequence number already held
- * If Update is given without a sequence number, the mode falls back to Fetch
- */
- KURL createAccessUrl( BookType bookType, AccessMode mode, unsigned long lastSequenceNumber = 0, unsigned long lastPORebuildTime = 0 );
-
- /**
- * Persist the last known delta info. Call after the SAB is up to date.
- */
- void storeDeltaInfo();
-
- /**
- * Check if the application which has loaded this resource is whitelisted
- * to load the System Address Book (time-consuming)
- */
- bool appIsWhiteListedForSAB();
-
- private slots:
- /** STATE CHANGING SLOTS **/
- void fetchSABResult( TDEIO::Job * );
- void fetchUABResult( TDEIO::Job * );
- void updateSABResult( TDEIO::Job * );
- /** DATA PROCESSING SLOTS **/
- void slotReadJobData( TDEIO::Job *, const TQByteArray & );
- void slotUpdateJobData( TDEIO::Job *, const TQByteArray & );
- /** HELPER TQT_SLOT **/
- void slotJobPercent( TDEIO::Job *job, unsigned long percent );
-
- void cancelLoad();
- private:
- GroupwisePrefs *mPrefs;
- GroupWise::AddressBook::List mAddressBooks;
-
- GroupwiseServer *mServer;
-
- TDEIO::TransferJob *mJob;
- KPIM::ProgressItem *mProgress;
- KPIM::ProgressItem *mSABProgress;
- KPIM::ProgressItem *mUABProgress;
- TQString mJobData;
- ResourceState mState;
- unsigned long mServerFirstSequence, mServerLastSequence, mServerLastPORebuildTime;
-
- bool mLimitedMode;
-};
-
-}
-
-#endif
diff --git a/kresources/groupwise/kabc_resourcegroupwise_plugin.cpp b/kresources/groupwise/kabc_resourcegroupwise_plugin.cpp
deleted file mode 100644
index 3f973bc5..00000000
--- a/kresources/groupwise/kabc_resourcegroupwise_plugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupwise.h"
-#include "kabc_resourcegroupwiseconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-typedef KRES::PluginFactory<ResourceGroupwise, ResourceGroupwiseConfig> GroupwiseFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kabc_groupwise, GroupwiseFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kabc_groupwise()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupwise" );
- return new GroupwiseFactory;
- }
-}
diff --git a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp b/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
deleted file mode 100644
index 483268cc..00000000
--- a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupwiseconfig.h"
-
-#include "kabc_resourcegroupwise.h"
-#include "kabc_groupwiseprefs.h"
-
-#include <kcombobox.h>
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <klistview.h>
-#include <kurlrequester.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-using namespace KABC;
-
-class AddressBookItem : public TQCheckListItem
-{
- public:
- AddressBookItem( KListView *parent, GroupWise::AddressBook ab )
- : TQCheckListItem( parent, "", CheckBox ),
- mId( ab.id )
- {
- setText( 0, ab.name );
- if ( ab.isPersonal ) setText( 1, i18n("Yes") );
- else setText( 1, i18n("No") );
- if ( ab.isFrequentContacts ) setText( 2, i18n("Yes") );
- else setText( 2, i18n("No") );
- }
-
- TQString id() const { return mId; }
-
- private:
- TQString mId;
-};
-
-ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 7, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUser, 1, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mPassword, 2, 1 );
-
- TQFrame *hline = new TQFrame( this );
- hline->setFrameStyle( TQFrame::HLine | TQFrame::Sunken );
-
- mainLayout->addMultiCellWidget( hline, 3, 3, 0, 1 );
-
- TQPushButton *updateButton = new TQPushButton( i18n( "Retrieve Address Book List From Server" ), this );
- mainLayout->addMultiCellWidget( updateButton, 4, 4, 0, 1 );
-
- mAddressBookView = new KListView( this );
- mAddressBookView->addColumn( i18n( "Address Book" ) );
- mAddressBookView->addColumn( i18n( "Personal" ) );
- mAddressBookView->addColumn( i18n( "Frequent Contacts" ) );
- mAddressBookView->setFullWidth( true );
-
- mainLayout->addMultiCellWidget( mAddressBookView, 5, 5, 0, 1 );
-
- label = new TQLabel( i18n( "Address book for new contacts:" ), this );
- mAddressBookBox = new KComboBox( this );
-
- mainLayout->addWidget( label, 6, 0 );
- mainLayout->addWidget( mAddressBookBox, 6, 1 );
-
- connect( updateButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateAddressBookList() ) );
-}
-
-void ResourceGroupwiseConfig::loadSettings( KRES::Resource *res )
-{
- mResource = dynamic_cast<ResourceGroupwise*>( res );
-
- if ( !mResource ) {
- kdDebug(5700) << "ResourceGroupwiseConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( mResource->prefs()->url() );
- mUser->setText( mResource->prefs()->user() );
- mPassword->setText( mResource->prefs()->password() );
- mReadAddressBookIds = mResource->prefs()->readAddressBooks();
- updateAddressBookView();
-}
-
-void ResourceGroupwiseConfig::saveSettings( KRES::Resource *res )
-{
- ResourceGroupwise *resource = dynamic_cast<ResourceGroupwise*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceGroupwiseConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- saveServerSettings( resource );
-
- saveAddressBookSettings();
-}
-
-void ResourceGroupwiseConfig::saveServerSettings( ResourceGroupwise *resource )
-{
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-}
-
-void ResourceGroupwiseConfig::updateAddressBookList()
-{
- saveServerSettings( mResource );
-
- mResource->retrieveAddressBooks();
-
- updateAddressBookView();
-}
-
-void ResourceGroupwiseConfig::saveAddressBookSettings()
-{
- TQStringList selectedRead;
- TQString selectedWrite;
-
- TQListViewItemIterator it2( mAddressBookView );
- while ( it2.current() ) {
- AddressBookItem *item = static_cast<AddressBookItem*>( it2.current() );
- if ( item->isOn() )
- selectedRead.append( item->id() );
-
- ++it2;
- }
- // check if the SAB was selected when the settings were loaded and is not selected now,
- // if so, clear the resource to clear the SAB data that is no longer required.
- // also, set the sequence numbers to 0 so that we know the SAB should be re-fetched in its entirety the next time we do load it
- TQString sab = mResource->prefs()->systemAddressBook();
- if ( ( mReadAddressBookIds.find( sab ) != mReadAddressBookIds.end() ) && ( selectedRead.find( sab ) == selectedRead.end() ) )
- {
- mResource->clearCache();
- mResource->prefs()->setLastSequenceNumber( 0 );
- mResource->prefs()->setFirstSequenceNumber( 0 );
- }
- selectedWrite = mWriteAddressBookIds[ mAddressBookBox->currentItem() ];
-
- mResource->prefs()->setReadAddressBooks( selectedRead );
- mResource->prefs()->setWriteAddressBook( selectedWrite );
-}
-
-void ResourceGroupwiseConfig::updateAddressBookView()
-{
- if ( mAddressBookBox->count() != 0 ) // we loaded it already
- saveAddressBookSettings();
-
- mAddressBookView->clear();
- mAddressBookBox->clear();
- mWriteAddressBookIds.clear();
-
- TQStringList selectedRead = mResource->prefs()->readAddressBooks();
-
- GroupWise::AddressBook::List addressBooks = mResource->addressBooks();
- GroupWise::AddressBook::List::ConstIterator abIt;
- for ( abIt = addressBooks.begin(); abIt != addressBooks.end(); ++abIt ) {
- AddressBookItem *item = new AddressBookItem( mAddressBookView, *abIt );
- if ( selectedRead.find( (*abIt).id ) != selectedRead.end() )
- item->setOn( true );
-
- mAddressBookBox->insertItem( (*abIt).name );
- mWriteAddressBookIds.append( (*abIt).id );
- }
-
- int index = mWriteAddressBookIds.findIndex( mResource->prefs()->writeAddressBook() );
- mAddressBookBox->setCurrentItem( index );
-}
-
-#include "kabc_resourcegroupwiseconfig.moc"
diff --git a/kresources/groupwise/kabc_resourcegroupwiseconfig.h b/kresources/groupwise/kabc_resourcegroupwiseconfig.h
deleted file mode 100644
index 5b7eb1cf..00000000
--- a/kresources/groupwise/kabc_resourcegroupwiseconfig.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWISECONFIG_H
-#define KABC_RESOURCEGROUPWISECONFIG_H
-
-#include "soap/groupwiseserver.h"
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-#include <tqmap.h>
-
-class KComboBox;
-class KLineEdit;
-class KListView;
-class KURLRequester;
-
-namespace KABC {
-
-class ResourceGroupwise;
-
-class KDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupwiseConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- protected slots:
- void updateAddressBookList();
-
- private:
- void updateAddressBookView();
- void saveAddressBookSettings();
- void loadAddressBookSettings();
- void saveServerSettings( ResourceGroupwise *resource );
-
- KURLRequester *mURL;
- KLineEdit *mUser;
- KLineEdit *mPassword;
-
- KListView *mAddressBookView;
- KComboBox *mAddressBookBox;
-
- TQStringList mWriteAddressBookIds;
- TQStringList mReadAddressBookIds;
- ResourceGroupwise *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/groupwise/kcal_groupwise.desktop b/kresources/groupwise/kcal_groupwise.desktop
deleted file mode 100644
index 3933a0ba..00000000
--- a/kresources/groupwise/kcal_groupwise.desktop
+++ /dev/null
@@ -1,50 +0,0 @@
-[Desktop Entry]
-Name=Novell GroupWise Server
-Name[af]=Novell GroupWise bediener
-Name[bg]=Сървър Novell GroupWise
-Name[br]=Servijer Novell GroupWise
-Name[ca]=Servidor Novell GroupWise
-Name[cs]=Novell GroupWise server
-Name[da]=Novell GroupWise server
-Name[el]=Εξυπηρετητής Novell GroupWise
-Name[es]=Servidor de Novell GroupWise
-Name[et]=Novelli GroupWise server
-Name[eu]=Novell GroupWise zerbitzaria
-Name[fa]=کارساز Novell GroupWise
-Name[fi]=Novell GroupWise -palvelin
-Name[fr]=Serveur de travail collaboratif GroupWise de Novell
-Name[fy]=Novell GroupWise-tsjinner
-Name[ga]=Freastalaí Novell GroupWise
-Name[gl]=Servidor Novell GroupWise
-Name[hu]=Novell GroupWise kiszolgáló
-Name[is]=Novell GroupWise þjónn
-Name[it]=Server Novell GroupWise
-Name[ja]=Novell GroupWise サーバ
-Name[ka]=სერვერი Novell GroupWise
-Name[kk]=Novell GroupWise сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ GroupWise របស់​ណូវែល
-Name[lt]=Novell GroupWise serveris
-Name[ms]=Pelayan Novell GroupWise
-Name[nb]=Novell GroupWise-tjener
-Name[nds]=Novell-GroupWise-Server
-Name[ne]=नोभेल समूहगत सर्भर
-Name[nl]=Novell GroupWise-server
-Name[nn]=Novell GroupWise-tenar
-Name[pl]=Serwer Novell GroupWise
-Name[pt]=Servidor Novell GroupWise
-Name[pt_BR]=Servidor GroupWise da Novell
-Name[ru]=Сервер Novell GroupWise
-Name[sl]=Strežnik Novell GroupWise
-Name[sr]=Novell-ов GroupWise сервер
-Name[sr@Latn]=Novell-ov GroupWise server
-Name[sv]=Novell Groupwise-server
-Name[ta]=Novell குழுவாரிச் சேவகன்
-Name[tr]=Novell GroupWise Sunucusu
-Name[uk]=Сервер Novell GroupWise
-Name[zh_CN]=Novell GroupWise 服务器
-Name[zh_TW]=Novell 群組伺服器
-X-TDE-Library=kcal_groupwise
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=groupwise
diff --git a/kresources/groupwise/kcal_groupwiseprefs.cpp b/kresources/groupwise/kcal_groupwiseprefs.cpp
deleted file mode 100644
index c2e9ffc0..00000000
--- a/kresources/groupwise/kcal_groupwiseprefs.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_groupwiseprefs.h"
-
-using namespace KCal;
-
-GroupwisePrefs::GroupwisePrefs()
- : GroupwisePrefsBase()
-{
-}
-
-TQString GroupwisePrefs::serverUrl() const
-{
- return url();
-}
diff --git a/kresources/groupwise/kcal_groupwiseprefs.h b/kresources/groupwise/kcal_groupwiseprefs.h
deleted file mode 100644
index fdc95868..00000000
--- a/kresources/groupwise/kcal_groupwiseprefs.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef GROUPWISEPREFS_H
-#define GROUPWISEPREFS_H
-
-#include "kcal_groupwiseprefsbase.h"
-
-namespace KCal {
-
-class GroupwisePrefs : public GroupwisePrefsBase
-{
- public:
- GroupwisePrefs();
-
- TQString serverUrl() const;
-};
-
-}
-
-#endif
diff --git a/kresources/groupwise/kcal_groupwiseprefsbase.kcfgc b/kresources/groupwise/kcal_groupwiseprefsbase.kcfgc
deleted file mode 100644
index 7eac7daa..00000000
--- a/kresources/groupwise/kcal_groupwiseprefsbase.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_groupwise.kcfg
-ClassName=GroupwisePrefsBase
-NameSpace=KCal
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/groupwise/kcal_resourcegroupwise.cpp b/kresources/groupwise/kcal_resourcegroupwise.cpp
deleted file mode 100644
index ed5fd3ae..00000000
--- a/kresources/groupwise/kcal_resourcegroupwise.cpp
+++ /dev/null
@@ -1,340 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupwise.h"
-
-#include "kcal_groupwiseprefsbase.h"
-#include "kcal_resourcegroupwiseconfig.h"
-
-#include "soap/groupwiseserver.h"
-
-#include <libkcal/icalformat.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/confirmsavedialog.h>
-
-#include <tqapplication.h>
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqstringlist.h>
-#include <tqtimer.h>
-
-#include <kabc/locknull.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kresources/configwidget.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <kurl.h>
-#include <libtdepim/kpimprefs.h>
-
-using namespace KCal;
-
-ResourceGroupwise::ResourceGroupwise()
- : ResourceCached( 0 ), mLock( true )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-}
-
-ResourceGroupwise::ResourceGroupwise( const TDEConfig *config )
- : ResourceCached( config ), mLock( true )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) readConfig( config );
-}
-
-ResourceGroupwise::~ResourceGroupwise()
-{
- disableChangeNotification();
-
- delete mPrefs;
- mPrefs = 0;
-}
-
-void ResourceGroupwise::init()
-{
- mDownloadJob = 0;
- mProgress = 0;
-
- mIsShowingError = false;
-
- mPrefs = new GroupwisePrefsBase();
-
- setType( "groupwise" );
-
- enableChangeNotification();
-}
-
-GroupwisePrefsBase *ResourceGroupwise::prefs()
-{
- return mPrefs;
-}
-
-void ResourceGroupwise::readConfig( const TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceGroupwise::readConfig()" << endl;
-
- mPrefs->readConfig();
-
- ResourceCached::readConfig( config );
-}
-
-void ResourceGroupwise::writeConfig( TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceGroupwise::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-
- ResourceCached::writeConfig( config );
-}
-
-bool ResourceGroupwise::doOpen()
-{
- return true;
-}
-
-void ResourceGroupwise::doClose()
-{
- ResourceCached::doClose();
-}
-
-bool ResourceGroupwise::doLoad()
-{
- kdDebug() << "ResourceGroupwise::load()" << endl;
-
- if ( mIsShowingError ) {
- kdDebug() << "Still showing error" << endl;
- return true;
- }
-
- if ( mDownloadJob ) {
- kdDebug() << "Download still in progress" << endl;
- return true;
- }
-
- mCalendar.close();
-
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-
- clearChanges();
-
- KURL url( prefs()->url() );
- if ( url.protocol() == "http" ) url.setProtocol( "groupwise" );
- else url.setProtocol( "groupwises" );
- url.setPath( "/calendar/" );
- url.setUser( prefs()->user() );
- url.setPass( prefs()->password() );
-
- kdDebug() << "Download URL: " << url << endl;
-
- mJobData = TQString();
-
- mDownloadJob = TDEIO::get( url, false, false );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
-
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading calendar") );
- connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
-
- return true;
-}
-
-void ResourceGroupwise::slotJobResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceGroupwise::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- mIsShowingError = true;
- loadError( job->errorString() );
- mIsShowingError = false;
- } else {
- disableChangeNotification();
-
- clearCache();
-
- // FIXME: This does not take into account the time zone!
- CalendarLocal calendar( TQString::fromLatin1("UTC") );
- ICalFormat ical;
- if ( !ical.fromString( &calendar, mJobData ) ) {
- loadError( i18n("Error parsing calendar data.") );
- } else {
- Incidence::List incidences = calendar.incidences();
- Incidence::List::ConstIterator it;
- for( it = incidences.begin(); it != incidences.end(); ++it ) {
-// kdDebug() << "INCIDENCE: " << (*it)->summary() << endl;
- Incidence *i = (*it)->clone();
- TQString remote = (*it)->customProperty( "GWRESOURCE", "UID" );
- TQString local = idMapper().localId( remote );
- if ( local.isEmpty() ) {
- idMapper().setRemoteId( i->uid(), remote );
- } else {
- i->setUid( local );
- }
- addIncidence( i );
- }
- }
- saveCache();
- enableChangeNotification();
-
- clearChanges();
-
- emit resourceChanged( this );
- emit resourceLoaded( this );
- }
-
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-void ResourceGroupwise::slotJobData( TDEIO::Job *, const TQByteArray &data )
-{
-// kdDebug() << "ResourceGroupwise::slotJobData()" << endl;
-
- mJobData.append( data.data() );
-}
-
-bool ResourceGroupwise::doSave()
-{
- kdDebug() << "KCal::ResourceGroupwise::doSave()" << endl;
-
- saveCache();
-
- if ( !hasChanges() ) {
- kdDebug() << "No changes" << endl;
- return true;
- }
-
- if ( !confirmSave() ) return false;
-
- GroupwiseServer server( mPrefs->url(), mPrefs->user(), mPrefs->password(),
- 0 );
-
- if ( !server.login() ) {
- kdError() << "Unable to login to server" << endl;
- emit resourceSaveError( this, i18n( "Unable to login to server: " ) + server.errorText() );
- return false;
- }
-
- Incidence::List::ConstIterator it;
-
- Incidence::List added = addedIncidences();
- for( it = added.begin(); it != added.end(); ++it ) {
- if ( server.addIncidence( *it, this ) ) {
- clearChange( *it );
- saveCache();
- }
- }
- Incidence::List changed = changedIncidences();
- for( it = changed.begin(); it != changed.end(); ++it ) {
- if ( server.changeIncidence( *it ) ) clearChange( *it );
- }
- Incidence::List deleted = deletedIncidences();
- for( it = deleted.begin(); it != deleted.end(); ++it ) {
- if ( server.deleteIncidence( *it ) ) clearChange( *it );
- }
-
- server.logout();
-
- return true;
-}
-
-// FIXME: Put this into ResourceCached
-bool ResourceGroupwise::confirmSave()
-{
- if ( !hasChanges() ) return true;
-
- ConfirmSaveDialog dlg( resourceName(), 0 );
-
- dlg.addIncidences( addedIncidences(), i18n("Added") );
- dlg.addIncidences( changedIncidences(), i18n("Changed") );
- dlg.addIncidences( deletedIncidences(), i18n("Deleted") );
-
- int result = dlg.exec();
- return result == TQDialog::Accepted;
-}
-
-KABC::Lock *ResourceGroupwise::lock()
-{
- return &mLock;
-}
-
-void ResourceGroupwise::cancelLoad()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-bool ResourceGroupwise::userSettings( ngwt__Settings *&settings )
-{
- kdDebug() << "ResourceGroupwise::userSettings()" << endl;
-
- GroupwiseServer server( prefs()->url(),
- prefs()->user(),
- prefs()->password(), this );
-
- server.login();
- // get these out again, once we discover their format.
- bool success = server.readUserSettings( settings );
- server.logout();
- return success;
-}
-
-bool ResourceGroupwise::modifyUserSettings( TQMap<TQString, TQString> & settings )
-{
- kdDebug() << "ResourceGroupwise::modifyUserSettings()" << endl;
-
- if ( settings.isEmpty() )
- {
- kdDebug() << "ResourceGroupwise::modifyUserSettings(): no changed settings" << endl;
- return false;
- }
-
-
- GroupwiseServer server( prefs()->url(),
- prefs()->user(),
- prefs()->password(), this );
-
- server.login();
- // get these out again, once we discover their format.
- bool success = server.modifyUserSettings( settings );
- server.logout();
- return success;
-}
-
-#include "kcal_resourcegroupwise.moc"
diff --git a/kresources/groupwise/kcal_resourcegroupwise.h b/kresources/groupwise/kcal_resourcegroupwise.h
deleted file mode 100644
index 088e624a..00000000
--- a/kresources/groupwise/kcal_resourcegroupwise.h
+++ /dev/null
@@ -1,94 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEGROUPWISE_H
-#define KCAL_RESOURCEGROUPWISE_H
-
-#include <libemailfunctions/idmapper.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <libkcal/resourcecached.h>
-
-#include <kabc/locknull.h>
-#include <kio/job.h>
-#include <kconfig.h>
-#include <tdepimmacros.h>
-
-class ngwt__Settings;
-
-namespace KCal {
-
-class GroupwisePrefsBase;
-
-/**
- This class provides a resource for accessing a Groupwise calendar.
-*/
-class KDE_EXPORT ResourceGroupwise : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupwise();
-
- ResourceGroupwise( const TDEConfig * );
- virtual ~ResourceGroupwise();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- GroupwisePrefsBase *prefs();
-
- bool doOpen();
- void doClose();
-
- bool doLoad();
- bool doSave();
-
- KABC::Lock *lock();
-
- bool userSettings( ngwt__Settings * &settings );
- bool modifyUserSettings( TQMap<TQString, TQString> & settings );
- protected:
- void init();
-
- bool confirmSave();
-
- protected slots:
- void slotJobResult( TDEIO::Job * );
- void slotJobData( TDEIO::Job *, const TQByteArray & );
-
- void cancelLoad();
-
- private:
- GroupwisePrefsBase *mPrefs;
- KABC::LockNull mLock;
-
- TDEIO::TransferJob *mDownloadJob;
- KPIM::ProgressItem *mProgress;
- TQString mJobData;
-
- bool mIsShowingError;
-};
-
-}
-
-#endif
diff --git a/kresources/groupwise/kcal_resourcegroupwise_plugin.cpp b/kresources/groupwise/kcal_resourcegroupwise_plugin.cpp
deleted file mode 100644
index 1c1df762..00000000
--- a/kresources/groupwise/kcal_resourcegroupwise_plugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupwise.h"
-#include "kcal_resourcegroupwiseconfig.h"
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceGroupwise, ResourceGroupwiseConfig > GroupwiseFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_groupwise, GroupwiseFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kcal_groupwise()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_groupwise" );
- return new GroupwiseFactory;
- }
-}
diff --git a/kresources/groupwise/kcal_resourcegroupwiseconfig.cpp b/kresources/groupwise/kcal_resourcegroupwiseconfig.cpp
deleted file mode 100644
index b23a81a1..00000000
--- a/kresources/groupwise/kcal_resourcegroupwiseconfig.cpp
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-#include <klocale.h>
-#include <klistview.h>
-#include <kdebug.h>
-#include <kdialogbase.h>
-#include <kstandarddirs.h>
-#include <klineedit.h>
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include "kcal_resourcegroupwise.h"
-#include "kcal_groupwiseprefs.h"
-#include "kcal_resourcegroupwiseconfig.h"
-#include "groupwisesettingswidget.h"
-#include "soap/soapH.h"
-
-using namespace KCal;
-
-ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 );
-
- TQLabel *label = new TQLabel( i18n("URL:"), this );
- mainLayout->addWidget( label, 1, 0 );
- mUrl = new KLineEdit( this );
- mainLayout->addWidget( mUrl, 1, 1 );
-
- label = new TQLabel( i18n("User:"), this );
- mainLayout->addWidget( label, 2, 0 );
- mUserEdit = new KLineEdit( this );
- mainLayout->addWidget( mUserEdit, 2, 1 );
-
- label = new TQLabel( i18n("Password:"), this );
- mainLayout->addWidget( label, 3, 0 );
- mPasswordEdit = new KLineEdit( this );
- mainLayout->addWidget( mPasswordEdit, 3, 1 );
- mPasswordEdit->setEchoMode( KLineEdit::Password );
-
- TQPushButton *settingsButton = new TQPushButton( i18n( "View User Settings" ), this );
- mainLayout->addMultiCellWidget( settingsButton, 4, 4, 0, 1 );
-
- mReloadConfig = new KCal::ResourceCachedReloadConfig( this );
- mainLayout->addMultiCellWidget( mReloadConfig, 5, 5, 0, 1 );
-
- mSaveConfig = new KCal::ResourceCachedSaveConfig( this );
- mainLayout->addMultiCellWidget( mSaveConfig, 6, 6, 0, 1 );
-
- settingsButton->hide();
- // connect( settingsButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotViewUserSettings() ) );
-
-}
-
-void ResourceGroupwiseConfig::loadSettings( KRES::Resource *resource )
-{
- kdDebug() << "KCal::ResourceGroupwiseConfig::loadSettings()" << endl;
- ResourceGroupwise *res = static_cast<ResourceGroupwise *>( resource );
- mResource = res;
-
- if ( res ) {
- if ( !res->prefs() ) {
- kdError() << "No PREF" << endl;
- return;
- }
-
- mUrl->setText( res->prefs()->url() );
- mUserEdit->setText( res->prefs()->user() );
- mPasswordEdit->setText( res->prefs()->password() );
- mReloadConfig->loadSettings( res );
- mSaveConfig->loadSettings( res );
- } else {
- kdError(5700) << "KCalResourceGroupwiseConfig::loadSettings(): no KCalResourceGroupwise, cast failed" << endl;
- }
-}
-
-void ResourceGroupwiseConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceGroupwise *res = static_cast<ResourceGroupwise*>( resource );
- if ( res ) {
- res->prefs()->setUrl( mUrl->text() );
- res->prefs()->setUser( mUserEdit->text() );
- res->prefs()->setPassword( mPasswordEdit->text() );
- mReloadConfig->saveSettings( res );
- mSaveConfig->saveSettings( res );
- } else {
- kdError(5700) << "KCalResourceGroupwiseConfig::saveSettings(): no KCalResourceGroupwise, cast failed" << endl;
- }
-}
-
-void ResourceGroupwiseConfig::slotViewUserSettings()
-{
- kdDebug(5700) << "KCal::ResourceGroupwiseConfig::slotViewUserSettings()" << endl;
- if ( mResource )
- {
- ngwt__Settings * s;
- mResource->userSettings( s );
-
- if ( s )
- {
- KDialogBase * dialog = new KDialogBase( ::tqqt_cast<TQWidget*>(parent() ), "gwsettingswidget", true, i18n( "GroupWise Settings" ) );
-// TQVBoxLayout * layout = new TQVBoxLayout( dialog );
- GroupWiseSettingsWidget * settingsWidget = new GroupWiseSettingsWidget( dialog );
- dialog->setMainWidget( settingsWidget );
- // populate dialog
- kdDebug() << "slotViewUserSettings() - settings are: " << endl;
- std::vector<class ngwt__SettingsGroup *>::const_iterator it;
- for( it = s->group.begin(); it != s->group.end(); ++it )
- {
- ngwt__SettingsGroup * group = *it;
- TQString groupName;
- if ( group->type )
- {
- groupName = TQString::fromUtf8( group->type->c_str() );
- kdDebug() << "GROUP: " << groupName << endl;;
- }
- KListViewItem * groupLVI = new KListViewItem( settingsWidget->m_settingsList, groupName );
- std::vector<ngwt__Custom * > setting = group->setting;
- std::vector<class ngwt__Custom *>::const_iterator it2;
- for( it2 = setting.begin(); it2 != setting.end(); ++it2 )
- {
- TQString setting, value;
- bool locked = false;
- setting = TQString::fromUtf8( (*it2)->field.c_str() );
- if ( (*it2)->value )
- {
- value = TQString::fromUtf8( (*it2)->value->c_str() );
- }
- if ( (*it2)->locked )
- locked = *((*it2)->locked);
-
- kdDebug() << " SETTING: " << setting << " value : " << value << (locked ? "locked" : " not locked " ) << endl;
- KListViewItem * settingLVI = new KListViewItem( groupLVI, TQString(), setting, value, (locked ? "locked" : " not locked " ) );
- if ( !locked )
- settingLVI->setRenameEnabled( 2, true );
- }
- }
-
- dialog->show();
- if ( dialog->exec() == TQDialog::Accepted )
- {
- TQMap<TQString, TQString> settings = settingsWidget->dirtySettings();
- mResource->modifyUserSettings( settings );
- }
- }
- else
- kdDebug() << "KCal::ResourceGroupwiseConfig::slotViewUserSettings() - NO SETTINGS" << endl;
- }
-}
-
-#include "kcal_resourcegroupwiseconfig.moc"
diff --git a/kresources/groupwise/kcal_resourcegroupwiseconfig.h b/kresources/groupwise/kcal_resourcegroupwiseconfig.h
deleted file mode 100644
index db47a3f4..00000000
--- a/kresources/groupwise/kcal_resourcegroupwiseconfig.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALRESOURCEGROUPWISECONFIG_H
-#define KCALRESOURCEGROUPWISECONFIG_H
-
-#include <kurlrequester.h>
-#include <tdepimmacros.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-class TQCheckBox;
-class KLineEdit;
-
-namespace KCal {
-
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-
-/**
- Configuration widget for Groupwise resource.
-
- @see KCalResourceGroupwise
-*/
-class KDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- ResourceGroupwiseConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- protected slots:
- void slotViewUserSettings();
-
- private:
- KLineEdit *mUrl;
- KLineEdit *mUserEdit;
- KLineEdit *mPasswordEdit;
-
- ResourceCachedReloadConfig *mReloadConfig;
- ResourceCachedSaveConfig *mSaveConfig;
- ResourceGroupwise *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/groupwise/kioslave/CMakeLists.txt b/kresources/groupwise/kioslave/CMakeLists.txt
deleted file mode 100644
index 23476fe0..00000000
--- a/kresources/groupwise/kioslave/CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../soap
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES
- groupwise.protocol groupwises.protocol
- DESTINATION ${SERVICES_INSTALL_DIR} )
-
-
-##### kio_groupwise (module) ####################
-
-tde_add_kpart( kio_groupwise AUTOMOC
- SOURCES groupwise.cpp
- LINK gwsoap-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kresources/groupwise/kioslave/Makefile.am b/kresources/groupwise/kioslave/Makefile.am
deleted file mode 100644
index 0e3ed61a..00000000
--- a/kresources/groupwise/kioslave/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/groupwise/soap \
- -I$(top_builddir)/libtdepim $(all_includes)
-
-noinst_HEADERS = groupwise.h
-
-METASOURCES = AUTO
-
-kdelnkdir = $(kde_servicesdir)
-kdelnk_DATA = groupwise.protocol groupwises.protocol
-
-kde_module_LTLIBRARIES = kio_groupwise.la
-
-kio_groupwise_la_SOURCES = groupwise.cpp
-kio_groupwise_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- ../soap/libgwsoap.la $(top_builddir)/libtdepim/libtdepim.la $(LIB_KIO)
-kio_groupwise_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kio_groupwise.pot
diff --git a/kresources/groupwise/kioslave/groupwise.cpp b/kresources/groupwise/kioslave/groupwise.cpp
deleted file mode 100644
index c3addd3b..00000000
--- a/kresources/groupwise/kioslave/groupwise.cpp
+++ /dev/null
@@ -1,426 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-
-#include "groupwiseserver.h"
-
-#include <tqregexp.h>
-
-#include <libtdepim/kabcresourcecached.h>
-
-#include <libkcal/freebusy.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/scheduler.h>
-#include <libkcal/calendarlocal.h>
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-
-#include <kinstance.h>
-#include <kio/global.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <ktempfile.h>
-#include <tdeversion.h>
-
-#include <sys/types.h>
-#include <unistd.h>
-#include <stdlib.h>
-
-#include <tdepimmacros.h>
-
-#include "groupwise.h"
-
-namespace KABC {
-
-class ResourceMemory : public ResourceCached
-{
- public:
- ResourceMemory() : ResourceCached( 0 ) {}
-
- Ticket *requestSaveTicket() { return 0; }
- bool load() { return true; }
- bool save( Ticket * ) { return true; }
- void releaseSaveTicket( Ticket * ) {}
-};
-
-}
-
-extern "C" {
-KDE_EXPORT int kdemain( int argc, char **argv );
-}
-
-int kdemain( int argc, char **argv )
-{
- TDEInstance instance( "kio_groupwise" );
-
- kdDebug(7000) << "Starting kio_groupwise(pid: " << getpid() << ")" << endl;
-
- if (argc != 4) {
- fprintf( stderr, "Usage: kio_groupwise protocol domain-socket1 domain-socket2\n");
- exit( -1 );
- }
-
- Groupwise slave( argv[1], argv[2], argv[3] );
- slave.dispatchLoop();
-
- return 0;
-}
-
-Groupwise::Groupwise( const TQCString &protocol, const TQCString &pool,
- const TQCString &app )
- : SlaveBase( protocol, pool, app )
-{
-}
-
-void Groupwise::get( const KURL &url )
-{
- kdDebug(7000) << "Groupwise::get()" << endl;
- kdDebug(7000) << " URL: " << url.url() << endl;
- #if 1
- kdDebug(7000) << " Path: " << url.path() << endl;
- kdDebug(7000) << " Query: " << url.query() << endl;
- kdDebug(7000) << " Protocol: " << url.protocol() << endl;
- kdDebug(7000) << " Filename: " << url.filename() << endl;
- #endif
-
- mimeType( "text/plain" );
-
- TQString path = url.path();
- debugMessage( "Path: " + path );
-
- if ( path.contains( "/freebusy" ) ) {
- getFreeBusy( url );
- } else if ( path.contains( "/calendar" ) ) {
- getCalendar( url );
- } else if ( path.contains( "/addressbook" ) ) {
- if ( url.query().contains( "update=true" ) )
- updateAddressbook( url );
- else
- getAddressbook( url );
- } else {
- TQString error = i18n("Unknown path. Known paths are '/freebusy/', "
- "'/calendar/' and '/addressbook/'.") + TQString(" path was %1" ).arg( url.url() );
- errorMessage( error );
- }
-
- kdDebug(7000) << "Groupwise::get() done" << endl;
-}
-
-TQString Groupwise::soapUrl( const KURL &url )
-{
- // FIXME: Get SSL from parameter
- bool useSsl = url.protocol() == "groupwises";
-
- TQString u;
- if ( useSsl ) u = "https";
- else u = "http";
-
- u += "://" + url.host() + ":";
- if ( url.port() )
- u += TQString::number( url.port() );
- else {
- u += "7191";
- }
-
- // check for a soap path in the URL
- // assume that if a path to soap is included in the URL,
- // it will be at the start of the path, eg.
- // groupwise://host:port/soap2/freebusy
- if ( ! ( url.path().startsWith("/freebusy/") ||
- url.path().startsWith("/calendar/") ||
- url.path().startsWith("/addressbook/" ) ) )
- {
- TQString soapPath = TQString("/") + TQStringList::split('/', url.path())[0];
- u += soapPath;
- }
- else
- u += "/soap";
-
- return u;
-}
-
-void Groupwise::getFreeBusy( const KURL &url )
-{
- TQString file = url.filename();
- if ( file.right( 4 ) != ".ifb" ) {
- TQString error = i18n("Illegal filename. File has to have '.ifb' suffix.");
- errorMessage( error );
- } else {
- TQString email = file.left( file.length() - 4 );
- debugMessage( "Email: " + email );
-
- // Sanitise local Nuernberg email addresses
- kdDebug() << "Email before sanitizing: " << email << endl;
- email = email.replace(TQRegExp("\\.EMEA5-1\\.EMEA5" ), "" );
- email = email.replace(TQRegExp("\\.Suse.INTERNET" ), "" );
- kdDebug() << "Email after sanitizing: " << email << endl;
-
- TQString u = soapUrl( url );
-
- TQString user = url.user();
- TQString pass = url.pass();
-
- debugMessage( "URL: " + u );
- debugMessage( "User: " + user );
- debugMessage( "Password: " + pass );
-
- KCal::FreeBusy *fb = new KCal::FreeBusy;
-
- if ( user.isEmpty() || pass.isEmpty() ) {
- errorMessage( i18n("Need username and password to read Free/Busy information.") );
- } else {
- GroupwiseServer server( u, user, pass, 0 );
-
- // FIXME: Read range from configuration or URL parameters.
- TQDate start = TQDate::currentDate().addDays( -3 );
- TQDate end = TQDate::currentDate().addDays( 60 );
-
- fb->setDtStart( start );
- fb->setDtEnd( end );
-
- kdDebug() << "Login" << endl;
-
- if ( !server.login() ) {
- errorMessage( i18n("Unable to login: ") + server.errorText() );
- } else {
- kdDebug() << "Read free/busy" << endl;
- if ( !server.readFreeBusy( email, start, end, fb ) ) {
- errorMessage( i18n("Unable to read free/busy data: ") + server.errorText() );
- }
- kdDebug() << "Read free/busy" << endl;
- server.logout();
- }
- }
-
-#if 0
- TQDateTime s = TQDateTime( TQDate( 2004, 9, 27 ), TQTime( 10, 0 ) );
- TQDateTime e = TQDateTime( TQDate( 2004, 9, 27 ), TQTime( 11, 0 ) );
-
- fb->addPeriod( s, e );
-#endif
-
- // FIXME: This does not take into account the time zone!
- KCal::ICalFormat format;
-
- TQString ical = format.createScheduleMessage( fb, KCal::Scheduler::Publish );
-
- data( ical.utf8() );
-
- finished();
- }
-}
-
-void Groupwise::getCalendar( const KURL &url )
-{
- TQString u = soapUrl( url );
-
- TQString user = url.user();
- TQString pass = url.pass();
-
- debugMessage( "URL: " + u );
- debugMessage( "User: " + user );
- debugMessage( "Password: " + pass );
-
- GroupwiseServer server( u, user, pass, 0 );
-
- KCal::CalendarLocal calendar( TQString::fromLatin1("UTC"));
-
- kdDebug() << "Login" << endl;
- if ( !server.login() ) {
- errorMessage( i18n("Unable to login: ") + server.errorText() );
- } else {
- kdDebug() << "Read calendar" << endl;
- if ( !server.readCalendarSynchronous( &calendar ) ) {
- errorMessage( i18n("Unable to read calendar data: ") + server.errorText() );
- }
- kdDebug() << "Logout" << endl;
- server.logout();
- }
-
- KCal::ICalFormat format;
-
- TQString ical = format.toString( &calendar );
-
- data( ical.utf8() );
-
- finished();
-}
-
-void Groupwise::getAddressbook( const KURL &url )
-{
- TQString u = soapUrl( url );
-
- TQString user = url.user();
- TQString pass = url.pass();
-
- debugMessage( "URL: " + u );
- debugMessage( "User: " + user );
- debugMessage( "Password: " + pass );
-
- TQString query = url.query();
- if ( query.isEmpty() || query == "?" ) {
- errorMessage( i18n("No addressbook IDs given.") );
- } else {
- TQStringList ids;
-
- query = query.mid( 1 );
- TQStringList queryItems = TQStringList::split( "&", query );
- TQStringList::ConstIterator it;
- for( it = queryItems.begin(); it != queryItems.end(); ++it ) {
- TQStringList item = TQStringList::split( "=", (*it) );
- if ( item.count() == 2 && item[ 0 ] == "addressbookid" ) {
- ids.append( item[ 1 ] );
- }
- }
-
- debugMessage( "IDs: " + ids.join( "," ) );
-
- GroupwiseServer server( u, user, pass, 0 );
-
- connect( &server, TQT_SIGNAL( readAddressBookTotalSize( int ) ),
- TQT_SLOT( slotReadAddressBookTotalSize( int ) ) );
- connect( &server, TQT_SIGNAL( readAddressBookProcessedSize( int ) ),
- TQT_SLOT( slotReadAddressBookProcessedSize( int ) ) );
- connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ),
- TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
- connect( &server, TQT_SIGNAL( gotAddressees( const KABC::Addressee::List ) ),
- TQT_SLOT( slotReadReceiveAddressees( const KABC::Addressee::List ) ) );
-
- kdDebug() << "Login" << endl;
- if ( !server.login() ) {
- errorMessage( i18n("Unable to login: ") + server.errorText() );
- } else {
- kdDebug() << "Read Addressbook" << endl;
- if ( !server.readAddressBooksSynchronous( ids ) ) {
- errorMessage( i18n("Unable to read addressbook data: ") + server.errorText() );
- }
- kdDebug() << "Logout" << endl;
- server.logout();
- finished();
- }
- }
-}
-
-void Groupwise::slotReadReceiveAddressees( const KABC::Addressee::List addressees )
-{
- kdDebug() << "Groupwise::slotReadReceiveAddressees() - passing " << addressees.count() << " contacts back to application" << endl;
- KABC::VCardConverter conv;
-
- TQString vcard = conv.createVCards( addressees );
-
- data( vcard.utf8() );
-}
-
-void Groupwise::updateAddressbook( const KURL &url )
-{
- kdDebug() << "Groupwise::updateAddressbook() " << url << endl;
- TQString u = soapUrl( url );
-
- TQString user = url.user();
- TQString pass = url.pass();
-
- debugMessage( "update AB URL: " + u );
- debugMessage( "update AB User: " + user );
- debugMessage( "update AB Password: " + pass );
-
- TQString query = url.query();
-
- unsigned long lastSequenceNumber = 0;
- unsigned long lastPORebuildTime = 0;
-
- if ( query.isEmpty() || query == "?" ) {
- errorMessage( i18n("No addressbook IDs given.") );
- return;
- } else {
- TQStringList ids;
-
- query = query.mid( 1 );
- TQStringList queryItems = TQStringList::split( "&", query );
- TQStringList::ConstIterator it;
- for( it = queryItems.begin(); it != queryItems.end(); ++it ) {
- TQStringList item = TQStringList::split( "=", (*it) );
- if ( item.count() == 2 && item[ 0 ] == "addressbookid" ) {
- ids.append( item[ 1 ] );
- }
- if ( item.count() == 2 && item[ 0 ] == "lastSeqNo" )
- lastSequenceNumber = item[ 1 ].toULong();
- if ( item.count() == 2 && item[ 0 ] == "PORebuildTime" )
- lastPORebuildTime = item[ 1 ].toULong();
- }
-
- debugMessage( "update IDs: " + ids.join( "," ) );
-
- GroupwiseServer server( u, user, pass, 0 );
- connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ),
- TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
- connect( &server, TQT_SIGNAL( gotAddressees( const KABC::Addressee::List ) ),
- TQT_SLOT( slotReadReceiveAddressees( const KABC::Addressee::List ) ) );
-
- kdDebug() << " Login" << endl;
- if ( !server.login() ) {
- errorMessage( i18n("Unable to login: ") + server.errorText() );
- } else {
- kdDebug() << " Updating Addressbook" << endl;
- if ( !server.updateAddressBooks( ids, lastSequenceNumber + 1, lastPORebuildTime ) )
- {
- error( TDEIO::ERR_NO_CONTENT, server.errorText() );
- //errorMessage( i18n("Unable to update addressbook data: ") + server.errorText() );
- }
- kdDebug() << " Logout" << endl;
- server.logout();
- finished();
- }
- }
-}
-
-void Groupwise::errorMessage( const TQString &msg )
-{
- error( TDEIO::ERR_SLAVE_DEFINED, msg );
-}
-
-void Groupwise::debugMessage( const TQString &msg )
-{
-#if 0
- data( ( msg + "\n" ).utf8() );
-#else
- Q_UNUSED( msg );
-#endif
-}
-
-void Groupwise::slotReadAddressBookTotalSize( int size )
-{
- totalSize( size );
-}
-
-void Groupwise::slotReadAddressBookProcessedSize( int size )
-{
- kdDebug() << "Groupwise::processedSize(): " << size << endl;
- processedSize( size );
-}
-
-void Groupwise::slotServerErrorMessage( const TQString & serverErrorMessage, bool fatal )
-{
- kdDebug() << "Groupwise::slotJobErrorMessage()" << serverErrorMessage << ( fatal ? ", FATAL!" : ", proceeding" ) << endl;
- errorMessage( i18n( "An error occurred while communicating with the GroupWise server:\n%1" ).arg( serverErrorMessage ) );
-}
-
-#include "groupwise.moc"
-
diff --git a/kresources/groupwise/kioslave/groupwise.h b/kresources/groupwise/kioslave/groupwise.h
deleted file mode 100644
index c5f109d3..00000000
--- a/kresources/groupwise/kioslave/groupwise.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef GROUPWISE_H
-#define GROUPWISE_H
-
-#include <kio/slavebase.h>
-
-#include <tqobject.h>
-
-class Groupwise : public TQObject, public TDEIO::SlaveBase
-{
- Q_OBJECT
-
- public:
- void get( const KURL &url );
- Groupwise( const TQCString &protocol, const TQCString &pool,
- const TQCString &app );
-
- protected:
- void debugMessage( const TQString & );
- void errorMessage( const TQString & );
-
- void getFreeBusy( const KURL &url );
- void getCalendar( const KURL &url );
- void getAddressbook( const KURL &url );
- void updateAddressbook( const KURL &url );
-
- TQString soapUrl( const KURL &url );
-
- protected slots:
- void slotReadAddressBookTotalSize( int );
- void slotReadAddressBookProcessedSize( int );
- void slotServerErrorMessage( const TQString &, bool );
- void slotReadReceiveAddressees( const KABC::Addressee::List );
-};
-
-#endif
diff --git a/kresources/groupwise/kioslave/groupwise.protocol b/kresources/groupwise/kioslave/groupwise.protocol
deleted file mode 100644
index ec22851a..00000000
--- a/kresources/groupwise/kioslave/groupwise.protocol
+++ /dev/null
@@ -1,7 +0,0 @@
-[Protocol]
-DocPath=kioslave/groupwise.html
-exec=kio_groupwise
-input=none
-output=filesystem
-protocol=groupwise
-reading=true
diff --git a/kresources/groupwise/kioslave/groupwises.protocol b/kresources/groupwise/kioslave/groupwises.protocol
deleted file mode 100644
index b2b2c7b9..00000000
--- a/kresources/groupwise/kioslave/groupwises.protocol
+++ /dev/null
@@ -1,7 +0,0 @@
-[Protocol]
-DocPath=kioslave/groupwise.html
-exec=kio_groupwise
-input=none
-output=filesystem
-protocol=groupwises
-reading=true
diff --git a/kresources/groupwise/kresources_kabc_groupwise.kcfg b/kresources/groupwise/kresources_kabc_groupwise.kcfg
deleted file mode 100644
index 3998bdd2..00000000
--- a/kresources/groupwise/kresources_kabc_groupwise.kcfg
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kabc_groupwiserc" />
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Server URL</label>
- <whatsthis>URL of SOAP interface of GroupWise server</whatsthis>
- </entry>
- <entry key="User" type="String" >
- <label>User Name</label>
- </entry>
- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>
- </group>
- <group name="AddressBooks" >
- <entry key="Ids" type="StringList">
- <label>Ids of Address Books</label>
- </entry>
- <entry key="Names" type="StringList">
- <label>Names of Address Books</label>
- </entry>
- <entry key="Personals" type="StringList">
- <label>Personal State of Address Books</label>
- </entry>
- <entry key="Frequents" type="StringList">
- <label>Frequent Contacts state of Address Books</label>
- </entry>
- <entry key="ReadAddressBooks" type="StringList" >
- <label>Readable Address Books</label>
- </entry>
- <entry key="WriteAddressBook" type="String" >
- <label>Address Book for new Contacts</label>
- </entry>
- <entry key="SystemAddressBook" type="String" >
- <label>ID of System Address Book</label>
- </entry>
- <entry key="LastTimePORebuild" type="UInt64" >
- <label>Last time the Post Office was rebuilt</label>
- </entry>
- <entry key="firstSequenceNumber" type="UInt64" >
- <label>The first sequence number of the GW System Address Book held locally</label>
- </entry>
- <entry key="lastSequenceNumber" type="UInt64" >
- <label>The last sequence number of the GW System Address Book held locally</label>
- </entry>
- <entry key="SystemAddressBookWhiteList" type="StringList">
- <label>Applications which should load the System Address Book</label>
- <default>kmail,kaddressbook,kontact</default>
- </entry>
- </group>
-</kcfg>
diff --git a/kresources/groupwise/kresources_kcal_groupwise.kcfg b/kresources/groupwise/kresources_kcal_groupwise.kcfg
deleted file mode 100644
index 9a31a555..00000000
--- a/kresources/groupwise/kresources_kcal_groupwise.kcfg
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_groupwiserc" />
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Server URL</label>
- <whatsthis>URL of SOAP interface of GroupWise server</whatsthis>
- </entry>
- <entry key="User" type="String" >
- <label>User Name</label>
- </entry>
- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>
- <entry key="Port" type="UInt" >
- <label>TCP Port</label>
- <default>7181</default>
- </entry>
- </group>
-</kcfg>
diff --git a/kresources/groupwise/soap/CMakeLists.txt b/kresources/groupwise/soap/CMakeLists.txt
deleted file mode 100644
index be5c8205..00000000
--- a/kresources/groupwise/soap/CMakeLists.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-# FIXME KDE_CXXFLAGS = -Wno-non-virtual-dtor
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/..
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### gwsoap (shared) ###########################
-
-tde_add_library( gwsoap SHARED AUTOMOC
- SOURCES
- contactconverter.cpp gwconverter.cpp incidenceconverter.cpp groupwiseserver.cpp
- gwjobs.cpp ksslsocket.cpp soapC.cpp soapClient.cpp stdsoap2.cpp
- VERSION 0.0.0
- LINK tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/groupwise/soap/GroupWiseBinding.nsmap b/kresources/groupwise/soap/GroupWiseBinding.nsmap
deleted file mode 100644
index b07dd5bb..00000000
--- a/kresources/groupwise/soap/GroupWiseBinding.nsmap
+++ /dev/null
@@ -1,14 +0,0 @@
-
-#include "soapH.h"
-SOAP_NMAC struct Namespace namespaces[] =
-{
- {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
- {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
- {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
- {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
- {"ngwt", "http://schemas.novell.com/2005/01/GroupWise/types", NULL, NULL},
- {"ngwm", "http://schemas.novell.com/2005/01/GroupWise/methods", NULL, NULL},
- {"ngw", "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl", NULL, NULL},
- {"ngwe", "http://schemas.novell.com/2005/01/GroupWise/events", NULL, NULL},
- {NULL, NULL, NULL, NULL}
-};
diff --git a/kresources/groupwise/soap/Makefile.am b/kresources/groupwise/soap/Makefile.am
deleted file mode 100644
index 3f3cd84c..00000000
--- a/kresources/groupwise/soap/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/groupwise $(all_includes)
-
-#AM_CPPFLAGS = -DDEBUG
-KDE_CXXFLAGS = -Wno-non-virtual-dtor
-
-check_PROGRAMS = soapdebug
-
-soapdebug_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-soapdebug_LDADD = libgwsoap.la -ltdecore \
- $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-soapdebug_SOURCES = soapdebug.cpp
-
-lib_LTLIBRARIES = libgwsoap.la
-
-libgwsoap_la_SOURCES = contactconverter.cpp gwconverter.cpp incidenceconverter.cpp \
- groupwiseserver.cpp gwjobs.cpp ksslsocket.cpp \
- soapC.cpp soapClient.cpp stdsoap2.cpp
-libgwsoap_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined
-libgwsoap_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la
-
-# the following rule does:
-# make a header file from the wsdl
-# remove ns1__ prefixes from generated functions
-# create the stubs from the header
-# rename any 'delete' method declarations
-# rename any 'delete' method invocations
-# rename any 'new' method decls
-# rename any 'new' method invocations
-
-# do not just set "srcdir=." here, it breaks when building with srcdir!=builddir
-# srcdir = .
-
-stubs: groupwise.wsdl
- wsdl2h -e -o $(srcdir)/groupwise.h $(srcdir)/groupwise.wsdl -t $(srcdir)/typemap.dat
- cd $(srcdir); ./fixup_groupwise.h.pl --inplace
- soapcpp2 -d $(srcdir) -I$(srcdir) $(srcdir)/groupwise.h
- sed -e 's,*delete\([^d]\),*_delete\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_
- mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h
- sed -e 's,->delete\([^d]\),->_delete\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_
- mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp
- sed -e 's,*new\([^d]\),*_new\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_
- mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h
- sed -e 's,->new\([^d]\),->_new\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_
- mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp
-
-METASOURCES = AUTO
diff --git a/kresources/groupwise/soap/README b/kresources/groupwise/soap/README
deleted file mode 100644
index 0ba49382..00000000
--- a/kresources/groupwise/soap/README
+++ /dev/null
@@ -1,26 +0,0 @@
-This directory contains the bindings for the Groupwise SOAP interface. They
-consist of generated binding classes and the classes encapsulating
-the SOAP for use by KDE programs.
-
-The bindings are generated with gSoap 2.7.0d (see
-http://www.cs.fsu.edu/~engelen/soap.html) from the WSDL description in the file
-groupwise.wsdl. Generate the stub classes and
-interface implementations by calling "make stubs". The gSoap binaries have to be
-in your PATH for this.
-
-FIXME: The generated code produces lots of compiler warnings. They should be
-properly fixed as "[t]he generated code is not safe, so the warnings are correct,
-even if we currently use it in a way which works." (Cornelius Schumacher)
-
-*) "Validation constraint violation: data type mismatch in element <gwt:security>"
-
-is caused by gSoap's inablity to parse gwt:security tags, creating a spurious error. It can be fixed by editing soapC.cpp by hand and changing soap_s2ngwt__ItemSecurity(), at about lines
-12490 in the generated code,
-
-Comment out the s2QName call and change the last param to soap_code to s
-//soap_s2QName(soap, s, &t);
-map = soap_code(soap_codes_ngwt__ItemSecurity, s);
-
-*) "delete" in generated code.
-
-The GroupWise WSDL uses the reserved word "delete" in two contexts. gSOAP is not smart enough to catch this and rewrite it, so you have to do this by hand. AgeAction and DeltaSyncType are the two types affected by this, so make sure you are consistent in renaming them. There is a sed call in Makefile.am/stubs but this does not catch all cases.
diff --git a/kresources/groupwise/soap/contactconverter.cpp b/kresources/groupwise/soap/contactconverter.cpp
deleted file mode 100644
index 69c4b90f..00000000
--- a/kresources/groupwise/soap/contactconverter.cpp
+++ /dev/null
@@ -1,632 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "contactconverter.h"
-
-#include <kdebug.h>
-#include <klocale.h>
-
-ContactConverter::ContactConverter( struct soap* soap )
- : GWConverter( soap )
-{
-}
-
-ngwt__Contact* ContactConverter::convertToContact( const KABC::Addressee &addr )
-{
- if ( addr.isEmpty() )
- return 0;
-
- ngwt__Contact* contact = soap_new_ngwt__Contact( soap(), -1 );
-
- // ngwt__Contact
- contact->fullName = 0;
- contact->emailList = 0;
- contact->imList = 0;
- contact->addressList = 0;
- contact->officeInfo = 0;
- contact->personalInfo = 0;
- contact->referenceInfo = 0;
- // ngwt__AddressBookItem
- contact->uuid = 0;
- contact->comment = 0;
- contact->sync = 0;
- contact->domain = 0;
- contact->postOffice = 0;
- contact->distinguishedName = 0;
- contact->userid = 0;
- // ngwt__ContainerItem
- contact->categories = 0;
- contact->created = 0;
- contact->customs = 0;
- // ngwt__contact
- contact->id = 0;
- contact->name = 0;
- contact->version = 0;
- contact->modified = 0;
- contact->changes = 0;
-
- // Uid
- contact->id = qStringToString( addr.custom( "GWRESOURCE", "UID" ) );
-
- // Container
- if ( !addr.custom( "GWRESOURCE", "CONTAINER" ).isEmpty() ) {
- std::vector<ngwt__ContainerRef*>* container = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef( soap(), -1 );
- ngwt__ContainerRef* containerRef = soap_new_ngwt__ContainerRef( soap(), -1 );
- containerRef->deleted = 0;
- containerRef->__item = addr.custom( "GWRESOURCE", "CONTAINER" ).utf8().data();
- container->push_back( containerRef );
-
- contact->container = *container;
- }
-
- // Name parts
- ngwt__FullName* fullName = soap_new_ngwt__FullName( soap(), -1 );
- fullName->displayName = 0;
- fullName->namePrefix = 0;
- fullName->firstName = 0;
- fullName->middleName = 0;
- fullName->lastName = 0;
- fullName->nameSuffix = 0;
-
- if ( !addr.formattedName().isEmpty() )
- fullName->displayName = qStringToString( addr.formattedName() );
-
- if ( !addr.prefix().isEmpty() )
- fullName->namePrefix = qStringToString( addr.prefix() );
-
- if ( !addr.givenName().isEmpty() )
- fullName->firstName = qStringToString( addr.givenName() );
-
- if ( !addr.additionalName().isEmpty() )
- fullName->middleName = qStringToString( addr.additionalName() );
-
- if ( !addr.familyName().isEmpty() )
- fullName->lastName = qStringToString( addr.familyName() );
-
- if ( !addr.suffix().isEmpty() )
- fullName->nameSuffix = qStringToString( addr.suffix() );
-
- contact->fullName = fullName;
-
- // Emails
- if ( !addr.emails().isEmpty() ) {
- ngwt__EmailAddressList* emailList = soap_new_ngwt__EmailAddressList( soap(), -1 );
- std::vector<std::string>* list = soap_new_std__vectorTemplateOfstd__string( soap(), -1 );
-
- TQStringList emails = addr.emails();
- emailList->primary = qStringToString( emails.first() );
-
- TQStringList::Iterator it;
- for ( it = emails.begin(); it != emails.end(); ++it )
- list->push_back( std::string( (*it).utf8() ) );
-
- emailList->email = *list;
- contact->emailList = emailList;
- } else
- contact->emailList = 0;
-
- // Phone numbers
- if ( !addr.phoneNumbers().isEmpty() ) {
- ngwt__PhoneList* phoneList = soap_new_ngwt__PhoneList( soap(), -1 );
- phoneList->default_ = 0;
- std::vector<class ngwt__PhoneNumber*> *list = soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber( soap(), -1 );
-
- KABC::PhoneNumber::List phones = addr.phoneNumbers();
- KABC::PhoneNumber::List::Iterator it;
- for ( it = phones.begin(); it != phones.end(); ++it ) {
- ngwt__PhoneNumber* number = convertPhoneNumber( *it );
- if ( number ) {
- list->push_back( number );
-
- // if preferred number assign it
- if ( (*it).type() & KABC::PhoneNumber::Pref )
- phoneList->default_ = qStringToString( (*it).number() );
- }
- }
-
- phoneList->phone = *list;
- contact->phoneList = phoneList;
- } else
- contact->phoneList = 0;
-
- // Addresses
- if ( !addr.addresses().isEmpty() ) {
- ngwt__PostalAddressList* addressList = soap_new_ngwt__PostalAddressList( soap(), -1 );
- std::vector<class ngwt__PostalAddress*> *list = soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress( soap(), -1 );
-
- KABC::Address::List addresses = addr.addresses();
- KABC::Address::List::Iterator it;
- for ( it = addresses.begin(); it != addresses.end(); ++it ) {
- ngwt__PostalAddress* address = convertPostalAddress( *it );
- if ( address )
- list->push_back( address );
- }
-
- addressList->address = *list;
- contact->addressList = addressList;
- } else
- contact->addressList = 0;
-
- // IM addresses
- {
- contact->imList = convertImAddresses( addr );
- }
-
- // Office information
- {
- ngwt__OfficeInfo* info = soap_new_ngwt__OfficeInfo( soap(), -1 );
-
- // TODO: write back organization?
-
- if ( !addr.custom( "KADDRESSBOOK", "X-Department" ).isEmpty() )
- info->department = qStringToString( addr.custom( "KADDRESSBOOK", "X-Department" ) );
- else
- info->department = 0;
-
- if ( !addr.title().isEmpty() )
- info->title = qStringToString( addr.title() );
- else
- info->title = 0;
-
- if ( !addr.url().isEmpty() )
- info->website = qStringToString( addr.url().url() );
- else
- info->website = 0;
-
- info->organization = 0;
-
- contact->officeInfo = info;
- }
-
- // Personal information
- {
- ngwt__PersonalInfo* info = soap_new_ngwt__PersonalInfo( soap(), -1 );
-
- if ( addr.birthday().isValid() )
- info->birthday = qDateToString( addr.birthday().date() );
- else
- info->birthday = 0;
-
- // don't write back the web site here, otherwise we'll have it twice
- info->website = 0;
-
- contact->personalInfo = info;
- }
-
- return contact;
-}
-
-KABC::Addressee ContactConverter::convertFromAddressBookItem( ngwt__AddressBookItem * addrBkItem )
-{
- //kdDebug() << "ContactConverter::convertFromAddressBookItem()" << endl;
- KABC::Addressee addr;
- if ( !addrBkItem )
- {
- kdDebug() << "Null AddressBookItem, bailing out!" << endl;
- return addr;
- }
- // gwt:Item
- addr.insertCustom( "GWRESOURCE", "UID", stringToTQString( addrBkItem->id ) );
- addr.setFormattedName( stringToTQString( addrBkItem->name ) );
- // gwt::AddressBookItem
- addr.insertCustom( "GWRESOURCE", "UUID", stringToTQString( addrBkItem->uuid ) );
- addr.setNote( stringToTQString( addrBkItem->comment ) );
-
- return addr;
-}
-
-KABC::Addressee ContactConverter::convertFromResource( ngwt__Resource* resource )
-{
- //kdDebug() << "ContactConverter::convertFromResource()" << endl;
- KABC::Addressee addr = convertFromAddressBookItem( resource );
- if ( !resource )
- {
- kdDebug() << "Null Resource, bailing out!" << endl;
- return addr;
- }
- if ( resource->phone )
- addr.insertPhoneNumber( KABC::PhoneNumber( stringToTQString( resource->phone ), KABC::PhoneNumber::Work ) );
- if ( resource->email )
- addr.insertEmail( stringToTQString( resource->email ), true );
- if ( resource->owner )
- addr.insertCustom( "KADDRESSBOOK", "X-ManagersName", stringToTQString( resource->owner->__item ) );
-
- addr.insertCategory( i18n( "Resource" ) );
- return addr;
-}
-
-KABC::Addressee ContactConverter::convertFromGroup( ngwt__Group* group)
-{
-// kdDebug() << "ContactConverter::convertFromGroup()" << endl;
- KABC::Addressee addr = convertFromAddressBookItem( group );
- if ( !group )
- {
- kdDebug() << "Null Resource, bailing out!" << endl;
- return addr;
- }
- addr.insertCategory( i18n( "Group" ) );
- return addr;
-}
-
-KABC::Addressee ContactConverter::convertFromContact( ngwt__Contact* contact )
-{
-// kdDebug() << "ContactConverter::convertFromContact()" << endl;
-
- KABC::Addressee addr = convertFromAddressBookItem( contact );
-
- if ( !contact )
- {
- kdDebug() << "Null Contact, bailing out!" << endl;
- return addr;
- }
-
- // Name parts
- ngwt__FullName* fullName = contact->fullName;
-
- if ( fullName ) {
- if ( fullName->displayName )
- addr.setFormattedName( stringToTQString( fullName->displayName ) );
- else
- addr.setFormattedName( TQString() );
-
- if ( fullName->namePrefix )
- addr.setPrefix( stringToTQString( fullName->namePrefix ) );
-
- if ( fullName->firstName )
- addr.setGivenName( stringToTQString( fullName->firstName ) );
-
- if ( fullName->middleName )
- addr.setAdditionalName( stringToTQString( fullName->middleName ) );
-
- if ( fullName->lastName )
- addr.setFamilyName( stringToTQString( fullName->lastName ) );
-
- if ( fullName->nameSuffix )
- addr.setSuffix( stringToTQString( fullName->nameSuffix ) );
- }
-
- // Emails
- if ( contact->emailList ) {
- TQStringList emails;
-
- if ( contact->emailList->primary )
- emails.append( stringToTQString( contact->emailList->primary ) );
-
- if ( !contact->emailList->email.empty() ) {
- std::vector<std::string> list = contact->emailList->email;
- std::vector<std::string>::const_iterator it;
- for ( it = list.begin(); it != list.end(); ++it ) {
- if ( emails.find( stringToTQString( *it ) ) == emails.end() )
- emails.append( stringToTQString( *it ) );
- }
- }
-
- if ( emails.count() )
- addr.setEmails( emails );
- }
-
- // Phone numbers
- if ( contact->phoneList && !contact->phoneList->phone.empty() ) {
- TQString defaultNumber = stringToTQString( contact->phoneList->default_ );
-
- std::vector<class ngwt__PhoneNumber*> list = contact->phoneList->phone;
- std::vector<class ngwt__PhoneNumber*>::const_iterator it;
- for ( it = list.begin(); it != list.end(); ++it ) {
- KABC::PhoneNumber phone = convertPhoneNumber( *it );
- if ( !phone.number().isEmpty() ) {
- if ( phone.number() == defaultNumber )
- phone.setType( phone.type() | KABC::PhoneNumber::Pref );
- addr.insertPhoneNumber( phone );
- }
- }
- }
-
- // Addresses
- if ( contact->addressList && !contact->addressList->address.empty() ) {
- std::vector<class ngwt__PostalAddress*> list = contact->addressList->address;
- std::vector<class ngwt__PostalAddress*>::const_iterator it;
- for ( it = list.begin(); it != list.end(); ++it ) {
- KABC::Address address = convertPostalAddress( *it );
- if ( !address.isEmpty() )
- addr.insertAddress( address );
- }
- }
-
- // Office information
- if ( contact->officeInfo ) {
- ngwt__OfficeInfo* info = contact->officeInfo;
-
- if ( info->organization )
- addr.setOrganization( stringToTQString( info->organization->__item ) );
-
- if ( info->department )
- addr.insertCustom( "KADDRESSBOOK", "X-Department", stringToTQString( info->department ) );
-
- if ( info->title )
- addr.setTitle( stringToTQString( info->title ) );
-
- if ( info->website )
- addr.setUrl( KURL( stringToTQString( info->website ) ) );
- }
-
- // Personal information
- if ( contact->personalInfo ) {
- ngwt__PersonalInfo* info = contact->personalInfo;
-
- if ( info->birthday ) {
- TQDate date = stringToTQDate( info->birthday );
- if ( date.isValid() )
- addr.setBirthday( date );
- }
-
- if ( info->website ) // we might overwrite the office info website here... :(
- addr.setUrl( KURL( stringToTQString( info->website ) ) );
- }
-
- // IM addresses
- if ( contact->imList ) {
- // put all the im addresses on the same service into the same qstringlist
- TQMap<TQString, TQStringList> addressMap;
- std::vector<ngwt__ImAddress*> list = contact->imList->im;
- std::vector<ngwt__ImAddress*>::const_iterator it;
- for ( it = list.begin(); it != list.end(); ++it ) {
- TQStringList addressesForService = addressMap[ stringToTQString( (*it)->service ) ];
- addressesForService.append( stringToTQString( (*it)->address ) );
- addressMap.insert( stringToTQString( (*it)->service ), addressesForService );
- }
-
- // then construct a custom field from each qstringlist
- TQMap<TQString, TQStringList>::Iterator addrIt;
- for ( addrIt = addressMap.begin(); addrIt != addressMap.end(); ++addrIt )
- {
- TQString protocol = addrIt.key();
- TQStringList addresses = addrIt.data();
- //kdDebug() << "got IM addresses for '" << protocol << "' : " << addresses << endl;
- // TODO: map protocol to KDE's set of known protocol names (need to know the set of services in use elsewhere)
- if ( protocol == "nov" )
- protocol = "groupwise";
- addr.insertCustom( TQString::fromLatin1("messaging/%1").arg( protocol ),
- TQString::fromLatin1( "All" ),
- addresses.join( TQChar( 0xE000 ) ) );
- }
- }
-
- // addressbook delta sync info
- if ( contact->sync )
- {
- if ( *contact->sync == add )
- addr.insertCustom( "GWRESOURCE", "SYNC", "ADD" );
- else if ( *contact->sync == delete_ )
- addr.insertCustom( "GWRESOURCE", "SYNC", "DEL" );
- else if ( *contact->sync == update )
- addr.insertCustom( "GWRESOURCE", "SYNC", "UPD" );
- }
- //kdDebug() << "Got the following addressee: " << endl;
- //addr.dump();
- //kdDebug() << "Customs are: " << addr.customs() << endl;
-
- return addr;
-}
-
-KABC::PhoneNumber ContactConverter::convertPhoneNumber( ngwt__PhoneNumber *phone ) const
-{
- KABC::PhoneNumber phoneNumber;
-
- if ( !phone )
- return phoneNumber;
-
- phoneNumber.setNumber( stringToTQString( phone->__item ) );
- if ( phone->type == Fax ) {
- phoneNumber.setType( KABC::PhoneNumber::Fax );
- } else if ( phone->type == Home ) {
- phoneNumber.setType( KABC::PhoneNumber::Home );
- } else if ( phone->type == Mobile ) {
- phoneNumber.setType( KABC::PhoneNumber::Cell );
- } else if ( phone->type == Office ) {
- phoneNumber.setType( KABC::PhoneNumber::Work );
- } else if ( phone->type == Pager ) {
- phoneNumber.setType( KABC::PhoneNumber::Pager );
- } else {
- // should never been reached, phone numbers have always a type set...
- }
-
- return phoneNumber;
-}
-
-ngwt__PhoneNumber* ContactConverter::convertPhoneNumber( const KABC::PhoneNumber &number ) const
-{
- if ( number.number().isEmpty() )
- return 0;
-
- ngwt__PhoneNumber* phoneNumber = soap_new_ngwt__PhoneNumber( soap(), -1 );
- phoneNumber->__item = number.number().utf8().data();
-
- if ( number.type() & KABC::PhoneNumber::Fax ) {
- phoneNumber->type = Fax;
- } else if ( number.type() == KABC::PhoneNumber::Home ) {
- phoneNumber->type = Home;
- } else if ( number.type() & KABC::PhoneNumber::Cell ) {
- phoneNumber->type = Mobile;
- } else if ( number.type() == KABC::PhoneNumber::Work ) {
- phoneNumber->type = Office;
- } else if ( number.type() & KABC::PhoneNumber::Pager ) {
- phoneNumber->type = Pager;
- } else {
- // TODO: cache unsupported types
- }
-
- return phoneNumber;
-}
-
-KABC::Address ContactConverter::convertPostalAddress( ngwt__PostalAddress *addr ) const
-{
- KABC::Address address;
-
- if ( !addr )
- return address;
-
- if ( addr->streetAddress )
- address.setStreet( stringToTQString( addr->streetAddress ) );
-
- if ( addr->location )
- address.setExtended( stringToTQString( addr->location ) );
-
- if ( addr->city ) // isn't city the same like location?
- address.setLocality( stringToTQString( addr->city ) );
-
- if ( addr->state )
- address.setRegion( stringToTQString( addr->state ) );
-
- if ( addr->postalCode )
- address.setPostalCode( stringToTQString( addr->postalCode ) );
-
- if ( addr->country )
- address.setCountry( stringToTQString( addr->country ) );
-
- if ( addr->type == Home_ ) {
- address.setType( KABC::Address::Home );
- } else if ( addr->type == Office_ ) {
- address.setType( KABC::Address::Work );
- } else {
- // should never been reached, addresses have always a type set...
- }
-
- return address;
-}
-
-ngwt__PostalAddress* ContactConverter::convertPostalAddress( const KABC::Address &address )
-{
- if ( address.isEmpty() )
- return 0;
-
- ngwt__PostalAddress* postalAddress = soap_new_ngwt__PostalAddress( soap(), -1 );
-
- postalAddress->description = 0;
-
- if ( !address.street().isEmpty() )
- postalAddress->streetAddress = qStringToString( address.street() );
- else
- postalAddress->streetAddress = 0;
-
- if ( !address.extended().isEmpty() )
- postalAddress->location = qStringToString( address.extended() );
- else
- postalAddress->location = 0;
-
- if ( !address.locality().isEmpty() )
- postalAddress->city = qStringToString( address.locality() );
- else
- postalAddress->city = 0;
-
- if ( !address.region().isEmpty() )
- postalAddress->state = qStringToString( address.region() );
- else
- postalAddress->state = 0;
-
- if ( !address.postalCode().isEmpty() )
- postalAddress->postalCode = qStringToString( address.postalCode() );
- else
- postalAddress->postalCode = 0;
-
- if ( !address.country().isEmpty() )
- postalAddress->country = qStringToString( address.country() );
- else
- postalAddress->country = 0;
-
- if ( address.type() & KABC::Address::Home ) {
- postalAddress->type = Home_;
- } else if ( address.type() & KABC::Address::Work ) {
- postalAddress->type = Office_;
- } else {
- // TODO: cache unsupported types
- }
-
- return postalAddress;
-}
-
-ngwt__ImAddressList* ContactConverter::convertImAddresses( const KABC::Addressee& addr )
-{
- //return 0;
- /* TODO: use IM address dedicated functions in KDE 4.0.
- Change semantics so that convertToContact pulls each
- IM address out of the addressee and passes it to this
- function, which converts one at a time. */
- kdDebug() << k_funcinfo << endl;
- ngwt__ImAddressList* imList = soap_new_ngwt__ImAddressList( soap(), -1 );
- std::vector<class ngwt__ImAddress*> *list = soap_new_std__vectorTemplateOfPointerTongwt__ImAddress( soap(), -1 );
-
- // for each custom
- // if it contains IM addresses
- // extract each one and add it to imList
-
- const TQStringList customs = addr.customs();
- TQStringList::ConstIterator it;
- bool isSet = false;
- for ( it = customs.begin(); it != customs.end(); ++it ) {
- TQString app, name, value;
- splitField( *it, app, name, value );
-
- if ( app.startsWith( TQString::fromLatin1( "messaging/" ) ) && name == TQString::fromLatin1( "All" ) ) {
- // get the protocol for this field
- TQString protocol = app.section( '/', 1, 1 );
- if ( !protocol.isEmpty() ) {
- if ( protocol == "groupwise" )
- protocol = "novell";
- TQStringList addresses = TQStringList::split( TQChar( 0xE000 ), value );
- TQStringList::iterator end = addresses.end();
- // extract each address for this protocol, and create an ngwt__ImAddress for it, and append it to list.
- for ( TQStringList::ConstIterator it = addresses.begin(); it != end; ++it ) {
- ngwt__ImAddress* address = soap_new_ngwt__ImAddress( soap(), -1 );
- address->service = soap_new_std__string( soap(), -1 );
- address->address = soap_new_std__string( soap(), -1 );
- address->type = soap_new_std__string( soap(), -1 );
- address->service->append( protocol.utf8() );
- address->address->append( (*it).utf8() );
- address->type->append( "all" );
- kdDebug() << "adding: service: " << protocol << " address: " << *it << " type: all" << endl;
- list->push_back( address );
- }
- }
- }
- }
- imList->im = *list;
- if ( list->size() > 0 )
- return imList;
- else
- {
- delete imList;
- return 0;
- }
-}
-
-void ContactConverter::splitField( const TQString &str, TQString &app, TQString &name, TQString &value )
-{
- int colon = str.find( ':' );
- if ( colon != -1 ) {
- TQString tmp = str.left( colon );
- value = str.mid( colon + 1 );
-
- int dash = tmp.find( '-' );
- if ( dash != -1 ) {
- app = tmp.left( dash );
- name = tmp.mid( dash + 1 );
- }
- }
-}
diff --git a/kresources/groupwise/soap/contactconverter.h b/kresources/groupwise/soap/contactconverter.h
deleted file mode 100644
index 7dbc8c79..00000000
--- a/kresources/groupwise/soap/contactconverter.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KABC_GW_CONTACTCONVERTER_H
-#define KABC_GW_CONTACTCONVERTER_H
-
-#include <kabc/addressee.h>
-
-#include "gwconverter.h"
-
-class ContactConverter : public GWConverter
-{
- public:
- ContactConverter( struct soap* );
-
- KABC::Addressee convertFromContact( ngwt__Contact* );
- ngwt__Contact* convertToContact( const KABC::Addressee& );
- KABC::Addressee convertFromResource( ngwt__Resource* );
- KABC::Addressee convertFromGroup( ngwt__Group* );
-
- private:
- KABC::Addressee convertFromAddressBookItem( ngwt__AddressBookItem * );
- KABC::PhoneNumber convertPhoneNumber( ngwt__PhoneNumber* ) const;
- ngwt__PhoneNumber* convertPhoneNumber( const KABC::PhoneNumber& ) const;
-
- KABC::Address convertPostalAddress( ngwt__PostalAddress* ) const;
- ngwt__PostalAddress* convertPostalAddress( const KABC::Address& );
- /* we convert all IM addresses in the addressee at once,
- because multiple values per IM system are stored in a custom field each
- which is a different structure to that used for phone numbers, email addresses etc */
- ngwt__ImAddressList* convertImAddresses( const KABC::Addressee& );
- // splits up an arbitrary custom field
- void splitField( const TQString &str, TQString &app, TQString &name, TQString &value );
- static TQMap<TQString, TQString > mIMProtocolMap;
-};
-
-#endif
diff --git a/kresources/groupwise/soap/events.xsd b/kresources/groupwise/soap/events.xsd
deleted file mode 100644
index 9d032ddc..00000000
--- a/kresources/groupwise/soap/events.xsd
+++ /dev/null
@@ -1,313 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--
-================================================================================
-File: events.xsd
-
-Copyright (c) 2005-2006 Novell, Inc. All Rights Reserved.
-
-Use and redistribution of this work is subject to the developer license
-agreement through which this work is made available. Pursuant to that license
-agreement, Novell hereby grants You a royalty-free, non-exclusive license to
-include Novell's sample code in Your product(s) that interoperate with the
-applicable Novell product, and worldwide distribution rights to market,
-distribute, or sell Novell's sample code as a component of Your product.
-
-THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NOVELL OR THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
-OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
-
-
-Alternatively, the contents of this file may be used under the terms of
-GNU General Public License Version 2 (the "GPL") as explained below.
-If you wish to allow use of your version of this file only under the terms
-of the GPL, and not to allow others to use your version of this file under
-the provisions appearing above, indicate your decision by deleting the
-provisions above and replace them with the notice and other provisions required
-by the GPL. If you do not delete the provisions above, a recipient may use
-your version of this file under the above provisions of the GPL.
-
-
-This file is free software; you can redistribute it and/or modify it under the
-terms of version 2 of the GNU General Public License as published by the
-Free Software Foundation. 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, contact Novell, Inc.
-
-To contact Novell about this file by physical or electronic mail, you may find
-current contact information at www.novell.com.
-================================================================================
---><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.novell.com/2005/01/GroupWise/events" elementFormDefault="qualified" xmlns="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:tns="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types">
-
- <xs:import namespace="http://schemas.novell.com/2005/01/GroupWise/types" schemaLocation="types.xsd"/>
-
- <xs:element name="key" type="xs:string"/>
- <xs:element name="event" type="tns:EventType"/>
- <xs:element name="field" type="tns:FieldList"/>
- <xs:element name="id" type="types:uid"/>
- <xs:complexType name="ContainerList">
- <xs:sequence>
- <xs:element name="container" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="not" type="xs:boolean" default="0"/>
- </xs:complexType>
- <xs:complexType name="Event">
- <xs:sequence>
- <xs:element ref="tns:event"/>
- <xs:element ref="tns:id" minOccurs="0"/>
- <xs:element name="timeStamp" type="xs:dateTime" minOccurs="0"/>
- <xs:element ref="tns:field" minOccurs="0"/>
- <xs:element name="container" type="types:uid" minOccurs="0"/>
- <xs:element name="from" type="types:uid" minOccurs="0"/>
- <xs:element name="key" type="xs:string" minOccurs="0"/>
- <xs:element name="uid" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="type" type="tns:ItemType" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="EventDefinition">
- <xs:sequence>
- <xs:element name="events" type="tns:EventTypeList"/>
- <xs:element name="type" type="tns:ItemTypeList" minOccurs="0"/>
- <xs:element ref="tns:field" minOccurs="0"/>
- <xs:element name="containers" type="tns:ContainerList" minOccurs="0"/>
- <xs:element name="subType" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="EventList">
- <xs:sequence>
- <xs:element name="event" type="tns:Event" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Events">
- <xs:sequence>
- <xs:element ref="tns:key"/>
- <xs:element name="persistence" type="xs:duration" minOccurs="0"/>
- <xs:element name="ipAddress" type="xs:string" minOccurs="0"/>
- <xs:element name="port" type="xs:int" minOccurs="0"/>
- <xs:element name="http" type="xs:boolean" minOccurs="0" default="0"/>
- <xs:element name="definition" type="tns:EventDefinition" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="enabled" type="xs:boolean" default="0"/>
- </xs:complexType>
- <xs:complexType name="EventsList">
- <xs:sequence>
- <xs:element name="event" type="tns:Events" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="EventType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="AddressBookAdd"/>
- <xs:enumeration value="AddressBookDelete"/>
- <xs:enumeration value="AddressBookModify"/>
- <xs:enumeration value="AddressBookItemAdd"/>
- <xs:enumeration value="AddressBookItemDelete"/>
- <xs:enumeration value="AddressBookItemModify"/>
- <xs:enumeration value="FolderAccept"/>
- <xs:enumeration value="FolderAdd"/>
- <xs:enumeration value="FolderDelete"/>
- <xs:enumeration value="FolderItemAdd"/>
- <xs:enumeration value="FolderItemDelete"/>
- <xs:enumeration value="FolderItemMove"/>
- <xs:enumeration value="FolderModify"/>
- <xs:enumeration value="ItemAccept"/>
- <xs:enumeration value="ItemArchive"/>
- <xs:enumeration value="ItemComplete"/>
- <xs:enumeration value="ItemDecline"/>
- <xs:enumeration value="ItemDelete"/>
- <xs:enumeration value="ItemMarkPrivate"/>
- <xs:enumeration value="ItemMarkRead"/>
- <xs:enumeration value="ItemMarkUnread"/>
- <xs:enumeration value="ItemModify"/>
- <xs:enumeration value="ItemPurge"/>
- <xs:enumeration value="ItemUnarchive"/>
- <xs:enumeration value="ItemUndelete"/>
- <xs:enumeration value="Login"/>
- <xs:enumeration value="Logout"/>
- <xs:enumeration value="ProxyAccessAdd"/>
- <xs:enumeration value="ProxyAccessModify"/>
- <xs:enumeration value="ProxyAccessDelete"/>
- <xs:enumeration value="ProxyLogin"/>
- <xs:enumeration value="SessionTimedOut"/>
- <xs:enumeration value="TrustedApplicationLogin"/>
- <xs:enumeration value="ItemMarkUnprivate"/>
- <xs:enumeration value="ItemUnaccept"/>
- <xs:enumeration value="ItemUncomplete"/>
- <xs:enumeration value="PersonalGroupItemAdd"/>
- <xs:enumeration value="PersonalGroupItemDelete"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="EventTypeList">
- <xs:sequence>
- <xs:element name="event" type="tns:EventType" minOccurs="1" maxOccurs="36"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="Field">
- <xs:restriction base="xs:string">
- <xs:enumeration value="AcceptLevel"/>
- <xs:enumeration value="Alarm"/>
- <xs:enumeration value="AllDayEvent"/>
- <xs:enumeration value="Attachment"/>
- <xs:enumeration value="Category"/>
- <xs:enumeration value="Classification"/>
- <xs:enumeration value="Contact"/>
- <xs:enumeration value="DueDate"/>
- <xs:enumeration value="Duration"/>
- <xs:enumeration value="EmailAddress"/>
- <xs:enumeration value="ExpirationDate"/>
- <xs:enumeration value="Hidden"/>
- <xs:enumeration value="IMAddress"/>
- <xs:enumeration value="MessageBody"/>
- <xs:enumeration value="Name"/>
- <xs:enumeration value="Organization"/>
- <xs:enumeration value="Owner"/>
- <xs:enumeration value="PersonalSubject"/>
- <xs:enumeration value="PhoneNumber"/>
- <xs:enumeration value="Place"/>
- <xs:enumeration value="PostalAddress"/>
- <xs:enumeration value="RecipientStatus"/>
- <xs:enumeration value="Rights"/>
- <xs:enumeration value="Security"/>
- <xs:enumeration value="SendPriority"/>
- <xs:enumeration value="StartDate"/>
- <xs:enumeration value="Subject"/>
- <xs:enumeration value="TaskCategory"/>
- <xs:enumeration value="TaskPriority"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="FieldList">
- <xs:list itemType="Field"/>
- </xs:simpleType>
- <xs:simpleType name="ItemType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="AddressBookItem"/>
- <xs:enumeration value="Appointment"/>
- <xs:enumeration value="CalendarItem"/>
- <xs:enumeration value="Contact"/>
- <xs:enumeration value="Group"/>
- <xs:enumeration value="Mail"/>
- <xs:enumeration value="Note"/>
- <xs:enumeration value="Organization"/>
- <xs:enumeration value="PhoneMessage"/>
- <xs:enumeration value="Resource"/>
- <xs:enumeration value="Task"/>
- <xs:enumeration value="DocumentRef"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ItemTypeList">
- <xs:list itemType="ItemType"/>
- </xs:simpleType>
-
-<!--
-Applications can be notified by the POA when an event they have subscribed to occurs (a.k.a. slap).
-The object that is transported is defined by the Notify object. There can be many notify instantances in one slap.
-The notification instances will be seperated by \r\n. For example,
-
-<notify><userid>username</userid><key>GWEvents</key></notify>\r\n
-<notify><userid>username</userid><key>GWEvents</key></notify>\r\n
--->
- <xs:complexType name="Notify">
- <xs:sequence>
- <xs:element name="userid" type="xs:string" minOccurs="1"/>
- <xs:element ref="tns:key" minOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:element name="cleanEventConfigurationRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="all" type="xs:boolean" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="cleanEventConfigurationResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="configureEventsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="events" type="tns:Events" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="configureEventsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getEventConfigurationRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="key" type="xs:string" minOccurs="0" nillable="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getEventConfigurationResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="events" type="tns:EventsList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getEventsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="tns:key"/>
- <xs:element name="from" type="xs:dateTime" minOccurs="0" nillable="1"/>
- <xs:element name="until" type="xs:dateTime" minOccurs="0" nillable="1"/>
- <xs:element name="uid" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="count" type="xs:int" default="-1"/>
- <xs:element name="remove" type="xs:boolean" default="0"/>
- <xs:element name="notify" type="xs:boolean" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getEventsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="events" type="tns:EventList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeEventConfigurationRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="tns:key"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeEventConfigurationResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeEventsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="tns:key"/>
- <xs:element name="from" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="until" type="xs:dateTime" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeEventsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
-</xs:schema> \ No newline at end of file
diff --git a/kresources/groupwise/soap/extractxml.pl b/kresources/groupwise/soap/extractxml.pl
deleted file mode 100755
index ecab5086..00000000
--- a/kresources/groupwise/soap/extractxml.pl
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/perl
-
-if ( @ARGV != 1 ) {
- print STDERR "Usage: extractxml.pl <filename>\n";
- exit 1;
-}
-
-$in = $ARGV[ 0 ];
-
-print "In: $in\n";
-
-if ( !open IN, $in ) {
- print STDERR "Unable to open file '$in'.\n";
- exit 1;
-}
-
-$count = 1;
-
-while ( <IN> ) {
- if ( $xml ) {
- if ( $_ =~ /(.*\<\/SOAP-ENV:Envelope\>)/ ) {
- printXml( $xml . $1 );
- $xml = "";
- } else {
- $xml .= $_;
- }
- } elsif ( $_ =~ /^(\<\?xml.*\?>)(.*)$/ ) {
- $xml = $1 . $2;
-
- if ( $xml =~ /(.*\<\/SOAP-ENV:Envelope\>)/ ) {
- printXml( $1 );
- $xml = "";
-
- }
- }
-}
-
-sub printXml()
-{
- $xml = shift;
-
- $xml =~ s/\n//g;
- $xml =~ s/\r//g;
-
- $out = "$in.$count.xml";
-
- print "Out: $out\n";
-
- if ( !open OUT, ">$out" ) {
- print STDERR "Unable to open file '$out'.\n";
- } else {
- print OUT $xml;
- close OUT;
- }
-
- $count += 1;
-}
diff --git a/kresources/groupwise/soap/fixup_groupwise.h.pl b/kresources/groupwise/soap/fixup_groupwise.h.pl
deleted file mode 100755
index 93881117..00000000
--- a/kresources/groupwise/soap/fixup_groupwise.h.pl
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-
-my $inplace;
-
-if ( @ARGV == 1 && $ARGV[ 0 ] == "--inplace" ) {
- print "Substituting in place.\n";
- $inplace = 1;
-}
-
-my $fileIn = "groupwise.h";
-my $fileOut = "$fileIn.fixed";
-my $fileBack = "$fileIn.backup";
-
-if ( !open IN, $fileIn ) {
- print STDERR "Unable to open '$fileIn'.\n";
- exit 1;
-}
-
-if ( !open OUT, ">$fileOut" ) {
- print STDERR "Unable to open '$fileOut'.\n";
- exit 1;
-}
-
-while ( <IN> ) {
- my $newline;
-
- if ( /^(.*)ns1__(\w+\s+0?;.*)$/ ) {
-# print;
- $newline = $1 . $2 . "\n";
-# print $newline;
- $_ = $newline;
- }
-
-if ( 0 ) {
- if ( /(^\s+\S+\s+)ns1__(.*)/ ) {
- $newline = $1 . $2 . "\n";
- if ( !/enum/ && /element$/) {
-# print;
-# print $newline;
- $_ = $newline;
- }
- } elsif ( /(^\s+unsigned long\*\s+)ns1__(.*)/ ) {
- $newline = $1 . $2 . "\n";
-# print $newline;
- $_ = $newline;
- } elsif ( /(^\s+std\:\:\S+\s+\>.*)ns1__(.*)/ ) {
- $newline = $1 . $2 . "\n";
- $_ = $newline;
- }
-}
-
- print OUT;
-}
-
-if ( $inplace ) {
- system( "mv $fileIn $fileBack" );
- system( "mv $fileOut $fileIn" );
-}
diff --git a/kresources/groupwise/soap/groupwise.wsdl b/kresources/groupwise/soap/groupwise.wsdl
deleted file mode 100644
index 55a29dc7..00000000
--- a/kresources/groupwise/soap/groupwise.wsdl
+++ /dev/null
@@ -1,2081 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--
-================================================================================
-File: groupwise.wsdl
-
-Copyright (c) 2005-2006 Novell, Inc. All Rights Reserved.
-
-Use and redistribution of this work is subject to the developer license
-agreement through which this work is made available. Pursuant to that license
-agreement, Novell hereby grants You a royalty-free, non-exclusive license to
-include Novell's sample code in Your product(s) that interoperate with the
-applicable Novell product, and worldwide distribution rights to market,
-distribute, or sell Novell's sample code as a component of Your product.
-
-THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NOVELL OR THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
-OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
-
-
-Alternatively, the contents of this file may be used under the terms of
-GNU General Public License Version 2 (the "GPL") as explained below.
-If you wish to allow use of your version of this file only under the terms
-of the GPL, and not to allow others to use your version of this file under
-the provisions appearing above, indicate your decision by deleting the
-provisions above and replace them with the notice and other provisions required
-by the GPL. If you do not delete the provisions above, a recipient may use
-your version of this file under the above provisions of the GPL.
-
-
-This file is free software; you can redistribute it and/or modify it under the
-terms of version 2 of the GNU General Public License as published by the
-Free Software Foundation. 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, contact Novell, Inc.
-
-To contact Novell about this file by physical or electronic mail, you may find
-current contact information at www.novell.com.
-================================================================================
---><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:tns="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:methods="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:events="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-
- <types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
- <import namespace="http://schemas.novell.com/2005/01/GroupWise/types" schemaLocation="types.xsd"/>
- <import namespace="http://schemas.novell.com/2005/01/GroupWise/methods" schemaLocation="methods.xsd"/>
- <import namespace="http://schemas.novell.com/2005/01/GroupWise/events" schemaLocation="events.xsd"/>
- </schema>
- </types>
-
- <message name="acceptRequestMessage">
- <part name="acceptReq" element="methods:acceptRequest"/>
- </message>
- <message name="acceptResponseMessage">
- <part name="acceptRes" element="methods:acceptResponse"/>
- </message>
-
- <message name="unacceptRequestMessage">
- <part name="unacceptReq" element="methods:unacceptRequest"/>
- </message>
- <message name="unacceptResponseMessage">
- <part name="unacceptRes" element="methods:unacceptResponse"/>
- </message>
-
- <message name="acceptShareRequestMessage">
- <part name="acceptShareReq" element="methods:acceptShareRequest"/>
- </message>
- <message name="acceptShareResponseMessage">
- <part name="acceptShareRes" element="methods:acceptShareResponse"/>
- </message>
-
- <message name="addItemRequestMessage">
- <part name="addItemReq" element="methods:addItemRequest"/>
- </message>
- <message name="addItemResponseMessage">
- <part name="addItemRes" element="methods:addItemResponse"/>
- </message>
-
- <message name="addItemsRequestMessage">
- <part name="addItemsReq" element="methods:addItemsRequest"/>
- </message>
- <message name="addItemsResponseMessage">
- <part name="addItemsRes" element="methods:addItemsResponse"/>
- </message>
-
- <message name="addMembersRequestMessage">
- <part name="addMembersReq" element="methods:addMembersRequest"/>
- </message>
- <message name="addMembersResponseMessage">
- <part name="addMembersRes" element="methods:addMembersResponse"/>
- </message>
-
- <message name="closeFreeBusySessionRequestMessage">
- <part name="closeFreeBusySessionReq" element="methods:closeFreeBusySessionRequest"/>
- </message>
- <message name="closeFreeBusySessionResponseMessage">
- <part name="closeFreeBusySessionRes" element="methods:closeFreeBusySessionResponse"/>
- </message>
-
- <message name="completeRequestMessage">
- <part name="completeReq" element="methods:completeRequest"/>
- </message>
- <message name="completeResponseMessage">
- <part name="completeRes" element="methods:completeResponse"/>
- </message>
-
- <message name="uncompleteRequestMessage">
- <part name="uncompleteReq" element="methods:uncompleteRequest"/>
- </message>
- <message name="uncompleteResponseMessage">
- <part name="uncompleteRes" element="methods:uncompleteResponse"/>
- </message>
-
- <message name="createCursorRequestMessage">
- <part name="createCursorReq" element="methods:createCursorRequest"/>
- </message>
- <message name="createCursorResponseMessage">
- <part name="createCursorRes" element="methods:createCursorResponse"/>
- </message>
-
- <message name="createItemRequestMessage">
- <part name="createItemReq" element="methods:createItemRequest"/>
- </message>
- <message name="createItemResponseMessage">
- <part name="createItemRes" element="methods:createItemResponse"/>
- </message>
-
- <message name="createItemsRequestMessage">
- <part name="createItemsReq" element="methods:createItemsRequest"/>
- </message>
- <message name="createItemsResponseMessage">
- <part name="createItemsRes" element="methods:createItemsResponse"/>
- </message>
-
- <message name="createJunkEntryRequestMessage">
- <part name="createJunkEntryReq" element="methods:createJunkEntryRequest"/>
- </message>
- <message name="createJunkEntryResponseMessage">
- <part name="createJunkEntryRes" element="methods:createJunkEntryResponse"/>
- </message>
-
- <message name="createProxyAccessRequestMessage">
- <part name="createProxyAccessReq" element="methods:createProxyAccessRequest"/>
- </message>
- <message name="createProxyAccessResponseMessage">
- <part name="createProxyAccessRes" element="methods:createProxyAccessResponse"/>
- </message>
-
- <message name="createSignatureRequestMessage">
- <part name="createSignatureReq" element="methods:createSignatureRequest"/>
- </message>
- <message name="createSignatureResponseMessage">
- <part name="createSignatureRes" element="methods:createSignatureResponse"/>
- </message>
-
- <message name="declineRequestMessage">
- <part name="declineReq" element="methods:declineRequest"/>
- </message>
- <message name="declineResponseMessage">
- <part name="declineRes" element="methods:declineResponse"/>
- </message>
-
- <message name="delegateRequestMessage">
- <part name="delegateReq" element="methods:delegateRequest"/>
- </message>
- <message name="delegateResponseMessage">
- <part name="delegateRes" element="methods:delegateResponse"/>
- </message>
-
- <message name="destroyCursorRequestMessage">
- <part name="destroyCursorReq" element="methods:destroyCursorRequest"/>
- </message>
- <message name="destroyCursorResponseMessage">
- <part name="destroyCursorRes" element="methods:destroyCursorResponse"/>
- </message>
-
- <message name="executeRuleRequestMessage">
- <part name="executeRuleReq" element="methods:executeRuleRequest"/>
- </message>
- <message name="executeRuleResponseMessage">
- <part name="executeRuleRes" element="methods:executeRuleResponse"/>
- </message>
-
- <message name="forwardRequestMessage">
- <part name="forwardReq" element="methods:forwardRequest"/>
- </message>
- <message name="forwardResponseMessage">
- <part name="forwardRes" element="methods:forwardResponse"/>
- </message>
-
- <message name="getAddressBookListRequestMessage">
- <part name="getAddressBookListReq" element="methods:getAddressBookListRequest"/>
- </message>
- <message name="getAddressBookListResponseMessage">
- <part name="getAddressBookListRes" element="methods:getAddressBookListResponse"/>
- </message>
-
- <message name="getAttachmentRequestMessage">
- <part name="getAttachmentReq" element="methods:getAttachmentRequest"/>
- </message>
- <message name="getAttachmentResponseMessage">
- <part name="getAttachmentRes" element="methods:getAttachmentResponse"/>
- </message>
-
- <message name="getCategoryListRequestMessage">
- <part name="getCategoryListReq" element="methods:getCategoryListRequest"/>
- </message>
- <message name="getCategoryListResponseMessage">
- <part name="getCategoryListRes" element="methods:getCategoryListResponse"/>
- </message>
-
- <message name="getCustomListRequestMessage">
- <part name="getCustomListReq" element="methods:getCustomListRequest"/>
- </message>
- <message name="getCustomListResponseMessage">
- <part name="getCustomListRes" element="methods:getCustomListResponse"/>
- </message>
-
- <message name="getDeltasRequestMessage">
- <part name="getDeltasReq" element="methods:getDeltasRequest"/>
- </message>
- <message name="getDeltasResponseMessage">
- <part name="getDeltasRes" element="methods:getDeltasResponse"/>
- </message>
-
- <message name="getDeltaInfoRequestMessage">
- <part name="getDeltaInfoReq" element="methods:getDeltaInfoRequest"/>
- </message>
- <message name="getDeltaInfoResponseMessage">
- <part name="getDeltaInfoRes" element="methods:getDeltaInfoResponse"/>
- </message>
-
- <message name="getDocumentTypeListRequestMessage">
- <part name="getDocumentTypeListReq" element="methods:getDocumentTypeListRequest"/>
- </message>
- <message name="getDocumentTypeListResponseMessage">
- <part name="getDocumentTypeListRes" element="methods:getDocumentTypeListResponse"/>
- </message>
-
- <message name="getFolderRequestMessage">
- <part name="getFolderReq" element="methods:getFolderRequest"/>
- </message>
- <message name="getFolderResponseMessage">
- <part name="getFolderRes" element="methods:getFolderResponse"/>
- </message>
-
- <message name="getFolderListRequestMessage">
- <part name="getFolderListReq" element="methods:getFolderListRequest"/>
- </message>
- <message name="getFolderListResponseMessage">
- <part name="getFolderListRes" element="methods:getFolderListResponse"/>
- </message>
-
- <message name="getFreeBusyRequestMessage">
- <part name="getFreeBusyReq" element="methods:getFreeBusyRequest"/>
- </message>
- <message name="getFreeBusyResponseMessage">
- <part name="getFreeBusyRes" element="methods:getFreeBusyResponse"/>
- </message>
-
- <message name="getItemRequestMessage">
- <part name="getItemReq" element="methods:getItemRequest"/>
- </message>
- <message name="getItemResponseMessage">
- <part name="getItemRes" element="methods:getItemResponse"/>
- </message>
-
- <message name="getItemsRequestMessage">
- <part name="getItemsReq" element="methods:getItemsRequest"/>
- </message>
- <message name="getItemsResponseMessage">
- <part name="getItemsRes" element="methods:getItemsResponse"/>
- </message>
-
- <message name="getJunkEntriesRequestMessage">
- <part name="getJunkEntriesReq" element="methods:getJunkEntriesRequest"/>
- </message>
- <message name="getJunkEntriesResponseMessage">
- <part name="getJunkEntriesRes" element="methods:getJunkEntriesResponse"/>
- </message>
-
- <message name="getJunkMailSettingsRequestMessage">
- <part name="getJunkMailSettingsReq" element="methods:getJunkMailSettingsRequest"/>
- </message>
- <message name="getJunkMailSettingsResponseMessage">
- <part name="getJunkMailSettingsRes" element="methods:getJunkMailSettingsResponse"/>
- </message>
-
- <message name="getLibraryItemRequestMessage">
- <part name="getLibraryItemReq" element="methods:getLibraryItemRequest"/>
- </message>
- <message name="getLibraryItemResponseMessage">
- <part name="getLibraryItemRes" element="methods:getLibraryItemResponse"/>
- </message>
-
- <message name="getLibraryListRequestMessage">
- <part name="getLibraryListReq" element="methods:getLibraryListRequest"/>
- </message>
- <message name="getLibraryListResponseMessage">
- <part name="getLibraryListRes" element="methods:getLibraryListResponse"/>
- </message>
-
- <message name="getQuickMessagesRequestMessage">
- <part name="getQuickMessagesReq" element="methods:getQuickMessagesRequest"/>
- </message>
- <message name="getQuickMessagesResponseMessage">
- <part name="getQuickMessagesRes" element="methods:getQuickMessagesResponse"/>
- </message>
-
- <message name="getProxyAccessListRequestMessage">
- <part name="getProxyAccessListReq" element="methods:getProxyAccessListRequest"/>
- </message>
- <message name="getProxyAccessListResponseMessage">
- <part name="getProxyAccessListRes" element="methods:getProxyAccessListResponse"/>
- </message>
-
- <message name="getProxyListRequestMessage">
- <part name="getProxyListReq" element="methods:getProxyListRequest"/>
- </message>
- <message name="getProxyListResponseMessage">
- <part name="getProxyListRes" element="methods:getProxyListResponse"/>
- </message>
-
- <message name="getRuleListRequestMessage">
- <part name="getRuleListReq" element="methods:getRuleListRequest"/>
- </message>
- <message name="getRuleListResponseMessage">
- <part name="getRuleListRes" element="methods:getRuleListResponse"/>
- </message>
-
- <message name="getSettingsRequestMessage">
- <part name="getSettingsReq" element="methods:getSettingsRequest"/>
- </message>
- <message name="getSettingsResponseMessage">
- <part name="getSettingsRes" element="methods:getSettingsResponse"/>
- </message>
-
- <message name="getSignaturesRequestMessage">
- <part name="getSignaturesReq" element="methods:getSignaturesRequest"/>
- </message>
- <message name="getSignaturesResponseMessage">
- <part name="getSignaturesRes" element="methods:getSignaturesResponse"/>
- </message>
-
- <message name="getTimestampRequestMessage">
- <part name="getTimestampReq" element="methods:getTimestampRequest"/>
- </message>
- <message name="getTimestampResponseMessage">
- <part name="getTimestampRes" element="methods:getTimestampResponse"/>
- </message>
-
- <message name="getTimezoneListRequestMessage">
- <part name="getTimezoneListReq" element="methods:getTimezoneListRequest"/>
- </message>
- <message name="getTimezoneListResponseMessage">
- <part name="getTimezoneListRes" element="methods:getTimezoneListResponse"/>
- </message>
-
- <message name="getUserListRequestMessage">
- <part name="getUserListReq" element="methods:getUserListRequest"/>
- </message>
- <message name="getUserListResponseMessage">
- <part name="getUserListRes" element="methods:getUserListResponse"/>
- </message>
-
- <message name="gwTraceMessage">
- <part name="gwTrace" element="types:gwTrace"/>
- </message>
-
- <message name="sessionMessage">
- <part name="sessionId" element="types:session"/>
- </message>
-
- <message name="loginRequestMessage">
- <part name="loginReq" element="methods:loginRequest"/>
- </message>
-
- <message name="loginResponseMessage">
- <part name="loginRes" element="methods:loginResponse"/>
- </message>
-
- <message name="logoutRequestMessage">
- <part name="logoutReq" element="methods:logoutRequest"/>
- </message>
- <message name="logoutResponseMessage">
- <part name="logoutRes" element="methods:logoutResponse"/>
- </message>
-
- <message name="markPrivateRequestMessage">
- <part name="markPrivateReq" element="methods:markPrivateRequest"/>
- </message>
- <message name="markPrivateResponseMessage">
- <part name="markPrivateRes" element="methods:markPrivateResponse"/>
- </message>
-
- <message name="markUnPrivateRequestMessage">
- <part name="markUnPrivateReq" element="methods:markUnPrivateRequest"/>
- </message>
- <message name="markUnPrivateResponseMessage">
- <part name="markUnPrivateRes" element="methods:markUnPrivateResponse"/>
- </message>
-
- <message name="markReadRequestMessage">
- <part name="markReadReq" element="methods:markReadRequest"/>
- </message>
- <message name="markReadResponseMessage">
- <part name="markReadRes" element="methods:markReadResponse"/>
- </message>
-
- <message name="markUnReadRequestMessage">
- <part name="markUnReadReq" element="methods:markUnReadRequest"/>
- </message>
- <message name="markUnReadResponseMessage">
- <part name="markUnReadRes" element="methods:markUnReadResponse"/>
- </message>
-
- <message name="modifyItemRequestMessage">
- <part name="modifyItemReq" element="methods:modifyItemRequest"/>
- </message>
- <message name="modifyItemResponseMessage">
- <part name="modifyItemRes" element="methods:modifyItemResponse"/>
- </message>
-
- <message name="modifyJunkEntryRequestMessage">
- <part name="modifyJunkEntryReq" element="methods:modifyJunkEntryRequest"/>
- </message>
- <message name="modifyJunkEntryResponseMessage">
- <part name="modifyJunkEntryRes" element="methods:modifyJunkEntryResponse"/>
- </message>
- <message name="modifyJunkMailSettingsRequestMessage">
- <part name="modifyJunkMailSettingsReq" element="methods:modifyJunkMailSettingsRequest"/>
- </message>
- <message name="modifyJunkMailSettingsResponseMessage">
- <part name="modifyJunkMailSettingsRes" element="methods:modifyJunkMailSettingsResponse"/>
- </message>
-
- <message name="modifyPasswordRequestMessage">
- <part name="modifyPasswordReq" element="methods:modifyPasswordRequest"/>
- </message>
- <message name="modifyPasswordResponseMessage">
- <part name="modifyPasswordRes" element="methods:modifyPasswordResponse"/>
- </message>
-
- <message name="modifyProxyAccessRequestMessage">
- <part name="modifyProxyAccessReq" element="methods:modifyProxyAccessRequest"/>
- </message>
- <message name="modifyProxyAccessResponseMessage">
- <part name="modifyProxyAccessRes" element="methods:modifyProxyAccessResponse"/>
- </message>
-
- <message name="modifySettingsRequestMessage">
- <part name="modifySettingsReq" element="methods:modifySettingsRequest"/>
- </message>
- <message name="modifySettingsResponseMessage">
- <part name="modifySettingsRes" element="methods:modifySettingsResponse"/>
- </message>
-
- <message name="modifySignaturesRequestMessage">
- <part name="modifySignaturesReq" element="methods:modifySignaturesRequest"/>
- </message>
- <message name="modifySignaturesResponseMessage">
- <part name="modifySignaturesRes" element="methods:modifySignaturesResponse"/>
- </message>
-
- <message name="moveItemRequestMessage">
- <part name="moveItemReq" element="methods:moveItemRequest"/>
- </message>
- <message name="moveItemResponseMessage">
- <part name="moveItemRes" element="methods:moveItemResponse"/>
- </message>
-
- <message name="positionCursorRequestMessage">
- <part name="positionCursorReq" element="methods:positionCursorRequest"/>
- </message>
- <message name="positionCursorResponseMessage">
- <part name="positionCursorRes" element="methods:positionCursorResponse"/>
- </message>
-
- <message name="purgeDeletedItemsRequestMessage">
- <part name="purgeDeletedItemsReq" element="methods:purgeDeletedItemsRequest"/>
- </message>
- <message name="purgeDeletedItemsResponseMessage">
- <part name="purgeDeletedItemsRes" element="methods:purgeDeletedItemsResponse"/>
- </message>
-
- <message name="purgeRequestMessage">
- <part name="purgeReq" element="methods:purgeRequest"/>
- </message>
- <message name="purgeResponseMessage">
- <part name="purgeRes" element="methods:purgeResponse"/>
- </message>
-
- <message name="readCursorRequestMessage">
- <part name="readCursorReq" element="methods:readCursorRequest"/>
- </message>
- <message name="readCursorResponseMessage">
- <part name="readCursorRes" element="methods:readCursorResponse"/>
- </message>
-
- <message name="removeCustomDefinitionRequestMessage">
- <part name="removeCustomDefinitionReq" element="methods:removeCustomDefinitionRequest"/>
- </message>
- <message name="removeCustomDefinitionResponseMessage">
- <part name="removeCustomDefinitionRes" element="methods:removeCustomDefinitionResponse"/>
- </message>
-
- <message name="removeItemRequestMessage">
- <part name="removeItemReq" element="methods:removeItemRequest"/>
- </message>
- <message name="removeItemResponseMessage">
- <part name="removeItemRes" element="methods:removeItemResponse"/>
- </message>
-
- <message name="removeItemsRequestMessage">
- <part name="removeItemsReq" element="methods:removeItemsRequest"/>
- </message>
- <message name="removeItemsResponseMessage">
- <part name="removeItemsRes" element="methods:removeItemsResponse"/>
- </message>
-
- <message name="removeJunkEntryRequestMessage">
- <part name="removeJunkEntryReq" element="methods:removeJunkEntryRequest"/>
- </message>
- <message name="removeJunkEntryResponseMessage">
- <part name="removeJunkEntryRes" element="methods:removeJunkEntryResponse"/>
- </message>
-
- <message name="removeMembersRequestMessage">
- <part name="removeMembersReq" element="methods:removeMembersRequest"/>
- </message>
- <message name="removeMembersResponseMessage">
- <part name="removeMembersRes" element="methods:removeMembersResponse"/>
- </message>
-
- <message name="removeProxyAccessRequestMessage">
- <part name="removeProxyAccessReq" element="methods:removeProxyAccessRequest"/>
- </message>
- <message name="removeProxyAccessResponseMessage">
- <part name="removeProxyAccessRes" element="methods:removeProxyAccessResponse"/>
- </message>
-
- <message name="removeProxyUserRequestMessage">
- <part name="removeProxyUserReq" element="methods:removeProxyUserRequest"/>
- </message>
- <message name="removeProxyUserResponseMessage">
- <part name="removeProxyUserRes" element="methods:removeProxyUserResponse"/>
- </message>
-
- <message name="removeSignatureRequestMessage">
- <part name="removeSignatureReq" element="methods:removeSignatureRequest"/>
- </message>
- <message name="removeSignatureResponseMessage">
- <part name="removeSignatureRes" element="methods:removeSignatureResponse"/>
- </message>
-
- <message name="replyRequestMessage">
- <part name="replyReq" element="methods:replyRequest"/>
- </message>
- <message name="replyResponseMessage">
- <part name="replyRes" element="methods:replyResponse"/>
- </message>
-
- <message name="retractRequestMessage">
- <part name="retractReq" element="methods:retractRequest"/>
- </message>
- <message name="retractResponseMessage">
- <part name="retractRes" element="methods:retractResponse"/>
- </message>
-
- <message name="sendItemRequestMessage">
- <part name="sendItemReq" element="methods:sendItemRequest"/>
- </message>
- <message name="sendItemResponseMessage">
- <part name="sendItemRes" element="methods:sendItemResponse"/>
- </message>
-
- <message name="setTimestampRequestMessage">
- <part name="setTimestampReq" element="methods:setTimestampRequest"/>
- </message>
- <message name="setTimestampResponseMessage">
- <part name="setTimestampRes" element="methods:setTimestampResponse"/>
- </message>
-
- <message name="startFreeBusySessionRequestMessage">
- <part name="startFreeBusySessionReq" element="methods:startFreeBusySessionRequest"/>
- </message>
- <message name="startFreeBusySessionResponseMessage">
- <part name="startFreeBusySessionRes" element="methods:startFreeBusySessionResponse"/>
- </message>
-
- <message name="updateVersionStatusRequestMessage">
- <part name="updateVersionStatusReq" element="methods:updateVersionStatusRequest"/>
- </message>
- <message name="updateVersionStatusResponseMessage">
- <part name="updateVersionStatusRes" element="methods:updateVersionStatusResponse"/>
- </message>
-
- <message name="cleanEventConfigurationRequestMessage">
- <part name="cleanEventConfigurationReq" element="events:cleanEventConfigurationRequest"/>
- </message>
- <message name="cleanEventConfigurationResponseMessage">
- <part name="cleanEventConfigurationRes" element="events:cleanEventConfigurationResponse"/>
- </message>
-
- <message name="configureEventsRequestMessage">
- <part name="configureEventsReq" element="events:configureEventsRequest"/>
- </message>
- <message name="configureEventsResponseMessage">
- <part name="configureEventsRes" element="events:configureEventsResponse"/>
- </message>
-
- <message name="getEventConfigurationRequestMessage">
- <part name="getEventConfigurationReq" element="events:getEventConfigurationRequest"/>
- </message>
- <message name="getEventConfigurationResponseMessage">
- <part name="getEventConfigurationRes" element="events:getEventConfigurationResponse"/>
- </message>
-
- <message name="getEventsRequestMessage">
- <part name="getEventsReq" element="events:getEventsRequest"/>
- </message>
- <message name="getEventsResponseMessage">
- <part name="getEventsRes" element="events:getEventsResponse"/>
- </message>
-
- <message name="removeEventConfigurationRequestMessage">
- <part name="removeEventConfigurationReq" element="events:removeEventConfigurationRequest"/>
- </message>
- <message name="removeEventConfigurationResponseMessage">
- <part name="removeEventConfigurationRes" element="events:removeEventConfigurationResponse"/>
- </message>
-
- <message name="removeEventsRequestMessage">
- <part name="removeEventsReq" element="events:removeEventsRequest"/>
- </message>
- <message name="removeEventsResponseMessage">
- <part name="removeEventsRes" element="events:removeEventsResponse"/>
- </message>
-
- <portType name="GroupWisePortType">
-
- <operation name="acceptRequest">
- <input message="tns:acceptRequestMessage"/>
- <output message="tns:acceptResponseMessage"/>
- </operation>
-
- <operation name="acceptShareRequest">
- <input message="tns:acceptShareRequestMessage"/>
- <output message="tns:acceptShareResponseMessage"/>
- </operation>
-
- <operation name="addItemRequest">
- <input message="tns:addItemRequestMessage"/>
- <output message="tns:addItemResponseMessage"/>
- </operation>
-
- <operation name="addItemsRequest">
- <input message="tns:addItemsRequestMessage"/>
- <output message="tns:addItemsResponseMessage"/>
- </operation>
-
- <operation name="addMembersRequest">
- <input message="tns:addMembersRequestMessage"/>
- <output message="tns:addMembersResponseMessage"/>
- </operation>
-
- <operation name="closeFreeBusySessionRequest">
- <input message="tns:closeFreeBusySessionRequestMessage"/>
- <output message="tns:closeFreeBusySessionResponseMessage"/>
- </operation>
-
- <operation name="completeRequest">
- <input message="tns:completeRequestMessage"/>
- <output message="tns:completeResponseMessage"/>
- </operation>
-
- <operation name="createCursorRequest">
- <input message="tns:createCursorRequestMessage"/>
- <output message="tns:createCursorResponseMessage"/>
- </operation>
-
- <operation name="createItemRequest">
- <input message="tns:createItemRequestMessage"/>
- <output message="tns:createItemResponseMessage"/>
- </operation>
-
- <operation name="createItemsRequest">
- <input message="tns:createItemsRequestMessage"/>
- <output message="tns:createItemsResponseMessage"/>
- </operation>
-
- <operation name="createJunkEntryRequest">
- <input message="tns:createJunkEntryRequestMessage"/>
- <output message="tns:createJunkEntryResponseMessage"/>
- </operation>
-
- <operation name="createProxyAccessRequest">
- <input message="tns:createProxyAccessRequestMessage"/>
- <output message="tns:createProxyAccessResponseMessage"/>
- </operation>
-
- <operation name="createSignatureRequest">
- <input message="tns:createSignatureRequestMessage"/>
- <output message="tns:createSignatureResponseMessage"/>
- </operation>
-
- <operation name="declineRequest">
- <input message="tns:declineRequestMessage"/>
- <output message="tns:declineResponseMessage"/>
- </operation>
-
- <operation name="delegateRequest">
- <input message="tns:delegateRequestMessage"/>
- <output message="tns:delegateResponseMessage"/>
- </operation>
-
- <operation name="destroyCursorRequest">
- <input message="tns:destroyCursorRequestMessage"/>
- <output message="tns:destroyCursorResponseMessage"/>
- </operation>
-
- <operation name="executeRuleRequest">
- <input message="tns:executeRuleRequestMessage"/>
- <output message="tns:executeRuleResponseMessage"/>
- </operation>
-
- <operation name="forwardRequest">
- <input message="tns:forwardRequestMessage"/>
- <output message="tns:forwardResponseMessage"/>
- </operation>
-
- <operation name="getAddressBookListRequest">
- <input message="tns:getAddressBookListRequestMessage"/>
- <output message="tns:getAddressBookListResponseMessage"/>
- </operation>
-
- <operation name="getAttachmentRequestMessage">
- <input message="tns:getAttachmentRequestMessage"/>
- <output message="tns:getAttachmentResponseMessage"/>
- </operation>
-
- <operation name="getCategoryListRequest">
- <input message="tns:getCategoryListRequestMessage"/>
- <output message="tns:getCategoryListResponseMessage"/>
- </operation>
-
- <operation name="getCustomListRequest">
- <input message="tns:getCustomListRequestMessage"/>
- <output message="tns:getCustomListResponseMessage"/>
- </operation>
-
- <operation name="getDeltasRequest">
- <input message="tns:getDeltasRequestMessage"/>
- <output message="tns:getDeltasResponseMessage"/>
- </operation>
-
- <operation name="getDeltaInfoRequest">
- <input message="tns:getDeltaInfoRequestMessage"/>
- <output message="tns:getDeltaInfoResponseMessage"/>
- </operation>
-
- <operation name="getDocumentTypeListRequest">
- <input message="tns:getDocumentTypeListRequestMessage"/>
- <output message="tns:getDocumentTypeListResponseMessage"/>
- </operation>
-
- <operation name="getFolderRequest">
- <input message="tns:getFolderRequestMessage"/>
- <output message="tns:getFolderResponseMessage"/>
- </operation>
-
- <operation name="getFolderListRequest">
- <input message="tns:getFolderListRequestMessage"/>
- <output message="tns:getFolderListResponseMessage"/>
- </operation>
-
- <operation name="getFreeBusyRequest">
- <input message="tns:getFreeBusyRequestMessage"/>
- <output message="tns:getFreeBusyResponseMessage"/>
- </operation>
-
- <operation name="getItemRequest">
- <input message="tns:getItemRequestMessage"/>
- <output message="tns:getItemResponseMessage"/>
- </operation>
-
- <operation name="getItemsRequest">
- <input message="tns:getItemsRequestMessage"/>
- <output message="tns:getItemsResponseMessage"/>
- </operation>
-
- <operation name="getJunkEntriesRequest">
- <input message="tns:getJunkEntriesRequestMessage"/>
- <output message="tns:getJunkEntriesResponseMessage"/>
- </operation>
-
- <operation name="getJunkMailSettingsRequest">
- <input message="tns:getJunkMailSettingsRequestMessage"/>
- <output message="tns:getJunkMailSettingsResponseMessage"/>
- </operation>
-
- <operation name="getLibraryItemRequest">
- <input message="tns:getLibraryItemRequestMessage"/>
- <output message="tns:getLibraryItemResponseMessage"/>
- </operation>
-
- <operation name="getLibraryListRequest">
- <input message="tns:getLibraryListRequestMessage"/>
- <output message="tns:getLibraryListResponseMessage"/>
- </operation>
-
- <operation name="getQuickMessagesRequest">
- <input message="tns:getQuickMessagesRequestMessage"/>
- <output message="tns:getQuickMessagesResponseMessage"/>
- </operation>
-
- <operation name="getProxyAccessListRequest">
- <input message="tns:getProxyAccessListRequestMessage"/>
- <output message="tns:getProxyAccessListResponseMessage"/>
- </operation>
-
- <operation name="getProxyListRequest">
- <input message="tns:getProxyListRequestMessage"/>
- <output message="tns:getProxyListResponseMessage"/>
- </operation>
-
- <operation name="getRuleListRequest">
- <input message="tns:getRuleListRequestMessage"/>
- <output message="tns:getRuleListResponseMessage"/>
- </operation>
-
- <operation name="getSettingsRequest">
- <input message="tns:getSettingsRequestMessage"/>
- <output message="tns:getSettingsResponseMessage"/>
- </operation>
-
- <operation name="getSignaturesRequest">
- <input message="tns:getSignaturesRequestMessage"/>
- <output message="tns:getSignaturesResponseMessage"/>
- </operation>
-
- <operation name="getTimestampRequest">
- <input message="tns:getTimestampRequestMessage"/>
- <output message="tns:getTimestampResponseMessage"/>
- </operation>
-
- <operation name="getTimezoneListRequest">
- <input message="tns:getTimezoneListRequestMessage"/>
- <output message="tns:getTimezoneListResponseMessage"/>
- </operation>
-
- <operation name="getUserListRequest">
- <input message="tns:getUserListRequestMessage"/>
- <output message="tns:getUserListResponseMessage"/>
- </operation>
-
- <operation name="loginRequest">
- <input message="tns:loginRequestMessage"/>
- <output message="tns:loginResponseMessage"/>
- </operation>
- <operation name="logoutRequest">
- <input message="tns:logoutRequestMessage"/>
- <output message="tns:logoutResponseMessage"/>
- </operation>
-
- <operation name="markPrivateRequest">
- <input message="tns:markPrivateRequestMessage"/>
- <output message="tns:markPrivateResponseMessage"/>
- </operation>
-
- <operation name="markUnPrivateRequest">
- <input message="tns:markUnPrivateRequestMessage"/>
- <output message="tns:markUnPrivateResponseMessage"/>
- </operation>
-
- <operation name="markReadRequest">
- <input message="tns:markReadRequestMessage"/>
- <output message="tns:markReadResponseMessage"/>
- </operation>
-
- <operation name="markUnReadRequest">
- <input message="tns:markUnReadRequestMessage"/>
- <output message="tns:markUnReadResponseMessage"/>
- </operation>
-
- <operation name="modifyItemRequest">
- <input message="tns:modifyItemRequestMessage"/>
- <output message="tns:modifyItemResponseMessage"/>
- </operation>
-
- <operation name="modifyJunkEntryRequest">
- <input message="tns:modifyJunkEntryRequestMessage"/>
- <output message="tns:modifyJunkEntryResponseMessage"/>
- </operation>
-
- <operation name="modifyJunkMailSettingsRequest">
- <input message="tns:modifyJunkMailSettingsRequestMessage"/>
- <output message="tns:modifyJunkMailSettingsResponseMessage"/>
- </operation>
-
- <operation name="modifyPasswordRequest">
- <input message="tns:modifyPasswordRequestMessage"/>
- <output message="tns:modifyPasswordResponseMessage"/>
- </operation>
-
- <operation name="modifyProxyAccessRequest">
- <input message="tns:modifyProxyAccessRequestMessage"/>
- <output message="tns:modifyProxyAccessResponseMessage"/>
- </operation>
-
- <operation name="modifySettingsRequest">
- <input message="tns:modifySettingsRequestMessage"/>
- <output message="tns:modifySettingsResponseMessage"/>
- </operation>
-
- <operation name="modifySignaturesRequest">
- <input message="tns:modifySignaturesRequestMessage"/>
- <output message="tns:modifySignaturesResponseMessage"/>
- </operation>
-
- <operation name="moveItemRequest">
- <input message="tns:moveItemRequestMessage"/>
- <output message="tns:moveItemResponseMessage"/>
- </operation>
-
- <operation name="positionCursorRequest">
- <input message="tns:positionCursorRequestMessage"/>
- <output message="tns:positionCursorResponseMessage"/>
- </operation>
-
- <operation name="purgeDeletedItemsRequest">
- <input message="tns:purgeDeletedItemsRequestMessage"/>
- <output message="tns:purgeDeletedItemsResponseMessage"/>
- </operation>
-
- <operation name="purgeRequest">
- <input message="tns:purgeRequestMessage"/>
- <output message="tns:purgeResponseMessage"/>
- </operation>
-
- <operation name="readCursorRequest">
- <input message="tns:readCursorRequestMessage"/>
- <output message="tns:readCursorResponseMessage"/>
- </operation>
-
- <operation name="removeCustomDefinitionRequest">
- <input message="tns:removeCustomDefinitionRequestMessage"/>
- <output message="tns:removeCustomDefinitionResponseMessage"/>
- </operation>
-
- <operation name="removeItemRequest">
- <input message="tns:removeItemRequestMessage"/>
- <output message="tns:removeItemResponseMessage"/>
- </operation>
-
- <operation name="removeItemsRequest">
- <input message="tns:removeItemsRequestMessage"/>
- <output message="tns:removeItemsResponseMessage"/>
- </operation>
-
- <operation name="removeJunkEntryRequest">
- <input message="tns:removeJunkEntryRequestMessage"/>
- <output message="tns:removeJunkEntryResponseMessage"/>
- </operation>
- <operation name="removeMembersRequest">
- <input message="tns:removeMembersRequestMessage"/>
- <output message="tns:removeMembersResponseMessage"/>
- </operation>
-
- <operation name="removeProxyAccessRequest">
- <input message="tns:removeProxyAccessRequestMessage"/>
- <output message="tns:removeProxyAccessResponseMessage"/>
- </operation>
-
- <operation name="removeProxyUserRequest">
- <input message="tns:removeProxyUserRequestMessage"/>
- <output message="tns:removeProxyUserResponseMessage"/>
- </operation>
-
- <operation name="removeSignatureRequest">
- <input message="tns:removeSignatureRequestMessage"/>
- <output message="tns:removeSignatureResponseMessage"/>
- </operation>
-
- <operation name="replyRequest">
- <input message="tns:replyRequestMessage"/>
- <output message="tns:replyResponseMessage"/>
- </operation>
-
- <operation name="retractRequest">
- <input message="tns:retractRequestMessage"/>
- <output message="tns:retractResponseMessage"/>
- </operation>
-
- <operation name="sendItemRequest">
- <input message="tns:sendItemRequestMessage"/>
- <output message="tns:sendItemResponseMessage"/>
- </operation>
-
- <operation name="setTimestampRequest">
- <input message="tns:setTimestampRequestMessage"/>
- <output message="tns:setTimestampResponseMessage"/>
- </operation>
-
- <operation name="startFreeBusySessionRequest">
- <input message="tns:startFreeBusySessionRequestMessage"/>
- <output message="tns:startFreeBusySessionResponseMessage"/>
- </operation>
-
- <operation name="unacceptRequest">
- <input message="tns:unacceptRequestMessage"/>
- <output message="tns:unacceptResponseMessage"/>
- </operation>
-
- <operation name="uncompleteRequest">
- <input message="tns:uncompleteRequestMessage"/>
- <output message="tns:uncompleteResponseMessage"/>
- </operation>
-
- <operation name="updateVersionStatusRequest">
- <input message="tns:updateVersionStatusRequestMessage"/>
- <output message="tns:updateVersionStatusResponseMessage"/>
- </operation>
-
- </portType>
-
-
- <portType name="GroupWiseEventsPortType">
-
- <operation name="cleanEventConfigurationRequest">
- <input message="tns:cleanEventConfigurationRequestMessage"/>
- <output message="tns:cleanEventConfigurationResponseMessage"/>
- </operation>
- <operation name="configureEventsRequest">
- <input message="tns:configureEventsRequestMessage"/>
- <output message="tns:configureEventsResponseMessage"/>
- </operation>
- <operation name="getEventConfigurationRequest">
- <input message="tns:getEventConfigurationRequestMessage"/>
- <output message="tns:getEventConfigurationResponseMessage"/>
- </operation>
- <operation name="getEventsRequest">
- <input message="tns:getEventsRequestMessage"/>
- <output message="tns:getEventsResponseMessage"/>
- </operation>
- <operation name="removeEventConfigurationRequest">
- <input message="tns:removeEventConfigurationRequestMessage"/>
- <output message="tns:removeEventConfigurationResponseMessage"/>
- </operation>
- <operation name="removeEventsRequest">
- <input message="tns:removeEventsRequestMessage"/>
- <output message="tns:removeEventsResponseMessage"/>
- </operation>
-
- </portType>
-
-
-<binding name="GroupWiseBinding" type="tns:GroupWisePortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <operation name="acceptRequest">
- <soap:operation soapAction="acceptRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="acceptShareRequest">
- <soap:operation soapAction="acceptShareRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="addItemRequest">
- <soap:operation soapAction="addItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="addItemsRequest">
- <soap:operation soapAction="addItemsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="addMembersRequest">
- <soap:operation soapAction="addMembersRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="closeFreeBusySessionRequest">
- <soap:operation soapAction="closeFreeBusySessionRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="completeRequest">
- <soap:operation soapAction="completeRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createCursorRequest">
- <soap:operation soapAction="createCursorRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createItemRequest">
- <soap:operation soapAction="createItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createItemsRequest">
- <soap:operation soapAction="createItemsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createJunkEntryRequest">
- <soap:operation soapAction="createJunkEntryRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createProxyAccessRequest">
- <soap:operation soapAction="createProxyAccessRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="createSignatureRequest">
- <soap:operation soapAction="createSignatureRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="declineRequest">
- <soap:operation soapAction="declineRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="delegateRequest">
- <soap:operation soapAction="delegateRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="destroyCursorRequest">
- <soap:operation soapAction="destroyCursorRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="executeRuleRequest">
- <soap:operation soapAction="executeRuleRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="forwardRequest">
- <soap:operation soapAction="forwardRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getAddressBookListRequest">
- <soap:operation soapAction="getAddressBookListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getAttachmentRequestMessage">
- <soap:operation soapAction="getAttachmentRequestMessage" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getCategoryListRequest">
- <soap:operation soapAction="getCategoryListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getCustomListRequest">
- <soap:operation soapAction="getCustomListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getDeltasRequest">
- <soap:operation soapAction="getDeltasRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getDeltaInfoRequest">
- <soap:operation soapAction="getDeltaInfoRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getDocumentTypeListRequest">
- <soap:operation soapAction="getDocumentTypeListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getFolderRequest">
- <soap:operation soapAction="getFolderRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getFolderListRequest">
- <soap:operation soapAction="getFolderListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getFreeBusyRequest">
- <soap:operation soapAction="getFreeBusyRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getItemRequest">
- <soap:operation soapAction="getItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getItemsRequest">
- <soap:operation soapAction="getItemsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getJunkEntriesRequest">
- <soap:operation soapAction="getJunkEntriesRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getJunkMailSettingsRequest">
- <soap:operation soapAction="getJunkMailSettingsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getLibraryItemRequest">
- <soap:operation soapAction="getLibraryItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getLibraryListRequest">
- <soap:operation soapAction="getLibraryListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getQuickMessagesRequest">
- <soap:operation soapAction="getQuickMessagesRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getProxyAccessListRequest">
- <soap:operation soapAction="getProxyAccessListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getProxyListRequest">
- <soap:operation soapAction="getProxyListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getRuleListRequest">
- <soap:operation soapAction="getRuleListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getSettingsRequest">
- <soap:operation soapAction="getSettingsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getSignaturesRequest">
- <soap:operation soapAction="getSignaturesRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getTimestampRequest">
- <soap:operation soapAction="getTimestampRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getTimezoneListRequest">
- <soap:operation soapAction="getTimezoneListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="getUserListRequest">
- <soap:operation soapAction="getUserListRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="loginRequest">
- <soap:operation soapAction="loginRequest" style="document"/>
- <input>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- <operation name="logoutRequest">
- <soap:operation soapAction="logoutRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="markPrivateRequest">
- <soap:operation soapAction="markPrivateRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="markReadRequest">
- <soap:operation soapAction="markReadRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="markUnPrivateRequest">
- <soap:operation soapAction="markUnPrivateRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="markUnReadRequest">
- <soap:operation soapAction="markUnReadRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifyItemRequest">
- <soap:operation soapAction="modifyItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifyJunkEntryRequest">
- <soap:operation soapAction="modifyJunkEntryRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifyJunkMailSettingsRequest">
- <soap:operation soapAction="modifyJunkMailSettingsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifyPasswordRequest">
- <soap:operation soapAction="modifyPasswordRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifyProxyAccessRequest">
- <soap:operation soapAction="modifyProxyAccessRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifySettingsRequest">
- <soap:operation soapAction="modifySettingsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="modifySignaturesRequest">
- <soap:operation soapAction="modifySignaturesRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="moveItemRequest">
- <soap:operation soapAction="moveItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="positionCursorRequest">
- <soap:operation soapAction="positionCursorRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="purgeDeletedItemsRequest">
- <soap:operation soapAction="purgeDeletedItemsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="purgeRequest">
- <soap:operation soapAction="purgeRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="readCursorRequest">
- <soap:operation soapAction="readCursorRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeCustomDefinitionRequest">
- <soap:operation soapAction="removeCustomDefinitionRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeItemRequest">
- <soap:operation soapAction="removeItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeItemsRequest">
- <soap:operation soapAction="removeItemsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeJunkEntryRequest">
- <soap:operation soapAction="removeJunkEntryRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeMembersRequest">
- <soap:operation soapAction="removeMembersRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeProxyAccessRequest">
- <soap:operation soapAction="removeProxyAccessRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeProxyUserRequest">
- <soap:operation soapAction="removeProxyUserRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeSignatureRequest">
- <soap:operation soapAction="removeSignatureRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="replyRequest">
- <soap:operation soapAction="replyRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="retractRequest">
- <soap:operation soapAction="retractRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="sendItemRequest">
- <soap:operation soapAction="sendItemRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="setTimestampRequest">
- <soap:operation soapAction="setTimestampRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="startFreeBusySessionRequest">
- <soap:operation soapAction="startFreeBusySessionRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="unacceptRequest">
- <soap:operation soapAction="unacceptRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="uncompleteRequest">
- <soap:operation soapAction="uncompleteRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="updateVersionStatusRequest">
- <soap:operation soapAction="updateVersionStatusRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- </binding>
-
-
- <binding name="GroupWiseEventsBinding" type="tns:GroupWiseEventsPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <operation name="cleanEventConfigurationRequest">
- <soap:operation soapAction="cleanEventConfigurationRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="configureEventsRequest">
- <soap:operation soapAction="configureEventsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- <operation name="getEventConfigurationRequest">
- <soap:operation soapAction="getEventConfigurationRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- <operation name="getEventsRequest">
- <soap:operation soapAction="getEventsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- <operation name="removeEventConfigurationRequest">
- <soap:operation soapAction="removeEventConfigurationRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- <operation name="removeEventsRequest">
- <soap:operation soapAction="removeEventsRequest" style="document"/>
- <input>
- <soap:header message="tns:sessionMessage" part="sessionId" use="literal"/>
- <soap:header message="tns:gwTraceMessage" part="gwTrace" use="literal"/>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
-
- </binding>
-
-
- <service name="GroupwiseService">
-
- <port binding="tns:GroupWiseBinding" name="GroupwiseSOAPPort">
- <documentation>
- The default port for the GroupWise SOAP protocol is 7191.
- </documentation>
- <soap:address location="http://localhost:8080"/>
- </port>
-
- <port binding="tns:GroupWiseEventsBinding" name="GroupwiseEventsSOAPPort">
- <documentation>
- The default port for the GroupWise Events is the same as the SOAP protocol - 7191.
- </documentation>
- <soap:address location="http://localhost:7191"/>
- </port>
-
- </service>
-
-</definitions> \ No newline at end of file
diff --git a/kresources/groupwise/soap/groupwiseserver.cpp b/kresources/groupwise/soap/groupwiseserver.cpp
deleted file mode 100644
index 9112fdea..00000000
--- a/kresources/groupwise/soap/groupwiseserver.cpp
+++ /dev/null
@@ -1,1640 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-// The namespace mapping table is required and associates namespace prefixes
-// with namespace names:
-#include "GroupWiseBinding.nsmap"
-
-#include <libkcal/calendar.h>
-#include <libkcal/incidence.h>
-#include <libtdepim/kpimprefs.h>
-
-#include <kabc/addressee.h>
-#include <kabc/addresseelist.h>
-
-#include <kio/job.h>
-#include <kio/jobclasses.h>
-#include <kio/netaccess.h>
-#include <kprotocolmanager.h>
-#include <ktempfile.h>
-#include <kdebug.h>
-#include <klocale.h>
-
-#include <tqnamespace.h>
-#include <tqfile.h>
-
-#include "ksslsocket.h"
-#include "contactconverter.h"
-#include "incidenceconverter.h"
-#include "kcal_resourcegroupwise.h"
-#include "soapH.h"
-#include "stdsoap2.h"
-#include "soapGroupWiseBindingProxy.h"
-#include <stdlib.h>
-#include <stdio.h>
-#include <string>
-#include <vector>
-
-#include "groupwiseserver.h"
-
-static TQMap<struct soap *,GroupwiseServer *> mServerMap;
-
-int myOpen( struct soap *soap, const char *endpoint, const char *host, int port )
-{
- TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.find( soap );
- if ( it == mServerMap.end() ) {
- soap->error = SOAP_FAULT;
- return SOAP_INVALID_SOCKET;
- }
-
- return (*it)->gSoapOpen( soap, endpoint, host, port );
-}
-
-int myClose( struct soap *soap )
-{
- TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.find( soap );
- if ( it == mServerMap.end() ) return SOAP_FAULT;
-
- return (*it)->gSoapClose( soap );
-}
-
-int mySendCallback( struct soap *soap, const char *s, size_t n )
-{
- TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.find( soap );
- if ( it == mServerMap.end() ) return SOAP_FAULT;
-
- return (*it)->gSoapSendCallback( soap, s, n );
-}
-
-size_t myReceiveCallback( struct soap *soap, char *s, size_t n )
-{
- TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.find( soap );
- if ( it == mServerMap.end() ) {
- kdDebug() << "No soap object found" << endl;
- soap->error = SOAP_FAULT;
- return 0;
- }
-
- return (*it)->gSoapReceiveCallback( soap, s, n );
-}
-
-int GroupwiseServer::gSoapOpen( struct soap *soap, const char *,
- const char *host, int port )
-{
-// kdDebug() << "GroupwiseServer::gSoapOpen()" << endl;
-
- if ( m_sock ) {
- kdError() << "m_sock non-null: " << (void*)m_sock << endl;
- delete m_sock;
- }
-
- if ( mSSL ) {
-// kdDebug() << "Creating KSSLSocket()" << endl;
- m_sock = new KSSLSocket();
- m_sock->setTimeout( KProtocolManager::connectTimeout() );
- connect( m_sock, TQT_SIGNAL( sslFailure() ), TQT_SLOT( slotSslError() ) );
- } else {
- m_sock = new KExtendedSocket();
- }
- mErrorText = TQString();
-
- m_sock->reset();
- m_sock->setBlockingMode( false );
- m_sock->setSocketFlags( KExtendedSocket::inetSocket );
-
- m_sock->setAddress( host, port );
- int rc = m_sock->lookup();
- if (rc != 0 ) {
- kdError() << "gSoapOpen: lookup of " << host << " failed " << rc << endl;
- TQString errorMessage;
- errorMessage = TQString::fromLatin1( strerror( errno ) );
- perror( 0 );
- soap->error = SOAP_TCP_ERROR;
- mErrorText = i18n("Connect failed: %1.").arg( errorMessage );
- return SOAP_INVALID_SOCKET;
- }
-
- rc = m_sock->connect();
- if ( rc != 0 ) {
- kdError() << "gSoapOpen: connect failed " << rc << endl;
- TQString errorMessage;
- if ( rc == -1 ) {
- errorMessage = TQString::fromLatin1( strerror( errno ) );
- perror( 0 );
- }
- //set the soap struct's error here!
- else {
- if ( rc == -3 )
- errorMessage = TQString::fromLatin1( "Connection timed out. Check host and port number" );
- }
- mErrorText = i18n("Connect failed: %1.").arg( errorMessage );
- soap->error =SOAP_TCP_ERROR;
- return SOAP_INVALID_SOCKET;
- }
- m_sock->enableRead( true );
- m_sock->enableWrite( true );
-
- // hopefully never really used by SOAP
-#if 0
- return m_sock->fd();
-#else
- return 0;
-#endif
-}
-
-int GroupwiseServer::gSoapClose( struct soap * )
-{
-// kdDebug() << "GroupwiseServer::gSoapClose()" << endl;
-
- delete m_sock;
- m_sock = 0;
-
-#if 0
- m_sock->close();
- m_sock->reset();
-#endif
- return SOAP_OK;
-}
-
-int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_t n )
-{
-// kdDebug() << "GroupwiseServer::gSoapSendCallback()" << endl;
-
- if ( !m_sock ) {
- kdError() << "no open connection" << endl;
- soap->error = SOAP_TCP_ERROR;
- return SOAP_TCP_ERROR;
- }
- if ( mError ) {
- kdError() << "SSL is in error state." << endl;
- soap->error = SOAP_SSL_ERROR;
- return SOAP_SSL_ERROR;
- }
-
- if ( getenv("DEBUG_GW_RESOURCE") ) {
- tqDebug("*************************");
- char p[99999];
- strncpy(p, s, n);
- p[n]='\0';
- tqDebug("%s", p );
- tqDebug("\n*************************");
- }
- log( "SENT", s, n );
-
- int ret;
- while ( n > 0 ) {
- ret = m_sock->writeBlock( s, n );
- if ( ret < 0 ) {
- kdError() << "Send failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
- soap->error = SOAP_TCP_ERROR;
- return SOAP_TCP_ERROR;
- }
- n -= ret;
- }
-
- if ( n !=0 ) {
- kdError() << "Send failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
- soap->error = SOAP_TCP_ERROR;
- }
-
- m_sock->flush();
-
- return SOAP_OK;
-}
-
-size_t GroupwiseServer::gSoapReceiveCallback( struct soap *soap, char *s,
- size_t n )
-{
-// kdDebug() << "GroupwiseServer::gSoapReceiveCallback()" << endl;
-
- if ( !m_sock ) {
- kdError() << "no open connection" << endl;
- soap->error = SOAP_FAULT;
- return 0;
- }
- if ( mError ) {
- kdError() << "SSL is in error state." << endl;
- soap->error = SOAP_SSL_ERROR;
- return 0;
- }
-
-// m_sock->open();
- long ret = m_sock->readBlock( s, n );
- if ( ret < 0 ) {
- kdError() << "Receive failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
- } else {
- if ( getenv("DEBUG_GW_RESOURCE") ) {
- tqDebug("*************************");
- char p[99999];
- strncpy(p, s, ret);
- p[ret]='\0';
- tqDebug("%s", p );
- tqDebug("\n*************************");
- tqDebug("kioReceiveCallback return %ld", ret);
- }
- log( "RECV", s, ret );
- }
-
- return ret;
-}
-
-GroupwiseServer::GroupwiseServer( const TQString &url, const TQString &user,
- const TQString &password, TQObject *parent )
- : TQObject( parent, "GroupwiseServer" ),
- mUrl( url ), mUser( user ), mPassword( password ),
- mSSL( url.left(6)=="https:" ), m_sock( 0 ),
- mError( 0 )
-{
- mBinding = new GroupWiseBinding;
- mSoap = mBinding->soap;
-
- kdDebug() << "GroupwiseServer(): URL: " << url << endl;
-
- soap_init( mSoap );
-
-#if 1
- // disable this block to use native gSOAP network functions
- mSoap->fopen = myOpen;
- mSoap->fsend = mySendCallback;
- mSoap->frecv = myReceiveCallback;
- mSoap->fclose = myClose;
-
- TDEConfig cfg( "groupwiserc" );
- cfg.setGroup( "Debug" );
- mLogFile = cfg.readEntry( "LogFile" );
-
- if ( !mLogFile.isEmpty() ) {
- kdDebug() << "Debug log file enabled: " << mLogFile << endl;
- }
-#endif
-
- mServerMap.insert( mSoap, this );
-}
-
-GroupwiseServer::~GroupwiseServer()
-{
- delete mSoap;
- mSoap = 0;
-}
-
-bool GroupwiseServer::login()
-{
- _ngwm__loginResponse loginResp;
- _ngwm__loginRequest loginReq;
- loginReq.application = soap_new_std__string( mSoap, -1 );
- loginReq.application->append( "TDEPIM" );
- loginReq.language.append( "us" );
- loginReq.version.append( "1" );
-
- GWConverter conv( mSoap );
-
- ngwt__PlainText pt;
-
- pt.username = mUser.utf8().data();
- pt.password = conv.qStringToString( mPassword );
- loginReq.auth = &pt;
- mSoap->userid = strdup( mUser.utf8() );
- mSoap->passwd = strdup( mPassword.utf8() );
-
- mSession = "";
-
- kdDebug() << "GroupwiseServer::login() URL: " << mUrl << endl;
-
- int result = 1, maxTries = 3;
- mBinding->endpoint = mUrl.latin1();
-
-// while ( --maxTries && result ) {
- result = soap_call___ngw__loginRequest( mSoap, mUrl.latin1(), NULL,
- &loginReq, &loginResp );
- /*result = mBinding->__ngw__loginRequest( &loginReq, &loginResp );*/
-// }
-
- if ( !checkResponse( result, loginResp.status ) ) return false;
-
- mSession = *(loginResp.session);
-
- if ( mSession.size() == 0 ) // workaround broken loginResponse error reporting
- {
- kdDebug() << "Login failed but the server didn't report an error" << endl;
- mErrorText = i18n( "Login failed, but the GroupWise server did not report an error" );
- return false;
- }
-
- mSoap->header = new( SOAP_ENV__Header );
-
- mUserName = "";
- mUserEmail = "";
- mUserUuid = "";
-
- ngwt__UserInfo *userinfo = loginResp.userinfo;
- if ( userinfo ) {
- kdDebug() << "HAS USERINFO" << endl;
- mUserName = conv.stringToTQString( userinfo->name );
- if ( userinfo->email ) mUserEmail = conv.stringToTQString( userinfo->email );
- if ( userinfo->uuid ) mUserUuid = conv.stringToTQString( userinfo->uuid );
- // can also get userid here in GW7 (userinfo->userid)
- }
-
- kdDebug() << "USER: name: " << mUserName << " email: " << mUserEmail <<
- " uuid: " << mUserUuid << endl;
-
- return true;
-}
-
-bool GroupwiseServer::getCategoryList()
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::getCategoryList(): no session." << endl;
- return false;
- }
-
-/*SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse);*/
-
- _ngwm__getCategoryListRequest catListReq;
- _ngwm__getCategoryListResponse catListResp;
- mSoap->header->ngwt__session = mSession;
- int result = soap_call___ngw__getCategoryListRequest( mSoap, mUrl.latin1(),
- 0, &catListReq, &catListResp);
- if ( !checkResponse( result, catListResp.status ) ) return false;
-
- if ( catListResp.categories ) {
- std::vector<class ngwt__Category * > *categories;
- categories = &catListResp.categories->category;
- std::vector<class ngwt__Category * >::const_iterator it;
- for( it = categories->begin(); it != categories->end(); ++it ) {
-// kdDebug() << "CATEGORY" << endl;
- dumpItem( *it );
- }
- }
-
- return true;
-}
-
-bool GroupwiseServer::dumpData()
-{
- mSoap->header->ngwt__session = mSession;
- _ngwm__getAddressBookListRequest addressBookListRequest;
- _ngwm__getAddressBookListResponse addressBookListResponse;
- soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(),
- NULL, &addressBookListRequest, &addressBookListResponse );
- soap_print_fault(mSoap, stderr);
-
- if ( addressBookListResponse.books ) {
- std::vector<class ngwt__AddressBook * > *addressBooks = &addressBookListResponse.books->book;
- std::vector<class ngwt__AddressBook * >::const_iterator it;
- for( it = addressBooks->begin(); it != addressBooks->end(); ++it ) {
- ngwt__AddressBook *book = *it;
- if ( book->description ) {
- kdDebug() << "ADDRESSBOOK: description: " << book->description->c_str() << endl;
- }
- if ( book->id ) {
- kdDebug() << "ADDRESSBOOK: id: " << book->id->c_str() << endl;
- }
- if ( book->name ) {
- kdDebug() << "ADDRESSBOOK: name: " << book->name->c_str() << endl;
- }
-
- _ngwm__getItemsRequest itemsRequest;
- if ( !book->id ) {
- kdError() << "Missing book id" << endl;
- } else {
- itemsRequest.container = book->id;
- }
- itemsRequest.filter = 0;
- itemsRequest.items = 0;
-// itemsRequest.count = -1;
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getItemsResponse itemsResponse;
- soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0,
- &itemsRequest,
- &itemsResponse );
-
- std::vector<class ngwt__Item * > *items = &itemsResponse.items->item;
- if ( items ) {
- std::vector<class ngwt__Item * >::const_iterator it2;
- for( it2 = items->begin(); it2 != items->end(); ++it2 ) {
- kdDebug() << "ITEM" << endl;
- dumpItem( *it2 );
-
- if ( true ) {
- _ngwm__getItemRequest itemRequest;
- if ( !(*it2)->id ) {
- kdError() << "Missing item id" << endl;
- } else {
- itemRequest.id = *( (*it2)->id );
- }
- itemRequest.view = 0;
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getItemResponse itemResponse;
- soap_call___ngw__getItemRequest( mSoap, mUrl.latin1(), 0,
- &itemRequest,
- &itemResponse );
-
- ngwt__Item *item = itemResponse.item;
- ngwt__Contact *contact = dynamic_cast<ngwt__Contact *>( item );
- if ( !contact ) {
- kdError() << "Cast failed." << endl;
- } else {
- kdDebug() << "Cast succeeded." << endl;
- }
- }
- }
- }
- }
- }
-
- return true;
-}
-
-void GroupwiseServer::dumpFolderList()
-{
- mSoap->header->ngwt__session = mSession;
- _ngwm__getFolderListRequest folderListReq;
- folderListReq.parent = "folders";
- folderListReq.recurse = true;
- _ngwm__getFolderListResponse folderListRes;
- soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0,
- &folderListReq,
- &folderListRes );
-
- if ( folderListRes.folders ) {
- std::vector<class ngwt__Folder * > *folders = &folderListRes.folders->folder;
- if ( folders ) {
- std::vector<class ngwt__Folder * >::const_iterator it;
- for ( it = folders->begin(); it != folders->end(); ++it ) {
- kdDebug() << "FOLDER" << endl;
- dumpFolder( *it );
-#if 0
- if ( (*it)->type && *((*it)->type) == "Calendar" ) {
- if ( !(*it)->id ) {
- kdError() << "Missing calendar id" << endl;
- } else {
- dumpCalendarFolder( *( (*it)->id ) );
- }
- }
-#else
- if ( !(*it)->id ) {
- kdError() << "Missing calendar id" << endl;
- } else {
- dumpCalendarFolder( *( (*it)->id ) );
- }
-#endif
- }
- }
- }
-}
-
-void GroupwiseServer::dumpCalendarFolder( const std::string &id )
-{
- _ngwm__getItemsRequest itemsRequest;
-
- itemsRequest.container = soap_new_std__string( mSoap, -1 );
- *(itemsRequest.container) = id;
- std::string *str = soap_new_std__string( mSoap, -1 );
- str->append( "recipients message recipientStatus" );
- itemsRequest.view = str;
-
- itemsRequest.filter = 0;
- itemsRequest.items = 0;
-// itemsRequest.count = 5;
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getItemsResponse itemsResponse;
- soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0,
- &itemsRequest,
- &itemsResponse );
- soap_print_fault(mSoap, stderr);
-
- std::vector<class ngwt__Item * > *items = &itemsResponse.items->item;
-
- if ( items ) {
- std::vector<class ngwt__Item * >::const_iterator it;
- for( it = items->begin(); it != items->end(); ++it ) {
-#if 0
- if ( (*it)->type ) {
- kdDebug() << "ITEM type '" << (*it)->type->c_str() << "'" << endl;
- } else {
- kdDebug() << "ITEM no type" << endl;
- }
-#endif
- ngwt__Appointment *a = dynamic_cast<ngwt__Appointment *>( *it );
- if ( !a ) {
- kdError() << "Appointment cast failed." << endl;
- } else {
- kdDebug() << "CALENDAR ITEM" << endl;
- dumpAppointment( a );
- }
- ngwt__Task *t = dynamic_cast<ngwt__Task *>( *it );
- if ( !t ) {
- kdError() << "Task cast failed." << endl;
- } else {
- kdDebug() << "TASK" << endl;
- dumpTask( t );
- }
- }
- }
-}
-
-void GroupwiseServer::dumpMail( ngwt__Mail *m )
-{
- dumpItem( m );
- kdDebug() << " SUBJECT: " << m->subject << endl;
-}
-
-void GroupwiseServer::dumpTask( ngwt__Task *t )
-{
- dumpMail( t );
- if ( t->completed ) {
- kdDebug() << " COMPLETED: " << ( t->completed ? "true" : "false" ) << endl;
- }
-}
-
-void GroupwiseServer::dumpAppointment( ngwt__Appointment *a )
-{
- dumpMail( a );
- kdDebug() << " START DATE: " << a->startDate << endl;
- kdDebug() << " END DATE: " << a->endDate << endl;
- if ( a->allDayEvent ) {
- kdDebug() << " ALL DAY: " << ( a->allDayEvent ? "true" : "false" ) << endl;
- }
-}
-
-void GroupwiseServer::dumpFolder( ngwt__Folder *f )
-{
- dumpItem( f );
- kdDebug() << " PARENT: " << f->parent.c_str() << endl;
- if ( f->description ) {
- kdDebug() << " DESCRIPTION: " << f->description->c_str() << endl;
- }
- // FIXME: More fields
-// int *count;
-// bool *hasUnread;
-// int *unreadCount;
-// unsigned long sequence;
-// std::string *settings;
-// bool *hasSubfolders;
-// ngwt__SharedFolderNotification *notification;
-}
-
-void GroupwiseServer::dumpItem( ngwt__Item *i )
-{
- if ( !i ) return;
- if ( i->id ) {
- kdDebug() << " ID: " << i->id->c_str() << endl;
- }
- if ( i->name ) {
- kdDebug() << " NAME: " << i->name->c_str() << endl;
- }
- kdDebug() << " VERSION: " << i->version << endl;
- kdDebug() << " MODIFIED: " << i->modified << endl;
- if ( i->changes ) kdDebug() << " HASCHANGES" << endl;
-#if 0
- if ( i->type ) {
- kdDebug() << " TYPE: " << i->type->c_str() << endl;
- }
-#endif
-}
-
-bool GroupwiseServer::logout()
-{
- // FIXME: Send logoutRequest
- mSoap->header->ngwt__session = mSession;
- _ngwm__logoutRequest request;
- _ngwm__logoutResponse response;
-
- int result = soap_call___ngw__logoutRequest( mSoap, mUrl.latin1(),
- NULL, &request, &response);
- soap_print_fault( mSoap, stderr );
- if (!checkResponse( result, response.status ) )
- kdDebug() << "error while logging out" << endl;
-
- soap_end( mSoap );
- soap_done( mSoap );
-
- delete mSoap->header;
- mSoap->header = 0;
-
- return true;
-}
-
-GroupWise::DeltaInfo GroupwiseServer::getDeltaInfo( const TQStringList & addressBookIds )
-{
- GroupWise::DeltaInfo info;
- info.count = 0;
- info.firstSequence = 0;
- info.lastSequence = 0;
- info.lastTimePORebuild = 0;
-
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::getDeltaInfo(): no session." << endl;
- return info;
- }
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getDeltaInfoRequest request;
- _ngwm__getDeltaInfoResponse response;
-
- GWConverter conv( mSoap );
- request.container.append( addressBookIds.first().latin1() );
-
- int result = soap_call___ngw__getDeltaInfoRequest( mSoap, mUrl.latin1(),
- NULL, &request, &response);
- soap_print_fault( mSoap, stderr );
- if (!checkResponse( result, response.status ) )
- return info;
-
- if ( response.deltaInfo->count )
- info.count = *( response.deltaInfo->count );
- if ( response.deltaInfo->firstSequence )
- info.firstSequence = *( response.deltaInfo->firstSequence );
- if ( response.deltaInfo->lastSequence )
- info.lastSequence = *( response.deltaInfo->lastSequence );
- if ( response.deltaInfo->lastTimePORebuild )
- info.lastTimePORebuild = response.deltaInfo->lastTimePORebuild;
-
- return info;
-}
-
-GroupWise::AddressBook::List GroupwiseServer::addressBookList()
-{
- GroupWise::AddressBook::List books;
-
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::addressBookList(): no session." << endl;
- return books;
- }
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getAddressBookListRequest addressBookListRequest;
- _ngwm__getAddressBookListResponse addressBookListResponse;
- int result = soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(),
- NULL, &addressBookListRequest, &addressBookListResponse );
- if ( !checkResponse( result, addressBookListResponse.status ) ) {
- return books;
- }
-
- if ( addressBookListResponse.books ) {
- std::vector<class ngwt__AddressBook * > *addressBooks = &addressBookListResponse.books->book;
- std::vector<class ngwt__AddressBook * >::const_iterator it;
- for ( it = addressBooks->begin(); it != addressBooks->end(); ++it ) {
- GroupWise::AddressBook ab;
- ab.id = GWConverter::stringToTQString( (*it)->id );
- ab.name = GWConverter::stringToTQString( (*it)->name );
- ab.description = GWConverter::stringToTQString( (*it)->description );
- if ( (*it)->isPersonal ) ab.isPersonal = (*it)->isPersonal;
- if ( (*it)->isFrequentContacts ) {
- ab.isFrequentContacts = (*it)->isFrequentContacts;
- }
- books.append( ab );
- }
- }
-
- return books;
-}
-
-bool GroupwiseServer::readAddressBooksSynchronous( const TQStringList &addrBookIds )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::readAddressBooksSynchronous(): no session." << endl;
- return false;
- }
-
- ReadAddressBooksJob *job = new ReadAddressBooksJob( this, mSoap,
- mUrl, mSession );
- job->setAddressBookIds( addrBookIds );
-
- job->run();
-
- return true;
-}
-
-bool GroupwiseServer::updateAddressBooks( const TQStringList &addrBookIds, const unsigned long startSequenceNumber, const unsigned long lastPORebuildTime )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::updateAddressBooks(): no session." << endl;
- return false;
- }
-
- UpdateAddressBooksJob * job = new UpdateAddressBooksJob( this, mSoap, mUrl, mSession );
- job->setAddressBookIds( addrBookIds );
- job->setStartSequenceNumber( startSequenceNumber );
- job->setLastPORebuildTime( lastPORebuildTime );
-
- job->run();
- if ( job->error() == GroupWise::RefreshNeeded )
- {
- mError = 1;
- mErrorText = "The System Address Book must be refreshed";
- return false;
- }
- return true;
-}
-
-std::string GroupwiseServer::getFullIDFor( const TQString & gwRecordIDFromIcal )
-{
- // first get the ID of the calendar folder - because we don't store this in the resource we have to fetch it manually
- std::string calendarFolderID;
- _ngwm__getFolderListRequest folderListReq;
- _ngwm__getFolderListResponse folderListRes;
- folderListReq.parent = "folders";
- folderListReq.view = soap_new_std__string( mSoap, -1 );
- folderListReq.view->append( "id type" );
- folderListReq.recurse = false;
-
- mSoap->header->ngwt__session = mSession;
- soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0,
- &folderListReq,
- &folderListRes );
-
- if ( folderListRes.folders ) {
- std::vector<class ngwt__Folder * > *folders = &folderListRes.folders->folder;
- if ( folders ) {
- std::vector<class ngwt__Folder * >::const_iterator it;
- for ( it = folders->begin(); it != folders->end(); ++it ) {
- ngwt__SystemFolder * fld = dynamic_cast<ngwt__SystemFolder *>( *it );
- if ( fld && *(fld->folderType) == Calendar )
- if ( !fld->id ) {
- kdError() << "No folder id" << endl;
- } else {
- calendarFolderID = *fld->id;
- }
- }
- }
- }
- if ( calendarFolderID.empty() )
- {
- kdError() << "couldn't get calendar folder ID in order to accept invitation" << endl;
- return std::string();
- }
-
- // now get the full Item ID of the
- std::string fullItemID;
-
- _ngwm__getItemsRequest getItemRequest;
- _ngwm__getItemsResponse getItemResponse;
- //getItemRequest.id.append( gwRecordID.latin1() );
- getItemRequest.view = 0;
- getItemRequest.filter = soap_new_ngwt__Filter( mSoap, -1 );
- ngwt__FilterEntry * fe = soap_new_ngwt__FilterEntry( mSoap, -1 );
- fe->op = eq;
- fe->field = soap_new_std__string( mSoap, -1 );
- fe->field->append( "id" );
- fe->value = soap_new_std__string( mSoap, -1 );
- fe->value->append( gwRecordIDFromIcal.latin1() );
- fe->custom = 0;
- fe->date = 0;
- getItemRequest.filter->element = fe;
- getItemRequest.container = &calendarFolderID;
- getItemRequest.items = 0;
- getItemRequest.count = 1;
-
- mSoap->header->ngwt__session = mSession;
- int result = soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0,
- &getItemRequest, &getItemResponse );
- if ( !checkResponse( result, getItemResponse.status ) ) return std::string();
-
- std::vector<class ngwt__Item * > *items = &getItemResponse.items->item;
- if ( items ) {
- std::vector<class ngwt__Item * >::const_iterator it = items->begin();
- if ( it != items->end() )
- {
- ngwt__Item * item = *it;
- fullItemID = *item->id;
- }
- }
-
- if ( !fullItemID.empty() )
- {
- kdDebug() << " obtained full item id " << fullItemID.c_str() << endl;
- }
- return fullItemID;
-}
-
-bool GroupwiseServer::acceptIncidence( KCal::Incidence *incidence )
-{
- kdDebug() << "GroupwiseServer::acceptIncidence() " << incidence->schedulingID() << " : " << incidence->summary() << endl;
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::acceptIncidence(): no session." << endl;
- return false;
- }
-
- GWConverter conv( mSoap );
-
- TQString qGwUid = incidence->customProperty( "GWRESOURCE", "UID" );
- std::string gwUID;
-
- if ( qGwUid.isEmpty() )
- {
- TQString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" );
- // we need to do a getItem to get the item's complete ID, including the container portion
- // this is only necessary because the Ical GWRECORDID property is incomplete
- gwUID = getFullIDFor( gwRecordIDFromIcal );
- }
- else
- gwUID = qGwUid.latin1();
-
- if ( gwUID.empty() )
- {
- kdError() << "GroupwiseServer::declineIncidence(): no GroupWise item ID." << endl;
- return false;
- }
-
- _ngwm__acceptRequest request;
- _ngwm__acceptResponse response;
-
- request.comment = 0;
- request.acceptLevel = 0;
- request.recurrenceAllInstances = 0; /*FIXME: This should be the recurrence key for recurring events */
- request.items = soap_new_ngwt__ItemRefList( mSoap, -1 );
-/* std::string acceptedItem;
- acceptedItem.append( gwRecordID.utf8() );*/
- request.items->item.push_back( gwUID );
-
- mSoap->header->ngwt__session = mSession;
- int result = soap_call___ngw__acceptRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- if ( !checkResponse( result, response.status ) ) return false;
-
- return true;
-}
-
-bool GroupwiseServer::declineIncidence( KCal::Incidence *incidence )
-{
- kdDebug() << "GroupwiseServer::declineIncidence() " << incidence->schedulingID() << " : " << incidence->summary() << endl;
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::declineIncidence(): no session." << endl;
- return false;
- }
-
- GWConverter conv( mSoap );
-
- std::string gwUID = incidence->customProperty( "GWRESOURCE", "UID" ).latin1();
-
- if ( gwUID.empty() )
- {
- TQString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" );
- // we need to do a getItem to get the item's complete ID, including the container portion
- // this is only necessary because the Ical GWRECORDID property is incomplete
- gwUID = getFullIDFor( gwRecordIDFromIcal );
- }
-
- if ( gwUID.empty() )
- {
- kdError() << "GroupwiseServer::declineIncidence(): no GroupWise item ID." << endl;
- return false;
- }
-
- _ngwm__declineRequest request;
- _ngwm__declineResponse response;
-
- request.comment = 0;
- request.recurrenceAllInstances = 0; /*FIXME: This should be the recurrence key for recurring events */
- request.items = soap_new_ngwt__ItemRefList( mSoap, -1 );
-/* std::string acceptedItem;
- acceptedItem.append( gwRecordID.utf8() );*/
- request.items->item.push_back( gwUID );
-
- mSoap->header->ngwt__session = mSession;
- int result = soap_call___ngw__declineRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- if ( !checkResponse( result, response.status ) ) return false;
-
- return true;
-}
-
-
-bool GroupwiseServer::addIncidence( KCal::Incidence *incidence,
- KCal::ResourceCached * )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::addIncidence(): no session." << endl;
- return false;
- }
-
- kdDebug() << "GroupwiseServer::addIncidence() " << incidence->summary()
- << endl;
-
- TQString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" );
- if( !gwRecordIDFromIcal.isEmpty() || !incidence->customProperty( "GWRESOURCE", "UID" ).isEmpty() ) {
- kdDebug() << "Incidence has GroupWise ID already: (" << gwRecordIDFromIcal << "ical|" << incidence->customProperty( "GWRESOURCE", "UID" ) << "soap) and organizer : " << incidence->organizer().email() << endl;
- return acceptIncidence( incidence );
- }
- else
- kdDebug() << "Incidence has no scheduling ID." << endl;
-
- IncidenceConverter converter( mSoap );
- converter.setFrom( mUserName, mUserEmail, mUserUuid );
-
- incidence->setCustomProperty( "GWRESOURCE", "CONTAINER",
- converter.stringToTQString( mCalendarFolder ) );
-
- ngwt__Item *item;
- if ( incidence->type() == "Event" ) {
- item = converter.convertToAppointment( static_cast<KCal::Event *>( incidence ) );
- } else if ( incidence->type() == "Todo" ) {
- item = converter.convertToTask( static_cast<KCal::Todo *>( incidence ) );
- } else if ( incidence->type() == "Journal" ) {
- item = converter.convertToNote( static_cast<KCal::Journal *>( incidence ) );;
- } else {
- kdError() << "KCal::GroupwiseServer::addIncidence(): Unknown type: "
- << incidence->type() << endl;
- return false;
- }
-
- _ngwm__sendItemRequest request;
- request.item = item;
-
- _ngwm__sendItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__sendItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- if ( !checkResponse( result, response.status ) ) return false;
-
-// kdDebug() << "RESPONDED UID: " << response.id.c_str() << endl;
-
- // what if this returns multiple IDs - does a single recurring incidence create multiple ids on the server?
- if ( response.id.size() == 1 )
- {
- std::string firstId = *(response.id.begin() );
- incidence->setCustomProperty( "GWRESOURCE", "UID",
- TQString::fromUtf8( firstId.c_str() ) );
- }
- return true;
-}
-
-bool GroupwiseServer::changeIncidence( KCal::Incidence *incidence )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::changeIncidence(): no session." << endl;
- return false;
- }
-
- kdDebug() << "GroupwiseServer::changeIncidence() " << incidence->summary()
- << endl;
-
- bool success = true;
- bool todoCompletionChanged = false;
-
- IncidenceConverter converter( mSoap );
- converter.setFrom( mUserName, mUserEmail, mUserUuid );
-
- incidence->setCustomProperty( "GWRESOURCE", "CONTAINER",
- converter.stringToTQString( mCalendarFolder ) );
-
- ngwt__Item *item;
- if ( incidence->type() == "Event" ) {
- item = converter.convertToAppointment( static_cast<KCal::Event *>( incidence ) );
- } else if ( incidence->type() == "Todo" ) {
- item = converter.convertToTask( static_cast<KCal::Todo *>( incidence ) );
- } else if ( incidence->type() == "Journal" ) {
- item = converter.convertToNote( static_cast<KCal::Journal *>( incidence ) );;
- } else {
- kdError() << "KCal::GroupwiseServer::changeIncidence(): Unknown type: "
- << incidence->type() << endl;
- return false;
- }
-
- if ( iAmTheOrganizer( incidence ) )
- {
- if ( incidence->attendeeCount() > 0 ) {
- kdDebug() << "GroupwiseServer::changeIncidence() - retracting old incidence " << endl;
- if ( !retractRequest( incidence, DueToResend ) ) {
- kdDebug() << "GroupwiseServer::changeIncidence() - retracting failed." << endl;
- return false;
- }
- kdDebug() << "GroupwiseServer::changeIncidence() - adding new meeting with attendees" << endl;
- if ( !addIncidence( incidence, 0 ) ) {
- kdDebug() << "GroupwiseServer::changeIncidence() - adding failed." << endl;
- return false;
- }
- return true;
- }
- }
- else // If I am not the organizer restrict my changes to accept or decline requests or task completion
- {
- // find myself as attendee.
- GWConverter conv( mSoap );
- KCal::Attendee::List attendees = incidence->attendees();
- KCal::Attendee::List::ConstIterator it;
- for( it = attendees.begin(); it != attendees.end(); ++it ) {
- if ( conv.emailsMatch( (*it)->email(), mUserEmail ) ) {
- if ( (*it)->status() == KCal::Attendee::Accepted )
- success &= acceptIncidence( incidence );
- else if ( (*it)->status() == KCal::Attendee::Declined )
- success &= declineIncidence( incidence );
- break;
- }
- }
-
- // task completion
- if ( incidence->type() == "Todo" )
- {
- KCal::Todo * todo = static_cast<KCal::Todo *>( incidence );
- success &= setCompleted( todo );
- //assume nothing else to change
- }
- return success;
-
- // if we are attending, but not the organiser, and we have not accepted or declined, there's nothing else to do.
- return true;
- }
-
- _ngwm__modifyItemRequest request;
- if ( !item->id ) {
- kdError() << "Missing incidence id" << endl;
- } else {
- request.id = *item->id;
- }
- request.updates = soap_new_ngwt__ItemChanges( mSoap, -1 );
- request.updates->add = 0;
- request.updates->_delete = 0;
- request.updates->update = item;
- request.notification = 0;
- request.recurrenceAllInstances = 0;
- _ngwm__modifyItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__modifyItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
-
- success &= checkResponse( result, response.status );
-
- // task completion after modify
- if ( incidence->type() == "Todo" )
- {
- KCal::Todo * todo = static_cast<KCal::Todo *>( incidence );
- success &= setCompleted( todo );
- }
-
- return success;
-}
-
-bool GroupwiseServer::checkResponse( int result, ngwt__Status *status )
-{
- if ( result != 0 ) {
- soap_print_fault( mSoap, stderr );
- return false;
- } else {
- kdDebug() << "SOAP call succeeded" << endl;
- }
- if ( status && status->code != 0 ) {
- TQString msg = "SOAP Response Status: " + TQString::number( status->code );
- if ( status->description ) {
- msg += " ";
- msg += status->description->c_str();
- mErrorText = status->description->c_str();
- }
- kdError() << msg << endl;
- return false;
- } else {
- return true;
- }
-}
-
-bool GroupwiseServer::deleteIncidence( KCal::Incidence *incidence )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::deleteIncidence(): no session." << endl;
- return false;
- }
-
- kdDebug() << "GroupwiseServer::deleteIncidence(): " << incidence->summary()
- << endl;
-
- // decline if necessary on the server
- TQString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" );
-
- // debug contents of message custom properties
- kdDebug() << "incidence custom properties BEGIN" << endl;
- typedef TQMap<TQCString, TQString> PropMap;
- PropMap customs = incidence->customProperties();
- PropMap::Iterator it;
- for ( it = customs.begin(); it != customs.end(); ++it )
- kdDebug() << "key: " << it.key() << ", data: " << it.data() << endl;
- kdDebug() << "incidence custom properties END" << endl;
-
- if ( incidence->attendeeCount() > 0 ) {
- kdDebug() << "Incidence has GroupWise ID already: (" << gwRecordIDFromIcal << "ical|" << incidence->customProperty( "GWRESOURCE", "UID" ) << "soap) and organizer : " << incidence->organizer().email() << endl;
- return declineIncidence( incidence );
- }
-
-
-#if 0
- kdDebug() << "UID: " << incidence->customProperty( "GWRESOURCE", "UID" )
- << endl;
- kdDebug() << "CONTAINER: " << incidence->customProperty( "GWRESOURCE", "CONTAINER" )
- << endl;
-#endif
-
- if ( incidence->customProperty( "GWRESOURCE", "UID" ).isEmpty() ||
- incidence->customProperty( "GWRESOURCE", "CONTAINER" ).isEmpty() )
- return false;
-
- _ngwm__removeItemRequest request;
- _ngwm__removeItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
- GWConverter converter( mSoap );
- request.container = converter.qStringToString( incidence->customProperty( "GWRESOURCE", "CONTAINER" ) );
- request.id = std::string( incidence->customProperty( "GWRESOURCE", "UID" ).utf8() );
-
- int result = soap_call___ngw__removeItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- return checkResponse( result, response.status );
-}
-
-bool GroupwiseServer::retractRequest( KCal::Incidence *incidence, RetractCause cause )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::retractRequest(): no session." << endl;
- return false;
- }
-
- kdDebug() << "GroupwiseServer::retractRequest(): " << incidence->summary()
- << endl;
- IncidenceConverter converter( mSoap );
- converter.setFrom( mUserName, mUserEmail, mUserUuid );
-
- incidence->setCustomProperty( "GWRESOURCE", "CONTAINER",
- converter.stringToTQString( mCalendarFolder ) );
-
- ngwt__Item *item;
- if ( incidence->type() == "Event" ) {
- item = converter.convertToAppointment( static_cast<KCal::Event *>( incidence ) );
- } else if ( incidence->type() == "Todo" ) {
- item = converter.convertToTask( static_cast<KCal::Todo *>( incidence ) );
- } else if ( incidence->type() == "Journal" ) {
- item = converter.convertToNote( static_cast<KCal::Journal *>( incidence ) );;
- } else {
- kdError() << "KCal::GroupwiseServer::addIncidence(): Unknown type: "
- << incidence->type() << endl;
- return false;
- }
-
- _ngwm__retractRequest request;
- _ngwm__retractResponse response;
- mSoap->header->ngwt__session = mSession;
- request.items = soap_new_ngwt__ItemRefList( mSoap, 1 );
- request.items->item.push_back( *( item->id ) );
- request.comment = 0;
- request.retractCausedByResend = (bool*)soap_malloc( mSoap, 1 );
- request.retractingAllInstances = (bool*)soap_malloc( mSoap, 1 );
- request.retractCausedByResend = ( cause == DueToResend );
- request.retractingAllInstances = true;
- ngwt__RetractType * rt = new ngwt__RetractType;
- *rt = allMailboxes;
- request.retractType = rt;
-
- int result = soap_call___ngw__retractRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- delete rt;
- return checkResponse( result, response.status );
-}
-
-bool GroupwiseServer::insertAddressee( const TQString &addrBookId, KABC::Addressee &addr )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::insertAddressee(): no session." << endl;
- return false;
- }
-
- ContactConverter converter( mSoap );
-
- addr.insertCustom( "GWRESOURCE", "CONTAINER", addrBookId );
-
- ngwt__Contact* contact = converter.convertToContact( addr );
-
- _ngwm__createItemRequest request;
- request.item = contact;
- request.notification = 0;
-
- _ngwm__createItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
-
- int result = soap_call___ngw__createItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- if ( !checkResponse( result, response.status ) ) return false;
-
- addr.insertCustom( "GWRESOURCE", "UID", TQString::fromUtf8( response.id.front().c_str() ) );
- addr.setChanged( false );
-
- return true;
-}
-
-bool GroupwiseServer::changeAddressee( const KABC::Addressee &addr )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::changeAddressee(): no session." << endl;
- return false;
- }
-
- ContactConverter converter( mSoap );
-
- ngwt__Contact* contact = converter.convertToContact( addr );
-
- _ngwm__modifyItemRequest request;
- if ( !contact->id ) {
- kdError() << "Missing addressee id" << endl;
- } else {
- request.id = *contact->id;
- }
- request.updates = soap_new_ngwt__ItemChanges( mSoap, -1 );
- request.updates->add = 0;
- request.updates->_delete = 0;
- request.updates->update = contact;
- request.notification = 0;
- request.recurrenceAllInstances = 0;
-
- _ngwm__modifyItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__modifyItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- return checkResponse( result, response.status );
-}
-
-bool GroupwiseServer::removeAddressee( const KABC::Addressee &addr )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::removeAddressee(): no session." << endl;
- return false;
- }
-
- if ( addr.custom( "GWRESOURCE", "UID" ).isEmpty() ||
- addr.custom( "GWRESOURCE", "CONTAINER" ).isEmpty() )
- return false;
-
- _ngwm__removeItemRequest request;
- _ngwm__removeItemResponse response;
- mSoap->header->ngwt__session = mSession;
-
- GWConverter converter( mSoap );
- request.container = converter.qStringToString( addr.custom( "GWRESOURCE", "CONTAINER" ) );
- request.id = std::string( addr.custom( "GWRESOURCE", "UID" ).utf8() );
-
- int result = soap_call___ngw__removeItemRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- return checkResponse( result, response.status );
-}
-
-bool GroupwiseServer::readCalendarSynchronous( KCal::Calendar *cal )
-{
- kdDebug() << "GroupwiseServer::readCalendar()" << endl;
-
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::readCalendar(): no session." << endl;
- return false;
- }
-
- ReadCalendarJob *job = new ReadCalendarJob( this, mSoap, mUrl, mSession );
- job->setCalendarFolder( &mCalendarFolder );
- job->setChecklistFolder( &mCheckListFolder );
- job->setCalendar( cal );
-
- job->run();
-
- return true;
-}
-
-bool GroupwiseServer::readFreeBusy( const TQString &email,
- const TQDate &start, const TQDate &end, KCal::FreeBusy *freeBusy )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::readFreeBusy(): no session." << endl;
- return false;
- }
-
- kdDebug() << "GroupwiseServer::readFreeBusy()" << endl;
-
- GWConverter conv( mSoap );
-
- // Setup input data
- ngwt__NameAndEmail user;
- user.displayName = 0;
- user.uuid = 0;
- user.email = conv.qStringToString( email );
-
- std::vector<class ngwt__NameAndEmail * > users;
- users.push_back( &user );
-
- ngwt__FreeBusyUserList userList;
- userList.user = users;
-
- // Start session
- _ngwm__startFreeBusySessionRequest startSessionRequest;
- startSessionRequest.users = &userList;
- startSessionRequest.startDate = conv.qDateToChar( start );
- startSessionRequest.endDate = conv.qDateToChar( end );
-
- _ngwm__startFreeBusySessionResponse startSessionResponse;
-
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__startFreeBusySessionRequest( mSoap,
- mUrl.latin1(), NULL, &startSessionRequest, &startSessionResponse );
- if ( !checkResponse( result, startSessionResponse.status ) ) return false;
-
- int fbSessionId = *startSessionResponse.freeBusySessionId;
-
- kdDebug() << "Free/Busy session ID: " << fbSessionId << endl;
-
-
- // Get free/busy data
- _ngwm__getFreeBusyRequest getFreeBusyRequest;
- getFreeBusyRequest.freeBusySessionId = TQString::number( fbSessionId ).utf8().data();
-
- _ngwm__getFreeBusyResponse getFreeBusyResponse;
-
-
-
- bool done = false;
-
- do {
- mSoap->header->ngwt__session = mSession;
- result = soap_call___ngw__getFreeBusyRequest( mSoap,
- mUrl.latin1(), NULL, &getFreeBusyRequest, &getFreeBusyResponse );
- if ( !checkResponse( result, getFreeBusyResponse.status ) ) {
- return false;
- }
-
- ngwt__FreeBusyStats *stats = getFreeBusyResponse.freeBusyStats;
- if ( !stats || stats->outstanding == 0 ) done = true;
-
- if ( !stats ) {
- kdDebug() << "NO STATS!" << endl;
- } else {
- kdDebug() << "COUNT: " << stats->responded << " " << stats->outstanding
- << " " << stats->total << endl;
- }
-
- std::vector<class ngwt__FreeBusyInfo *> *infos = 0;
- if ( getFreeBusyResponse.freeBusyInfo ) infos =
- &getFreeBusyResponse.freeBusyInfo->user;
-
- if ( infos ) {
- std::vector<class ngwt__FreeBusyInfo *>::const_iterator it;
- for( it = infos->begin(); it != infos->end(); ++it ) {
- std::vector<class ngwt__FreeBusyBlock *> *blocks = 0;
- if ( (*it)->blocks ) blocks = &(*it)->blocks->block;
- if ( blocks ) {
- std::vector<class ngwt__FreeBusyBlock *>::const_iterator it2;
- for( it2 = blocks->begin(); it2 != blocks->end(); ++it2 ) {
- TQDateTime blockStart = conv.charToTQDateTime( (*it2)->startDate );
- TQDateTime blockEnd = conv.charToTQDateTime( (*it2)->endDate );
- ngwt__AcceptLevel acceptLevel = *(*it2)->acceptLevel;
-
- /* TODO: show Free/Busy subject in diagram - we need to support these as people use it for checking others' calendars */
-/* if ( (*it2)->subject )
- std::string subject = *(*it2)->subject;*/
- // kdDebug() << "BLOCK Subject: " << subject.c_str() << endl;
-
- if ( acceptLevel == Busy || acceptLevel == OutOfOffice ) {
- freeBusy->addPeriod( blockStart, blockEnd );
- }
- }
- }
- }
- }
- } while ( !done );
-
- // Close session
- _ngwm__closeFreeBusySessionRequest closeSessionRequest;
- closeSessionRequest.freeBusySessionId = fbSessionId;
-
- _ngwm__closeFreeBusySessionResponse closeSessionResponse;
-
- mSoap->header->ngwt__session = mSession;
-
- result = soap_call___ngw__closeFreeBusySessionRequest( mSoap,
- mUrl.latin1(), NULL, &closeSessionRequest, &closeSessionResponse );
- if ( !checkResponse( result, closeSessionResponse.status ) ) return false;
-
- return true;
-}
-
-void GroupwiseServer::slotSslError()
-{
- kdDebug() << "********************** SSL ERROR" << endl;
-
- mErrorText = i18n("SSL Error");
-}
-
-void GroupwiseServer::emitReadAddressBookTotalSize( int s )
-{
- emit readAddressBookTotalSize( s );
-}
-
-void GroupwiseServer::emitReadAddressBookProcessedSize( int s )
-{
- emit readAddressBookProcessedSize( s );
-}
-
-void GroupwiseServer::emitErrorMessage( const TQString & msg, bool fatal )
-{
- emit errorMessage( msg, fatal );
-}
-
-void GroupwiseServer::emitGotAddressees( const KABC::Addressee::List addressees )
-{
- emit gotAddressees( addressees );
-}
-
-void GroupwiseServer::log( const TQString &prefix, const char *s, size_t n )
-{
- if ( mLogFile.isEmpty() ) return;
-
- kdDebug() << "GroupwiseServer::log() " << prefix << " " << n << " bytes"
- << endl;
-
- TQString log = mLogFile + "_" + TQString::number( getpid() ) +
- "_" + prefix + ".log";
- TQFile f( log );
- if ( !f.open( IO_WriteOnly | IO_Append ) ) {
- kdError() << "Unable to open log file '" << log << "'" << endl;
- } else {
- uint written = 0;
- while ( written < n ) {
- kdDebug() << "written: " << written << endl;
- int w = f.writeBlock( s + written, n - written );
- kdDebug() << "w: " << w << endl;
- if ( w < 0 ) {
- kdError() << "Unable to write log '" << log << "'" << endl;
- break;
- }
- written += w;
- }
- f.putch( '\n' );
- f.close();
- }
-}
-
-bool GroupwiseServer::readUserSettings( ngwt__Settings *&returnedSettings )
-{
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::userSettings(): no session." << endl;
- returnedSettings = 0;
- return returnedSettings;
- }
-
- _ngwm__getSettingsRequest request;
-
-#if 0
- // server doesn't give return any settings keys even if id is a null string
- request.id = soap_new_std__string( mSoap, -1 );
- request.id->append("allowSharedFolders");
-#else
- request.id = 0;
-#endif
-
- _ngwm__getSettingsResponse response;
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__getSettingsRequest( mSoap, mUrl.latin1(), 0, &request, &response );
-
- if ( !checkResponse( result, response.status ) )
- {
- kdDebug() << "GroupwiseServer::userSettings() - checkResponse() failed" << endl;
- returnedSettings = 0;
- return returnedSettings;
- }
-
- returnedSettings = response.settings;
- if ( !returnedSettings )
- {
- kdDebug() << "GroupwiseServer::userSettings() - no settings in response. " << endl;
- // debug data pending server fix
- // settings
- returnedSettings = new ngwt__Settings;
- // list of groups
- //returnedSettings->group = new std::vector<ngwt__SettingsGroup * >; // sample group
- ngwt__SettingsGroup * grp = new ngwt__SettingsGroup;
- grp->type = new std::string;
- grp->type->append( "GROUP 1" );
- // list of settings
- //grp->setting = new std::vector<ngwt__Custom * >;
- // 2 sample settings
- ngwt__Custom * setting1 = new ngwt__Custom;
- setting1->field.append("Setting 1");
- setting1->value = new std::string;
- setting1->value->append("Value 1 ");
- setting1->locked = new bool;
- *(setting1->locked) = false;
- ngwt__Custom * setting2 = new ngwt__Custom;
- setting2->field.append("Setting 2");
- setting2->value = new std::string;
- setting2->value->append("Value 2");
- setting2->locked = new bool;
- *(setting2->locked) = true;
- grp->setting.push_back( setting1 );
- grp->setting.push_back( setting2 );
-
- returnedSettings->group.push_back( grp );
- }
- kdDebug() << "GroupwiseServer::userSettings() - done. " << endl;
-
- return true; /** FIXME return false if no settings fetched */
-}
-
-bool GroupwiseServer::modifyUserSettings( TQMap<TQString, TQString> & settings )
-{
- kdDebug() << "GroupwiseServer::userSettings()" << endl;
-
- if ( mSession.empty() ) {
- kdError() << "GroupwiseServer::userSettings(): no session." << endl;
- return false;
- }
- _ngwm__modifySettingsRequest request;
- _ngwm__modifySettingsResponse response;
- request.settings = soap_new_ngwt__SettingsList( mSoap, -1 );
- TQMap<TQString, TQString>::Iterator it;
- for ( it = settings.begin(); it != settings.end(); ++it )
- {
- kdDebug() << " creating Custom for " << it.key() << ", " << it.data() << endl;
- ngwt__Custom * custom = soap_new_ngwt__Custom( mSoap, -1 );
- custom->locked = 0;
- custom->field.append( it.key().utf8() );
- custom->value = soap_new_std__string( mSoap, -1 );
- custom->value->append( it.data().utf8() );
- request.settings->setting.push_back( custom );
-
- }
-
- mSoap->header->ngwt__session = mSession;
-
- int result = soap_call___ngw__modifySettingsRequest( mSoap, mUrl.latin1(), 0, &request, &response );
- if ( !checkResponse( result, response.status ) )
- {
- kdDebug() << "GroupwiseServer::modifyUserSettings() - checkResponse() failed" << endl;
- return false;
- }
- kdError() << "GroupwiseServer::userSettings() - success" << endl;
- return true;
-}
-
-bool GroupwiseServer::iAmTheOrganizer( KCal::Incidence * incidence )
-{
- return ( incidence->organizer().email() == mUserEmail );
-}
-
-bool GroupwiseServer::setCompleted( KCal::Todo * todo )
-{
- if ( todo )
- {
- GWConverter conv( mSoap );
- TQString id = todo->customProperty( "GWRESOURCE", "UID" );
- ngwt__ItemRefList * items = soap_new_ngwt__ItemRefList( mSoap, 1 );
- items->item.push_back( *( conv.qStringToString( id ) ) );
- if ( todo->isCompleted() )
- {
- _ngwm__completeRequest request;
- _ngwm__completeResponse response;
- mSoap->header->ngwt__session = mSession;
- request.items = items;
- int result = soap_call___ngw__completeRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- return checkResponse( result, response.status );
- }
- else
- {
- _ngwm__uncompleteRequest request;
- _ngwm__uncompleteResponse response;
- mSoap->header->ngwt__session = mSession;
- request.items = items;
- int result = soap_call___ngw__uncompleteRequest( mSoap, mUrl.latin1(), 0,
- &request, &response );
- return checkResponse( result, response.status );
- }
- }
- return false;
-}
-
-#include "groupwiseserver.moc"
diff --git a/kresources/groupwise/soap/groupwiseserver.h b/kresources/groupwise/soap/groupwiseserver.h
deleted file mode 100644
index 95218be0..00000000
--- a/kresources/groupwise/soap/groupwiseserver.h
+++ /dev/null
@@ -1,247 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef GROUPWISESERVER_H
-#define GROUPWISESERVER_H
-
-#include <kio/job.h>
-#include <kio/jobclasses.h>
-#include <tqapplication.h>
-#include <tqmap.h>
-#include <tqobject.h>
-#include <tqstring.h>
-#include <tqthread.h>
-#include <tqvaluelist.h>
-
-#include <string>
-
-#include <kabc/addressee.h>
-#include <libkcal/freebusy.h>
-
-#include "gwjobs.h"
-
-namespace KABC {
- class AddresseeList;
- class Resource;
-}
-
-namespace KCal {
-class Calendar;
-class Incidence;
-class ResourceCached;
-}
-
-class ngwt__Settings;
-
-class KExtendedSocket;
-
-struct soap;
-
-class ngwt__Folder;
-class ngwt__Item;
-class ngwt__Appointment;
-class ngwt__Mail;
-class ngwt__Task;
-class ngwt__Status;
-class GroupWiseBinding;
-
-namespace GroupWise {
-
-enum ErrorCode { NoError, RefreshNeeded };
-
-class AddressBook
-{
- public:
- typedef TQValueList<AddressBook> List;
-
- AddressBook() : isPersonal( false ), isFrequentContacts( false ), isSystemAddressBook( false ) {}
-
- TQString id;
- TQString name;
- TQString description;
- bool isPersonal;
- bool isFrequentContacts;
- bool isSystemAddressBook;
-};
-
-class DeltaInfo
-{
- public:
- long count;
- long firstSequence;
- long lastSequence;
- long lastTimePORebuild;
-};
-}
-
-class GroupwiseServer : public TQObject
-{
- Q_OBJECT
-
-
- public:
- bool checkResponse( int result, ngwt__Status *status );
- enum RetractCause { DueToResend, Other };
- GroupwiseServer( const TQString &url, const TQString &user,
- const TQString &password, TQObject *parent );
- ~GroupwiseServer();
-
- int error() const { return mError; }
- TQString errorText() const { return mErrorText; }
-
- bool login();
- bool logout();
-
- /**
- * Send an accept message for an incidence organised by someone else to the server
- */
- bool acceptIncidence( KCal::Incidence * );
- /**
- * Add a new incidence to the server. This is a smart method that adds Incidences to the GroupWise server using the
- * appropriate GroupWise call - own appointments are Sent, whereas appointments organized by others are Accepted.
- */
- bool addIncidence( KCal::Incidence *, KCal::ResourceCached * );
- /**
- * Alter an existing incidence on the server. This is a smart method that adds Incidences to the GroupWise server
- * using the appropriate GroupWise call. If the item has no other attendees (personal),
- * this is carried out with changeItem, otherwise it is retracted and resent.
- */
- bool changeIncidence( KCal::Incidence * );
- /**
- * send a Decline message for the given incidence to the server
- */
- bool declineIncidence( KCal::Incidence * );
- /**
- * delete an incidence from the server. This is a smart method that adds Incidences to the GroupWise server
- * using the appropriate GroupWise call. If the item is personal, it is deleted. Items with attendees are Declined.
- */
- bool deleteIncidence( KCal::Incidence * );
- /**
- * @brief Retract a meeting request.
- * This is needed to change a meeting, because you need to retract it from others' mailboxes before resending.
- * @param causedByResend indicate if the retraction is caused by a resend, suppresses the retraction message in favour of the resent meeting.
- */
- bool retractRequest( KCal::Incidence *, RetractCause cause );
-
- /**
- * @brief update a todo's completed state.
- * @param the todo to set the completed state for.
- */
- bool setCompleted( KCal::Todo * todo );
-
- bool readCalendarSynchronous( KCal::Calendar *cal );
-
- GroupWise::AddressBook::List addressBookList();
-
- bool readAddressBooksSynchronous( const TQStringList &addrBookIds );
- bool updateAddressBooks( const TQStringList &addrBookIds,
- const unsigned long startSequenceNumber, const unsigned long lastPORebuildTime );
-
- bool insertAddressee( const TQString &addrBookId, KABC::Addressee& );
- bool changeAddressee( const KABC::Addressee& );
- bool removeAddressee( const KABC::Addressee& );
-
- bool readFreeBusy( const TQString &email, const TQDate &start,
- const TQDate &end, KCal::FreeBusy * );
-
- bool dumpData();
- void dumpFolderList();
-
-// bool getDelta();
- GroupWise::DeltaInfo getDeltaInfo( const TQStringList & addressBookIds );
-
- bool getCategoryList();
-
- int gSoapOpen( struct soap *soap, const char *endpoint, const char *host,
- int port );
- int gSoapClose( struct soap *soap );
- int gSoapSendCallback( struct soap *soap, const char *s, size_t n );
- size_t gSoapReceiveCallback( struct soap *soap, char *s, size_t n );
-
- void emitReadAddressBookTotalSize( int );
- void emitReadAddressBookProcessedSize( int );
- void emitErrorMessage( const TQString &, bool );
- void emitGotAddressees( const KABC::Addressee::List );
-
- bool readUserSettings( ngwt__Settings *&settings );
- bool modifyUserSettings( TQMap<TQString, TQString> & );
-
- TQString userEmail() const { return mUserEmail; }
- TQString userName() const { return mUserName; }
- TQString userUuid() const { return mUserUuid; }
-
- signals:
- void readAddressBookTotalSize( int );
- void readAddressBookProcessedSize( int );
- void errorMessage( const TQString &, bool );
- void gotAddressees( const KABC::Addressee::List );
-
- protected:
- void dumpCalendarFolder( const std::string &id );
-
- void dumpFolder( ngwt__Folder * );
- void dumpItem( ngwt__Item * );
- void dumpAppointment( ngwt__Appointment * );
- void dumpTask( ngwt__Task * );
- void dumpMail( ngwt__Mail * );
-
-
- /**
- * Given a partial record ID, query the server for the full version from the calendar folder
- */
- std::string getFullIDFor( const TQString & );
-
- /**
- * Check if an incidence involves other people
- */
- bool iAmTheOrganizer( KCal::Incidence * );
-
- void log( const TQString &prefix, const char *s, size_t n );
-
- protected slots:
- void slotSslError();
-
- private:
- TQString mUrl;
- TQString mUser;
- TQString mPassword;
- bool mSSL;
-
- std::string mSession;
-
- TQString mUserName;
- TQString mUserEmail;
- TQString mUserUuid;
-
- std::string mCalendarFolder;
- std::string mCheckListFolder;
-
- struct soap *mSoap;
- GroupWiseBinding *mBinding;
-
- KExtendedSocket *m_sock;
-
- int mError;
- TQString mErrorText;
-
- TQString mLogFile;
-};
-
-#endif
diff --git a/kresources/groupwise/soap/gwconverter.cpp b/kresources/groupwise/soap/gwconverter.cpp
deleted file mode 100644
index bda455f7..00000000
--- a/kresources/groupwise/soap/gwconverter.cpp
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "gwconverter.h"
-
-#include <libtdepim/kpimprefs.h>
-
-#include <kdebug.h>
-
-GWConverter::GWConverter( struct soap* soap )
- : mSoap( soap )
-{
- Q_ASSERT( mSoap );
-}
-
-struct soap* GWConverter::soap() const
-{
- return mSoap;
-}
-
-std::string* GWConverter::qStringToString( const TQString &string )
-{
- std::string *str = soap_new_std__string( mSoap, -1 );
- str->append( string.utf8() );
-
- return str;
-}
-
-TQString GWConverter::stringToTQString( const std::string &str )
-{
- return TQString::fromUtf8( str.c_str() );
-}
-
-TQString GWConverter::stringToTQString( std::string *str )
-{
- if ( !str ) return TQString();
- return TQString::fromUtf8( str->c_str() );
-}
-
-char* GWConverter::qStringToChar( const TQString &string )
-{
- TQCString str = string.utf8();
-
- char* charStr = (char*)soap_malloc( mSoap, str.length() + 1 );
- memcpy( charStr, str, str.length() );
- charStr[ str.length() ] = 0;
-
- return charStr;
-}
-
-TQDate GWConverter::charToTQDate( const char *str )
-{
- if ( !str ) return TQDate(); // FIXME: Qt::ISODate is probably no good here because it expects yyyy-MM-dd not yyyyMMdd
- return TQDate::fromString( TQString::fromUtf8( str ), Qt::ISODate );
-}
-
-char *GWConverter::qDateTimeToChar( const TQDateTime &dt,
- const TQString &timezone )
-{
- return qDateTimeToChar( KPimPrefs::localTimeToUtc( dt, timezone ) );
-}
-
-char *GWConverter::qDateTimeToChar( const TQDateTime &dt )
-{
- return qStringToChar( dt.toString( "yyyyMMddThhmmZ" ) );
-}
-
-std::string* GWConverter::qDateTimeToString( const TQDateTime &dt, const TQString &timezone )
-{
- return qDateTimeToString( KPimPrefs::localTimeToUtc( dt, timezone ) );
-}
-
-std::string* GWConverter::qDateTimeToString( const TQDateTime &dt )
-{
- return qStringToString( dt.toString( "yyyyMMddThhmmZ" ) );
-}
-
-TQDateTime GWConverter::stringToTQDateTime( const std::string* str )
-{
- TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str->c_str() ), Qt::ISODate );
- return dt;
-}
-
-char* GWConverter::qDateToChar( const TQDate &date )
-{
- return qStringToChar( date.toString( "yyyyMMdd" ) );
-}
-
-std::string* GWConverter::qDateToString( const TQDate &date )
-{
- return qStringToString( date.toString( "yyyyMMdd" ) );
-}
-
-TQDate GWConverter::stringToTQDate( std::string* str )
-{
- //NB this ISODate may become unnecessary, if GW stops sending in yyyy-mm-dd format again
- return TQDate::fromString( TQString::fromLatin1( str->c_str() ), Qt::ISODate );
-}
-
-TQDateTime GWConverter::charToTQDateTime( const char *str )
-{
- if ( !str ) return TQDateTime();
-// kdDebug() << "charToTQDateTime(): " << str << endl;
- // as above re Qt::ISODate
- TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str ), Qt::ISODate );
-// kdDebug() << " " << dt.toString() << endl;
- return dt;
-}
-
-TQDateTime GWConverter::charToTQDateTime( const char *str,
- const TQString &timezone )
-{
- if ( !str ) return TQDateTime();
- TQDateTime utc = charToTQDateTime( str );
- return KPimPrefs::utcToLocalTime( utc, timezone );
-}
-
-bool GWConverter::emailsMatch( const TQString & email1, const TQString & email2 )
-{
- // eg demo3.po1.dom1@dmz1.provo.novell.com == demo3@dmz1.provo.novell.com
- if ( email1 == email2 )
- return true;
-
- TQString shorter, longer;
- if ( email1.length() < email2.length() )
- {
- shorter = email1;
- longer = email2;
- }
- else
- {
- shorter = email2;
- longer = email1;
- }
-
- TQString shortStem = shorter.section( '@', 0, 0 );
- TQString longStem = longer.section( '@', 0, 0 );
- TQString shortHost = shorter.section( '@', 1, 1 );
- TQString longHost = longer.section( '@', 1, 1 );
-
- TQString extension = longStem.right( longStem.length() - shortStem.length() );
-
- kdDebug() << "gwconverter::emailsMatch(): " << shorter << " = " << longer << endl;
- kdDebug() << "shortStem: " << shortStem << ", longStem: " << longStem << ", extension: " << extension << endl;
-
- if ( longStem.startsWith( shortStem ) && extension.startsWith( "." ) && (
- shortHost == longHost ) )
- {
- kdDebug() << "Looks like a match!" << endl;
- return true;
- }
- return false;
-}
-
diff --git a/kresources/groupwise/soap/gwconverter.h b/kresources/groupwise/soap/gwconverter.h
deleted file mode 100644
index d240ffec..00000000
--- a/kresources/groupwise/soap/gwconverter.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KABC_GW_CONVERTER_H
-#define KABC_GW_CONVERTER_H
-
-#include <tqdatetime.h>
-#include <tqstring.h>
-
-#include "soapH.h"
-
-class GWConverter
-{
- public:
- GWConverter( struct soap* );
-
- struct soap* soap() const;
-
- static TQString stringToTQString( const std::string& );
- static TQString stringToTQString( std::string* );
-
- std::string* qStringToString( const TQString& );
- char* qStringToChar( const TQString& );
-
- char* qDateToChar( const TQDate& );
- TQDate charToTQDate( const char * );
-
- std::string* qDateToString( const TQDate &string );
- TQDate stringToTQDate( std::string* );
-
- char *qDateTimeToChar( const TQDateTime &dt, const TQString &timezone );
- char *qDateTimeToChar( const TQDateTime &dt );
-
- TQDateTime charToTQDateTime( const char *str );
- TQDateTime charToTQDateTime( const char *str, const TQString &timezone );
-
- std::string* qDateTimeToString( const TQDateTime &string, const TQString &timezone );
- std::string* qDateTimeToString( const TQDateTime &string );
-
- TQDateTime stringToTQDateTime( const std::string* );
-
- bool emailsMatch( const TQString & email1, const TQString & email2 );
- private:
- struct soap* mSoap;
-};
-
-#endif
diff --git a/kresources/groupwise/soap/gwjobs.cpp b/kresources/groupwise/soap/gwjobs.cpp
deleted file mode 100644
index 4e4d1b28..00000000
--- a/kresources/groupwise/soap/gwjobs.cpp
+++ /dev/null
@@ -1,733 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <kdebug.h>
-#include <klocale.h>
-#include <kabc/addressee.h>
-#include <kabc/resource.h>
-
-#include <libkcal/incidence.h>
-#include <libkcal/resourcecached.h>
-
-#include <tqtimer.h>
-
-#include "contactconverter.h"
-#include "incidenceconverter.h"
-#include "soapH.h"
-#include "groupwiseserver.h"
-
-#include "gwjobs.h"
-
-#define READ_ADDRESS_FOLDER_CHUNK_SIZE 50
-#define READ_CALENDAR_FOLDER_CHUNK_SIZE 50
-
-GWJob::GWJob( GroupwiseServer *server, struct soap *soap, const TQString &url,
- const std::string &session )
- : mServer( server ), mSoap( soap ), mUrl( url ), mSession( session ), mError( GroupWise::NoError )
-{
-}
-
-ReadAddressBooksJob::ReadAddressBooksJob( GroupwiseServer *server,
- struct soap *soap, const TQString &url, const std::string &session )
- : GWJob( server, soap, url, session )
-{
-}
-
-void ReadAddressBooksJob::setAddressBookIds( const TQStringList &ids )
-{
- mAddressBookIds = ids;
-
- kdDebug() << "ADDR IDS: " << ids.join( "," ) << endl;
-}
-
-void ReadAddressBooksJob::run()
-{
- kdDebug() << "ReadAddressBooksJob::run()" << endl;
-
-// alternate read logic added on 20061209, uses the list of address books provided by the job starter instead of asking the server for the address book list again. Risk might be that the list of address books is stale.
-#if 0
- mSoap->header->ngwt__session = mSession;
- _ngwm__getAddressBookListRequest addressBookListRequest;
- _ngwm__getAddressBookListResponse addressBookListResponse;
- soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(),
- NULL, &addressBookListRequest, &addressBookListResponse );
- soap_print_fault( mSoap, stderr );
-
- if ( addressBookListResponse.books ) {
- std::vector<class ngwt__AddressBook * > *addressBooks = &addressBookListResponse.books->book;
-
- mServer->emitReadAddressBookTotalSize( ( mAddressBookIds.count() )
- * 100 );
- mProgress = 0;
-
- std::vector<class ngwt__AddressBook * >::const_iterator it;
- for ( it = addressBooks->begin(); it != addressBooks->end(); ++it ) {
- if ( !(*it)->id ) {
- kdError() << "No addressbook id" << endl;
- } else {
- TQString id = GWConverter::stringToTQString( (*it)->id );
- kdDebug() << "Reading ID: " << id << endl;
- if ( mAddressBookIds.find( id ) != mAddressBookIds.end() ) {
- readAddressBook( *(*it)->id );
- mProgress += 100;
- }
- }
- }
- }
-#else
- GWConverter conv( mSoap );
- TQStringList::Iterator it = mAddressBookIds.begin();
- const TQStringList::Iterator end = mAddressBookIds.end();
- for ( ; it != end; ++it )
- {
- std::string* id = conv.qStringToString( *it );
- readAddressBook( *id );
- mProgress += 100;
- }
-#endif
-}
-
-void ReadAddressBooksJob::readAddressBook( std::string &id )
-{
- kdDebug() << "ReadAddressBookJob::readAddressBook() " << id.c_str() << endl;
-#if 0
- _ngwm__getItemsRequest itemsRequest;
- itemsRequest.container = &id;
- itemsRequest.count = -1;
- itemsRequest.filter = 0;
- itemsRequest.items = 0;
- itemsRequest.view = 0;
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getItemsResponse itemsResponse;
- int result = soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0,
- &itemsRequest, &itemsResponse );
- if ( result != 0 ) {
- soap_print_fault( mSoap, stderr );
- mServer->emitErrorMessage( i18n("Unable to read GroupWise address book: %1" ).arg( id.c_str() ), false );
- return;
- }
-
- std::vector<class ngwt__Item * > *items = &itemsResponse.items->item;
- if ( items ) {
-#if 1
- kdDebug() << "ReadAddressBooksJob::readAddressBook() - got " << items->size() << " contacts in folder " << id.c_str() << endl;
-#endif
- ContactConverter converter( mSoap );
-
- int maxCount = items->size();
- int count = 0;
-
- std::vector<class ngwt__Item * >::const_iterator it;
- for ( it = items->begin(); it != items->end(); ++it ) {
- ngwt__Item *item = *it;
-
-#if 1
- if ( item )
- if ( item->name )
- kdDebug() << "ITEM: " << item->name->c_str() << endl;
- if ( item->id )
- kdDebug() << "ITEM: (" << item->id->c_str()
- << ")" << endl;
- else
- kdDebug() << "ITEM is null" << endl;
-#endif
-
- ngwt__Contact *contact = dynamic_cast<ngwt__Contact *>( item );
-
- KABC::Addressee addr = converter.convertFromContact( contact );
- if ( !addr.isEmpty() ) {
- addr.setResource( mResource );
-
- addr.insertCustom( "GWRESOURCE", "CONTAINER", converter.stringToTQString( id ) );
-
- TQString remoteUid = converter.stringToTQString( (*it)->id );
-
- KABC::Addressee oldAddressee = mResource->findByUid( mResource->idMapper().localId( remoteUid ) );
- if ( oldAddressee.isEmpty() ) // new addressee
- mResource->idMapper().setRemoteId( addr.uid(), remoteUid );
- else {
- addr.setUid( oldAddressee.uid() );
- mResource->removeAddressee( oldAddressee );
- }
-
- mResource->insertAddressee( addr );
- mResource->clearChange( addr );
- }
-
- int progress = int( mProgress + count++ * 100. / maxCount );
-
- kdDebug() << "PROGRESS: mProgress: " << mProgress << " count: "
- << count << " maxCount: " << maxCount << " progress: " << progress
- << endl;
-
- mServer->emitReadAddressBookProcessedSize( progress );
- }
- }
-#else
- unsigned int readItems = 0;
- unsigned int readChunkSize = READ_ADDRESS_FOLDER_CHUNK_SIZE;
-
- int cursor = 0;
-
- _ngwm__createCursorRequest cursorRequest;
- _ngwm__createCursorResponse cursorResponse;
-
- cursorRequest.container = id;
- cursorRequest.view = 0;
- if ( id.find( "GroupWiseSystemAddressBook" ) == 0 )
- {
- kdDebug() << " Book: " << id.c_str() << " is a SAB " << endl;
- // filter for Contacts until we support Groups
- cursorRequest.filter = soap_new_ngwt__Filter( mSoap, -1 );
- ngwt__FilterEntry * fe = soap_new_ngwt__FilterEntry( mSoap, -1 );
- fe->op = isOf;
- fe->field = soap_new_std__string( mSoap, -1 );
- fe->field->append( "@type" );
- fe->value = soap_new_std__string( mSoap, -1 );
- fe->value->append( "Contact" );
- fe->custom = 0;
- fe->date = 0;
- cursorRequest.filter->element = fe;
- }
- else
- {
- kdDebug() << " Book: " << id.c_str() << " is a personal address book " << endl;
- cursorRequest.filter = 0;
- }
-
- mSoap->header->ngwt__session = mSession;
- soap_call___ngw__createCursorRequest( mSoap, mUrl.latin1(), 0,
- &cursorRequest,
- &cursorResponse );
- if ( cursorResponse.cursor )
- cursor = *(cursorResponse.cursor);
- else
- {
- if ( cursorResponse.status && cursorResponse.status->code != 0 )
- {
- kdDebug() << " Couldn't read " << GWConverter::stringToTQString(id ) << " : " << GWConverter::stringToTQString(cursorResponse.status->description) << endl;
- //mError = GroupWise::RefreshNeeded;
- }
- return;
- }
-
- _ngwm__readCursorRequest readCursorRequest;
-
- readCursorRequest.cursor = cursor;
- readCursorRequest.container = id;
- readCursorRequest.forward = true;
- readCursorRequest.position = 0;
-
- readCursorRequest.count = (int*)soap_malloc( mSoap, sizeof(int) );
- *( readCursorRequest.count ) = (int)readChunkSize;
-
- while ( true )
- {
- KABC::Addressee::List contacts;
- mSoap->header->ngwt__session = mSession;
- kdDebug() << "sending readCursorRequest with session: " << mSession.c_str() << endl;
- _ngwm__readCursorResponse readCursorResponse;
- if ( soap_call___ngw__readCursorRequest( mSoap, mUrl.latin1(), 0,
- &readCursorRequest,
- &readCursorResponse ) != SOAP_OK )
- {
- kdDebug() << "Faults according to GSOAP:" << endl;
- soap_print_fault(mSoap, stderr);
- kdDebug() << "Unable to read " << *( readCursorRequest.count ) << " items at once, halving number and retrying request" << endl;
- *( readCursorRequest.count ) = TQMAX( 1, *( readCursorRequest.count )/2 );
- continue;
- }
-
- if ( readCursorResponse.items ) {
- ContactConverter converter( mSoap );
-
- kdDebug() << "ReadAddressBooksJob::readAddressBook() - got " << readCursorResponse.items->item.size() << " contacts in cursor read of folder " << id.c_str() << endl;
-
- std::vector<class ngwt__Item * >::const_iterator it;
- for( it = readCursorResponse.items->item.begin(); it != readCursorResponse.items->item.end(); ++it ) {
- ngwt__Item *item = *it;
-
-#if 0
- if ( item )
- if ( item->name )
- kdDebug() << "ITEM: " << item->name->c_str() << endl;
- if ( item->id )
- kdDebug() << "ITEM: (" << item->id->c_str()
- << ")" << endl;
- else
- kdDebug() << "ITEM is null" << endl;
-#endif
- ngwt__Contact *contact = dynamic_cast<ngwt__Contact *>( item );
- KABC::Addressee addr;
- if ( contact )
- {
- addr = converter.convertFromContact( contact );
- }
- else if ( ngwt__Resource *resource = dynamic_cast<ngwt__Resource *>( item ) )
- {
- addr = converter.convertFromResource( resource );
- }
- else if ( ngwt__Group * group = dynamic_cast<ngwt__Group *>( item ) )
- {
- addr = converter.convertFromGroup( group );
- }
- if ( !addr.isEmpty() )
- contacts.append( addr );
- }
- readItems += readCursorResponse.items->item.size(); // this means that the read count is increased even if the call fails, but at least the while will always end
- kdDebug() << " just read " << readCursorResponse.items->item.size() << " items" << endl;
- if ( readCursorResponse.items->item.size() == 0 )
- break;
- }
- else
- {
- kdDebug() << " readCursor got no Items in Response!" << endl;
- break;
- }
- // pass the received addressees back to the server
- mServer->emitGotAddressees( contacts );
- }
-
- _ngwm__destroyCursorRequest destReq;
- _ngwm__destroyCursorResponse destResp;
- destReq.container = id;
- destReq.cursor = cursor;
- mSoap->header->ngwt__session = mSession;
- if ( soap_call___ngw__destroyCursorRequest( mSoap, mUrl.latin1(), 0,
- &destReq,
- &destResp ) != SOAP_OK )
- {
- kdDebug() << "Faults according to GSOAP:" << endl;
- soap_print_fault(mSoap, stderr);
- }
-
- kdDebug() << " read " << readItems << " items in total" << endl;
-#endif
-}
-
-ReadCalendarJob::ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const TQString &url,
- const std::string &session )
- : GWJob( server, soap, url, session ), mCalendar( 0 )
-{
- kdDebug() << "ReadCalendarJob()" << endl;
-}
-
-void ReadCalendarJob::setCalendarFolder( std::string *calendarFolder )
-{
- mCalendarFolder = calendarFolder;
-}
-
-void ReadCalendarJob::setChecklistFolder( std::string *checklistFolder )
-{
- mChecklistFolder = checklistFolder;
-}
-
-void ReadCalendarJob::setCalendar( KCal::Calendar *calendar )
-{
- mCalendar = calendar;
-}
-
-void ReadCalendarJob::run()
-{
- kdDebug() << "ReadCalendarJob::run()" << endl;
-
- mSoap->header->ngwt__session = mSession;
- _ngwm__getFolderListRequest folderListReq;
- folderListReq.parent = "folders";
- folderListReq.view = 0;
- folderListReq.recurse = true;
- _ngwm__getFolderListResponse folderListRes;
- int result = soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0,
- &folderListReq,
- &folderListRes );
-
- if ( !mServer->checkResponse( result, folderListRes.status ) )
- {
- kdError() << "Server did not return the folder list" << endl;
- return;
- }
- // consistency check variables
- unsigned int totalItems = 0;
- ReadItemCounts totals;
- totals.tasks = 0;
- totals.notes = 0;
- totals.appointments = 0;
-
- if ( folderListRes.folders ) {
- std::vector<class ngwt__Folder * > *folders = &folderListRes.folders->folder;
- if ( folders ) {
- std::vector<class ngwt__Folder * >::const_iterator it;
- for ( it = folders->begin(); it != folders->end(); ++it ) {
- if ( !(*it)->id ) {
- kdError() << "No calendar id" << endl;
- } else {
- ngwt__SystemFolder * fld = dynamic_cast<ngwt__SystemFolder *>( *it );
- if ( fld )
- {
- bool haveReadFolder = false;
- int count = 0;
- ReadItemCounts itemCounts;
- itemCounts.appointments = 0;
- itemCounts.notes = 0;
- itemCounts.tasks = 0;
- if ( fld->count )
- {
- count = *( fld->count );
- totalItems += count;
- }
- kdDebug() << "Folder " << (*(*it)->id).c_str() << ", containing " << count << " items." << endl;
- if ( fld->folderType )
- {
- if ( *(fld->folderType) == Calendar ) {
- kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Calendar, physically containing " << count << " items." << endl;
- readCalendarFolder( *(*it)->id, itemCounts );
- haveReadFolder = true;
- *mCalendarFolder = *((*it)->id);
- }
- else if ( *(fld->folderType) == Checklist ) {
- kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Checklist, physically containing " << count << " items." << endl;
- readCalendarFolder( *(*it)->id, itemCounts );
- haveReadFolder = true;
- *mChecklistFolder = *((*it)->id);
- }
- /* else if ( fld->folderType == SentItems ) {
- kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type SentItems, physically containing " << count << " items." << endl;
- readCalendarFolder( *(*it)->id, itemCounts );
- haveReadFolder = true;
- *mChecklistFolder = *((*it)->id);
- }*/
- /* else if ( fld->folderType == Mailbox ) {
- kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Mailbox (not yet accepted items), containing " << count << " items." << endl;
- readCalendarFolder( *(*it)->id, count, itemCounts );
- haveReadFolder = true;
- }*/
- }
- if ( haveReadFolder )
- {
- kdDebug() << "Folder contained " << itemCounts.appointments << " appointments, " << itemCounts.notes << " notes, and " << itemCounts.tasks << " tasks." << endl;
- totals.appointments += itemCounts.appointments;
- totals.notes += itemCounts.notes;
- totals.tasks += itemCounts.tasks;
- }
- else
- kdDebug() << "Skipping folder: " << *((*it)->id )->c_str() << endl;
- }
- }
- }
- }
- }
-
- // perform consistency checks
- kdDebug() << "Total count of items of all types in folders we read: " << totalItems << endl;
- kdDebug() << "Folders we read contained " << totals.appointments << " appointments, " << totals.notes << " notes, and " << totals.tasks << " tasks." << endl;
- kdDebug() << "Local calendar now contains " << mCalendar->rawEvents().count() << " events and " << mCalendar->rawJournals().count() << " journals, and " << mCalendar->rawTodos().count() << " todos." << endl;
- if ( totals.appointments == mCalendar->rawEvents().count() )
- kdDebug() << "All events accounted for." << endl;
- else
- kdDebug() << "ERROR: event counts do not match." << endl;
- if ( totals.notes == mCalendar->rawJournals().count() )
- kdDebug() << "All journals accounted for." << endl;
- else
- kdDebug() << "ERROR: journal counts do not match." << endl;
- if ( totals.tasks == mCalendar->rawTodos().count() )
- kdDebug() << "All todos accounted for." << endl;
- else
- kdDebug() << "ERROR: todo counts do not match." << endl;
-
- kdDebug() << "ReadCalendarJob::run() done" << endl;
-}
-
-void ReadCalendarJob::readCalendarFolder( const std::string &id, ReadItemCounts & counts )
-{
- kdDebug() << "ReadCalendarJob::readCalendarFolder() '" << id.c_str() << endl;
- mSoap->header->ngwt__session = mSession;
-
-#if 0
- _ngwm__getItemsRequest itemsRequest;
-
- itemsRequest.container = id;
- std::string *str = soap_new_std__string( mSoap, -1 );
- str->append( "startDate endDate subject alarm allDayEvent place timezone iCalId recipients message recipientStatus recurrenceKey" );
- itemsRequest.view = str;
- itemsRequest.filter = 0;
- itemsRequest.items = 0;
- itemsRequest.count = -1;
-
-/*
- ngwt__Filter *filter = soap_new_ngwm__Filter( mSoap, -1 );
- ngwt__FilterEntry *filterEntry = soap_new_ngwm__FilterEntry( mSoap, -1 );
- filterEntry->op = gte;
- filterEntry->field = TQString::fromLatin1( "startDate" ).utf8();
- filterEntry->value = TQDateTime::currentDateTime().toString( "yyyyMMddThhmmZ" ).utf8();
-
- filter->element = filterEntry;
-
- itemsRequest.filter = filter;
-*/
-
- _ngwm__getItemsResponse itemsResponse;
- soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0,
- &itemsRequest,
- &itemsResponse );
- kdDebug() << "Faults according to GSOAP:" << endl;
- soap_print_fault(mSoap, stderr);
-
- if ( itemsResponse.items ) {
- IncidenceConverter conv( mSoap );
-
- std::vector<class ngwt__Item * >::const_iterator it;
- for( it = itemsResponse.items->item.begin(); it != itemsResponse.items->item.end(); ++it ) {
- ngwt__Appointment *a = dynamic_cast<ngwt__Appointment *>( *it );
- KCal::Incidence *i = 0;
- if ( a ) {
- i = conv.convertFromAppointment( a );
- } else {
- ngwt__Task *t = dynamic_cast<ngwt__Task *>( *it );
- if ( t ) {
- i = conv.convertFromTask( t );
- }
- }
-
- if ( i ) {
- i->setCustomProperty( "GWRESOURCE", "CONTAINER", conv.stringToTQString( id ) );
-
- mCalendar->addIncidence( i );
- }
- }
- }
-#else
- unsigned int readItems = 0;
- unsigned int readChunkSize = READ_CALENDAR_FOLDER_CHUNK_SIZE;
-
- int cursor;
-
- _ngwm__createCursorRequest cursorRequest;
- _ngwm__createCursorResponse cursorResponse;
-
- cursorRequest.container = id;
-#if 1
- cursorRequest.view = soap_new_std__string( mSoap, -1 );
- cursorRequest.view->append( "default message recipients attachments recipientStatus peek completed status" /*"container status source security distribution acceptLevel startDate endDate subject alarm allDayEvent place timezone iCalId recipients message recurrenceKey"*/ );
-
-#else
- cursorRequest.view = 0;
-#endif
- cursorRequest.filter = 0;
-
- soap_call___ngw__createCursorRequest( mSoap, mUrl.latin1(), 0,
- &cursorRequest,
- &cursorResponse );
- if ( cursorResponse.cursor )
- cursor = *(cursorResponse.cursor);
- else /* signal error? */
- return;
-
- _ngwm__readCursorRequest readCursorRequest;
-
- readCursorRequest.cursor = cursor;
- readCursorRequest.container = id;
- readCursorRequest.forward = true;
-#if 0 // seeing if adding the position enum causes the server to truncate returned data
- readCursorRequest.position = (ngwt__CursorSeek*)soap_malloc( mSoap, sizeof(ngwt__CursorSeek) );
- *( readCursorRequest.position ) = start;
-#else
- readCursorRequest.position = 0;
-#endif
- readCursorRequest.count = (int*)soap_malloc( mSoap, sizeof(int) );
- *( readCursorRequest.count ) = (int)readChunkSize;
-
- //soap_set_imode(mSoap, SOAP_XML_STRICT);
-
- while ( true )
- {
- mSoap->header->ngwt__session = mSession;
- kdDebug() << "sending readCursorRequest with session: " << mSession.c_str() << endl;
- _ngwm__readCursorResponse readCursorResponse;
- if ( soap_call___ngw__readCursorRequest( mSoap, mUrl.latin1(), 0,
- &readCursorRequest,
- &readCursorResponse ) != SOAP_OK )
- {
- kdDebug() << "Faults according to GSOAP:" << endl;
- soap_print_fault(mSoap, stderr);
- soap_print_fault_location(mSoap, stderr);
-
- kdDebug() << "EXITING" << endl;
- break;
- }
-
- if ( readCursorResponse.items ) {
- IncidenceConverter conv( mSoap );
- conv.setFrom( mServer->userName(), mServer->userEmail(), mServer->userUuid() );
-
- std::vector<class ngwt__Item * >::const_iterator it;
- for( it = readCursorResponse.items->item.begin(); it != readCursorResponse.items->item.end(); ++it ) {
- KCal::Incidence *i = 0;
- ngwt__Appointment *a = dynamic_cast<ngwt__Appointment *>( *it );
- if ( a ) {
- i = conv.convertFromAppointment( a );
- counts.appointments++;
- } else {
- ngwt__Task *t = dynamic_cast<ngwt__Task *>( *it );
- if ( t ) {
- i = conv.convertFromTask( t );
- counts.tasks++;
- }
- else {
- ngwt__Note *n = dynamic_cast<ngwt__Note *>( *it );
- if ( n ) {
- kdDebug() << "found a Note" << endl;
- i = conv.convertFromNote( n );
- counts.notes++;
- }
- }
- }
- if ( i ) {
- i->setCustomProperty( "GWRESOURCE", "CONTAINER", conv.stringToTQString( id ) );
-
- mCalendar->addIncidence( i );
- }
- }
- readItems += readCursorResponse.items->item.size();
- kdDebug() << " just read " << readCursorResponse.items->item.size() << " items" << endl;
- if ( readCursorResponse.items->item.size() == 0 )
- break;
- }
- else
- {
- kdDebug() << " readCursor got no Items in Response!" << endl;
- mServer->emitErrorMessage( i18n("Unable to read GroupWise address book: reading %1 returned no items." ).arg( id.c_str() ), false );
- break;
- }
- }
-
- _ngwm__destroyCursorRequest destReq;
- _ngwm__destroyCursorResponse destResp;
- destReq.container = id;
- destReq.cursor = cursor;
- mSoap->header->ngwt__session = mSession;
- if ( soap_call___ngw__destroyCursorRequest( mSoap, mUrl.latin1(), 0,
- &destReq,
- &destResp ) != SOAP_OK )
- {
- kdDebug() << "Faults according to GSOAP:" << endl;
- soap_print_fault(mSoap, stderr);
- }
-
- kdDebug() << " read " << readItems << " items in total" << endl;
-#endif
-}
-
-UpdateAddressBooksJob::UpdateAddressBooksJob( GroupwiseServer *server,
- struct soap *soap, const TQString &url, const std::string &session )
- : GWJob( server, soap, url, session )
-{
-}
-
-void UpdateAddressBooksJob::setAddressBookIds( const TQStringList &ids )
-{
- mAddressBookIds = ids;
-
- kdDebug() << "ADDR IDS: " << ids.join( "," ) << endl;
-}
-
-void UpdateAddressBooksJob::setStartSequenceNumber( const unsigned long startSeqNo )
-{
- mStartSequenceNumber = startSeqNo;
-}
-
-void UpdateAddressBooksJob::setLastPORebuildTime( const unsigned long lastPORebuildTime)
-{
- mLastPORebuildTime = lastPORebuildTime;
-}
-
-void UpdateAddressBooksJob::run()
-{
- kdDebug() << "UpdateAddressBooksJob::run()" << endl;
-
- while ( true )
- {
- mSoap->header->ngwt__session = mSession;
- _ngwm__getDeltasRequest request;
- _ngwm__getDeltasResponse response;
-
- GWConverter conv( mSoap );
- request.container.append( mAddressBookIds.first().latin1() );
- request.deltaInfo = soap_new_ngwt__DeltaInfo( mSoap, -1 );
- request.deltaInfo->count = (int*)soap_malloc( mSoap, sizeof(int) );
- *( request.deltaInfo->count ) = READ_ADDRESS_FOLDER_CHUNK_SIZE;
- request.deltaInfo->lastTimePORebuild = mLastPORebuildTime;
- request.deltaInfo->firstSequence = (unsigned long*)soap_malloc( mSoap, sizeof(unsigned long) );
- *(request.deltaInfo->firstSequence) = mStartSequenceNumber;
- request.deltaInfo->lastSequence = 0; /*(unsigned long*)soap_malloc( mSoap, sizeof(unsigned long) );*/
- //request.view = soap_new_std__string( mSoap, -1 );
- //request.view->append("id name version modified ItemChanges");
- request.view = 0;
- soap_call___ngw__getDeltasRequest( mSoap, mUrl.latin1(),
- NULL, &request, &response);
- soap_print_fault( mSoap, stderr );
-
- if ( response.items ) {
- std::vector<class ngwt__Item * > items = response.items->item;
-#if 1
- kdDebug() << " - got " << items.size() << "contacts" << endl;
-#endif
- KABC::Addressee::List contacts;
- ContactConverter converter( mSoap );
-
- std::vector<class ngwt__Item * >::const_iterator it;
- for ( it = items.begin(); it != items.end(); ++it ) {
- ngwt__Item *item = *it;
-
-#if 0
- if ( item )
- if ( item->name )
- kdDebug() << "ITEM: " << item->name->c_str() << endl;
- if ( item->id )
- kdDebug() << "ITEM: ID (" << item->id->c_str()
- << ")" << endl;
- else
- kdDebug() << "ITEM is null" << endl;
-#endif
-
- ngwt__Contact *contact = dynamic_cast<ngwt__Contact *>( item );
-
- KABC::Addressee addr = converter.convertFromContact( contact );
- if ( !addr.isEmpty() )
- contacts.append( addr );
- }
- mServer->emitGotAddressees( contacts );
-
- // now stop if we got less items than we asked for.
- if ( items.size() < READ_ADDRESS_FOLDER_CHUNK_SIZE )
- break;
- else
- mStartSequenceNumber += READ_ADDRESS_FOLDER_CHUNK_SIZE;
- }
- else if ( response.status && response.status->code == 0xD716 )
- {
- kdDebug() << "The cached address book is too old, we have to refresh the whole thing." << endl;
- mError = GroupWise::RefreshNeeded;
- return;
- }
- else
- return;
- }
-}
diff --git a/kresources/groupwise/soap/gwjobs.h b/kresources/groupwise/soap/gwjobs.h
deleted file mode 100644
index 815e6261..00000000
--- a/kresources/groupwise/soap/gwjobs.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef GROUPWISE_JOBS_H
-#define GROUPWISE_JOBS_H
-
-#include <tqobject.h>
-
-#include <string>
-
-#include <kabc/addressee.h>
-
-namespace KABC {
-class Resource;
-}
-
-namespace KCal {
-class Calendar;
-}
-
-struct ReadItemCounts {
- unsigned int appointments;
- unsigned int notes;
- unsigned int tasks;
-};
-
-class GroupwiseServer;
-
-class GWJob
-{
- public:
- GWJob( GroupwiseServer *server, struct soap *soap, const TQString &url, const std::string &session );
- int error() const { return mError; }
- protected:
- GroupwiseServer *mServer;
- struct soap *mSoap;
- TQString mUrl;
- const std::string mSession;
- int mError;
-};
-
-class ReadAddressBooksJob : public GWJob
-{
- public:
- ReadAddressBooksJob( GroupwiseServer *server, struct soap *soap,
- const TQString &url,
- const std::string &session );
-
- void setAddressBookIds( const TQStringList& );
-
- void run();
-
- protected:
- void readAddressBook( std::string& );
-
- private:
- TQStringList mAddressBookIds;
- KABC::Resource *mResource;
- int mProgress;
-};
-
-class ReadCalendarJob : public GWJob
-{
- public:
- ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const TQString &url,
- const std::string &session );
-
- void setCalendarFolder( std::string* );
- void setChecklistFolder( std::string* );
-
- void setCalendar( KCal::Calendar * );
-
- void run();
-
- protected:
- void readCalendarFolder( const std::string &id, ReadItemCounts & counts );
-
- private:
- std::string *mCalendarFolder;
- std::string *mChecklistFolder;
- KCal::Calendar *mCalendar;
-};
-
-class UpdateAddressBooksJob : public GWJob
-{
- public:
- UpdateAddressBooksJob( GroupwiseServer *server, struct soap *soap,
- const TQString &url,
- const std::string &session );
-
- /** set the address book IDs to update - at the moment this is only the System Address Book (SAB) */
- void setAddressBookIds( const TQStringList& );
-
- /**
- * set the sequence number to start reading deltas from (usually the last sequenec number
- * we have in the local copy of the System Address Book).
- */
- void setStartSequenceNumber( const unsigned long startSeqNo );
- /**
- * set the time of the last server (PO) rebuild
- */
- void setLastPORebuildTime( const unsigned long lastPORebuildTime);
-
- void run();
- protected:
- void updateAddressBook( std::string& );
-
- private:
- TQStringList mAddressBookIds;
- KABC::Resource *mResource;
- int mProgress;
- unsigned long mLastPORebuildTime;
- unsigned long mStartSequenceNumber; // first and last sequence numbers define the current state of the system addressbook
- // and are used to determine which deltas to download
-};
-
-#endif
diff --git a/kresources/groupwise/soap/incidenceconverter.cpp b/kresources/groupwise/soap/incidenceconverter.cpp
deleted file mode 100644
index 79ad94a5..00000000
--- a/kresources/groupwise/soap/incidenceconverter.cpp
+++ /dev/null
@@ -1,820 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <klocale.h>
-#include <kmdcodec.h>
-#include <libtdepim/kpimprefs.h>
-#include <libkcal/event.h>
-#include <libkcal/journal.h>
-#include <libkcal/recurrence.h>
-#include <libkcal/kcalversion.h>
-#include <kabc/stdaddressbook.h>
-#include <kabc/addressee.h>
-#include <kdebug.h>
-
-#include "incidenceconverter.h"
-
-#define GW_MAX_RECURRENCES 50
-
-IncidenceConverter::IncidenceConverter( struct soap* soap )
- : GWConverter( soap )
-{
- mTimezone = KPimPrefs::timezone();
-}
-
-void IncidenceConverter::setFrom( const TQString &name,
- const TQString &email, const TQString &uuid )
-{
- mFromName = name;
- mFromEmail = email;
- mFromUuid = uuid;
-}
-
-KCal::Event* IncidenceConverter::convertFromAppointment( ngwt__Appointment* appointment )
-{
- kdDebug() << "IncidenceConverter::convertFromAppointment()" << endl;
- if ( !appointment )
- return 0;
-
- KCal::Event *event = new KCal::Event();
-
- if ( !convertFromCalendarItem( appointment, event ) ) {
- delete event;
- return 0;
- }
-
- if ( appointment->allDayEvent && (*appointment->allDayEvent) )
- {
- event->setFloats( true );
-
- if ( appointment->startDay != 0 )
- event->setDtStart( stringToTQDate( appointment->startDay ).addDays( 1 ) );
-
- if ( appointment->endDay != 0 )
- event->setDtEnd( stringToTQDate( appointment->endDay) );
-
- kdDebug() << " all day event." << endl;
- }
- else
- {
- event->setFloats( false );
-
- if ( appointment->startDate != 0 ) {
- event->setDtStart( charToTQDateTime( appointment->startDate, mTimezone ) );
- }
-
- if ( appointment->endDate != 0 )
- event->setDtEnd( charToTQDateTime( appointment->endDate, mTimezone ) );
- }
-
- kdDebug() << "start date: " << event->dtStart() << endl;
- kdDebug() << "end date: " << event->dtEnd() << endl;
-
- if ( appointment->alarm ) {
- KCal::Alarm *alarm = event->newAlarm();
- alarm->setStartOffset( appointment->alarm->__item * -1 );
- alarm->setEnabled( appointment->alarm->enabled );
- }
-
- if ( appointment->place )
- event->setLocation( stringToTQString( appointment->place ) );
-
- if ( appointment->acceptLevel ) {
- if ( *appointment->acceptLevel == Tentative )
- event->setTransparency( KCal::Event::Transparent );
- else
- event->setTransparency( KCal::Event::Opaque );
- }
-
- return event;
-}
-
-ngwt__Appointment* IncidenceConverter::convertToAppointment( KCal::Event* event )
-{
- kdDebug() << "IncidenceConverter::convertToAppointment()" << endl;
- if ( !event )
- return 0;
-
- ngwt__Appointment* appointment = soap_new_ngwt__Appointment( soap(), -1 );
- appointment->startDate = 0;
- appointment->endDate = 0;
- appointment->startDay = 0;
- appointment->endDay = 0;
- appointment->acceptLevel = 0;
- appointment->alarm = 0;
- appointment->allDayEvent = 0;
- appointment->place = 0;
- appointment->timezone = 0;
-
- if ( !convertToCalendarItem( event, appointment ) ) {
- soap_dealloc( soap(), appointment );
- return 0;
- }
-
- if ( event->doesFloat() ) {
- bool *allDayEvent = (bool*)soap_malloc( soap(), 1 );
- (*allDayEvent ) = true;
- appointment->allDayEvent = allDayEvent;
-
- if ( event->dtStart().isValid() ) {
-/* kdDebug() << " convertToAppointment() raw start date: " << event->dtStart().toString() << endl;*/
- TQDateTime start = event->dtStart();
- start.setTime( TQTime( 0, 0, 0 ) );
- appointment->startDate = qDateTimeToChar( start, mTimezone );
- //appointment->startDay = qDateToString( event->dtStart().date()/*.addDays( -1 )*/ );
-/* kdDebug() << " converted start date: " << appointment->startDate << endl;*/
- }
- else
- kdDebug() << " event start date not valid " << endl;
- if ( event->hasEndDate() ) {
-// kdDebug() << " convertToAppointment() raw end date: " << event->dtEnd().toString() << endl;
- TQDateTime end = event->dtEnd();
- end = end.addDays( 1 );
- end.setTime( TQTime( 0, 0, 0 ) );
- appointment->endDate = qDateTimeToChar( end, mTimezone );
- //appointment->endDay = qDateToString( event->dtEnd().date() );
-// kdDebug() << " converted end date:" << appointment->endDate << endl;
- }
- else
- kdDebug() << " event end date not valid " << endl;
- } else {
- appointment->allDayEvent = 0;
-
- if ( event->dtStart().isValid() )
- appointment->startDate = qDateTimeToChar( event->dtStart(), mTimezone );
-
- if ( event->hasEndDate() )
- appointment->endDate = qDateTimeToChar( event->dtEnd(), mTimezone );
- }
-
- enum ngwt__AcceptLevel * al = (enum ngwt__AcceptLevel*)soap_malloc(soap(), sizeof(enum ngwt__AcceptLevel));
- *al = Busy;
- appointment->acceptLevel = al;
-
- KCal::Alarm::List alarms = event->alarms();
- if ( !alarms.isEmpty() ) {
- ngwt__Alarm* alarm = soap_new_ngwt__Alarm( soap(), -1 );
- alarm->__item = alarms.first()->startOffset().asSeconds() * -1;
- bool * enabled = (bool *)soap_malloc(soap(), sizeof(bool));
- *enabled = alarms.first()->enabled();
- alarm->enabled = enabled;
-
- appointment->alarm = alarm;
- } else
- appointment->alarm = 0;
-
- if ( !event->location().isEmpty() ) {
- std::string* location = qStringToString( event->location() );
-
- appointment->place = location;
- } else
- appointment->place = 0;
-
- appointment->timezone = 0;
-
- return appointment;
-}
-
-KCal::Todo* IncidenceConverter::convertFromTask( ngwt__Task* task )
-{
- if ( !task )
- return 0;
-
- KCal::Todo *todo = new KCal::Todo();
-
- if ( !convertFromCalendarItem( task, todo ) ) {
- delete todo;
- return 0;
- }
-
- if ( task->startDate ) {
- todo->setHasStartDate( true );
- todo->setDtStart( stringToTQDateTime( task->startDate ) );
- }
-
- if ( task->dueDate ) {
- todo->setHasDueDate( true );
- todo->setDtDue( stringToTQDateTime( task->dueDate ) );
- }
-
- if ( task->taskPriority ) {
- TQString priority = stringToTQString( task->taskPriority );
-
- // FIXME: Store priority string somewhere
-
- int p = priority.toInt();
- if ( p == 0 ) p = 3;
-
- todo->setPriority( p );
- }
-
- if ( task->completed )
- todo->setCompleted( *task->completed );
-
- todo->setLocation( i18n( "Novell GroupWise does not support locations for to-dos." ) );
- return todo;
-}
-
-ngwt__Task* IncidenceConverter::convertToTask( KCal::Todo* todo )
-{
- if ( !todo )
- return 0;
- ngwt__Task* task = soap_new_ngwt__Task( soap(), -1 );
- task->startDate = 0;
- task->dueDate = 0;
- task->assignedDate = 0;
- task->taskPriority = 0;
- task->completed = 0;
-
- if ( !convertToCalendarItem( todo, task ) ) {
- soap_dealloc( soap(), task );
- return 0;
- }
-
- if ( todo->dtStart().isValid() )
- task->startDate = qDateTimeToString( todo->dtStart(), mTimezone );
-
- if ( todo->hasDueDate() ) {
- task->dueDate = qDateTimeToString( todo->dtDue() );
- }
-
- // FIXME: Restore custom priorities
- TQString priority = TQString::number( todo->priority() );
- task->taskPriority = qStringToString( priority );
-
- task->completed = (bool*)soap_malloc( soap(), 1 );
- if ( todo->isCompleted() )
- (*task->completed) = true;
- else
- (*task->completed) = false;
-
- return task;
-}
-
-KCal::Journal* IncidenceConverter::convertFromNote( ngwt__Note* note)
-{
- kdDebug() << "IncidenceConverter::convertFromNote()" << endl;
- if ( !note )
- return 0;
-
- KCal::Journal *journal = new KCal::Journal();
-
- if ( !convertFromCalendarItem( note, journal ) ) {
- kdDebug() << "Couldn't convert Note to Journal!" << endl;
- delete journal;
- return 0;
- }
-
- if ( note->startDate ) {
- kdDebug() << "Journal start date is: " << note->startDate->c_str() << endl;
- journal->setDtStart( stringToTQDate( note->startDate ) );
- }
-
- return journal;
-}
-
-ngwt__Note* IncidenceConverter::convertToNote( KCal::Journal* journal )
-{
- if ( !journal )
- return 0;
- ngwt__Note* note = soap_new_ngwt__Note( soap(), -1 );
- note->startDate = 0;
-
- if ( !convertToCalendarItem( journal, note ) ) {
- soap_dealloc( soap(), note );
- return 0;
- }
-
- if ( journal->doesFloat() ) {
- if ( journal->dtStart().isValid() )
- note->startDate = qDateToString( journal->dtStart().date() );
- } else {
- if ( journal->dtStart().isValid() )
- note->startDate = qDateTimeToString( journal->dtStart(), mTimezone );
- }
-
- if ( !note->subject )
- note->subject = qStringToString( TQString("NO SUBJECT") );
- return note;
-}
-
-bool IncidenceConverter::convertToCalendarItem( KCal::Incidence* incidence, ngwt__CalendarItem* item )
-{
- kdDebug() << k_funcinfo << endl;
- //TODO: support the new iCal standard recurrence rule
-
- // ngwt__CalendarItem
- item->rdate = 0;
- item->rrule = 0;
- item->exdate = 0;
- item->recurrenceKey = 0;
- item->iCalId = 0;
- // ngwt__Mail
- item->subject = 0;
- item->originalSubject = 0;
- item->subjectPrefix = 0;
- item->distribution = 0;
- item->message = 0;
- item->attachments = 0;
- item->options = 0;
- item->link = 0;
- item->hasAttachment = false;
- item->size = 0;
- item->subType = 0;
- item->nntpOrImap = 0;
- item->smimeType = 0;
- // ngwt__BoxEntry
- item->status = 0;
- item->thread = 0;
- item->msgId = 0;
- item->messageId = 0;
- item->source = 0;
- item->returnSentItemsId = 0;
- item->delivered = 0;
- item->class_ = 0;
- item->security = 0;
- item->comment = 0;
- // ngwt__ContainerItem
- item->categories = 0;
- item->created = 0;
- item->customs = 0;
- // ngwt__Item
- item->id = 0;
- item->name = 0;
- item->version = 0;
- item->modified = 0;
- item->changes = 0;
-
- TQString id = incidence->customProperty( "GWRESOURCE", "UID" );
- if ( !id.isEmpty() ) item->id = qStringToString( id );
-
- // Container
- if ( !incidence->customProperty( "GWRESOURCE", "CONTAINER" ).isEmpty() ) {
- std::vector<ngwt__ContainerRef*>* container = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef( soap(), -1 );
- ngwt__ContainerRef* containerRef = soap_new_ngwt__ContainerRef( soap(), -1 );
- containerRef->deleted = 0;
- containerRef->__item = incidence->customProperty( "GWRESOURCE", "CONTAINER" ).utf8().data();
- container->push_back( containerRef );
-
- item->container = *container;
- }
-
- // secrecy
- item->class_ = (ngwt__ItemClass *)soap_malloc( soap(), sizeof( ngwt__ItemClass ) );
- switch ( incidence->secrecy() )
- {
- case KCal::Event::SecrecyPublic:
- *item->class_ = Public;
- break;
- case KCal::Event::SecrecyPrivate:
- *item->class_ = Private;
- break;
- case KCal::Event::SecrecyConfidential:
- *item->class_ = Private;
- break;
- }
-
- // options
- item->options = soap_new_ngwt__ItemOptions( soap(), -1 );
- item->options->concealSubject = 0;
- item->options->delayDeliveryUntil = 0;
- item->options->expires = 0;
- item->options->hidden = 0;
- item->options->priority = Standard;
-
- // summary
- if ( !incidence->summary().isEmpty() )
- item->subject = qStringToString( incidence->summary() );
-
-// TODO: reinstate when we know that this isn't causing problems with recurrence
-// if ( incidence->created().isValid() ) {
-// item->created = qDateTimeToChar( incidence->created(), mTimezone );
-// } else
-// item->created = 0;
-
-// if ( incidence->lastModified().isValid() )
-// item->modified = qDateTimeToChar( incidence->lastModified(), mTimezone );
-
- setItemDescription( incidence, item );
-
- item->source = (ngwt__ItemSource *)soap_malloc( soap(), sizeof( ngwt__ItemSource ) );
-#if 1
- if ( incidence->attendeeCount() > 0 ) {
- setAttendees( incidence, item );
- *item->source = sent_;
- }
- else
- *item->source = personal_;
-#endif
-
- setRecurrence( incidence, item );
- return true;
-}
-
-void IncidenceConverter::setAttendees( KCal::Incidence *incidence,
- ngwt__CalendarItem *item )
-{
- item->distribution = soap_new_ngwt__Distribution( soap(), -1 );
-
- item->distribution->from = soap_new_ngwt__From( soap(), -1 );
-
- // ngwt__From
- item->distribution->from->replyTo = 0;
- // ngwt__NameAndEmail
- item->distribution->from->displayName = 0;
- item->distribution->from->email = 0;
- item->distribution->from->uuid = 0;
-
- item->distribution->from->displayName = qStringToString( incidence->organizer().name() );
- item->distribution->from->email = qStringToString( incidence->organizer().email() );
-
- if ( !mFromName.isEmpty() ) item->distribution->from->displayName = qStringToString( mFromName );
- if ( !mFromEmail.isEmpty() ) item->distribution->from->email = qStringToString( mFromEmail );
- if ( !mFromUuid.isEmpty() ) item->distribution->from->uuid = qStringToString( mFromUuid );
-
- TQString to; // To list consists of display names of organizer and attendees separated by "; "
- to += incidence->organizer().name();
- item->distribution->sendoptions = soap_new_ngwt__SendOptions( soap(), -1 );
-
- item->distribution->sendoptions->requestReply = 0;
- item->distribution->sendoptions->mimeEncoding = 0;
- item->distribution->sendoptions->notification = 0;
-
- item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(),
- -1 );
-
- item->distribution->sendoptions->statusTracking->autoDelete = false;
- item->distribution->sendoptions->statusTracking->__item = All_;
-
- item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 );
- item->distribution->recipients->recipient = *( soap_new_std__vectorTemplateOfPointerTongwt__Recipient( soap(), -1 ) );
-
- KCal::Attendee::List attendees = incidence->attendees();
- KCal::Attendee::List::ConstIterator it;
- for( it = attendees.begin(); it != attendees.end(); ++it ) {
- if ( !to.isEmpty() )
- to += TQString::fromLatin1( "; %1" ).arg( (*it)->name() );
- kdDebug() << "IncidenceConverter::setAttendees(), adding " << (*it)->fullName()
- << endl;
- TQString uuid;
- TQValueList<KABC::Addressee> addList = KABC::StdAddressBook::self()->findByEmail( (*it)->email() );
- if ( !addList.first().isEmpty() )
- uuid = addList.first().custom( "GWRESOURCE", "UUID" ); //uuid may be mandatory for the recipients list to be stored on the server...
- item->distribution->recipients->recipient.push_back( createRecipient( (*it)->name(), (*it)->email(), uuid ) );
- }
- item->distribution->to = qStringToString( to );
- item->distribution->cc = 0;
- item->distribution->bc = 0;
-}
-
-ngwt__Recipient *IncidenceConverter::createRecipient( const TQString &name,
- const TQString &email, const TQString &uuid )
-{
- ngwt__Recipient *recipient = soap_new_ngwt__Recipient( soap(), -1 );
-
- recipient->recipientStatus = 0;
- if ( !uuid.isEmpty() ) recipient->uuid = qStringToString( uuid );
- else recipient->uuid = 0;
- if ( !name.isEmpty() ) {
- kdDebug() << "- recipient name: " << name << endl;
- recipient->displayName = qStringToString( name );
- } else {
- recipient->displayName = 0;
- }
- if ( !email.isEmpty() ) {
- kdDebug() << "- recipient email: " << email << endl;
- recipient->email = qStringToString( email );
- } else {
- recipient->email = 0;
- }
- recipient->distType = TO;
- recipient->recipType = User_;
- recipient->acceptLevel = 0;
- return recipient;
-}
-
-bool IncidenceConverter::convertFromCalendarItem( ngwt__CalendarItem* item,
- KCal::Incidence* incidence )
-{
- incidence->setCustomProperty( "GWRESOURCE", "UID",
- stringToTQString( item->id ) );
-
- if ( item->subject && !item->subject->empty() )
- incidence->setSummary( stringToTQString( item->subject ) );
-
- kdDebug() << "SUMMARY: " << incidence->summary() << endl;
-
- if ( item->created ) {
- kdDebug() << "item created at " << item->created << endl;
- incidence->setCreated( charToTQDateTime( item->created, mTimezone ) );
- }
- if ( item->modified != 0 ) {
- kdDebug() << "item modified at " << item->created << endl;
- incidence->setLastModified( charToTQDateTime( item->modified, mTimezone ) );
- }
-
- getItemDescription( item, incidence );
- getAttendees( item, incidence );
-
- if ( item->recurrenceKey )
- incidence->setCustomProperty( "GWRESOURCE", "RECURRENCEKEY", TQString::number( *item->recurrenceKey ) );
-
-/*
- // This must just be a very early cut at recurrence
- if ( item->rdate && item->rdate->date ) {
- std::vector<xsd__date>* dateList = item->rdate->date;
-
- std::vector<xsd__date>::const_iterator it;
- for ( it = dateList->begin(); it != dateList->end(); ++it ) {
- TQDate date = TQDate::fromString( s2q( *it ), Qt::ISODate );
- if ( date.isValid() )
- }
- }
-*/
-/*
- bool* isRecurring 0;
- std::string* iCalId 0;
-*/
-
- return true;
-}
-
-void IncidenceConverter::getItemDescription( ngwt__CalendarItem *item, KCal::Incidence *incidence )
-{
- if ( item->message ) {
-
- std::vector<ngwt__MessagePart*> parts = item->message->part;
- std::vector<ngwt__MessagePart*>::const_iterator it = parts.begin();
-
- for ( ; it != parts.end(); ++it ) {
- xsd__base64Binary data = (*it)->__item;
-
- // text/plain should be the description
- if ( stringToTQString( (*it)->contentType ) == "text/plain" ) {
- TQString description = TQString::fromUtf8( (char*)data.__ptr, data.__size );
- incidence->setDescription( description );
- kdDebug() << "Incidence description decodes to: " << description << endl;
- return;
- }
- }
- }
-}
-
-void IncidenceConverter::setItemDescription( KCal::Incidence *incidence,
- ngwt__CalendarItem *item )
-{
- if ( !incidence->description().isEmpty() ) {
- ngwt__MessageBody *message = soap_new_ngwt__MessageBody( soap(), -1 );
- message->part =
- *soap_new_std__vectorTemplateOfPointerTongwt__MessagePart( soap(), -1 );
-
- ngwt__MessagePart *part = soap_new_ngwt__MessagePart( soap(), -1 );
-
- xsd__base64Binary data;
- data.__ptr =
- (unsigned char*)qStringToChar( incidence->description().utf8() );
- data.__size = incidence->description().utf8().length();
-
- part->id = 0;
- part->__item = data;
- part->contentId = 0;
- std::string *str = soap_new_std__string( soap(), -1 );
- str->append( "text/plain" );
- part->contentType = str;
-
- part->length = 0; // this is optional and sending the actual length of the source string truncates the data.
- part->offset = 0; // optional
- message->part.push_back( part );
-
- item->message = message;
- } else
- item->message = 0;
-}
-
-void IncidenceConverter::getAttendees( ngwt__CalendarItem *item, KCal::Incidence *incidence )
-{
- kdDebug() << "IncidenceConverter::getAttendees()" << ( item->subject ? item->subject->c_str() : "no subject" )
- << endl;
-
- if ( item->distribution && item->distribution->from ) {
- kdDebug() << "-- from" << endl;
- KCal::Person organizer( stringToTQString( item->distribution->from->displayName ),
- stringToTQString( item->distribution->from->email ) );
- incidence->setOrganizer( organizer );
- }
-
- if ( item->distribution && item->distribution->recipients ) {
- kdDebug() << "-- recipients" << endl;
- std::vector<ngwt__Recipient*> recipients = item->distribution->recipients->recipient;
- std::vector<ngwt__Recipient*>::const_iterator it;
-
- for ( it = recipients.begin(); it != recipients.end(); ++it ) {
- ngwt__Recipient *recipient = *it;
- kdDebug() << "---- recipient " << recipient->email->c_str() << endl;
- KCal::Attendee *attendee = new KCal::Attendee(
- stringToTQString( recipient->displayName ),
- stringToTQString( recipient->email ) );
-
- // set our status
- if ( emailsMatch( stringToTQString(recipient->email), mFromEmail ) )
- if ( item->status->accepted )
- attendee->setStatus( ( *item->status->accepted ) ? KCal::Attendee::Accepted : KCal::Attendee::NeedsAction );
- else
- kdDebug() << "---- found ourselves, but not accepted" << endl;
- else
- kdDebug() << "---- '" << "' != '" << (qStringToString( mFromEmail ))->c_str() << "'" << endl;
-
- incidence->addAttendee( attendee );
- }
- }
-}
-
-void IncidenceConverter::setRecurrence( KCal::Incidence * incidence, ngwt__CalendarItem * item )
-{
- kdDebug() << k_funcinfo << endl;
- ngwt__Frequency * freq = 0;
- const KCal::Recurrence * recur = incidence->recurrence();
-
- if ( incidence->doesRecur() )
- {
- item->rrule = soap_new_ngwt__RecurrenceRule( soap(), -1 );
- item->rrule->frequency = 0; //
- item->rrule->count = 0;
- item->rrule->until = 0; //
- item->rrule->interval = 0; //
- item->rrule->byDay = 0;
- item->rrule->byYearDay = 0;
- item->rrule->byMonthDay = 0;
- item->rrule->byMonth = 0;
- freq = (ngwt__Frequency *)soap_malloc( soap(), sizeof( ngwt__Frequency ) );
- // interval
- if ( recur->frequency() > 1 ) {
- item->rrule->interval = (unsigned long *)soap_malloc( soap(), sizeof( unsigned long * ) );
- *item->rrule->interval = recur->frequency();
- }
- // end date
- if ( recur->duration() > 0 ) // number of recurrences. If end date is set we don't use this.
- {
- item->rrule->count = (long unsigned int *)soap_malloc( soap(), sizeof( long unsigned int * ) );
- *item->rrule->count = recur->duration();
- }
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- else if ( recur->endDateTime().isValid() )
-#else
- else if ( recur->endDate().isValid() )
-#endif
- item->rrule->until = qDateToString( recur->endDate() );
- else // GROUPWISE doesn't accept infinite recurrence so end after GW_MAX_RECURRENCES recurrences
- {
- item->rrule->count = (long unsigned int *)soap_malloc( soap(), sizeof( long unsigned int * ) );
- *item->rrule->count = GW_MAX_RECURRENCES;
- }
-
- // recurrence date - try setting it using the recurrence start date - didn't help
-/* std::string startDate;
- startDate.append( recur->recurStart().date().toString( Qt::ISODate ).utf8() );
- item->rdate = soap_new_ngwt__RecurrenceDateType( soap(), -1 );
- item->rdate->date.push_back( startDate );*/
- // exceptions list - try sending empty list even if no exceptions
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- KCal::DateList exceptions = recur->exDates();
-#else
- KCal::DateList exceptions = incidence->exDates();
-#endif
- if ( !exceptions.isEmpty() )
- {
- item->exdate = soap_new_ngwt__RecurrenceDateType( soap(), -1 );
- for ( KCal::DateList::ConstIterator it = exceptions.begin(); it != exceptions.end(); ++it )
- {
- std::string startDate;
- startDate.append( TQString((*it).toString( Qt::ISODate )).utf8() );
- item->exdate->date.push_back( startDate );
- }
- }
- }
-
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- if ( incidence->recurrenceType() == KCal::Recurrence::rDaily )
-#else
- if ( incidence->doesRecur() == KCal::Recurrence::rDaily )
-#endif
- {
- kdDebug() << "incidence recurs daily" << endl;
- *freq = Daily;
- item->rrule->frequency = freq;
- }
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- else if ( incidence->recurrenceType() == KCal::Recurrence::rWeekly )
-#else
- else if ( incidence->doesRecur() == KCal::Recurrence::rWeekly )
-#endif
- {
- kdDebug() << "incidence recurs weekly" << endl;
-#if 1 //trying out byDay recurrence
- *freq = Weekly;
- item->rrule->frequency = freq;
- // now change the bitArray of the days of the week that it recurs on to a ngwt__DayOfWeekList *
- TQBitArray ba = recur->days();
- ngwt__DayOfYearWeekList * weeklyDays = soap_new_ngwt__DayOfYearWeekList( soap(), -1 );
- for ( int i = 0; i < 7; ++i )
- {
- if ( ba[i] )
- {
- ngwt__DayOfYearWeek * day = soap_new_ngwt__DayOfYearWeek( soap(), -1 );
- day->occurrence = 0;
- switch( i )
- {
- case 0:
- day->__item = Monday;
- break;
- case 1:
- day->__item = Tuesday;
- break;
- case 2:
- day->__item = Wednesday;
- break;
- case 3:
- day->__item = Thursday;
- break;
- case 4:
- day->__item = Friday;
- break;
- case 5:
- day->__item = Saturday;
- break;
- case 6:
- day->__item = Sunday;
- break;
- }
- weeklyDays->day.push_back( day );
- }
- }
- // add the list of days to the recurrence rule
- item->rrule->byDay = weeklyDays;
-#endif
- }
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- else if ( incidence->recurrenceType() == KCal::Recurrence::rMonthlyDay )
-#else
- else if ( incidence->doesRecur() == KCal::Recurrence::rMonthlyDay )
-#endif
- {
- kdDebug() << "incidence recurs monthly" << endl;
- ;
- *freq = Monthly;
- item->rrule->frequency = freq;
-
- // TODO: translate '3rd wednesday of month' etc into rdates
- }
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- else if ( incidence->recurrenceType() == KCal::Recurrence::rYearlyDay )
-#else
- else if ( incidence->doesRecur() == KCal::Recurrence::rYearlyDay )
-#endif
- {
- kdDebug() << "incidence recurs yearly on day #" << endl;
- *freq = Yearly;
- item->rrule->frequency = freq;
- // TODO: translate '1st sunday in may'
- ngwt__DayOfYearList * daysOfYear = soap_new_ngwt__DayOfYearList( soap(), -1 );
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- TQValueList<int> rmd;
- rmd = recur->yearMonths();
- daysOfYear->day.push_back( rmd.first() );
-#else
- TQPtrList<int> rmd;
- rmd = recur->yearNums();
- daysOfYear->day.push_back( *rmd.first() );
-#endif
-
- item->rrule->byYearDay = daysOfYear;
- // no need to do MonthList recurrence as these will appear as separate instances when fetched from GW
- }
-#if LIBKCAL_IS_VERSION( 1, 3, 0 )
- else if ( incidence->recurrenceType() == KCal::Recurrence::rYearlyMonth )
-#else
- else if ( incidence->doesRecur() == KCal::Recurrence::rYearlyMonth )
-#endif
- {
- kdDebug() << "incidence recurs yearly on monthday" << endl;
- *freq = Yearly;
- item->rrule->frequency = freq;
- }
-}
diff --git a/kresources/groupwise/soap/incidenceconverter.h b/kresources/groupwise/soap/incidenceconverter.h
deleted file mode 100644
index 317562fa..00000000
--- a/kresources/groupwise/soap/incidenceconverter.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- This file is part of tdepim.
- Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KABC_GW_INCIDENCECONVERTER_H
-#define KABC_GW_INCIDENCECONVERTER_H
-
-#include <libkcal/event.h>
-#include <libkcal/todo.h>
-
-#include <time.h>
-
-#include "gwconverter.h"
-
-class ngwt__Recipient;
-
-class IncidenceConverter : public GWConverter
-{
- public:
- IncidenceConverter( struct soap* );
-
- void setFrom( const TQString &name, const TQString &email,
- const TQString &uuid );
-
- KCal::Event* convertFromAppointment( ngwt__Appointment* );
- ngwt__Appointment* convertToAppointment( KCal::Event* );
-
- KCal::Todo* convertFromTask( ngwt__Task* );
- ngwt__Task* convertToTask( KCal::Todo* );
-
- KCal::Journal* convertFromNote( ngwt__Note* note);
- ngwt__Note* convertToNote( KCal::Journal* journal );
-
- private:
- bool convertToCalendarItem( KCal::Incidence*, ngwt__CalendarItem* );
- bool convertFromCalendarItem( ngwt__CalendarItem*, KCal::Incidence* );
-
- void getItemDescription( ngwt__CalendarItem*, KCal::Incidence* );
- void setItemDescription( KCal::Incidence*, ngwt__CalendarItem* );
-
- void getAttendees( ngwt__CalendarItem*, KCal::Incidence* );
- void setAttendees( KCal::Incidence *, ngwt__CalendarItem * );
-
- void getRecurrence( ngwt__CalendarItem*, KCal::Incidence* );
- void setRecurrence( KCal::Incidence *, ngwt__CalendarItem * );
-
- // used for converting weekly recurrences from GW
-// TQBitArray getDayBitArray( ngwt__DayOfWeekList * );
-
- ngwt__Recipient *createRecipient( const TQString &name,
- const TQString &email, const TQString &uuid = TQString() );
-
- TQString mTimezone;
-
- TQString mFromName;
- TQString mFromEmail;
- TQString mFromUuid;
-};
-
-#endif
diff --git a/kresources/groupwise/soap/ksslsocket.cpp b/kresources/groupwise/soap/ksslsocket.cpp
deleted file mode 100644
index 90ccf83d..00000000
--- a/kresources/groupwise/soap/ksslsocket.cpp
+++ /dev/null
@@ -1,408 +0,0 @@
-/*
- ksslsocket.cpp - KDE SSL Socket
-
- Copyright (c) 2004 by Jason Keirstead <jason@keirstead.org>
-
- Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
-
- stolen from kopete, but this is a modified version.
-
- *************************************************************************
- * *
- * 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 of the License, or *
- * (at your option) any later version. *
- * *
- *************************************************************************
-*/
-
-#include <tqsocketnotifier.h>
-
-#include <dcopclient.h>
-#include <klocale.h>
-#include <kdebug.h>
-#include <kssl.h>
-#include <ksslinfodlg.h>
-#include <ksslpeerinfo.h>
-#include <ksslcertchain.h>
-#include <ksslcertificatecache.h>
-#include <kapplication.h>
-#include <kmessagebox.h>
-
-#include "ksslsocket.h"
-
-#include "stdlib.h"
-
-struct KSSLSocketPrivate
-{
- mutable KSSL *kssl;
- KSSLCertificateCache *cc;
- DCOPClient *dcc;
- TQMap<TQString,TQString> metaData;
- TQSocketNotifier *socketNotifier;
-};
-
-KSSLSocket::KSSLSocket() : KExtendedSocket()
-{
-// kdDebug() << "KSSLSocket() " << (void*)this << endl;
-
- d = new KSSLSocketPrivate;
- d->kssl = 0L;
- d->dcc = 0L;
- d->cc = new KSSLCertificateCache;
- d->cc->reload();
-
- //No blocking
- setBlockingMode(false);
-
- //Connect internal slots
- TQObject::connect( this, TQT_SIGNAL(connectionSuccess()), this, TQT_SLOT(slotConnected()) );
- TQObject::connect( this, TQT_SIGNAL(closed(int)), this, TQT_SLOT(slotDisconnected()) );
- TQObject::connect( this, TQT_SIGNAL(connectionFailed(int)), this, TQT_SLOT(slotDisconnected()));
-}
-
-KSSLSocket::~KSSLSocket()
-{
-// kdDebug() << "KSSLSocket()::~KSSLSocket() " << (void*)this << endl;
-
- //Close connection
- closeNow();
-
- if( d->kssl )
- {
- d->kssl->close();
- delete d->kssl;
- }
-
- if ( d->dcc )
- d->dcc->detach();
- delete d->dcc;
- delete d->cc;
- delete d;
-}
-
-TQ_LONG KSSLSocket::readBlock( char* data, TQ_ULONG maxLen )
-{
- return d->kssl->read( data, maxLen );
-}
-
-TQ_LONG KSSLSocket::writeBlock( const char* data, TQ_ULONG len )
-{
-// kdDebug() << "KSSLSocket::writeBlock() " << (void*)this << endl;
-// kdDebug() << " d->kssl: " << (void*)d->kssl << endl;
- return d->kssl->write( data, len );
-}
-
-void KSSLSocket::slotConnected()
-{
-// kdDebug() << "KSSLSocket::slotConnected() " << (void*)this << endl;
- if( KSSL::doesSSLWork() )
- {
-// kdDebug(0) << k_funcinfo << "Trying SSL connection..." << endl;
- if( !d->kssl )
- {
- d->kssl = new KSSL();
- }
- else
- {
- d->kssl->reInitialize();
- }
- d->kssl->setPeerHost(host());
-// kdDebug() << "SOCKET STATUS: " << sockeStatus() << endl;
- int rc = d->kssl->connect( sockfd );
- if ( rc <= 0 ) {
- kdError() << "Error connecting KSSL: " << rc << endl;
- kdDebug() << "SYSTEM ERROR: " << systemError() << endl;
- emit sslFailure();
- closeNow();
- } else {
- readNotifier()->setEnabled(true);
-
- if( verifyCertificate() != 1 )
- {
- closeNow();
- }
- }
- }
- else
- {
- kdError(0) << k_funcinfo << "SSL not functional!" << endl;
-
- d->kssl = 0L;
- emit sslFailure();
- closeNow();
- }
-}
-
-void KSSLSocket::slotDisconnected()
-{
-// kdDebug() << "KSSLSocket::slotDisconnected() " << (void*)this << endl;
- if( readNotifier() )
- readNotifier()->setEnabled(false);
-}
-
-void KSSLSocket::setMetaData( const TQString &key, const TQVariant &data )
-{
- TQVariant v = data;
- d->metaData[key] = v.asString();
-}
-
-bool KSSLSocket::hasMetaData( const TQString &key )
-{
- return d->metaData.contains(key);
-}
-
-TQString KSSLSocket::metaData( const TQString &key )
-{
- if( d->metaData.contains(key) )
- return d->metaData[key];
- return TQString();
-}
-
-/*
-I basically copied the below from tcpTDEIO::SlaveBase.hpp, with some modificaions and formatting.
-
- * Copyright (C) 2000 Alex Zepeda <zipzippy@sonic.net
- * Copyright (C) 2001-2003 George Staikos <staikos@kde.org>
- * Copyright (C) 2001 Dawit Alemayehu <adawit@kde.org>
-*/
-
-int KSSLSocket::messageBox( TDEIO::SlaveBase::MessageBoxType type, const TQString &text, const TQString &caption,
- const TQString &buttonYes, const TQString &buttonNo )
-{
- kdDebug(0) << "messageBox " << type << " " << text << " - " << caption << buttonYes << buttonNo << endl;
- TQByteArray data, result;
- TQCString returnType;
- TQDataStream arg(data, IO_WriteOnly);
- arg << (int)1 << (int)type << text << caption << buttonYes << buttonNo;
-
- if ( ! d->dcc ){
- d->dcc = new DCOPClient();
- d->dcc->attach();
- }
- if (!d->dcc->isApplicationRegistered("kio_uiserver"))
- {
- TDEApplication::startServiceByDesktopPath("kio_uiserver.desktop",TQStringList());
- }
-
- d->dcc->call("kio_uiserver", "UIServer",
- "messageBox(int,int,TQString,TQString,TQString,TQString)", data, returnType, result);
-
- if( returnType == "int" )
- {
- int res;
- TQDataStream r(result, IO_ReadOnly);
- r >> res;
- return res;
- }
- else
- return 0; // communication failure
-}
-
-
-// Returns 0 for failed verification, -1 for rejected cert and 1 for ok
-int KSSLSocket::verifyCertificate()
-{
- int rc = 0;
- bool permacache = false;
- bool _IPmatchesCN = false;
- int result;
- bool doAddHost = false;
- TQString ourHost = host();
- TQString ourIp = peerAddress()->pretty();
-
- TQString theurl = "https://" + ourHost + ":" + port();
-
- if (!d->cc)
- d->cc = new KSSLCertificateCache;
-
- KSSLCertificate& pc = d->kssl->peerInfo().getPeerCertificate();
-
- KSSLCertificate::KSSLValidationList ksvl = pc.validateVerbose(KSSLCertificate::SSLServer);
-
- if ( ksvl.count() == 1 && ksvl.first() == KSSLCertificate::Unknown ) {
- kdDebug() << "Unknown validation error" << endl;
- return 0;
- }
-
- _IPmatchesCN = d->kssl->peerInfo().certMatchesAddress();
-
- if (!_IPmatchesCN && (metaData("ssl_militant") == "TRUE") )
- {
- ksvl << KSSLCertificate::InvalidHost;
- }
-
- KSSLCertificate::KSSLValidation ksv = KSSLCertificate::Ok;
- if (!ksvl.isEmpty())
- ksv = ksvl.first();
-
- /* Setting the various bits of meta-info that will be needed. */
- setMetaData("ssl_cipher", d->kssl->connectionInfo().getCipher());
- setMetaData("ssl_cipher_desc", d->kssl->connectionInfo().getCipherDescription());
- setMetaData("ssl_cipher_version", d->kssl->connectionInfo().getCipherVersion());
- setMetaData("ssl_cipher_used_bits", TQString::number(d->kssl->connectionInfo().getCipherUsedBits()));
- setMetaData("ssl_cipher_bits", TQString::number(d->kssl->connectionInfo().getCipherBits()));
- setMetaData("ssl_peer_ip", ourIp );
-
- TQString errorStr;
- for(KSSLCertificate::KSSLValidationList::ConstIterator it = ksvl.begin();
- it != ksvl.end(); ++it)
- {
- errorStr += TQString::number(*it)+":";
- }
-
- setMetaData("ssl_cert_errors", errorStr);
- setMetaData("ssl_peer_certificate", pc.toString());
-
- if (pc.chain().isValid() && pc.chain().depth() > 1)
- {
- TQString theChain;
- TQPtrList<KSSLCertificate> chain = pc.chain().getChain();
- for (KSSLCertificate *c = chain.first(); c; c = chain.next())
- {
- theChain += c->toString();
- theChain += "\n";
- }
- setMetaData("ssl_peer_chain", theChain);
- }
- else
- {
- setMetaData("ssl_peer_chain", "");
- }
-
- setMetaData("ssl_cert_state", TQString::number(ksv));
-
- if (ksv == KSSLCertificate::Ok)
- {
- rc = 1;
- setMetaData("ssl_action", "accept");
- }
-
- // Since we're the parent, we need to teach the child.
- setMetaData("ssl_parent_ip", ourIp );
- setMetaData("ssl_parent_cert", pc.toString());
-
- // - Read from cache and see if there is a policy for this
- KSSLCertificateCache::KSSLCertificatePolicy cp = d->cc->getPolicyByCertificate(pc);
- // - validation code
- if (ksv != KSSLCertificate::Ok)
- {
- if( cp == KSSLCertificateCache::Unknown || cp == KSSLCertificateCache::Ambiguous)
- {
- cp = KSSLCertificateCache::Prompt;
- }
- else
- {
- // A policy was already set so let's honor that.
- permacache = d->cc->isPermanent(pc);
- }
-
- if (!_IPmatchesCN && (metaData("ssl_militant") == "TRUE")
- && cp == KSSLCertificateCache::Accept)
- {
- cp = KSSLCertificateCache::Prompt;
- }
-
- // Precondition: cp is one of Reject, Accept or Prompt
- switch (cp)
- {
- case KSSLCertificateCache::Accept:
- rc = 1;
- break;
-
- case KSSLCertificateCache::Reject:
- rc = -1;
- break;
-
- case KSSLCertificateCache::Prompt:
- {
- do
- {
- if (ksv == KSSLCertificate::InvalidHost)
- {
- TQString msg = i18n("The IP address of the host %1 "
- "does not match the one the "
- "certificate was issued to.");
- result = messageBox( TDEIO::SlaveBase::WarningYesNoCancel,
- msg.arg(ourHost),
- i18n("Server Authentication"),
- i18n("&Details"),
- KStdGuiItem::cont().text() );
- }
- else
- {
- TQString msg = i18n("The server certificate failed the "
- "authenticity test (%1).");
- result = messageBox( TDEIO::SlaveBase::WarningYesNoCancel,
- msg.arg(ourHost),
- i18n("Server Authentication"),
- i18n("&Details"),
- KStdGuiItem::cont().text() );
- }
- }
- while (result == KMessageBox::Yes);
-
- if (result == KMessageBox::No)
- {
- rc = 1;
- cp = KSSLCertificateCache::Accept;
- doAddHost = true;
- result = messageBox( TDEIO::SlaveBase::WarningYesNo,
- i18n("Would you like to accept this "
- "certificate forever without "
- "being prompted?"),
- i18n("Server Authentication"),
- i18n("&Forever"),
- i18n("&Current Sessions Only"));
- if (result == KMessageBox::Yes)
- permacache = true;
- else
- permacache = false;
- }
- else
- {
- rc = -1;
- cp = KSSLCertificateCache::Prompt;
- }
-
- break;
- }
- default:
- kdDebug(0) << "SSL error in cert code."
- << endl;
- break;
- }
- }
-
- // - cache the results
- d->cc->addCertificate(pc, cp, permacache);
- if (doAddHost)
- d->cc->addHost(pc, ourHost);
-
-
- if (rc == -1)
- return rc;
-
- if ( getenv("DEBUG_GW_RESOURCE") ) {
- kdDebug(0) << "SSL connection information follows:" << endl
- << "+-----------------------------------------------" << endl
- << "| Cipher: " << d->kssl->connectionInfo().getCipher() << endl
- << "| Description: " << d->kssl->connectionInfo().getCipherDescription() << endl
- << "| Version: " << d->kssl->connectionInfo().getCipherVersion() << endl
- << "| Strength: " << d->kssl->connectionInfo().getCipherUsedBits()
- << " of " << d->kssl->connectionInfo().getCipherBits()
- << " bits used." << endl
- << "| PEER:" << endl
- << "| Subject: " << d->kssl->peerInfo().getPeerCertificate().getSubject() << endl
- << "| Issuer: " << d->kssl->peerInfo().getPeerCertificate().getIssuer() << endl
- << "| Validation: " << (int)ksv << endl
- << "| Certificate matches IP: " << _IPmatchesCN << endl
- << "+-----------------------------------------------"
- << endl;
- }
- return rc;
-}
-
-
-#include "ksslsocket.moc"
diff --git a/kresources/groupwise/soap/ksslsocket.h b/kresources/groupwise/soap/ksslsocket.h
deleted file mode 100644
index c19b440a..00000000
--- a/kresources/groupwise/soap/ksslsocket.h
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#ifndef _K_SSL_SOCKET_H_
-#define _K_SSL_SOCKET_H_
-
-/*
- ksslsocket.h - KDE SSL Socket
-
- Copyright (c) 2004 by Jason Keirstead <jason@keirstead.org>
-
- Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
-
- *************************************************************************
- * *
- * 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 of the License, or *
- * (at your option) any later version. *
- * *
- *************************************************************************
-*/
-
-#include <tqvariant.h>
-#include <kextsock.h>
-#include <kio/slavebase.h>
-
-class KSSLSocketPrivate;
-
-class KSSLSocket : public KExtendedSocket
-{
- Q_OBJECT
-
-
- public:
- KSSLSocket();
- ~KSSLSocket();
-
- TQ_LONG readBlock( char* data, TQ_ULONG maxLen );
- TQ_LONG writeBlock( const char* data, TQ_ULONG len );
-
- signals:
- void sslFailure();
-
- private slots:
- void slotConnected();
- void slotDisconnected();
-
- private:
- int verifyCertificate();
- int messageBox( TDEIO::SlaveBase::MessageBoxType type, const TQString &text,
- const TQString &caption, const TQString &buttonYes, const TQString &buttonNo );
-
-
- //Copied frm tcpslavebase to simply integrating their dialog function
- void setMetaData( const TQString &, const TQVariant & );
- bool hasMetaData( const TQString & );
- TQString metaData( const TQString & );
-
- KSSLSocketPrivate *d;
-};
-
-#endif
diff --git a/kresources/groupwise/soap/methods.xsd b/kresources/groupwise/soap/methods.xsd
deleted file mode 100644
index cfc24d85..00000000
--- a/kresources/groupwise/soap/methods.xsd
+++ /dev/null
@@ -1,1429 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--
-================================================================================
-File: methods.xsd
-
-Copyright (c) 2005-2006 Novell, Inc. All Rights Reserved.
-
-Use and redistribution of this work is subject to the developer license
-agreement through which this work is made available. Pursuant to that license
-agreement, Novell hereby grants You a royalty-free, non-exclusive license to
-include Novell's sample code in Your product(s) that interoperate with the
-applicable Novell product, and worldwide distribution rights to market,
-distribute, or sell Novell's sample code as a component of Your product.
-
-THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NOVELL OR THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
-OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
-
-
-Alternatively, the contents of this file may be used under the terms of
-GNU General Public License Version 2 (the "GPL") as explained below.
-If you wish to allow use of your version of this file only under the terms
-of the GPL, and not to allow others to use your version of this file under
-the provisions appearing above, indicate your decision by deleting the
-provisions above and replace them with the notice and other provisions required
-by the GPL. If you do not delete the provisions above, a recipient may use
-your version of this file under the above provisions of the GPL.
-
-
-This file is free software; you can redistribute it and/or modify it under the
-terms of version 2 of the GNU General Public License as published by the
-Free Software Foundation. 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, contact Novell, Inc.
-
-To contact Novell about this file by physical or electronic mail, you may find
-current contact information at www.novell.com.
-================================================================================
---><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.novell.com/2005/01/GroupWise/methods" elementFormDefault="qualified" xmlns="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <xs:import namespace="http://schemas.novell.com/2005/01/GroupWise/types" schemaLocation="types.xsd"/>
-
- <xs:element name="acceptRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- <xs:element name="comment" type="xs:string" nillable="1"/>
- <xs:element name="acceptLevel" type="types:AcceptLevel" nillable="1"/>
- <xs:element name="recurrenceAllInstances" type="xs:unsignedInt" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="acceptResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="acceptShareRequest">
- <xs:annotation>
- <xs:documentation>
- If name is not present, the original name value from the
- notification message will be used.
- A container is requied for accepting a shared folder notification.
- It is the container id of the parent folder under which the new
- folder will be placed.
- If container is not present, the shared folder will be put
- under the Cabinet folder.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="name" type="xs:string" minOccurs="0"/>
- <xs:element name="container" type="types:uid" minOccurs="0"/>
- <xs:element ref="types:description" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="acceptShareResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addItemRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addItemsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addMembersRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="members" type="types:GroupMemberList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addMembersResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="closeFreeBusySessionRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="freeBusySessionId" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="closeFreeBusySessionResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="completeRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="completeResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createCursorRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="view" type="types:View" minOccurs="0"/>
- <xs:element name="filter" type="types:Filter" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createCursorResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="cursor" type="xs:int" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createItemRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item"/>
- <xs:element name="notification" type="types:SharedFolderNotification" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createItemsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createJunkEntryRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="entry" type="types:JunkEntry"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createJunkEntryResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createProxyAccessRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="entry" type="types:AccessRightEntry"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createProxyAccessResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createSignatureRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="signature" type="types:Signature"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="createSignatureResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="declineRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- <xs:element name="comment" type="xs:string" nillable="1"/>
- <xs:element name="recurrenceAllInstances" type="xs:unsignedInt" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="declineResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="delegateRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="commentToOrganizer" type="xs:string" nillable="1"/>
- <xs:element name="commentToDelegatee" type="xs:string" nillable="1"/>
- <xs:element name="distribution" type="types:Distribution"/>
- <xs:element name="recurrenceAllInstances" type="xs:unsignedInt" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="delegateResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="destroyCursorRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="cursor" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="destroyCursorResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="executeRuleRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="executeRuleResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="forwardRequest">
- <xs:annotation>
- <xs:documentation>
- Forwarding a message is a two step process.
- First you call the method with the id of the original item.
- A new mail item is returned.
- It has the orignal subject.
- The caller is responsible to prepend "Fwd:" or what ever they
- want to modify the original subject.
- If the caller wants the original message body returned, they need
- to supply message or message/RTF in the view.
- It is up to the caller to modify the message body in any way.
- When all of the changes to the returned mail item are complete,
- the caller would then call sendRequest with the new mail item.
- A linkInfo element is return in the mail item. That element needs
- to be passed unchanged in the sendRequest.
- If the caller wants to send the original item as an attachment to
- the new mail item, the caller would pass the 'embed' element in the
- forwardRequest.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- <xs:element name="embed" type="xs:boolean" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="forwardResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getAddressBookListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getAddressBookListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="books" type="types:AddressBookList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getAttachmentRequest">
- <xs:annotation>
- <xs:documentation>
- This work only for file attachments.
- If you try to specify an embedded item, you will get an error.
- If you specify offset = 0 and length = -1,
- you will receive the whole attachment.
- You can supply other values for offset and length to receive
- a part of the attachment.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="offset" type="xs:int"/>
- <xs:element name="length" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getAttachmentResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="part" type="types:MessagePart" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getCategoryListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getCategoryListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="categories" type="types:CategoryList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getCustomListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getCustomListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="customs" type="types:CustomList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDeltasRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:documentation>
- container: The only valid container at this time is the GroupWise System Address book uid.
- view: This is the view for the items that are returned.
- </xs:documentation>
- </xs:annotation>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- <xs:element name="deltaInfo" type="types:DeltaInfo"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDeltasResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:Items" minOccurs="0"/>
- <xs:element name="deltaInfo" type="types:DeltaInfo"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDeltaInfoRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:documentation>
- The only valid container at this time is the GroupWise System Address book uid.
- </xs:documentation>
- </xs:annotation>
- <xs:element name="container" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDeltaInfoResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="deltaInfo" type="types:DeltaInfo"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDocumentTypeListRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="library" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getDocumentTypeListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:DocumentTypeList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFolderRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0"/>
- <xs:element name="folderType" type="types:FolderType" minOccurs="0"/>
- <xs:element name="types" type="types:MessageTypeList" minOccurs="0"/>
- <xs:element name="source" type="types:ItemSourceList" minOccurs="0"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFolderResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="folder" type="types:Folder" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFolderListRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="parent" type="types:uid"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- <xs:element name="recurse" type="xs:boolean"/>
- <xs:element name="imap" type="xs:boolean" default="0"/>
- <xs:element name="nntp" type="xs:boolean" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFolderListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="folders" type="types:FolderList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFreeBusyRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="freeBusySessionId" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getFreeBusyResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="freeBusyStats" type="types:FreeBusyStats" minOccurs="0"/>
- <xs:element name="freeBusyInfo" type="types:FreeBusyInfoList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getItemRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getItemsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid" minOccurs="0"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- <xs:element name="filter" type="types:Filter" nillable="1"/>
- <xs:element name="items" type="types:ItemRefList" minOccurs="0" maxOccurs="1"/>
- <xs:element name="count" type="xs:int" default="-1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:Items" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getJunkEntriesRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:JunkHandlingListType" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getJunkEntriesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="junk" type="types:JunkHandlingList" minOccurs="0"/>
- <xs:element name="block" type="types:JunkHandlingList" minOccurs="0"/>
- <xs:element name="trust" type="types:JunkHandlingList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getJunkMailSettingsRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getJunkMailSettingsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="settings" type="types:SettingsList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getLibraryItemRequest">
- <xs:annotation>
- <xs:documentation>
- This method will get a library, document or version object
- depending on the arguments passed in.
- versionNumber is a string.
- It can take "current", "official" or a specific version number.
- To get a version object, you must also supply a document number.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="library" type="types:uid"/>
- <xs:element name="documentNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="versionNumber" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getLibraryItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getLibraryListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getLibraryListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="libraries" type="types:LibraryList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getQuickMessagesRequest">
- <xs:annotation>
- <xs:documentation>
- This method provides a quicker access to mail items.
- It does this by only access fields that are stored in the
- database index. The fields in the index are: id, status, modified,
- container, message type, categories, subject, orignalSubject, and
- source.
- The New list is the fastest access.
- The Modified list is slower.
- The All list is the slowest.
- If you pass a startDate, the test is for any item that is newer
- or equal to that date.
- If you don't pass a container string. The query will be across
- all folders.
- If you don't pass a types list, the query will be for all message
- types unless the container is the Calendar folder. In that case
- the default will be "CalendarItem. "CalendarItem" is a special
- case it represents Appointment, Note and Task.
- You can select the source types you want to see. If you don't
- specify a source, you will get received, draft and personal.
- If you don't specify a view, the above fields will be returned.
- If you specify other fields than the above fields, they will not
- be returned.
- You can restrict the number of items return by specifying a count.
- All items will be returned if no count is given.
- In the case of searching for items, the new startDate will be
- returned for use in the next call to getQuickMessagesRequest.
- The startDate is the time value before this read was performed.
-
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="list" type="types:MessageList"/>
- <xs:element ref="types:startDate" minOccurs="0"/>
- <xs:element name="container" type="types:uid" minOccurs="0"/>
- <xs:element name="types" type="types:MessageTypeList" minOccurs="0"/>
- <xs:element name="source" type="types:ItemSourceList" minOccurs="0"/>
- <xs:element name="view" type="types:View" minOccurs="0"/>
- <xs:element name="count" type="xs:int" default="-1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getQuickMessagesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="types:startDate" minOccurs="0"/>
- <xs:element name="items" type="types:Items" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getProxyAccessListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getProxyAccessListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="accessRights" type="types:AccessRightList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getProxyListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getProxyListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="proxies" type="types:ProxyList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getRuleListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getRuleListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="rules" type="types:RuleList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getSettingsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="xs:string" minOccurs="0" nillable="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getSettingsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="settings" type="types:Settings" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getSignaturesRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="global" type="xs:boolean" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getSignaturesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="signatures" type="types:Signatures" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getTimestampRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="backup" type="xs:boolean" minOccurs="0"/>
- <xs:element name="retention" type="xs:boolean" minOccurs="0"/>
- <xs:element name="noop" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getTimestampResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="backup" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="retention" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getTimezoneListRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="getTimezoneListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="timezones" type="types:TimezoneList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getUserListRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" type="xs:string" minOccurs="0"/>
- <xs:element name="key" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getUserListResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="users" type="types:UserList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="loginRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="auth" type="types:Authentication"/>
- <xs:element name="language" type="xs:language"/>
- <xs:element name="version" type="xs:decimal"/>
- <xs:element name="application" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="loginResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="session" type="xs:string" minOccurs="0"/>
- <xs:element name="userinfo" type="types:UserInfo" minOccurs="0"/>
- <xs:element name="entry" type="types:AccessRightEntry" minOccurs="0"/>
- <xs:element name="gwVersion" type="xs:string" minOccurs="0"/>
- <xs:element name="build" type="xs:string" minOccurs="0"/>
- <xs:element name="redirectToHost" type="types:Host" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="serverUTCTime" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="logoutRequest">
- <xs:complexType/>
- </xs:element>
- <xs:element name="logoutResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markPrivateRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markPrivateResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markReadRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markReadResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markUnPrivateRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markUnPrivateResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markUnReadRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="markUnReadResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyItemRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="notification" type="types:SharedFolderNotification" minOccurs="0"/>
- <xs:element name="updates" type="types:ItemChanges"/>
- <xs:element name="recurrenceAllInstances" type="xs:unsignedInt" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="types:modified" minOccurs="0"/>
- <xs:element name="id" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyItemsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:ModifyItem" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="types:modified" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="id" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyJunkEntryRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="entry" type="types:JunkEntry"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyJunkEntryResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyJunkMailSettingsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="settings" type="types:SettingsList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyJunkMailSettingsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyPasswordRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="old" type="xs:string" minOccurs="0"/>
- <xs:element name="new" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyPasswordResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyProxyAccessRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="updates" type="types:AccessRightChanges"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifyProxyAccessResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifySettingsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="settings" type="types:SettingsList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifySettingsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifySignaturesRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="updates" type="types:Signatures"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="modifySignaturesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="moveItemRequest">
- <xs:annotation>
- <xs:documentation>
- This method will link (copy) or move items into the container.
- To do a link (copy) do not supply a from container.
- To move item(s) from one container to another supply the from
- container id.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="from" type="types:uid" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="moveItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="positionCursorRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="cursor" type="xs:int"/>
- <xs:element name="seek" type="types:CursorSeek"/>
- <xs:element name="offset" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="positionCursorResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="purgeDeletedItemsRequest">
- <xs:annotation>
- <xs:documentation>
- This method permanently deletes all items that were previously
- marked for deletion (i.e. stored in the "Trash").
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence/>
- </xs:complexType>
- </xs:element>
- <xs:element name="purgeDeletedItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="purgeRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="purgeResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="readCursorRequest">
- <xs:annotation>
- <xs:documentation>
- If "start" or "end" is passed in "position", the value for "forward"
- is ignored.
- "start" will read from the start of the database going forward.
- "end" will read from the end of the database going backward.
- If you are making multiple calls to readCursorRequest, "position"
- should either be "current" or not present after the first call.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="cursor" type="xs:int"/>
- <xs:element name="forward" type="xs:boolean" default="1"/>
- <xs:element name="position" type="types:CursorSeek" nillable="1" default="current"/>
- <xs:element name="count" type="xs:int" nillable="1" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="readCursorResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemList" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeCustomDefinitionRequest">
- <xs:annotation>
- <xs:documentation>
- This method remove the custom field defintion not the field and
- values within an item.
- To delete custom defintions from personal address book entries, set
- books = "1", else the definition will be deleted from mail items.
- This method can take a long time to execute.
- You can set doAsynchronous to have the custom field definition
- removed in the background.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="customs" type="types:CustomList" minOccurs="0"/>
- <xs:element name="books" type="xs:boolean" default="0"/>
- <xs:element name="doAsynchronous" type="xs:boolean" default="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeCustomDefinitionResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeItemRequest">
- <xs:annotation>
- <xs:documentation>
- If the container is not specified then the item is
- removed from all of the containers that it is linked
- to and is stored in the "Trash".
- If the container is specified then the item is only
- removed from that specific container and it's link
- is stored in the "Trash".
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid" nillable="1"/>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeItemsRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeItemsResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeJunkEntryRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeJunkEntryResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeMembersRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="container" type="types:uid"/>
- <xs:element name="members" type="types:GroupMemberList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeMembersResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeProxyAccessRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeProxyAccessResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="removeProxyUserRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeProxyUserResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="removeSignatureRequest">
- <xs:annotation>
- <xs:documentation>
- The signature will be purged when remove
- request completed. The missing id node
- when it is not delete all signatures
- indicates the removing of plain text signature
- which resides in user's settings record.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0"/>
- <xs:element name="all" type="xs:boolean" minOccurs="0"/>
- <xs:element name="global" type="xs:boolean" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="removeSignatureResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="replyRequest">
- <xs:annotation>
- <xs:documentation>
- Replying to a message is a two step process.
- First you call the method with the id of the original item.
- A new mail item is returned.
- It has the orignal subject.
- The caller is responsible to prepend "Re:" or what ever they
- want to modify the original subject.
- If the caller wants the original message body returned, they need
- to supply message or message/RTF in the view.
- It is up to the caller to modify the message body in any way.
- When all of the changes to the returned mail item are complete,
- the caller would then call sendRequest with the new mail item.
- If the caller wants to reply to all recipeints of the original
- item, the caller needs to pass recipients in the view.
- If recipients is not in the view, the response will be addressed
- to the original sender.
- A linkInfo element is return in the mail item. That element needs
- to be passed unchanged in the sendRequest.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="view" type="types:View" nillable="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="replyResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="retractRequest">
- <xs:annotation>
- <xs:documentation>
- If a recipient has opened or accepted a Calendar item, a notice
- will be placed in the recipient's in-box when the item is
- retracted. The notice can be affected by the following options:
-
- "comment": The comment will be included in the notice.
- "retractCausedByResend": When TRUE, the notice will be suppressed
- in lieu of the 'new' calendar item that will be delivered to
- the recipient.
- "retractingAllInstances": When TRUE, a single notice will be
- placed in the recipient's in-box (instead of a notice for each auto-date
- instance).
-
- If no retractType is specified, the default is recipientMailboxes.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- <xs:element name="comment" type="xs:string" minOccurs="0" nillable="1"/>
- <xs:element name="retractingAllInstances" type="xs:boolean" minOccurs="0" default="0"/>
- <xs:element name="retractCausedByResend" type="xs:boolean" minOccurs="0" default="0"/>
- <xs:element name="retractType" type="types:RetractType" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="retractResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="sendItemRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item" type="types:Item"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="sendItemResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="setTimestampRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="backup" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="retention" type="xs:dateTime" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="setTimestampResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="startFreeBusySessionRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="users" type="types:FreeBusyUserList"/>
- <xs:element name="startDate" type="xs:dateTime"/>
- <xs:element name="endDate" type="xs:dateTime"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="startFreeBusySessionResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="freeBusySessionId" type="xs:int" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="unacceptRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="unacceptResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="uncompleteRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="items" type="types:ItemRefList"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="uncompleteResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="updateVersionStatusRequest">
- <xs:annotation>
- <xs:documentation>
- The only version event types support are:
- checkIn
- checkOut
- resetStatus
- viewed
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="types:uid"/>
- <xs:element name="event" type="types:VersionEventType"/>
- <xs:element name="part" type="types:SignatureData" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="updateVersionStatusResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="part" type="types:SignatureData" minOccurs="0"/>
- <xs:element name="status" type="types:Status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema> \ No newline at end of file
diff --git a/kresources/groupwise/soap/patches/README b/kresources/groupwise/soap/patches/README
deleted file mode 100644
index 17e91cb8..00000000
--- a/kresources/groupwise/soap/patches/README
+++ /dev/null
@@ -1,32 +0,0 @@
-gSoap Patches
-=============
-
-This directory contains patches for gSoap required to make the GroupWise
-resource work with the real existing GroupWise server. They are already included
-in the gSoap or gSoap generated files in CVS, so if you don't create the stubs
-yourself or want to upgrade the gSoap version you don't have to care about these
-patches.
-
-Patch descriptions
-------------------
-
-broken_namespace.diff:
-
- The GroupWise server doesn't correctly declare the default namespace. This
- patch disables the namespace checking for the GroupWise namespace ns1.
-
-utf8_entities.diff:
-
- gSoap encodes utf8 characters as XML entities, but the server doesn't seem to
- be able to decode them. This patch makes gSoap send unencoded utf8 characters.
-
-type_typo.diff
-
- Some intermediate versions of GroupWise have a typo in the protocol. This
- patch works around it.
-
-socklen.diff:
-
- Adriaan de Groot <groot@kde.org>: The attached patch is needed for me to get
- kresources/groupwise/soap/stdsoap2.cpp to build -- it's the pretty usual
- socklen_t type mixups (that are only serious on 64-bitters).
diff --git a/kresources/groupwise/soap/patches/broken_namespace.diff b/kresources/groupwise/soap/patches/broken_namespace.diff
deleted file mode 100644
index 46c5eee4..00000000
--- a/kresources/groupwise/soap/patches/broken_namespace.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- /build/progs/gsoap-linux-2.7/stdsoap2.cpp 2004-10-10 20:33:26.000000000 +0200
-+++ ../stdsoap2.cpp 2004-10-25 15:44:05.707573480 +0200
-@@ -2249,10 +2249,15 @@
- SOAP_FMAC1
- int
- SOAP_FMAC2
--soap_match_tag(struct soap *soap, const char *tag1, const char *tag2)
-+soap_match_tag(struct soap *soap, const char *tag1, const char *tag2_)
- { register const char *s, *t;
-- if (!tag1 || !tag2 || !*tag2)
-+ if (!tag1 || !tag2_ || !*tag2_)
- return SOAP_OK;
-+
-+ const char *tag2;
-+ if ( strncmp( tag2_, "ns1:", 4 ) == 0 ) tag2 = tag2_ + 4;
-+ else tag2 = tag2_;
-+
- s = strchr(tag1, ':');
- t = strchr(tag2, ':');
- if (t)
diff --git a/kresources/groupwise/soap/patches/socklen.diff b/kresources/groupwise/soap/patches/socklen.diff
deleted file mode 100644
index 74c2bbce..00000000
--- a/kresources/groupwise/soap/patches/socklen.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: soap/stdsoap2.cpp
-===================================================================
-RCS file: /home/kde/tdepim/kresources/groupwise/soap/stdsoap2.cpp,v
-retrieving revision 1.3
-diff -u -3 -p -r1.3 stdsoap2.cpp
---- soap/stdsoap2.cpp 3 Dec 2004 17:15:43 -0000 1.3
-+++ soap/stdsoap2.cpp 6 Dec 2004 21:27:25 -0000
-@@ -3072,7 +3072,7 @@ tcp_connect(struct soap *soap, const cha
- #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
- int n = sizeof(struct sockaddr_in);
- #else
-- size_t n = sizeof(struct sockaddr_in);
-+ kde_socklen_t n = sizeof(struct sockaddr_in);
- #endif
- fd_set fds;
- if (soap->connect_timeout > 0)
-@@ -3503,7 +3503,10 @@ tcp_accept(struct soap *soap, int s, str
- #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
- fd = (int)accept((SOAP_SOCKET)s, a, n);
- #else
-- fd = (int)accept((SOAP_SOCKET)s, a, (size_t*)n);
-+ kde_socklen_t n_size = 0;
-+ if (n) n_size = *n;
-+ fd = (int)accept((SOAP_SOCKET)s, a, &n_size);
-+ if (n) *n = n_size;
- #endif
- #ifdef SOCKET_CLOSE_ON_EXEC
- #ifdef WIN32
diff --git a/kresources/groupwise/soap/patches/type_typo.diff b/kresources/groupwise/soap/patches/type_typo.diff
deleted file mode 100644
index 6e0f4792..00000000
--- a/kresources/groupwise/soap/patches/type_typo.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: soap/soapC.cpp
-===================================================================
-RCS file: /home/kde/tdepim/kresources/groupwise/soap/soapC.cpp,v
-retrieving revision 1.4.2.3
-diff -u -3 -p -r1.4.2.3 soapC.cpp
---- soap/soapC.cpp 25 Oct 2004 13:58:20 -0000 1.4.2.3
-+++ soap/soapC.cpp 29 Oct 2004 11:25:22 -0000
-@@ -6337,6 +6337,7 @@ static const struct soap_code_map soap_c
- { { (long)User, "User" },
- { (long)PersonalGroup, "PersonalGroup" },
- { (long)SystemGroup, "SystemGroup" },
-+ { (long)SystemGroup, "SsytemGroup" },
- { (long)PersonalGroupMember, "PersonalGroupMember" },
- { (long)SystemGroupMember, "SystemGroupMember" },
- { 0, NULL }
diff --git a/kresources/groupwise/soap/patches/utf8_entities.diff b/kresources/groupwise/soap/patches/utf8_entities.diff
deleted file mode 100644
index b8600a9d..00000000
--- a/kresources/groupwise/soap/patches/utf8_entities.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- kresources/groupwise/soap/stdsoap2.cpp
-+++ kresources/groupwise/soap/stdsoap2.cpp 2004/10/15 12:42:53
-@@ -6470,7 +6470,11 @@
- }
- #endif
- if (c & mask)
-- { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, (unsigned char)c))
-+ {
-+ char S[2];
-+ S[0] = c;
-+ S[1] = 0;
-+ if (soap_send_raw(soap, s, t - s - 1) || soap_send(soap, S) )
- return soap->error;
- s = t;
- }
diff --git a/kresources/groupwise/soap/soapC.cpp b/kresources/groupwise/soap/soapC.cpp
deleted file mode 100644
index 6decf59f..00000000
--- a/kresources/groupwise/soap/soapC.cpp
+++ /dev/null
@@ -1,96391 +0,0 @@
-/* soapC.cpp
- Generated by gSOAP 2.7.3 from ./groupwise.h
- Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This part of the software is released under one of the following licenses:
- GPL, the gSOAP public license, or Genivia's license for commercial use.
-*/
-
-#include "soapH.h"
-
-SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.7.3 2006-05-18 13:53:47 GMT")
-
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
-{
- if (soap->header)
- soap_serialize_SOAP_ENV__Header(soap, soap->header);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
-{
- if (soap->header)
- { soap->part = SOAP_IN_HEADER;
- soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, NULL);
- soap->part = SOAP_END_HEADER;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap)
-{
- soap->part = SOAP_IN_HEADER;
- soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", NULL, NULL);
- soap->part = SOAP_END_HEADER;
- return soap->header == NULL;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
-{
- if (!soap->fault)
- { soap->fault = (struct SOAP_ENV__Fault*)soap_malloc(soap, sizeof(struct SOAP_ENV__Fault));
- soap_default_SOAP_ENV__Fault(soap, soap->fault);
- }
- if (soap->version != 1 && !soap->fault->SOAP_ENV__Code)
- { soap->fault->SOAP_ENV__Code = (struct SOAP_ENV__Code*)soap_malloc(soap, sizeof(struct SOAP_ENV__Code));
- soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code);
- }
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
-{
- if (soap->fault)
- soap_serialize_SOAP_ENV__Fault(soap, soap->fault);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap)
-{
- if (soap->fault)
- return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", NULL);
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap)
-{
- return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL;
-}
-
-SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
-{
- soap_fault(soap);
- if (soap->version == 2)
- return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
- return (const char**)&soap->fault->faultcode;
-}
-
-SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
-{
- soap_fault(soap);
- if (soap->version == 2)
- return (const char**)&soap->fault->SOAP_ENV__Reason;
- return (const char**)&soap->fault->faultstring;
-}
-
-SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
-{
- soap_fault(soap);
- if (soap->version == 1)
- { if (!soap->fault->detail)
- { soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
- soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
- }
- return (const char**)&soap->fault->detail->__any;
- }
- if (!soap->fault->SOAP_ENV__Detail)
- { soap->fault->SOAP_ENV__Detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
- soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
- }
- return (const char**)&soap->fault->SOAP_ENV__Detail->__any;
-}
-
-#endif
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
-{
- int t;
- for (;;)
- if (!soap_getelement(soap, &t))
- if (soap->error || soap_ignore_element(soap))
- break;
- if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF)
- soap->error = SOAP_OK;
- return soap->error;
-}
-#endif
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id)))
- *type = soap_lookup_type(soap, soap->href);
- switch (*type)
- {
- case SOAP_TYPE_ngwt__DayOfMonth:
- return soap_in_ngwt__DayOfMonth(soap, NULL, NULL, "ngwt:DayOfMonth");
- case SOAP_TYPE_byte:
- return soap_in_byte(soap, NULL, NULL, "xsd:byte");
- case SOAP_TYPE_ngwt__WeekOfYear:
- return soap_in_ngwt__WeekOfYear(soap, NULL, NULL, "ngwt:WeekOfYear");
- case SOAP_TYPE_ngwt__DayOfYear:
- return soap_in_ngwt__DayOfYear(soap, NULL, NULL, "ngwt:DayOfYear");
- case SOAP_TYPE_short:
- return soap_in_short(soap, NULL, NULL, "xsd:short");
- case SOAP_TYPE_ngwt__GMTOffset:
- return soap_in_ngwt__GMTOffset(soap, NULL, NULL, "ngwt:GMTOffset");
- case SOAP_TYPE_int:
- return soap_in_int(soap, NULL, NULL, "xsd:int");
- case SOAP_TYPE_long:
- return soap_in_long(soap, NULL, NULL, "xsd:long");
- case SOAP_TYPE_ngwt__Month:
- return soap_in_ngwt__Month(soap, NULL, NULL, "ngwt:Month");
- case SOAP_TYPE_ngwt__Minute:
- return soap_in_ngwt__Minute(soap, NULL, NULL, "ngwt:Minute");
- case SOAP_TYPE_ngwt__Hour:
- return soap_in_ngwt__Hour(soap, NULL, NULL, "ngwt:Hour");
- case SOAP_TYPE_ngwt__Day:
- return soap_in_ngwt__Day(soap, NULL, NULL, "ngwt:Day");
- case SOAP_TYPE_unsignedByte:
- return soap_in_unsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
- case SOAP_TYPE_unsignedInt:
- return soap_in_unsignedInt(soap, NULL, NULL, "xsd:unsignedInt");
- case SOAP_TYPE_unsignedLong:
- return soap_in_unsignedLong(soap, NULL, NULL, "xsd:unsignedLong");
- case SOAP_TYPE_bool:
- return soap_in_bool(soap, NULL, NULL, "xsd:boolean");
- case SOAP_TYPE_ngwe__ItemType:
- return soap_in_ngwe__ItemType(soap, NULL, NULL, "ngwe:ItemType");
- case SOAP_TYPE_ngwe__Field:
- return soap_in_ngwe__Field(soap, NULL, NULL, "ngwe:Field");
- case SOAP_TYPE_ngwe__EventType:
- return soap_in_ngwe__EventType(soap, NULL, NULL, "ngwe:EventType");
- case SOAP_TYPE_ngwt__WeekDay:
- return soap_in_ngwt__WeekDay(soap, NULL, NULL, "ngwt:WeekDay");
- case SOAP_TYPE_ngwt__VersionStatus:
- return soap_in_ngwt__VersionStatus(soap, NULL, NULL, "ngwt:VersionStatus");
- case SOAP_TYPE_ngwt__VersionEventType:
- return soap_in_ngwt__VersionEventType(soap, NULL, NULL, "ngwt:VersionEventType");
- case SOAP_TYPE_ngwt__StatusTrackingOptions:
- return soap_in_ngwt__StatusTrackingOptions(soap, NULL, NULL, "ngwt:StatusTrackingOptions");
- case SOAP_TYPE_ngwt__RuleActionType:
- return soap_in_ngwt__RuleActionType(soap, NULL, NULL, "ngwt:RuleActionType");
- case SOAP_TYPE_ngwt__RetractType:
- return soap_in_ngwt__RetractType(soap, NULL, NULL, "ngwt:RetractType");
- case SOAP_TYPE_ngwt__RecipientType:
- return soap_in_ngwt__RecipientType(soap, NULL, NULL, "ngwt:RecipientType");
- case SOAP_TYPE_ngwt__PostalAddressType:
- return soap_in_ngwt__PostalAddressType(soap, NULL, NULL, "ngwt:PostalAddressType");
- case SOAP_TYPE_ngwt__PhoneNumberType:
- return soap_in_ngwt__PhoneNumberType(soap, NULL, NULL, "ngwt:PhoneNumberType");
- case SOAP_TYPE_ngwt__OccurrenceType:
- return soap_in_ngwt__OccurrenceType(soap, NULL, NULL, "ngwt:OccurrenceType");
- case SOAP_TYPE_ngwt__NotificationType:
- return soap_in_ngwt__NotificationType(soap, NULL, NULL, "ngwt:NotificationType");
- case SOAP_TYPE_ngwt__MessageType:
- return soap_in_ngwt__MessageType(soap, NULL, NULL, "ngwt:MessageType");
- case SOAP_TYPE_ngwt__MessageList:
- return soap_in_ngwt__MessageList(soap, NULL, NULL, "ngwt:MessageList");
- case SOAP_TYPE_ngwt__LinkType:
- return soap_in_ngwt__LinkType(soap, NULL, NULL, "ngwt:LinkType");
- case SOAP_TYPE_ngwt__JunkMatchType:
- return soap_in_ngwt__JunkMatchType(soap, NULL, NULL, "ngwt:JunkMatchType");
- case SOAP_TYPE_ngwt__JunkHandlingListType:
- return soap_in_ngwt__JunkHandlingListType(soap, NULL, NULL, "ngwt:JunkHandlingListType");
- case SOAP_TYPE_ngwt__ItemSource:
- return soap_in_ngwt__ItemSource(soap, NULL, NULL, "ngwt:ItemSource");
- case SOAP_TYPE_ngwt__ItemSecurity:
- return soap_in_ngwt__ItemSecurity(soap, NULL, NULL, "ngwt:ItemSecurity");
- case SOAP_TYPE_ngwt__ItemOptionsPriority:
- return soap_in_ngwt__ItemOptionsPriority(soap, NULL, NULL, "ngwt:ItemOptionsPriority");
- case SOAP_TYPE_ngwt__ItemClass:
- return soap_in_ngwt__ItemClass(soap, NULL, NULL, "ngwt:ItemClass");
- case SOAP_TYPE_ngwt__Frequency:
- return soap_in_ngwt__Frequency(soap, NULL, NULL, "ngwt:Frequency");
- case SOAP_TYPE_ngwt__FolderType:
- return soap_in_ngwt__FolderType(soap, NULL, NULL, "ngwt:FolderType");
- case SOAP_TYPE_ngwt__FolderACLStatus:
- return soap_in_ngwt__FolderACLStatus(soap, NULL, NULL, "ngwt:FolderACLStatus");
- case SOAP_TYPE_ngwt__FilterOp:
- return soap_in_ngwt__FilterOp(soap, NULL, NULL, "ngwt:FilterOp");
- case SOAP_TYPE_ngwt__FilterDate:
- return soap_in_ngwt__FilterDate(soap, NULL, NULL, "ngwt:FilterDate");
- case SOAP_TYPE_ngwt__Execution:
- return soap_in_ngwt__Execution(soap, NULL, NULL, "ngwt:Execution");
- case SOAP_TYPE_ngwt__DistributionType:
- return soap_in_ngwt__DistributionType(soap, NULL, NULL, "ngwt:DistributionType");
- case SOAP_TYPE_ngwt__DeltaSyncType:
- return soap_in_ngwt__DeltaSyncType(soap, NULL, NULL, "ngwt:DeltaSyncType");
- case SOAP_TYPE_ngwt__CustomType:
- return soap_in_ngwt__CustomType(soap, NULL, NULL, "ngwt:CustomType");
- case SOAP_TYPE_ngwt__CursorSeek:
- return soap_in_ngwt__CursorSeek(soap, NULL, NULL, "ngwt:CursorSeek");
- case SOAP_TYPE_ngwt__ContactType:
- return soap_in_ngwt__ContactType(soap, NULL, NULL, "ngwt:ContactType");
- case SOAP_TYPE_ngwt__CategoryType:
- return soap_in_ngwt__CategoryType(soap, NULL, NULL, "ngwt:CategoryType");
- case SOAP_TYPE_ngwt__CalendarFolderFlags:
- return soap_in_ngwt__CalendarFolderFlags(soap, NULL, NULL, "ngwt:CalendarFolderFlags");
- case SOAP_TYPE_ngwt__AppointmentConflict:
- return soap_in_ngwt__AppointmentConflict(soap, NULL, NULL, "ngwt:AppointmentConflict");
- case SOAP_TYPE_ngwt__AgeAction:
- return soap_in_ngwt__AgeAction(soap, NULL, NULL, "ngwt:AgeAction");
- case SOAP_TYPE_ngwt__AcceptLevel:
- return soap_in_ngwt__AcceptLevel(soap, NULL, NULL, "ngwt:AcceptLevel");
- case SOAP_TYPE_ngwe__ItemTypeList:
- return soap_in_ngwe__ItemTypeList(soap, NULL, NULL, "ngwe:ItemTypeList");
- case SOAP_TYPE_ngwe__FieldList:
- return soap_in_ngwe__FieldList(soap, NULL, NULL, "ngwe:FieldList");
- case SOAP_TYPE_ngwt__MessageTypeList:
- return soap_in_ngwt__MessageTypeList(soap, NULL, NULL, "ngwt:MessageTypeList");
- case SOAP_TYPE_ngwt__ItemSourceList:
- return soap_in_ngwt__ItemSourceList(soap, NULL, NULL, "ngwt:ItemSourceList");
- case SOAP_TYPE_ngwt__UUID:
- return soap_in_ngwt__UUID(soap, NULL, NULL, "ngwt:UUID");
- case SOAP_TYPE_ngwt__uid:
- return soap_in_ngwt__uid(soap, NULL, NULL, "ngwt:uid");
- case SOAP_TYPE_ngwt__View:
- return soap_in_ngwt__View(soap, NULL, NULL, "ngwt:View");
- case SOAP_TYPE__ngwe__removeEventsResponse:
- return soap_in__ngwe__removeEventsResponse(soap, NULL, NULL, "ngwe:removeEventsResponse");
- case SOAP_TYPE__ngwe__removeEventsRequest:
- return soap_in__ngwe__removeEventsRequest(soap, NULL, NULL, "ngwe:removeEventsRequest");
- case SOAP_TYPE__ngwe__removeEventConfigurationResponse:
- return soap_in__ngwe__removeEventConfigurationResponse(soap, NULL, NULL, "ngwe:removeEventConfigurationResponse");
- case SOAP_TYPE__ngwe__removeEventConfigurationRequest:
- return soap_in__ngwe__removeEventConfigurationRequest(soap, NULL, NULL, "ngwe:removeEventConfigurationRequest");
- case SOAP_TYPE__ngwe__getEventsResponse:
- return soap_in__ngwe__getEventsResponse(soap, NULL, NULL, "ngwe:getEventsResponse");
- case SOAP_TYPE__ngwe__getEventsRequest:
- return soap_in__ngwe__getEventsRequest(soap, NULL, NULL, "ngwe:getEventsRequest");
- case SOAP_TYPE__ngwe__getEventConfigurationResponse:
- return soap_in__ngwe__getEventConfigurationResponse(soap, NULL, NULL, "ngwe:getEventConfigurationResponse");
- case SOAP_TYPE__ngwe__getEventConfigurationRequest:
- return soap_in__ngwe__getEventConfigurationRequest(soap, NULL, NULL, "ngwe:getEventConfigurationRequest");
- case SOAP_TYPE__ngwe__configureEventsResponse:
- return soap_in__ngwe__configureEventsResponse(soap, NULL, NULL, "ngwe:configureEventsResponse");
- case SOAP_TYPE__ngwe__configureEventsRequest:
- return soap_in__ngwe__configureEventsRequest(soap, NULL, NULL, "ngwe:configureEventsRequest");
- case SOAP_TYPE__ngwe__cleanEventConfigurationResponse:
- return soap_in__ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, "ngwe:cleanEventConfigurationResponse");
- case SOAP_TYPE__ngwe__cleanEventConfigurationRequest:
- return soap_in__ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, "ngwe:cleanEventConfigurationRequest");
- case SOAP_TYPE_ngwe__Notify:
- return soap_in_ngwe__Notify(soap, NULL, NULL, "ngwe:Notify");
- case SOAP_TYPE_ngwe__EventTypeList:
- return soap_in_ngwe__EventTypeList(soap, NULL, NULL, "ngwe:EventTypeList");
- case SOAP_TYPE_ngwe__EventsList:
- return soap_in_ngwe__EventsList(soap, NULL, NULL, "ngwe:EventsList");
- case SOAP_TYPE_ngwe__Events:
- return soap_in_ngwe__Events(soap, NULL, NULL, "ngwe:Events");
- case SOAP_TYPE_ngwe__EventList:
- return soap_in_ngwe__EventList(soap, NULL, NULL, "ngwe:EventList");
- case SOAP_TYPE_ngwe__EventDefinition:
- return soap_in_ngwe__EventDefinition(soap, NULL, NULL, "ngwe:EventDefinition");
- case SOAP_TYPE_ngwe__Event:
- return soap_in_ngwe__Event(soap, NULL, NULL, "ngwe:Event");
- case SOAP_TYPE_ngwe__ContainerList:
- return soap_in_ngwe__ContainerList(soap, NULL, NULL, "ngwe:ContainerList");
- case SOAP_TYPE__ngwm__updateVersionStatusResponse:
- return soap_in__ngwm__updateVersionStatusResponse(soap, NULL, NULL, "ngwm:updateVersionStatusResponse");
- case SOAP_TYPE__ngwm__updateVersionStatusRequest:
- return soap_in__ngwm__updateVersionStatusRequest(soap, NULL, NULL, "ngwm:updateVersionStatusRequest");
- case SOAP_TYPE__ngwm__uncompleteResponse:
- return soap_in__ngwm__uncompleteResponse(soap, NULL, NULL, "ngwm:uncompleteResponse");
- case SOAP_TYPE__ngwm__uncompleteRequest:
- return soap_in__ngwm__uncompleteRequest(soap, NULL, NULL, "ngwm:uncompleteRequest");
- case SOAP_TYPE__ngwm__unacceptResponse:
- return soap_in__ngwm__unacceptResponse(soap, NULL, NULL, "ngwm:unacceptResponse");
- case SOAP_TYPE__ngwm__unacceptRequest:
- return soap_in__ngwm__unacceptRequest(soap, NULL, NULL, "ngwm:unacceptRequest");
- case SOAP_TYPE__ngwm__startFreeBusySessionResponse:
- return soap_in__ngwm__startFreeBusySessionResponse(soap, NULL, NULL, "ngwm:startFreeBusySessionResponse");
- case SOAP_TYPE__ngwm__startFreeBusySessionRequest:
- return soap_in__ngwm__startFreeBusySessionRequest(soap, NULL, NULL, "ngwm:startFreeBusySessionRequest");
- case SOAP_TYPE__ngwm__setTimestampResponse:
- return soap_in__ngwm__setTimestampResponse(soap, NULL, NULL, "ngwm:setTimestampResponse");
- case SOAP_TYPE__ngwm__setTimestampRequest:
- return soap_in__ngwm__setTimestampRequest(soap, NULL, NULL, "ngwm:setTimestampRequest");
- case SOAP_TYPE__ngwm__sendItemResponse:
- return soap_in__ngwm__sendItemResponse(soap, NULL, NULL, "ngwm:sendItemResponse");
- case SOAP_TYPE__ngwm__sendItemRequest:
- return soap_in__ngwm__sendItemRequest(soap, NULL, NULL, "ngwm:sendItemRequest");
- case SOAP_TYPE__ngwm__retractResponse:
- return soap_in__ngwm__retractResponse(soap, NULL, NULL, "ngwm:retractResponse");
- case SOAP_TYPE__ngwm__retractRequest:
- return soap_in__ngwm__retractRequest(soap, NULL, NULL, "ngwm:retractRequest");
- case SOAP_TYPE__ngwm__replyResponse:
- return soap_in__ngwm__replyResponse(soap, NULL, NULL, "ngwm:replyResponse");
- case SOAP_TYPE__ngwm__replyRequest:
- return soap_in__ngwm__replyRequest(soap, NULL, NULL, "ngwm:replyRequest");
- case SOAP_TYPE__ngwm__removeSignatureResponse:
- return soap_in__ngwm__removeSignatureResponse(soap, NULL, NULL, "ngwm:removeSignatureResponse");
- case SOAP_TYPE__ngwm__removeSignatureRequest:
- return soap_in__ngwm__removeSignatureRequest(soap, NULL, NULL, "ngwm:removeSignatureRequest");
- case SOAP_TYPE__ngwm__removeProxyUserResponse:
- return soap_in__ngwm__removeProxyUserResponse(soap, NULL, NULL, "ngwm:removeProxyUserResponse");
- case SOAP_TYPE__ngwm__removeProxyUserRequest:
- return soap_in__ngwm__removeProxyUserRequest(soap, NULL, NULL, "ngwm:removeProxyUserRequest");
- case SOAP_TYPE__ngwm__removeProxyAccessResponse:
- return soap_in__ngwm__removeProxyAccessResponse(soap, NULL, NULL, "ngwm:removeProxyAccessResponse");
- case SOAP_TYPE__ngwm__removeProxyAccessRequest:
- return soap_in__ngwm__removeProxyAccessRequest(soap, NULL, NULL, "ngwm:removeProxyAccessRequest");
- case SOAP_TYPE__ngwm__removeMembersResponse:
- return soap_in__ngwm__removeMembersResponse(soap, NULL, NULL, "ngwm:removeMembersResponse");
- case SOAP_TYPE__ngwm__removeMembersRequest:
- return soap_in__ngwm__removeMembersRequest(soap, NULL, NULL, "ngwm:removeMembersRequest");
- case SOAP_TYPE__ngwm__removeJunkEntryResponse:
- return soap_in__ngwm__removeJunkEntryResponse(soap, NULL, NULL, "ngwm:removeJunkEntryResponse");
- case SOAP_TYPE__ngwm__removeJunkEntryRequest:
- return soap_in__ngwm__removeJunkEntryRequest(soap, NULL, NULL, "ngwm:removeJunkEntryRequest");
- case SOAP_TYPE__ngwm__removeItemsResponse:
- return soap_in__ngwm__removeItemsResponse(soap, NULL, NULL, "ngwm:removeItemsResponse");
- case SOAP_TYPE__ngwm__removeItemsRequest:
- return soap_in__ngwm__removeItemsRequest(soap, NULL, NULL, "ngwm:removeItemsRequest");
- case SOAP_TYPE__ngwm__removeItemResponse:
- return soap_in__ngwm__removeItemResponse(soap, NULL, NULL, "ngwm:removeItemResponse");
- case SOAP_TYPE__ngwm__removeItemRequest:
- return soap_in__ngwm__removeItemRequest(soap, NULL, NULL, "ngwm:removeItemRequest");
- case SOAP_TYPE__ngwm__removeCustomDefinitionResponse:
- return soap_in__ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, "ngwm:removeCustomDefinitionResponse");
- case SOAP_TYPE__ngwm__removeCustomDefinitionRequest:
- return soap_in__ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, "ngwm:removeCustomDefinitionRequest");
- case SOAP_TYPE__ngwm__readCursorResponse:
- return soap_in__ngwm__readCursorResponse(soap, NULL, NULL, "ngwm:readCursorResponse");
- case SOAP_TYPE__ngwm__readCursorRequest:
- return soap_in__ngwm__readCursorRequest(soap, NULL, NULL, "ngwm:readCursorRequest");
- case SOAP_TYPE__ngwm__purgeResponse:
- return soap_in__ngwm__purgeResponse(soap, NULL, NULL, "ngwm:purgeResponse");
- case SOAP_TYPE__ngwm__purgeRequest:
- return soap_in__ngwm__purgeRequest(soap, NULL, NULL, "ngwm:purgeRequest");
- case SOAP_TYPE__ngwm__purgeDeletedItemsResponse:
- return soap_in__ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, "ngwm:purgeDeletedItemsResponse");
- case SOAP_TYPE__ngwm__purgeDeletedItemsRequest:
- return soap_in__ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, "ngwm:purgeDeletedItemsRequest");
- case SOAP_TYPE__ngwm__positionCursorResponse:
- return soap_in__ngwm__positionCursorResponse(soap, NULL, NULL, "ngwm:positionCursorResponse");
- case SOAP_TYPE__ngwm__positionCursorRequest:
- return soap_in__ngwm__positionCursorRequest(soap, NULL, NULL, "ngwm:positionCursorRequest");
- case SOAP_TYPE__ngwm__moveItemResponse:
- return soap_in__ngwm__moveItemResponse(soap, NULL, NULL, "ngwm:moveItemResponse");
- case SOAP_TYPE__ngwm__moveItemRequest:
- return soap_in__ngwm__moveItemRequest(soap, NULL, NULL, "ngwm:moveItemRequest");
- case SOAP_TYPE__ngwm__modifySignaturesResponse:
- return soap_in__ngwm__modifySignaturesResponse(soap, NULL, NULL, "ngwm:modifySignaturesResponse");
- case SOAP_TYPE__ngwm__modifySignaturesRequest:
- return soap_in__ngwm__modifySignaturesRequest(soap, NULL, NULL, "ngwm:modifySignaturesRequest");
- case SOAP_TYPE__ngwm__modifySettingsResponse:
- return soap_in__ngwm__modifySettingsResponse(soap, NULL, NULL, "ngwm:modifySettingsResponse");
- case SOAP_TYPE__ngwm__modifySettingsRequest:
- return soap_in__ngwm__modifySettingsRequest(soap, NULL, NULL, "ngwm:modifySettingsRequest");
- case SOAP_TYPE__ngwm__modifyProxyAccessResponse:
- return soap_in__ngwm__modifyProxyAccessResponse(soap, NULL, NULL, "ngwm:modifyProxyAccessResponse");
- case SOAP_TYPE__ngwm__modifyProxyAccessRequest:
- return soap_in__ngwm__modifyProxyAccessRequest(soap, NULL, NULL, "ngwm:modifyProxyAccessRequest");
- case SOAP_TYPE__ngwm__modifyPasswordResponse:
- return soap_in__ngwm__modifyPasswordResponse(soap, NULL, NULL, "ngwm:modifyPasswordResponse");
- case SOAP_TYPE__ngwm__modifyPasswordRequest:
- return soap_in__ngwm__modifyPasswordRequest(soap, NULL, NULL, "ngwm:modifyPasswordRequest");
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse:
- return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsResponse");
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest:
- return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsRequest");
- case SOAP_TYPE__ngwm__modifyJunkEntryResponse:
- return soap_in__ngwm__modifyJunkEntryResponse(soap, NULL, NULL, "ngwm:modifyJunkEntryResponse");
- case SOAP_TYPE__ngwm__modifyJunkEntryRequest:
- return soap_in__ngwm__modifyJunkEntryRequest(soap, NULL, NULL, "ngwm:modifyJunkEntryRequest");
- case SOAP_TYPE__ngwm__modifyItemsResponse:
- return soap_in__ngwm__modifyItemsResponse(soap, NULL, NULL, "ngwm:modifyItemsResponse");
- case SOAP_TYPE__ngwm__modifyItemsRequest:
- return soap_in__ngwm__modifyItemsRequest(soap, NULL, NULL, "ngwm:modifyItemsRequest");
- case SOAP_TYPE__ngwm__modifyItemResponse:
- return soap_in__ngwm__modifyItemResponse(soap, NULL, NULL, "ngwm:modifyItemResponse");
- case SOAP_TYPE__ngwm__modifyItemRequest:
- return soap_in__ngwm__modifyItemRequest(soap, NULL, NULL, "ngwm:modifyItemRequest");
- case SOAP_TYPE__ngwm__markUnReadResponse:
- return soap_in__ngwm__markUnReadResponse(soap, NULL, NULL, "ngwm:markUnReadResponse");
- case SOAP_TYPE__ngwm__markUnReadRequest:
- return soap_in__ngwm__markUnReadRequest(soap, NULL, NULL, "ngwm:markUnReadRequest");
- case SOAP_TYPE__ngwm__markUnPrivateResponse:
- return soap_in__ngwm__markUnPrivateResponse(soap, NULL, NULL, "ngwm:markUnPrivateResponse");
- case SOAP_TYPE__ngwm__markUnPrivateRequest:
- return soap_in__ngwm__markUnPrivateRequest(soap, NULL, NULL, "ngwm:markUnPrivateRequest");
- case SOAP_TYPE__ngwm__markReadResponse:
- return soap_in__ngwm__markReadResponse(soap, NULL, NULL, "ngwm:markReadResponse");
- case SOAP_TYPE__ngwm__markReadRequest:
- return soap_in__ngwm__markReadRequest(soap, NULL, NULL, "ngwm:markReadRequest");
- case SOAP_TYPE__ngwm__markPrivateResponse:
- return soap_in__ngwm__markPrivateResponse(soap, NULL, NULL, "ngwm:markPrivateResponse");
- case SOAP_TYPE__ngwm__markPrivateRequest:
- return soap_in__ngwm__markPrivateRequest(soap, NULL, NULL, "ngwm:markPrivateRequest");
- case SOAP_TYPE__ngwm__logoutResponse:
- return soap_in__ngwm__logoutResponse(soap, NULL, NULL, "ngwm:logoutResponse");
- case SOAP_TYPE__ngwm__logoutRequest:
- return soap_in__ngwm__logoutRequest(soap, NULL, NULL, "ngwm:logoutRequest");
- case SOAP_TYPE__ngwm__loginResponse:
- return soap_in__ngwm__loginResponse(soap, NULL, NULL, "ngwm:loginResponse");
- case SOAP_TYPE__ngwm__loginRequest:
- return soap_in__ngwm__loginRequest(soap, NULL, NULL, "ngwm:loginRequest");
- case SOAP_TYPE__ngwm__getUserListResponse:
- return soap_in__ngwm__getUserListResponse(soap, NULL, NULL, "ngwm:getUserListResponse");
- case SOAP_TYPE__ngwm__getUserListRequest:
- return soap_in__ngwm__getUserListRequest(soap, NULL, NULL, "ngwm:getUserListRequest");
- case SOAP_TYPE__ngwm__getTimezoneListResponse:
- return soap_in__ngwm__getTimezoneListResponse(soap, NULL, NULL, "ngwm:getTimezoneListResponse");
- case SOAP_TYPE__ngwm__getTimezoneListRequest:
- return soap_in__ngwm__getTimezoneListRequest(soap, NULL, NULL, "ngwm:getTimezoneListRequest");
- case SOAP_TYPE__ngwm__getTimestampResponse:
- return soap_in__ngwm__getTimestampResponse(soap, NULL, NULL, "ngwm:getTimestampResponse");
- case SOAP_TYPE__ngwm__getTimestampRequest:
- return soap_in__ngwm__getTimestampRequest(soap, NULL, NULL, "ngwm:getTimestampRequest");
- case SOAP_TYPE__ngwm__getSignaturesResponse:
- return soap_in__ngwm__getSignaturesResponse(soap, NULL, NULL, "ngwm:getSignaturesResponse");
- case SOAP_TYPE__ngwm__getSignaturesRequest:
- return soap_in__ngwm__getSignaturesRequest(soap, NULL, NULL, "ngwm:getSignaturesRequest");
- case SOAP_TYPE__ngwm__getSettingsResponse:
- return soap_in__ngwm__getSettingsResponse(soap, NULL, NULL, "ngwm:getSettingsResponse");
- case SOAP_TYPE__ngwm__getSettingsRequest:
- return soap_in__ngwm__getSettingsRequest(soap, NULL, NULL, "ngwm:getSettingsRequest");
- case SOAP_TYPE__ngwm__getRuleListResponse:
- return soap_in__ngwm__getRuleListResponse(soap, NULL, NULL, "ngwm:getRuleListResponse");
- case SOAP_TYPE__ngwm__getRuleListRequest:
- return soap_in__ngwm__getRuleListRequest(soap, NULL, NULL, "ngwm:getRuleListRequest");
- case SOAP_TYPE__ngwm__getProxyListResponse:
- return soap_in__ngwm__getProxyListResponse(soap, NULL, NULL, "ngwm:getProxyListResponse");
- case SOAP_TYPE__ngwm__getProxyListRequest:
- return soap_in__ngwm__getProxyListRequest(soap, NULL, NULL, "ngwm:getProxyListRequest");
- case SOAP_TYPE__ngwm__getProxyAccessListResponse:
- return soap_in__ngwm__getProxyAccessListResponse(soap, NULL, NULL, "ngwm:getProxyAccessListResponse");
- case SOAP_TYPE__ngwm__getProxyAccessListRequest:
- return soap_in__ngwm__getProxyAccessListRequest(soap, NULL, NULL, "ngwm:getProxyAccessListRequest");
- case SOAP_TYPE__ngwm__getQuickMessagesResponse:
- return soap_in__ngwm__getQuickMessagesResponse(soap, NULL, NULL, "ngwm:getQuickMessagesResponse");
- case SOAP_TYPE__ngwm__getQuickMessagesRequest:
- return soap_in__ngwm__getQuickMessagesRequest(soap, NULL, NULL, "ngwm:getQuickMessagesRequest");
- case SOAP_TYPE__ngwm__getLibraryListResponse:
- return soap_in__ngwm__getLibraryListResponse(soap, NULL, NULL, "ngwm:getLibraryListResponse");
- case SOAP_TYPE__ngwm__getLibraryListRequest:
- return soap_in__ngwm__getLibraryListRequest(soap, NULL, NULL, "ngwm:getLibraryListRequest");
- case SOAP_TYPE__ngwm__getLibraryItemResponse:
- return soap_in__ngwm__getLibraryItemResponse(soap, NULL, NULL, "ngwm:getLibraryItemResponse");
- case SOAP_TYPE__ngwm__getLibraryItemRequest:
- return soap_in__ngwm__getLibraryItemRequest(soap, NULL, NULL, "ngwm:getLibraryItemRequest");
- case SOAP_TYPE__ngwm__getJunkMailSettingsResponse:
- return soap_in__ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:getJunkMailSettingsResponse");
- case SOAP_TYPE__ngwm__getJunkMailSettingsRequest:
- return soap_in__ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:getJunkMailSettingsRequest");
- case SOAP_TYPE__ngwm__getJunkEntriesResponse:
- return soap_in__ngwm__getJunkEntriesResponse(soap, NULL, NULL, "ngwm:getJunkEntriesResponse");
- case SOAP_TYPE__ngwm__getJunkEntriesRequest:
- return soap_in__ngwm__getJunkEntriesRequest(soap, NULL, NULL, "ngwm:getJunkEntriesRequest");
- case SOAP_TYPE__ngwm__getItemsResponse:
- return soap_in__ngwm__getItemsResponse(soap, NULL, NULL, "ngwm:getItemsResponse");
- case SOAP_TYPE__ngwm__getItemsRequest:
- return soap_in__ngwm__getItemsRequest(soap, NULL, NULL, "ngwm:getItemsRequest");
- case SOAP_TYPE__ngwm__getItemResponse:
- return soap_in__ngwm__getItemResponse(soap, NULL, NULL, "ngwm:getItemResponse");
- case SOAP_TYPE__ngwm__getItemRequest:
- return soap_in__ngwm__getItemRequest(soap, NULL, NULL, "ngwm:getItemRequest");
- case SOAP_TYPE__ngwm__getFreeBusyResponse:
- return soap_in__ngwm__getFreeBusyResponse(soap, NULL, NULL, "ngwm:getFreeBusyResponse");
- case SOAP_TYPE__ngwm__getFreeBusyRequest:
- return soap_in__ngwm__getFreeBusyRequest(soap, NULL, NULL, "ngwm:getFreeBusyRequest");
- case SOAP_TYPE__ngwm__getFolderListResponse:
- return soap_in__ngwm__getFolderListResponse(soap, NULL, NULL, "ngwm:getFolderListResponse");
- case SOAP_TYPE__ngwm__getFolderListRequest:
- return soap_in__ngwm__getFolderListRequest(soap, NULL, NULL, "ngwm:getFolderListRequest");
- case SOAP_TYPE__ngwm__getFolderResponse:
- return soap_in__ngwm__getFolderResponse(soap, NULL, NULL, "ngwm:getFolderResponse");
- case SOAP_TYPE__ngwm__getFolderRequest:
- return soap_in__ngwm__getFolderRequest(soap, NULL, NULL, "ngwm:getFolderRequest");
- case SOAP_TYPE__ngwm__getDocumentTypeListResponse:
- return soap_in__ngwm__getDocumentTypeListResponse(soap, NULL, NULL, "ngwm:getDocumentTypeListResponse");
- case SOAP_TYPE__ngwm__getDocumentTypeListRequest:
- return soap_in__ngwm__getDocumentTypeListRequest(soap, NULL, NULL, "ngwm:getDocumentTypeListRequest");
- case SOAP_TYPE__ngwm__getDeltaInfoResponse:
- return soap_in__ngwm__getDeltaInfoResponse(soap, NULL, NULL, "ngwm:getDeltaInfoResponse");
- case SOAP_TYPE__ngwm__getDeltaInfoRequest:
- return soap_in__ngwm__getDeltaInfoRequest(soap, NULL, NULL, "ngwm:getDeltaInfoRequest");
- case SOAP_TYPE__ngwm__getDeltasResponse:
- return soap_in__ngwm__getDeltasResponse(soap, NULL, NULL, "ngwm:getDeltasResponse");
- case SOAP_TYPE__ngwm__getDeltasRequest:
- return soap_in__ngwm__getDeltasRequest(soap, NULL, NULL, "ngwm:getDeltasRequest");
- case SOAP_TYPE__ngwm__getCustomListResponse:
- return soap_in__ngwm__getCustomListResponse(soap, NULL, NULL, "ngwm:getCustomListResponse");
- case SOAP_TYPE__ngwm__getCustomListRequest:
- return soap_in__ngwm__getCustomListRequest(soap, NULL, NULL, "ngwm:getCustomListRequest");
- case SOAP_TYPE__ngwm__getCategoryListResponse:
- return soap_in__ngwm__getCategoryListResponse(soap, NULL, NULL, "ngwm:getCategoryListResponse");
- case SOAP_TYPE__ngwm__getCategoryListRequest:
- return soap_in__ngwm__getCategoryListRequest(soap, NULL, NULL, "ngwm:getCategoryListRequest");
- case SOAP_TYPE__ngwm__getAttachmentResponse:
- return soap_in__ngwm__getAttachmentResponse(soap, NULL, NULL, "ngwm:getAttachmentResponse");
- case SOAP_TYPE__ngwm__getAttachmentRequest:
- return soap_in__ngwm__getAttachmentRequest(soap, NULL, NULL, "ngwm:getAttachmentRequest");
- case SOAP_TYPE__ngwm__getAddressBookListResponse:
- return soap_in__ngwm__getAddressBookListResponse(soap, NULL, NULL, "ngwm:getAddressBookListResponse");
- case SOAP_TYPE__ngwm__getAddressBookListRequest:
- return soap_in__ngwm__getAddressBookListRequest(soap, NULL, NULL, "ngwm:getAddressBookListRequest");
- case SOAP_TYPE__ngwm__forwardResponse:
- return soap_in__ngwm__forwardResponse(soap, NULL, NULL, "ngwm:forwardResponse");
- case SOAP_TYPE__ngwm__forwardRequest:
- return soap_in__ngwm__forwardRequest(soap, NULL, NULL, "ngwm:forwardRequest");
- case SOAP_TYPE__ngwm__executeRuleResponse:
- return soap_in__ngwm__executeRuleResponse(soap, NULL, NULL, "ngwm:executeRuleResponse");
- case SOAP_TYPE__ngwm__executeRuleRequest:
- return soap_in__ngwm__executeRuleRequest(soap, NULL, NULL, "ngwm:executeRuleRequest");
- case SOAP_TYPE__ngwm__destroyCursorResponse:
- return soap_in__ngwm__destroyCursorResponse(soap, NULL, NULL, "ngwm:destroyCursorResponse");
- case SOAP_TYPE__ngwm__destroyCursorRequest:
- return soap_in__ngwm__destroyCursorRequest(soap, NULL, NULL, "ngwm:destroyCursorRequest");
- case SOAP_TYPE__ngwm__delegateResponse:
- return soap_in__ngwm__delegateResponse(soap, NULL, NULL, "ngwm:delegateResponse");
- case SOAP_TYPE__ngwm__delegateRequest:
- return soap_in__ngwm__delegateRequest(soap, NULL, NULL, "ngwm:delegateRequest");
- case SOAP_TYPE__ngwm__declineResponse:
- return soap_in__ngwm__declineResponse(soap, NULL, NULL, "ngwm:declineResponse");
- case SOAP_TYPE__ngwm__declineRequest:
- return soap_in__ngwm__declineRequest(soap, NULL, NULL, "ngwm:declineRequest");
- case SOAP_TYPE__ngwm__createSignatureResponse:
- return soap_in__ngwm__createSignatureResponse(soap, NULL, NULL, "ngwm:createSignatureResponse");
- case SOAP_TYPE__ngwm__createSignatureRequest:
- return soap_in__ngwm__createSignatureRequest(soap, NULL, NULL, "ngwm:createSignatureRequest");
- case SOAP_TYPE__ngwm__createProxyAccessResponse:
- return soap_in__ngwm__createProxyAccessResponse(soap, NULL, NULL, "ngwm:createProxyAccessResponse");
- case SOAP_TYPE__ngwm__createProxyAccessRequest:
- return soap_in__ngwm__createProxyAccessRequest(soap, NULL, NULL, "ngwm:createProxyAccessRequest");
- case SOAP_TYPE__ngwm__createJunkEntryResponse:
- return soap_in__ngwm__createJunkEntryResponse(soap, NULL, NULL, "ngwm:createJunkEntryResponse");
- case SOAP_TYPE__ngwm__createJunkEntryRequest:
- return soap_in__ngwm__createJunkEntryRequest(soap, NULL, NULL, "ngwm:createJunkEntryRequest");
- case SOAP_TYPE__ngwm__createItemsResponse:
- return soap_in__ngwm__createItemsResponse(soap, NULL, NULL, "ngwm:createItemsResponse");
- case SOAP_TYPE__ngwm__createItemsRequest:
- return soap_in__ngwm__createItemsRequest(soap, NULL, NULL, "ngwm:createItemsRequest");
- case SOAP_TYPE__ngwm__createItemResponse:
- return soap_in__ngwm__createItemResponse(soap, NULL, NULL, "ngwm:createItemResponse");
- case SOAP_TYPE__ngwm__createItemRequest:
- return soap_in__ngwm__createItemRequest(soap, NULL, NULL, "ngwm:createItemRequest");
- case SOAP_TYPE__ngwm__createCursorResponse:
- return soap_in__ngwm__createCursorResponse(soap, NULL, NULL, "ngwm:createCursorResponse");
- case SOAP_TYPE__ngwm__createCursorRequest:
- return soap_in__ngwm__createCursorRequest(soap, NULL, NULL, "ngwm:createCursorRequest");
- case SOAP_TYPE__ngwm__completeResponse:
- return soap_in__ngwm__completeResponse(soap, NULL, NULL, "ngwm:completeResponse");
- case SOAP_TYPE__ngwm__completeRequest:
- return soap_in__ngwm__completeRequest(soap, NULL, NULL, "ngwm:completeRequest");
- case SOAP_TYPE__ngwm__closeFreeBusySessionResponse:
- return soap_in__ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, "ngwm:closeFreeBusySessionResponse");
- case SOAP_TYPE__ngwm__closeFreeBusySessionRequest:
- return soap_in__ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, "ngwm:closeFreeBusySessionRequest");
- case SOAP_TYPE__ngwm__addMembersResponse:
- return soap_in__ngwm__addMembersResponse(soap, NULL, NULL, "ngwm:addMembersResponse");
- case SOAP_TYPE__ngwm__addMembersRequest:
- return soap_in__ngwm__addMembersRequest(soap, NULL, NULL, "ngwm:addMembersRequest");
- case SOAP_TYPE__ngwm__addItemsResponse:
- return soap_in__ngwm__addItemsResponse(soap, NULL, NULL, "ngwm:addItemsResponse");
- case SOAP_TYPE__ngwm__addItemsRequest:
- return soap_in__ngwm__addItemsRequest(soap, NULL, NULL, "ngwm:addItemsRequest");
- case SOAP_TYPE__ngwm__addItemResponse:
- return soap_in__ngwm__addItemResponse(soap, NULL, NULL, "ngwm:addItemResponse");
- case SOAP_TYPE__ngwm__addItemRequest:
- return soap_in__ngwm__addItemRequest(soap, NULL, NULL, "ngwm:addItemRequest");
- case SOAP_TYPE__ngwm__acceptShareResponse:
- return soap_in__ngwm__acceptShareResponse(soap, NULL, NULL, "ngwm:acceptShareResponse");
- case SOAP_TYPE__ngwm__acceptShareRequest:
- return soap_in__ngwm__acceptShareRequest(soap, NULL, NULL, "ngwm:acceptShareRequest");
- case SOAP_TYPE__ngwm__acceptResponse:
- return soap_in__ngwm__acceptResponse(soap, NULL, NULL, "ngwm:acceptResponse");
- case SOAP_TYPE__ngwm__acceptRequest:
- return soap_in__ngwm__acceptRequest(soap, NULL, NULL, "ngwm:acceptRequest");
- case SOAP_TYPE_ngwt__VersionEvent:
- return soap_in_ngwt__VersionEvent(soap, NULL, NULL, "ngwt:VersionEvent");
- case SOAP_TYPE_ngwt__Version:
- return soap_in_ngwt__Version(soap, NULL, NULL, "ngwt:Version");
- case SOAP_TYPE_ngwt__UserList:
- return soap_in_ngwt__UserList(soap, NULL, NULL, "ngwt:UserList");
- case SOAP_TYPE_ngwt__UserInfo:
- return soap_in_ngwt__UserInfo(soap, NULL, NULL, "ngwt:UserInfo");
- case SOAP_TYPE_ngwt__TrustedApplication:
- return soap_in_ngwt__TrustedApplication(soap, NULL, NULL, "ngwt:TrustedApplication");
- case SOAP_TYPE_ngwt__TransferFailedStatus:
- return soap_in_ngwt__TransferFailedStatus(soap, NULL, NULL, "ngwt:TransferFailedStatus");
- case SOAP_TYPE_ngwt__TimezoneList:
- return soap_in_ngwt__TimezoneList(soap, NULL, NULL, "ngwt:TimezoneList");
- case SOAP_TYPE_ngwt__TimezoneComponent:
- return soap_in_ngwt__TimezoneComponent(soap, NULL, NULL, "ngwt:TimezoneComponent");
- case SOAP_TYPE_ngwt__Timezone:
- return soap_in_ngwt__Timezone(soap, NULL, NULL, "ngwt:Timezone");
- case SOAP_TYPE_ngwt__Task:
- return soap_in_ngwt__Task(soap, NULL, NULL, "ngwt:Task");
- case SOAP_TYPE_ngwt__SystemFolder:
- return soap_in_ngwt__SystemFolder(soap, NULL, NULL, "ngwt:SystemFolder");
- case SOAP_TYPE_ngwt__StatusTracking:
- return soap_in_ngwt__StatusTracking(soap, NULL, NULL, "ngwt:StatusTracking");
- case SOAP_TYPE_ngwt__Status:
- return soap_in_ngwt__Status(soap, NULL, NULL, "ngwt:Status");
- case SOAP_TYPE_ngwt__SMimeOperation:
- return soap_in_ngwt__SMimeOperation(soap, NULL, NULL, "ngwt:SMimeOperation");
- case SOAP_TYPE_ngwt__SignatureData:
- return soap_in_ngwt__SignatureData(soap, NULL, NULL, "ngwt:SignatureData");
- case SOAP_TYPE_ngwt__Signatures:
- return soap_in_ngwt__Signatures(soap, NULL, NULL, "ngwt:Signatures");
- case SOAP_TYPE_ngwt__Signature:
- return soap_in_ngwt__Signature(soap, NULL, NULL, "ngwt:Signature");
- case SOAP_TYPE_ngwt__SharedNotification:
- return soap_in_ngwt__SharedNotification(soap, NULL, NULL, "ngwt:SharedNotification");
- case SOAP_TYPE_ngwt__SharedFolderNotification:
- return soap_in_ngwt__SharedFolderNotification(soap, NULL, NULL, "ngwt:SharedFolderNotification");
- case SOAP_TYPE_ngwt__SharedFolder:
- return soap_in_ngwt__SharedFolder(soap, NULL, NULL, "ngwt:SharedFolder");
- case SOAP_TYPE_ngwt__SettingsList:
- return soap_in_ngwt__SettingsList(soap, NULL, NULL, "ngwt:SettingsList");
- case SOAP_TYPE_ngwt__SettingsGroup:
- return soap_in_ngwt__SettingsGroup(soap, NULL, NULL, "ngwt:SettingsGroup");
- case SOAP_TYPE_ngwt__Settings:
- return soap_in_ngwt__Settings(soap, NULL, NULL, "ngwt:Settings");
- case SOAP_TYPE_ngwt__SendOptions:
- return soap_in_ngwt__SendOptions(soap, NULL, NULL, "ngwt:SendOptions");
- case SOAP_TYPE_ngwt__SendOptionsRequestReply:
- return soap_in_ngwt__SendOptionsRequestReply(soap, NULL, NULL, "ngwt:SendOptionsRequestReply");
- case SOAP_TYPE_ngwt__RuleList:
- return soap_in_ngwt__RuleList(soap, NULL, NULL, "ngwt:RuleList");
- case SOAP_TYPE_ngwt__RuleActionList:
- return soap_in_ngwt__RuleActionList(soap, NULL, NULL, "ngwt:RuleActionList");
- case SOAP_TYPE_ngwt__RuleAction:
- return soap_in_ngwt__RuleAction(soap, NULL, NULL, "ngwt:RuleAction");
- case SOAP_TYPE_ngwt__Rule:
- return soap_in_ngwt__Rule(soap, NULL, NULL, "ngwt:Rule");
- case SOAP_TYPE_ngwt__Rights:
- return soap_in_ngwt__Rights(soap, NULL, NULL, "ngwt:Rights");
- case SOAP_TYPE_ngwt__ReturnNotificationOptions:
- return soap_in_ngwt__ReturnNotificationOptions(soap, NULL, NULL, "ngwt:ReturnNotificationOptions");
- case SOAP_TYPE_ngwt__ReturnNotification:
- return soap_in_ngwt__ReturnNotification(soap, NULL, NULL, "ngwt:ReturnNotification");
- case SOAP_TYPE_ngwt__Resource:
- return soap_in_ngwt__Resource(soap, NULL, NULL, "ngwt:Resource");
- case SOAP_TYPE_ngwt__ReferenceInfo:
- return soap_in_ngwt__ReferenceInfo(soap, NULL, NULL, "ngwt:ReferenceInfo");
- case SOAP_TYPE_ngwt__RecurrenceRule:
- return soap_in_ngwt__RecurrenceRule(soap, NULL, NULL, "ngwt:RecurrenceRule");
- case SOAP_TYPE_ngwt__RecurrenceDateType:
- return soap_in_ngwt__RecurrenceDateType(soap, NULL, NULL, "ngwt:RecurrenceDateType");
- case SOAP_TYPE_ngwt__RecipientStatus:
- return soap_in_ngwt__RecipientStatus(soap, NULL, NULL, "ngwt:RecipientStatus");
- case SOAP_TYPE_ngwt__RecipientList:
- return soap_in_ngwt__RecipientList(soap, NULL, NULL, "ngwt:RecipientList");
- case SOAP_TYPE_ngwt__Recipient:
- return soap_in_ngwt__Recipient(soap, NULL, NULL, "ngwt:Recipient");
- case SOAP_TYPE_ngwt__QueryTarget:
- return soap_in_ngwt__QueryTarget(soap, NULL, NULL, "ngwt:QueryTarget");
- case SOAP_TYPE_ngwt__QueryFolder:
- return soap_in_ngwt__QueryFolder(soap, NULL, NULL, "ngwt:QueryFolder");
- case SOAP_TYPE_ngwt__Query:
- return soap_in_ngwt__Query(soap, NULL, NULL, "ngwt:Query");
- case SOAP_TYPE_ngwt__ProxyList:
- return soap_in_ngwt__ProxyList(soap, NULL, NULL, "ngwt:ProxyList");
- case SOAP_TYPE_ngwt__ProxyUser:
- return soap_in_ngwt__ProxyUser(soap, NULL, NULL, "ngwt:ProxyUser");
- case SOAP_TYPE_ngwt__Proxy:
- return soap_in_ngwt__Proxy(soap, NULL, NULL, "ngwt:Proxy");
- case SOAP_TYPE_ngwt__ProblemList:
- return soap_in_ngwt__ProblemList(soap, NULL, NULL, "ngwt:ProblemList");
- case SOAP_TYPE_ngwt__ProblemEntry:
- return soap_in_ngwt__ProblemEntry(soap, NULL, NULL, "ngwt:ProblemEntry");
- case SOAP_TYPE_ngwt__PostalAddressList:
- return soap_in_ngwt__PostalAddressList(soap, NULL, NULL, "ngwt:PostalAddressList");
- case SOAP_TYPE_ngwt__PostalAddress:
- return soap_in_ngwt__PostalAddress(soap, NULL, NULL, "ngwt:PostalAddress");
- case SOAP_TYPE_ngwt__PlainText:
- return soap_in_ngwt__PlainText(soap, NULL, NULL, "ngwt:PlainText");
- case SOAP_TYPE_ngwt__PhoneNumber:
- return soap_in_ngwt__PhoneNumber(soap, NULL, NULL, "ngwt:PhoneNumber");
- case SOAP_TYPE_ngwt__PhoneMessage:
- return soap_in_ngwt__PhoneMessage(soap, NULL, NULL, "ngwt:PhoneMessage");
- case SOAP_TYPE_ngwt__PhoneList:
- return soap_in_ngwt__PhoneList(soap, NULL, NULL, "ngwt:PhoneList");
- case SOAP_TYPE_ngwt__PhoneFlags:
- return soap_in_ngwt__PhoneFlags(soap, NULL, NULL, "ngwt:PhoneFlags");
- case SOAP_TYPE_ngwt__PersonalInfo:
- return soap_in_ngwt__PersonalInfo(soap, NULL, NULL, "ngwt:PersonalInfo");
- case SOAP_TYPE_ngwt__Organization:
- return soap_in_ngwt__Organization(soap, NULL, NULL, "ngwt:Organization");
- case SOAP_TYPE_ngwt__OfficeInfo:
- return soap_in_ngwt__OfficeInfo(soap, NULL, NULL, "ngwt:OfficeInfo");
- case SOAP_TYPE_ngwt__Note:
- return soap_in_ngwt__Note(soap, NULL, NULL, "ngwt:Note");
- case SOAP_TYPE_ngwt__NameAndEmail:
- return soap_in_ngwt__NameAndEmail(soap, NULL, NULL, "ngwt:NameAndEmail");
- case SOAP_TYPE_ngwt__MonthList:
- return soap_in_ngwt__MonthList(soap, NULL, NULL, "ngwt:MonthList");
- case SOAP_TYPE_ngwt__ModifyItem:
- return soap_in_ngwt__ModifyItem(soap, NULL, NULL, "ngwt:ModifyItem");
- case SOAP_TYPE_ngwt__MessagePart:
- return soap_in_ngwt__MessagePart(soap, NULL, NULL, "ngwt:MessagePart");
- case SOAP_TYPE_ngwt__MessageBody:
- return soap_in_ngwt__MessageBody(soap, NULL, NULL, "ngwt:MessageBody");
- case SOAP_TYPE_ngwt__Mail:
- return soap_in_ngwt__Mail(soap, NULL, NULL, "ngwt:Mail");
- case SOAP_TYPE_ngwt__LinkInfo:
- return soap_in_ngwt__LinkInfo(soap, NULL, NULL, "ngwt:LinkInfo");
- case SOAP_TYPE_ngwt__LibraryList:
- return soap_in_ngwt__LibraryList(soap, NULL, NULL, "ngwt:LibraryList");
- case SOAP_TYPE_ngwt__Library:
- return soap_in_ngwt__Library(soap, NULL, NULL, "ngwt:Library");
- case SOAP_TYPE_ngwt__JunkHandlingList:
- return soap_in_ngwt__JunkHandlingList(soap, NULL, NULL, "ngwt:JunkHandlingList");
- case SOAP_TYPE_ngwt__JunkEntry:
- return soap_in_ngwt__JunkEntry(soap, NULL, NULL, "ngwt:JunkEntry");
- case SOAP_TYPE_ngwt__ItemStatus:
- return soap_in_ngwt__ItemStatus(soap, NULL, NULL, "ngwt:ItemStatus");
- case SOAP_TYPE_ngwt__Items:
- return soap_in_ngwt__Items(soap, NULL, NULL, "ngwt:Items");
- case SOAP_TYPE_ngwt__ItemRefList:
- return soap_in_ngwt__ItemRefList(soap, NULL, NULL, "ngwt:ItemRefList");
- case SOAP_TYPE_ngwt__ItemRef:
- return soap_in_ngwt__ItemRef(soap, NULL, NULL, "ngwt:ItemRef");
- case SOAP_TYPE_ngwt__ItemOptions:
- return soap_in_ngwt__ItemOptions(soap, NULL, NULL, "ngwt:ItemOptions");
- case SOAP_TYPE_ngwt__ItemList:
- return soap_in_ngwt__ItemList(soap, NULL, NULL, "ngwt:ItemList");
- case SOAP_TYPE_ngwt__ItemChanges:
- return soap_in_ngwt__ItemChanges(soap, NULL, NULL, "ngwt:ItemChanges");
- case SOAP_TYPE_ngwt__Item:
- return soap_in_ngwt__Item(soap, NULL, NULL, "ngwt:Item");
- case SOAP_TYPE_ngwt__ImAddressList:
- return soap_in_ngwt__ImAddressList(soap, NULL, NULL, "ngwt:ImAddressList");
- case SOAP_TYPE_ngwt__ImAddress:
- return soap_in_ngwt__ImAddress(soap, NULL, NULL, "ngwt:ImAddress");
- case SOAP_TYPE_ngwt__Host:
- return soap_in_ngwt__Host(soap, NULL, NULL, "ngwt:Host");
- case SOAP_TYPE_ngwt__GroupMemberList:
- return soap_in_ngwt__GroupMemberList(soap, NULL, NULL, "ngwt:GroupMemberList");
- case SOAP_TYPE_ngwt__GroupMember:
- return soap_in_ngwt__GroupMember(soap, NULL, NULL, "ngwt:GroupMember");
- case SOAP_TYPE_ngwt__Group:
- return soap_in_ngwt__Group(soap, NULL, NULL, "ngwt:Group");
- case SOAP_TYPE_ngwt__FullName:
- return soap_in_ngwt__FullName(soap, NULL, NULL, "ngwt:FullName");
- case SOAP_TYPE_ngwt__From:
- return soap_in_ngwt__From(soap, NULL, NULL, "ngwt:From");
- case SOAP_TYPE_ngwt__FreeBusyStats:
- return soap_in_ngwt__FreeBusyStats(soap, NULL, NULL, "ngwt:FreeBusyStats");
- case SOAP_TYPE_ngwt__FreeBusyInfoList:
- return soap_in_ngwt__FreeBusyInfoList(soap, NULL, NULL, "ngwt:FreeBusyInfoList");
- case SOAP_TYPE_ngwt__FreeBusyUserList:
- return soap_in_ngwt__FreeBusyUserList(soap, NULL, NULL, "ngwt:FreeBusyUserList");
- case SOAP_TYPE_ngwt__FreeBusyInfo:
- return soap_in_ngwt__FreeBusyInfo(soap, NULL, NULL, "ngwt:FreeBusyInfo");
- case SOAP_TYPE_ngwt__FreeBusyBlock:
- return soap_in_ngwt__FreeBusyBlock(soap, NULL, NULL, "ngwt:FreeBusyBlock");
- case SOAP_TYPE_ngwt__FreeBusyBlockList:
- return soap_in_ngwt__FreeBusyBlockList(soap, NULL, NULL, "ngwt:FreeBusyBlockList");
- case SOAP_TYPE_ngwt__FolderList:
- return soap_in_ngwt__FolderList(soap, NULL, NULL, "ngwt:FolderList");
- case SOAP_TYPE_ngwt__FolderACLEntry:
- return soap_in_ngwt__FolderACLEntry(soap, NULL, NULL, "ngwt:FolderACLEntry");
- case SOAP_TYPE_ngwt__FolderACL:
- return soap_in_ngwt__FolderACL(soap, NULL, NULL, "ngwt:FolderACL");
- case SOAP_TYPE_ngwt__Folder:
- return soap_in_ngwt__Folder(soap, NULL, NULL, "ngwt:Folder");
- case SOAP_TYPE_ngwt__FilterGroup:
- return soap_in_ngwt__FilterGroup(soap, NULL, NULL, "ngwt:FilterGroup");
- case SOAP_TYPE_ngwt__FilterEntry:
- return soap_in_ngwt__FilterEntry(soap, NULL, NULL, "ngwt:FilterEntry");
- case SOAP_TYPE_ngwt__FilterElement:
- return soap_in_ngwt__FilterElement(soap, NULL, NULL, "ngwt:FilterElement");
- case SOAP_TYPE_ngwt__Filter:
- return soap_in_ngwt__Filter(soap, NULL, NULL, "ngwt:Filter");
- case SOAP_TYPE_ngwt__EmailAddressList:
- return soap_in_ngwt__EmailAddressList(soap, NULL, NULL, "ngwt:EmailAddressList");
- case SOAP_TYPE_ngwt__DocumentTypeList:
- return soap_in_ngwt__DocumentTypeList(soap, NULL, NULL, "ngwt:DocumentTypeList");
- case SOAP_TYPE_ngwt__DocumentType:
- return soap_in_ngwt__DocumentType(soap, NULL, NULL, "ngwt:DocumentType");
- case SOAP_TYPE_ngwt__DocumentRef:
- return soap_in_ngwt__DocumentRef(soap, NULL, NULL, "ngwt:DocumentRef");
- case SOAP_TYPE_ngwt__Document:
- return soap_in_ngwt__Document(soap, NULL, NULL, "ngwt:Document");
- case SOAP_TYPE_ngwt__Distribution:
- return soap_in_ngwt__Distribution(soap, NULL, NULL, "ngwt:Distribution");
- case SOAP_TYPE_ngwt__DeltaInfo:
- return soap_in_ngwt__DeltaInfo(soap, NULL, NULL, "ngwt:DeltaInfo");
- case SOAP_TYPE_ngwt__DelegateeStatus:
- return soap_in_ngwt__DelegateeStatus(soap, NULL, NULL, "ngwt:DelegateeStatus");
- case SOAP_TYPE_ngwt__DelegatedStatus:
- return soap_in_ngwt__DelegatedStatus(soap, NULL, NULL, "ngwt:DelegatedStatus");
- case SOAP_TYPE_ngwt__DayOfYearWeekList:
- return soap_in_ngwt__DayOfYearWeekList(soap, NULL, NULL, "ngwt:DayOfYearWeekList");
- case SOAP_TYPE_ngwt__DayOfYearWeek:
- return soap_in_ngwt__DayOfYearWeek(soap, NULL, NULL, "ngwt:DayOfYearWeek");
- case SOAP_TYPE_ngwt__DayOfYearList:
- return soap_in_ngwt__DayOfYearList(soap, NULL, NULL, "ngwt:DayOfYearList");
- case SOAP_TYPE_ngwt__DayOfWeek:
- return soap_in_ngwt__DayOfWeek(soap, NULL, NULL, "ngwt:DayOfWeek");
- case SOAP_TYPE_ngwt__DayOfMonthList:
- return soap_in_ngwt__DayOfMonthList(soap, NULL, NULL, "ngwt:DayOfMonthList");
- case SOAP_TYPE_ngwt__CustomList:
- return soap_in_ngwt__CustomList(soap, NULL, NULL, "ngwt:CustomList");
- case SOAP_TYPE_ngwt__Custom:
- return soap_in_ngwt__Custom(soap, NULL, NULL, "ngwt:Custom");
- case SOAP_TYPE_ngwt__ContainerRef:
- return soap_in_ngwt__ContainerRef(soap, NULL, NULL, "ngwt:ContainerRef");
- case SOAP_TYPE_ngwt__ContainerItem:
- return soap_in_ngwt__ContainerItem(soap, NULL, NULL, "ngwt:ContainerItem");
- case SOAP_TYPE_ngwt__ContactFolder:
- return soap_in_ngwt__ContactFolder(soap, NULL, NULL, "ngwt:ContactFolder");
- case SOAP_TYPE_ngwt__Contact:
- return soap_in_ngwt__Contact(soap, NULL, NULL, "ngwt:Contact");
- case SOAP_TYPE_ngwt__CommentStatus:
- return soap_in_ngwt__CommentStatus(soap, NULL, NULL, "ngwt:CommentStatus");
- case SOAP_TYPE_ngwt__CategoryRefList:
- return soap_in_ngwt__CategoryRefList(soap, NULL, NULL, "ngwt:CategoryRefList");
- case SOAP_TYPE_ngwt__CategoryList:
- return soap_in_ngwt__CategoryList(soap, NULL, NULL, "ngwt:CategoryList");
- case SOAP_TYPE_ngwt__Category:
- return soap_in_ngwt__Category(soap, NULL, NULL, "ngwt:Category");
- case SOAP_TYPE_ngwt__CalendarItem:
- return soap_in_ngwt__CalendarItem(soap, NULL, NULL, "ngwt:CalendarItem");
- case SOAP_TYPE_ngwt__CalendarFolderAttribute:
- return soap_in_ngwt__CalendarFolderAttribute(soap, NULL, NULL, "ngwt:CalendarFolderAttribute");
- case SOAP_TYPE_ngwt__BoxEntry:
- return soap_in_ngwt__BoxEntry(soap, NULL, NULL, "ngwt:BoxEntry");
- case SOAP_TYPE_ngwt__Authentication:
- return soap_in_ngwt__Authentication(soap, NULL, NULL, "ngwt:Authentication");
- case SOAP_TYPE_ngwt__AttachmentItemInfo:
- return soap_in_ngwt__AttachmentItemInfo(soap, NULL, NULL, "ngwt:AttachmentItemInfo");
- case SOAP_TYPE_ngwt__AttachmentInfo:
- return soap_in_ngwt__AttachmentInfo(soap, NULL, NULL, "ngwt:AttachmentInfo");
- case SOAP_TYPE_ngwt__AttachmentID:
- return soap_in_ngwt__AttachmentID(soap, NULL, NULL, "ngwt:AttachmentID");
- case SOAP_TYPE_ngwt__Appointment:
- return soap_in_ngwt__Appointment(soap, NULL, NULL, "ngwt:Appointment");
- case SOAP_TYPE_ngwt__Alarm:
- return soap_in_ngwt__Alarm(soap, NULL, NULL, "ngwt:Alarm");
- case SOAP_TYPE_ngwt__AddressBookList:
- return soap_in_ngwt__AddressBookList(soap, NULL, NULL, "ngwt:AddressBookList");
- case SOAP_TYPE_ngwt__AddressBookItem:
- return soap_in_ngwt__AddressBookItem(soap, NULL, NULL, "ngwt:AddressBookItem");
- case SOAP_TYPE_ngwt__AddressBook:
- return soap_in_ngwt__AddressBook(soap, NULL, NULL, "ngwt:AddressBook");
- case SOAP_TYPE_ngwt__AccessRightList:
- return soap_in_ngwt__AccessRightList(soap, NULL, NULL, "ngwt:AccessRightList");
- case SOAP_TYPE_ngwt__AccessRightEntry:
- return soap_in_ngwt__AccessRightEntry(soap, NULL, NULL, "ngwt:AccessRightEntry");
- case SOAP_TYPE_ngwt__AccessRightChanges:
- return soap_in_ngwt__AccessRightChanges(soap, NULL, NULL, "ngwt:AccessRightChanges");
- case SOAP_TYPE_ngwt__AccessRight:
- return soap_in_ngwt__AccessRight(soap, NULL, NULL, "ngwt:AccessRight");
- case SOAP_TYPE_ngwt__AccessMiscRight:
- return soap_in_ngwt__AccessMiscRight(soap, NULL, NULL, "ngwt:AccessMiscRight");
- case SOAP_TYPE_ngwt__AccessControlList:
- return soap_in_ngwt__AccessControlList(soap, NULL, NULL, "ngwt:AccessControlList");
- case SOAP_TYPE_ngwt__AccessControlListEntry:
- return soap_in_ngwt__AccessControlListEntry(soap, NULL, NULL, "ngwt:AccessControlListEntry");
- case SOAP_TYPE_xsd__language:
- return soap_in_xsd__language(soap, NULL, NULL, "xsd:language");
- case SOAP_TYPE_xsd__duration:
- return soap_in_xsd__duration(soap, NULL, NULL, "xsd:duration");
- case SOAP_TYPE_xsd__decimal:
- return soap_in_xsd__decimal(soap, NULL, NULL, "xsd:decimal");
- case SOAP_TYPE_xsd__date:
- return soap_in_xsd__date(soap, NULL, NULL, "xsd:date");
- case SOAP_TYPE_std__string:
- return soap_in_std__string(soap, NULL, NULL, "xsd:string");
- case SOAP_TYPE_xsd__base64Binary:
- return soap_in_xsd__base64Binary(soap, NULL, NULL, "xsd:base64Binary");
- case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse:
- return soap_in_PointerTo_ngwe__removeEventsResponse(soap, NULL, NULL, "ngwe:removeEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest:
- return soap_in_PointerTo_ngwe__removeEventsRequest(soap, NULL, NULL, "ngwe:removeEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse:
- return soap_in_PointerTo_ngwe__removeEventConfigurationResponse(soap, NULL, NULL, "ngwe:removeEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest:
- return soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, NULL, NULL, "ngwe:removeEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwe__getEventsResponse:
- return soap_in_PointerTo_ngwe__getEventsResponse(soap, NULL, NULL, "ngwe:getEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__getEventsRequest:
- return soap_in_PointerTo_ngwe__getEventsRequest(soap, NULL, NULL, "ngwe:getEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse:
- return soap_in_PointerTo_ngwe__getEventConfigurationResponse(soap, NULL, NULL, "ngwe:getEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest:
- return soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, NULL, NULL, "ngwe:getEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse:
- return soap_in_PointerTo_ngwe__configureEventsResponse(soap, NULL, NULL, "ngwe:configureEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest:
- return soap_in_PointerTo_ngwe__configureEventsRequest(soap, NULL, NULL, "ngwe:configureEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse:
- return soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, "ngwe:cleanEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest:
- return soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, "ngwe:cleanEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse:
- return soap_in_PointerTo_ngwm__updateVersionStatusResponse(soap, NULL, NULL, "ngwm:updateVersionStatusResponse");
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest:
- return soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, NULL, NULL, "ngwm:updateVersionStatusRequest");
- case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse:
- return soap_in_PointerTo_ngwm__uncompleteResponse(soap, NULL, NULL, "ngwm:uncompleteResponse");
- case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest:
- return soap_in_PointerTo_ngwm__uncompleteRequest(soap, NULL, NULL, "ngwm:uncompleteRequest");
- case SOAP_TYPE_PointerTo_ngwm__unacceptResponse:
- return soap_in_PointerTo_ngwm__unacceptResponse(soap, NULL, NULL, "ngwm:unacceptResponse");
- case SOAP_TYPE_PointerTo_ngwm__unacceptRequest:
- return soap_in_PointerTo_ngwm__unacceptRequest(soap, NULL, NULL, "ngwm:unacceptRequest");
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse:
- return soap_in_PointerTo_ngwm__startFreeBusySessionResponse(soap, NULL, NULL, "ngwm:startFreeBusySessionResponse");
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest:
- return soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, NULL, NULL, "ngwm:startFreeBusySessionRequest");
- case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse:
- return soap_in_PointerTo_ngwm__setTimestampResponse(soap, NULL, NULL, "ngwm:setTimestampResponse");
- case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest:
- return soap_in_PointerTo_ngwm__setTimestampRequest(soap, NULL, NULL, "ngwm:setTimestampRequest");
- case SOAP_TYPE_PointerTo_ngwm__sendItemResponse:
- return soap_in_PointerTo_ngwm__sendItemResponse(soap, NULL, NULL, "ngwm:sendItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__sendItemRequest:
- return soap_in_PointerTo_ngwm__sendItemRequest(soap, NULL, NULL, "ngwm:sendItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__retractResponse:
- return soap_in_PointerTo_ngwm__retractResponse(soap, NULL, NULL, "ngwm:retractResponse");
- case SOAP_TYPE_PointerTo_ngwm__retractRequest:
- return soap_in_PointerTo_ngwm__retractRequest(soap, NULL, NULL, "ngwm:retractRequest");
- case SOAP_TYPE_PointerTo_ngwm__replyResponse:
- return soap_in_PointerTo_ngwm__replyResponse(soap, NULL, NULL, "ngwm:replyResponse");
- case SOAP_TYPE_PointerTo_ngwm__replyRequest:
- return soap_in_PointerTo_ngwm__replyRequest(soap, NULL, NULL, "ngwm:replyRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse:
- return soap_in_PointerTo_ngwm__removeSignatureResponse(soap, NULL, NULL, "ngwm:removeSignatureResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest:
- return soap_in_PointerTo_ngwm__removeSignatureRequest(soap, NULL, NULL, "ngwm:removeSignatureRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse:
- return soap_in_PointerTo_ngwm__removeProxyUserResponse(soap, NULL, NULL, "ngwm:removeProxyUserResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest:
- return soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, NULL, NULL, "ngwm:removeProxyUserRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse:
- return soap_in_PointerTo_ngwm__removeProxyAccessResponse(soap, NULL, NULL, "ngwm:removeProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest:
- return soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, NULL, NULL, "ngwm:removeProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse:
- return soap_in_PointerTo_ngwm__removeMembersResponse(soap, NULL, NULL, "ngwm:removeMembersResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest:
- return soap_in_PointerTo_ngwm__removeMembersRequest(soap, NULL, NULL, "ngwm:removeMembersRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse:
- return soap_in_PointerTo_ngwm__removeJunkEntryResponse(soap, NULL, NULL, "ngwm:removeJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest:
- return soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, NULL, NULL, "ngwm:removeJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse:
- return soap_in_PointerTo_ngwm__removeItemsResponse(soap, NULL, NULL, "ngwm:removeItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest:
- return soap_in_PointerTo_ngwm__removeItemsRequest(soap, NULL, NULL, "ngwm:removeItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeItemResponse:
- return soap_in_PointerTo_ngwm__removeItemResponse(soap, NULL, NULL, "ngwm:removeItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeItemRequest:
- return soap_in_PointerTo_ngwm__removeItemRequest(soap, NULL, NULL, "ngwm:removeItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse:
- return soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, "ngwm:removeCustomDefinitionResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest:
- return soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, "ngwm:removeCustomDefinitionRequest");
- case SOAP_TYPE_PointerTo_ngwm__readCursorResponse:
- return soap_in_PointerTo_ngwm__readCursorResponse(soap, NULL, NULL, "ngwm:readCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__readCursorRequest:
- return soap_in_PointerTo_ngwm__readCursorRequest(soap, NULL, NULL, "ngwm:readCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__purgeResponse:
- return soap_in_PointerTo_ngwm__purgeResponse(soap, NULL, NULL, "ngwm:purgeResponse");
- case SOAP_TYPE_PointerTo_ngwm__purgeRequest:
- return soap_in_PointerTo_ngwm__purgeRequest(soap, NULL, NULL, "ngwm:purgeRequest");
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse:
- return soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, "ngwm:purgeDeletedItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest:
- return soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, "ngwm:purgeDeletedItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse:
- return soap_in_PointerTo_ngwm__positionCursorResponse(soap, NULL, NULL, "ngwm:positionCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest:
- return soap_in_PointerTo_ngwm__positionCursorRequest(soap, NULL, NULL, "ngwm:positionCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__moveItemResponse:
- return soap_in_PointerTo_ngwm__moveItemResponse(soap, NULL, NULL, "ngwm:moveItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__moveItemRequest:
- return soap_in_PointerTo_ngwm__moveItemRequest(soap, NULL, NULL, "ngwm:moveItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse:
- return soap_in_PointerTo_ngwm__modifySignaturesResponse(soap, NULL, NULL, "ngwm:modifySignaturesResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest:
- return soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, NULL, NULL, "ngwm:modifySignaturesRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse:
- return soap_in_PointerTo_ngwm__modifySettingsResponse(soap, NULL, NULL, "ngwm:modifySettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest:
- return soap_in_PointerTo_ngwm__modifySettingsRequest(soap, NULL, NULL, "ngwm:modifySettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse:
- return soap_in_PointerTo_ngwm__modifyProxyAccessResponse(soap, NULL, NULL, "ngwm:modifyProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest:
- return soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, NULL, NULL, "ngwm:modifyProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse:
- return soap_in_PointerTo_ngwm__modifyPasswordResponse(soap, NULL, NULL, "ngwm:modifyPasswordResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest:
- return soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, NULL, NULL, "ngwm:modifyPasswordRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse:
- return soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest:
- return soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse:
- return soap_in_PointerTo_ngwm__modifyJunkEntryResponse(soap, NULL, NULL, "ngwm:modifyJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest:
- return soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, NULL, NULL, "ngwm:modifyJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse:
- return soap_in_PointerTo_ngwm__modifyItemResponse(soap, NULL, NULL, "ngwm:modifyItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest:
- return soap_in_PointerTo_ngwm__modifyItemRequest(soap, NULL, NULL, "ngwm:modifyItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse:
- return soap_in_PointerTo_ngwm__markUnReadResponse(soap, NULL, NULL, "ngwm:markUnReadResponse");
- case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest:
- return soap_in_PointerTo_ngwm__markUnReadRequest(soap, NULL, NULL, "ngwm:markUnReadRequest");
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse:
- return soap_in_PointerTo_ngwm__markUnPrivateResponse(soap, NULL, NULL, "ngwm:markUnPrivateResponse");
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest:
- return soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, NULL, NULL, "ngwm:markUnPrivateRequest");
- case SOAP_TYPE_PointerTo_ngwm__markReadResponse:
- return soap_in_PointerTo_ngwm__markReadResponse(soap, NULL, NULL, "ngwm:markReadResponse");
- case SOAP_TYPE_PointerTo_ngwm__markReadRequest:
- return soap_in_PointerTo_ngwm__markReadRequest(soap, NULL, NULL, "ngwm:markReadRequest");
- case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse:
- return soap_in_PointerTo_ngwm__markPrivateResponse(soap, NULL, NULL, "ngwm:markPrivateResponse");
- case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest:
- return soap_in_PointerTo_ngwm__markPrivateRequest(soap, NULL, NULL, "ngwm:markPrivateRequest");
- case SOAP_TYPE_PointerTo_ngwm__logoutResponse:
- return soap_in_PointerTo_ngwm__logoutResponse(soap, NULL, NULL, "ngwm:logoutResponse");
- case SOAP_TYPE_PointerTo_ngwm__logoutRequest:
- return soap_in_PointerTo_ngwm__logoutRequest(soap, NULL, NULL, "ngwm:logoutRequest");
- case SOAP_TYPE_PointerTo_ngwm__loginResponse:
- return soap_in_PointerTo_ngwm__loginResponse(soap, NULL, NULL, "ngwm:loginResponse");
- case SOAP_TYPE_PointerTo_ngwm__loginRequest:
- return soap_in_PointerTo_ngwm__loginRequest(soap, NULL, NULL, "ngwm:loginRequest");
- case SOAP_TYPE_PointerTo_ngwm__getUserListResponse:
- return soap_in_PointerTo_ngwm__getUserListResponse(soap, NULL, NULL, "ngwm:getUserListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getUserListRequest:
- return soap_in_PointerTo_ngwm__getUserListRequest(soap, NULL, NULL, "ngwm:getUserListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse:
- return soap_in_PointerTo_ngwm__getTimezoneListResponse(soap, NULL, NULL, "ngwm:getTimezoneListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest:
- return soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, NULL, NULL, "ngwm:getTimezoneListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse:
- return soap_in_PointerTo_ngwm__getTimestampResponse(soap, NULL, NULL, "ngwm:getTimestampResponse");
- case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest:
- return soap_in_PointerTo_ngwm__getTimestampRequest(soap, NULL, NULL, "ngwm:getTimestampRequest");
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse:
- return soap_in_PointerTo_ngwm__getSignaturesResponse(soap, NULL, NULL, "ngwm:getSignaturesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest:
- return soap_in_PointerTo_ngwm__getSignaturesRequest(soap, NULL, NULL, "ngwm:getSignaturesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse:
- return soap_in_PointerTo_ngwm__getSettingsResponse(soap, NULL, NULL, "ngwm:getSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest:
- return soap_in_PointerTo_ngwm__getSettingsRequest(soap, NULL, NULL, "ngwm:getSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse:
- return soap_in_PointerTo_ngwm__getRuleListResponse(soap, NULL, NULL, "ngwm:getRuleListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest:
- return soap_in_PointerTo_ngwm__getRuleListRequest(soap, NULL, NULL, "ngwm:getRuleListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse:
- return soap_in_PointerTo_ngwm__getProxyListResponse(soap, NULL, NULL, "ngwm:getProxyListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest:
- return soap_in_PointerTo_ngwm__getProxyListRequest(soap, NULL, NULL, "ngwm:getProxyListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse:
- return soap_in_PointerTo_ngwm__getProxyAccessListResponse(soap, NULL, NULL, "ngwm:getProxyAccessListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest:
- return soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, NULL, NULL, "ngwm:getProxyAccessListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse:
- return soap_in_PointerTo_ngwm__getQuickMessagesResponse(soap, NULL, NULL, "ngwm:getQuickMessagesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest:
- return soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, NULL, NULL, "ngwm:getQuickMessagesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse:
- return soap_in_PointerTo_ngwm__getLibraryListResponse(soap, NULL, NULL, "ngwm:getLibraryListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest:
- return soap_in_PointerTo_ngwm__getLibraryListRequest(soap, NULL, NULL, "ngwm:getLibraryListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse:
- return soap_in_PointerTo_ngwm__getLibraryItemResponse(soap, NULL, NULL, "ngwm:getLibraryItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest:
- return soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, NULL, NULL, "ngwm:getLibraryItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse:
- return soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:getJunkMailSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest:
- return soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:getJunkMailSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse:
- return soap_in_PointerTo_ngwm__getJunkEntriesResponse(soap, NULL, NULL, "ngwm:getJunkEntriesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest:
- return soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, NULL, NULL, "ngwm:getJunkEntriesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getItemsResponse:
- return soap_in_PointerTo_ngwm__getItemsResponse(soap, NULL, NULL, "ngwm:getItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getItemsRequest:
- return soap_in_PointerTo_ngwm__getItemsRequest(soap, NULL, NULL, "ngwm:getItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getItemResponse:
- return soap_in_PointerTo_ngwm__getItemResponse(soap, NULL, NULL, "ngwm:getItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__getItemRequest:
- return soap_in_PointerTo_ngwm__getItemRequest(soap, NULL, NULL, "ngwm:getItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse:
- return soap_in_PointerTo_ngwm__getFreeBusyResponse(soap, NULL, NULL, "ngwm:getFreeBusyResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest:
- return soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, NULL, NULL, "ngwm:getFreeBusyRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse:
- return soap_in_PointerTo_ngwm__getFolderListResponse(soap, NULL, NULL, "ngwm:getFolderListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest:
- return soap_in_PointerTo_ngwm__getFolderListRequest(soap, NULL, NULL, "ngwm:getFolderListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFolderResponse:
- return soap_in_PointerTo_ngwm__getFolderResponse(soap, NULL, NULL, "ngwm:getFolderResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFolderRequest:
- return soap_in_PointerTo_ngwm__getFolderRequest(soap, NULL, NULL, "ngwm:getFolderRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse:
- return soap_in_PointerTo_ngwm__getDocumentTypeListResponse(soap, NULL, NULL, "ngwm:getDocumentTypeListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest:
- return soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, NULL, NULL, "ngwm:getDocumentTypeListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse:
- return soap_in_PointerTo_ngwm__getDeltaInfoResponse(soap, NULL, NULL, "ngwm:getDeltaInfoResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest:
- return soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, NULL, NULL, "ngwm:getDeltaInfoRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse:
- return soap_in_PointerTo_ngwm__getDeltasResponse(soap, NULL, NULL, "ngwm:getDeltasResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest:
- return soap_in_PointerTo_ngwm__getDeltasRequest(soap, NULL, NULL, "ngwm:getDeltasRequest");
- case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse:
- return soap_in_PointerTo_ngwm__getCustomListResponse(soap, NULL, NULL, "ngwm:getCustomListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest:
- return soap_in_PointerTo_ngwm__getCustomListRequest(soap, NULL, NULL, "ngwm:getCustomListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse:
- return soap_in_PointerTo_ngwm__getCategoryListResponse(soap, NULL, NULL, "ngwm:getCategoryListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest:
- return soap_in_PointerTo_ngwm__getCategoryListRequest(soap, NULL, NULL, "ngwm:getCategoryListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse:
- return soap_in_PointerTo_ngwm__getAttachmentResponse(soap, NULL, NULL, "ngwm:getAttachmentResponse");
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest:
- return soap_in_PointerTo_ngwm__getAttachmentRequest(soap, NULL, NULL, "ngwm:getAttachmentRequest");
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse:
- return soap_in_PointerTo_ngwm__getAddressBookListResponse(soap, NULL, NULL, "ngwm:getAddressBookListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest:
- return soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, NULL, NULL, "ngwm:getAddressBookListRequest");
- case SOAP_TYPE_PointerTo_ngwm__forwardResponse:
- return soap_in_PointerTo_ngwm__forwardResponse(soap, NULL, NULL, "ngwm:forwardResponse");
- case SOAP_TYPE_PointerTo_ngwm__forwardRequest:
- return soap_in_PointerTo_ngwm__forwardRequest(soap, NULL, NULL, "ngwm:forwardRequest");
- case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse:
- return soap_in_PointerTo_ngwm__executeRuleResponse(soap, NULL, NULL, "ngwm:executeRuleResponse");
- case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest:
- return soap_in_PointerTo_ngwm__executeRuleRequest(soap, NULL, NULL, "ngwm:executeRuleRequest");
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse:
- return soap_in_PointerTo_ngwm__destroyCursorResponse(soap, NULL, NULL, "ngwm:destroyCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest:
- return soap_in_PointerTo_ngwm__destroyCursorRequest(soap, NULL, NULL, "ngwm:destroyCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__delegateResponse:
- return soap_in_PointerTo_ngwm__delegateResponse(soap, NULL, NULL, "ngwm:delegateResponse");
- case SOAP_TYPE_PointerTo_ngwm__delegateRequest:
- return soap_in_PointerTo_ngwm__delegateRequest(soap, NULL, NULL, "ngwm:delegateRequest");
- case SOAP_TYPE_PointerTo_ngwm__declineResponse:
- return soap_in_PointerTo_ngwm__declineResponse(soap, NULL, NULL, "ngwm:declineResponse");
- case SOAP_TYPE_PointerTo_ngwm__declineRequest:
- return soap_in_PointerTo_ngwm__declineRequest(soap, NULL, NULL, "ngwm:declineRequest");
- case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse:
- return soap_in_PointerTo_ngwm__createSignatureResponse(soap, NULL, NULL, "ngwm:createSignatureResponse");
- case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest:
- return soap_in_PointerTo_ngwm__createSignatureRequest(soap, NULL, NULL, "ngwm:createSignatureRequest");
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse:
- return soap_in_PointerTo_ngwm__createProxyAccessResponse(soap, NULL, NULL, "ngwm:createProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest:
- return soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, NULL, NULL, "ngwm:createProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse:
- return soap_in_PointerTo_ngwm__createJunkEntryResponse(soap, NULL, NULL, "ngwm:createJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest:
- return soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, NULL, NULL, "ngwm:createJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__createItemsResponse:
- return soap_in_PointerTo_ngwm__createItemsResponse(soap, NULL, NULL, "ngwm:createItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__createItemsRequest:
- return soap_in_PointerTo_ngwm__createItemsRequest(soap, NULL, NULL, "ngwm:createItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__createItemResponse:
- return soap_in_PointerTo_ngwm__createItemResponse(soap, NULL, NULL, "ngwm:createItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__createItemRequest:
- return soap_in_PointerTo_ngwm__createItemRequest(soap, NULL, NULL, "ngwm:createItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__createCursorResponse:
- return soap_in_PointerTo_ngwm__createCursorResponse(soap, NULL, NULL, "ngwm:createCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__createCursorRequest:
- return soap_in_PointerTo_ngwm__createCursorRequest(soap, NULL, NULL, "ngwm:createCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__completeResponse:
- return soap_in_PointerTo_ngwm__completeResponse(soap, NULL, NULL, "ngwm:completeResponse");
- case SOAP_TYPE_PointerTo_ngwm__completeRequest:
- return soap_in_PointerTo_ngwm__completeRequest(soap, NULL, NULL, "ngwm:completeRequest");
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse:
- return soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, "ngwm:closeFreeBusySessionResponse");
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest:
- return soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, "ngwm:closeFreeBusySessionRequest");
- case SOAP_TYPE_PointerTo_ngwm__addMembersResponse:
- return soap_in_PointerTo_ngwm__addMembersResponse(soap, NULL, NULL, "ngwm:addMembersResponse");
- case SOAP_TYPE_PointerTo_ngwm__addMembersRequest:
- return soap_in_PointerTo_ngwm__addMembersRequest(soap, NULL, NULL, "ngwm:addMembersRequest");
- case SOAP_TYPE_PointerTo_ngwm__addItemsResponse:
- return soap_in_PointerTo_ngwm__addItemsResponse(soap, NULL, NULL, "ngwm:addItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__addItemsRequest:
- return soap_in_PointerTo_ngwm__addItemsRequest(soap, NULL, NULL, "ngwm:addItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__addItemResponse:
- return soap_in_PointerTo_ngwm__addItemResponse(soap, NULL, NULL, "ngwm:addItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__addItemRequest:
- return soap_in_PointerTo_ngwm__addItemRequest(soap, NULL, NULL, "ngwm:addItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse:
- return soap_in_PointerTo_ngwm__acceptShareResponse(soap, NULL, NULL, "ngwm:acceptShareResponse");
- case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest:
- return soap_in_PointerTo_ngwm__acceptShareRequest(soap, NULL, NULL, "ngwm:acceptShareRequest");
- case SOAP_TYPE_PointerTo_ngwm__acceptResponse:
- return soap_in_PointerTo_ngwm__acceptResponse(soap, NULL, NULL, "ngwm:acceptResponse");
- case SOAP_TYPE_PointerTo_ngwm__acceptRequest:
- return soap_in_PointerTo_ngwm__acceptRequest(soap, NULL, NULL, "ngwm:acceptRequest");
- case SOAP_TYPE_PointerTongwt__Alarm:
- return soap_in_PointerTongwt__Alarm(soap, NULL, NULL, "ngwt:Alarm");
- case SOAP_TYPE_PointerTongwt__PhoneFlags:
- return soap_in_PointerTongwt__PhoneFlags(soap, NULL, NULL, "ngwt:PhoneFlags");
- case SOAP_TYPE_PointerTongwt__RecurrenceRule:
- return soap_in_PointerTongwt__RecurrenceRule(soap, NULL, NULL, "ngwt:RecurrenceRule");
- case SOAP_TYPE_PointerTongwt__RecurrenceDateType:
- return soap_in_PointerTongwt__RecurrenceDateType(soap, NULL, NULL, "ngwt:RecurrenceDateType");
- case SOAP_TYPE_PointerTongwt__SMimeOperation:
- return soap_in_PointerTongwt__SMimeOperation(soap, NULL, NULL, "ngwt:SMimeOperation");
- case SOAP_TYPE_PointerTongwt__LinkInfo:
- return soap_in_PointerTongwt__LinkInfo(soap, NULL, NULL, "ngwt:LinkInfo");
- case SOAP_TYPE_PointerTongwt__ItemOptions:
- return soap_in_PointerTongwt__ItemOptions(soap, NULL, NULL, "ngwt:ItemOptions");
- case SOAP_TYPE_PointerTongwt__AttachmentInfo:
- return soap_in_PointerTongwt__AttachmentInfo(soap, NULL, NULL, "ngwt:AttachmentInfo");
- case SOAP_TYPE_PointerTongwt__MessageBody:
- return soap_in_PointerTongwt__MessageBody(soap, NULL, NULL, "ngwt:MessageBody");
- case SOAP_TYPE_PointerTongwt__ReferenceInfo:
- return soap_in_PointerTongwt__ReferenceInfo(soap, NULL, NULL, "ngwt:ReferenceInfo");
- case SOAP_TYPE_PointerTongwt__PersonalInfo:
- return soap_in_PointerTongwt__PersonalInfo(soap, NULL, NULL, "ngwt:PersonalInfo");
- case SOAP_TYPE_PointerTongwt__OfficeInfo:
- return soap_in_PointerTongwt__OfficeInfo(soap, NULL, NULL, "ngwt:OfficeInfo");
- case SOAP_TYPE_PointerTongwt__PostalAddressList:
- return soap_in_PointerTongwt__PostalAddressList(soap, NULL, NULL, "ngwt:PostalAddressList");
- case SOAP_TYPE_PointerTongwt__PhoneList:
- return soap_in_PointerTongwt__PhoneList(soap, NULL, NULL, "ngwt:PhoneList");
- case SOAP_TYPE_PointerTongwt__ImAddressList:
- return soap_in_PointerTongwt__ImAddressList(soap, NULL, NULL, "ngwt:ImAddressList");
- case SOAP_TYPE_PointerTongwt__EmailAddressList:
- return soap_in_PointerTongwt__EmailAddressList(soap, NULL, NULL, "ngwt:EmailAddressList");
- case SOAP_TYPE_PointerTongwt__FullName:
- return soap_in_PointerTongwt__FullName(soap, NULL, NULL, "ngwt:FullName");
- case SOAP_TYPE_PointerTongwt__VersionStatus:
- return soap_in_PointerTongwt__VersionStatus(soap, NULL, NULL, "ngwt:VersionStatus");
- case SOAP_TYPE_PointerTongwt__FolderACL:
- return soap_in_PointerTongwt__FolderACL(soap, NULL, NULL, "ngwt:FolderACL");
- case SOAP_TYPE_PointerTongwt__RuleActionList:
- return soap_in_PointerTongwt__RuleActionList(soap, NULL, NULL, "ngwt:RuleActionList");
- case SOAP_TYPE_PointerTongwt__Execution:
- return soap_in_PointerTongwt__Execution(soap, NULL, NULL, "ngwt:Execution");
- case SOAP_TYPE_PointerTongwt__Query:
- return soap_in_PointerTongwt__Query(soap, NULL, NULL, "ngwt:Query");
- case SOAP_TYPE_PointerTongwt__FolderACLStatus:
- return soap_in_PointerTongwt__FolderACLStatus(soap, NULL, NULL, "ngwt:FolderACLStatus");
- case SOAP_TYPE_PointerTongwt__AccessControlList:
- return soap_in_PointerTongwt__AccessControlList(soap, NULL, NULL, "ngwt:AccessControlList");
- case SOAP_TYPE_PointerTongwt__WeekOfYear:
- return soap_in_PointerTongwt__WeekOfYear(soap, NULL, NULL, "ngwt:WeekOfYear");
- case SOAP_TYPE_PointerTongwt__OccurrenceType:
- return soap_in_PointerTongwt__OccurrenceType(soap, NULL, NULL, "ngwt:OccurrenceType");
- case SOAP_TYPE_PointerTongwt__ItemSecurity:
- return soap_in_PointerTongwt__ItemSecurity(soap, NULL, NULL, "ngwt:ItemSecurity");
- case SOAP_TYPE_PointerTongwt__ItemClass:
- return soap_in_PointerTongwt__ItemClass(soap, NULL, NULL, "ngwt:ItemClass");
- case SOAP_TYPE_PointerTongwt__ItemSource:
- return soap_in_PointerTongwt__ItemSource(soap, NULL, NULL, "ngwt:ItemSource");
- case SOAP_TYPE_PointerTongwt__ItemStatus:
- return soap_in_PointerTongwt__ItemStatus(soap, NULL, NULL, "ngwt:ItemStatus");
- case SOAP_TYPE_PointerTongwt__DeltaSyncType:
- return soap_in_PointerTongwt__DeltaSyncType(soap, NULL, NULL, "ngwt:DeltaSyncType");
- case SOAP_TYPE_PointerTongwt__RecipientStatus:
- return soap_in_PointerTongwt__RecipientStatus(soap, NULL, NULL, "ngwt:RecipientStatus");
- case SOAP_TYPE_PointerTongwt__FreeBusyBlockList:
- return soap_in_PointerTongwt__FreeBusyBlockList(soap, NULL, NULL, "ngwt:FreeBusyBlockList");
- case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute:
- return soap_in_PointerTongwt__CalendarFolderAttribute(soap, NULL, NULL, "ngwt:CalendarFolderAttribute");
- case SOAP_TYPE_PointerTongwt__FilterDate:
- return soap_in_PointerTongwt__FilterDate(soap, NULL, NULL, "ngwt:FilterDate");
- case SOAP_TYPE_PointerTongwt__ContainerRef:
- return soap_in_PointerTongwt__ContainerRef(soap, NULL, NULL, "ngwt:ContainerRef");
- case SOAP_TYPE_PointerTongwt__CategoryType:
- return soap_in_PointerTongwt__CategoryType(soap, NULL, NULL, "ngwt:CategoryType");
- case SOAP_TYPE_PointerTongwt__AccessMiscRight:
- return soap_in_PointerTongwt__AccessMiscRight(soap, NULL, NULL, "ngwt:AccessMiscRight");
- case SOAP_TYPE_PointerTongwt__AccessRight:
- return soap_in_PointerTongwt__AccessRight(soap, NULL, NULL, "ngwt:AccessRight");
- case SOAP_TYPE_PointerTongwt__Rights:
- return soap_in_PointerTongwt__Rights(soap, NULL, NULL, "ngwt:Rights");
- case SOAP_TYPE_PointerTongwe__EventList:
- return soap_in_PointerTongwe__EventList(soap, NULL, NULL, "ngwe:EventList");
- case SOAP_TYPE_PointerTongwe__EventsList:
- return soap_in_PointerTongwe__EventsList(soap, NULL, NULL, "ngwe:EventsList");
- case SOAP_TYPE_PointerTongwe__Events:
- return soap_in_PointerTongwe__Events(soap, NULL, NULL, "ngwe:Events");
- case SOAP_TYPE_PointerTongwe__EventDefinition:
- return soap_in_PointerTongwe__EventDefinition(soap, NULL, NULL, "ngwe:EventDefinition");
- case SOAP_TYPE_PointerToxsd__duration:
- return soap_in_PointerToxsd__duration(soap, NULL, NULL, "xsd:duration");
- case SOAP_TYPE_PointerTongwe__Event:
- return soap_in_PointerTongwe__Event(soap, NULL, NULL, "ngwe:Event");
- case SOAP_TYPE_PointerTongwe__ContainerList:
- return soap_in_PointerTongwe__ContainerList(soap, NULL, NULL, "ngwe:ContainerList");
- case SOAP_TYPE_PointerTongwe__ItemTypeList:
- return soap_in_PointerTongwe__ItemTypeList(soap, NULL, NULL, "ngwe:ItemTypeList");
- case SOAP_TYPE_PointerTongwe__EventTypeList:
- return soap_in_PointerTongwe__EventTypeList(soap, NULL, NULL, "ngwe:EventTypeList");
- case SOAP_TYPE_PointerTongwe__ItemType:
- return soap_in_PointerTongwe__ItemType(soap, NULL, NULL, "ngwe:ItemType");
- case SOAP_TYPE_PointerTongwe__FieldList:
- return soap_in_PointerTongwe__FieldList(soap, NULL, NULL, "ngwe:FieldList");
- case SOAP_TYPE_PointerTongwt__FreeBusyUserList:
- return soap_in_PointerTongwt__FreeBusyUserList(soap, NULL, NULL, "ngwt:FreeBusyUserList");
- case SOAP_TYPE_PointerTongwt__RetractType:
- return soap_in_PointerTongwt__RetractType(soap, NULL, NULL, "ngwt:RetractType");
- case SOAP_TYPE_PointerTongwt__ItemList:
- return soap_in_PointerTongwt__ItemList(soap, NULL, NULL, "ngwt:ItemList");
- case SOAP_TYPE_PointerTongwt__CursorSeek:
- return soap_in_PointerTongwt__CursorSeek(soap, NULL, NULL, "ngwt:CursorSeek");
- case SOAP_TYPE_PointerTongwt__AccessRightChanges:
- return soap_in_PointerTongwt__AccessRightChanges(soap, NULL, NULL, "ngwt:AccessRightChanges");
- case SOAP_TYPE_PointerTongwt__ModifyItem:
- return soap_in_PointerTongwt__ModifyItem(soap, NULL, NULL, "ngwt:ModifyItem");
- case SOAP_TYPE_PointerTongwt__Host:
- return soap_in_PointerTongwt__Host(soap, NULL, NULL, "ngwt:Host");
- case SOAP_TYPE_PointerTongwt__Authentication:
- return soap_in_PointerTongwt__Authentication(soap, NULL, NULL, "ngwt:Authentication");
- case SOAP_TYPE_PointerTongwt__UserList:
- return soap_in_PointerTongwt__UserList(soap, NULL, NULL, "ngwt:UserList");
- case SOAP_TYPE_PointerTongwt__TimezoneList:
- return soap_in_PointerTongwt__TimezoneList(soap, NULL, NULL, "ngwt:TimezoneList");
- case SOAP_TYPE_PointerTongwt__Signatures:
- return soap_in_PointerTongwt__Signatures(soap, NULL, NULL, "ngwt:Signatures");
- case SOAP_TYPE_PointerTongwt__Settings:
- return soap_in_PointerTongwt__Settings(soap, NULL, NULL, "ngwt:Settings");
- case SOAP_TYPE_PointerTongwt__RuleList:
- return soap_in_PointerTongwt__RuleList(soap, NULL, NULL, "ngwt:RuleList");
- case SOAP_TYPE_PointerTongwt__ProxyList:
- return soap_in_PointerTongwt__ProxyList(soap, NULL, NULL, "ngwt:ProxyList");
- case SOAP_TYPE_PointerTongwt__AccessRightList:
- return soap_in_PointerTongwt__AccessRightList(soap, NULL, NULL, "ngwt:AccessRightList");
- case SOAP_TYPE_PointerTongwt__LibraryList:
- return soap_in_PointerTongwt__LibraryList(soap, NULL, NULL, "ngwt:LibraryList");
- case SOAP_TYPE_PointerTongwt__SettingsList:
- return soap_in_PointerTongwt__SettingsList(soap, NULL, NULL, "ngwt:SettingsList");
- case SOAP_TYPE_PointerTongwt__JunkHandlingList:
- return soap_in_PointerTongwt__JunkHandlingList(soap, NULL, NULL, "ngwt:JunkHandlingList");
- case SOAP_TYPE_PointerTongwt__FreeBusyInfoList:
- return soap_in_PointerTongwt__FreeBusyInfoList(soap, NULL, NULL, "ngwt:FreeBusyInfoList");
- case SOAP_TYPE_PointerTongwt__FreeBusyStats:
- return soap_in_PointerTongwt__FreeBusyStats(soap, NULL, NULL, "ngwt:FreeBusyStats");
- case SOAP_TYPE_PointerTongwt__FolderList:
- return soap_in_PointerTongwt__FolderList(soap, NULL, NULL, "ngwt:FolderList");
- case SOAP_TYPE_PointerTongwt__ItemSourceList:
- return soap_in_PointerTongwt__ItemSourceList(soap, NULL, NULL, "ngwt:ItemSourceList");
- case SOAP_TYPE_PointerTongwt__MessageTypeList:
- return soap_in_PointerTongwt__MessageTypeList(soap, NULL, NULL, "ngwt:MessageTypeList");
- case SOAP_TYPE_PointerTongwt__FolderType:
- return soap_in_PointerTongwt__FolderType(soap, NULL, NULL, "ngwt:FolderType");
- case SOAP_TYPE_PointerTongwt__DocumentTypeList:
- return soap_in_PointerTongwt__DocumentTypeList(soap, NULL, NULL, "ngwt:DocumentTypeList");
- case SOAP_TYPE_PointerTongwt__Items:
- return soap_in_PointerTongwt__Items(soap, NULL, NULL, "ngwt:Items");
- case SOAP_TYPE_PointerTongwt__DeltaInfo:
- return soap_in_PointerTongwt__DeltaInfo(soap, NULL, NULL, "ngwt:DeltaInfo");
- case SOAP_TYPE_PointerTongwt__CustomList:
- return soap_in_PointerTongwt__CustomList(soap, NULL, NULL, "ngwt:CustomList");
- case SOAP_TYPE_PointerTongwt__CategoryList:
- return soap_in_PointerTongwt__CategoryList(soap, NULL, NULL, "ngwt:CategoryList");
- case SOAP_TYPE_PointerTongwt__AddressBookList:
- return soap_in_PointerTongwt__AddressBookList(soap, NULL, NULL, "ngwt:AddressBookList");
- case SOAP_TYPE_PointerTongwt__Distribution:
- return soap_in_PointerTongwt__Distribution(soap, NULL, NULL, "ngwt:Distribution");
- case SOAP_TYPE_PointerTongwt__View:
- return soap_in_PointerTongwt__View(soap, NULL, NULL, "ngwt:View");
- case SOAP_TYPE_PointerTongwt__Status:
- return soap_in_PointerTongwt__Status(soap, NULL, NULL, "ngwt:Status");
- case SOAP_TYPE_PointerTongwt__ItemRefList:
- return soap_in_PointerTongwt__ItemRefList(soap, NULL, NULL, "ngwt:ItemRefList");
- case SOAP_TYPE_PointerTongwt__UserInfo:
- return soap_in_PointerTongwt__UserInfo(soap, NULL, NULL, "ngwt:UserInfo");
- case SOAP_TYPE_PointerTongwt__RecipientType:
- return soap_in_PointerTongwt__RecipientType(soap, NULL, NULL, "ngwt:RecipientType");
- case SOAP_TYPE_PointerTongwt__Timezone:
- return soap_in_PointerTongwt__Timezone(soap, NULL, NULL, "ngwt:Timezone");
- case SOAP_TYPE_PointerTongwt__Minute:
- return soap_in_PointerTongwt__Minute(soap, NULL, NULL, "ngwt:Minute");
- case SOAP_TYPE_PointerTongwt__Hour:
- return soap_in_PointerTongwt__Hour(soap, NULL, NULL, "ngwt:Hour");
- case SOAP_TYPE_PointerTongwt__DayOfWeek:
- return soap_in_PointerTongwt__DayOfWeek(soap, NULL, NULL, "ngwt:DayOfWeek");
- case SOAP_TYPE_PointerTongwt__Day:
- return soap_in_PointerTongwt__Day(soap, NULL, NULL, "ngwt:Day");
- case SOAP_TYPE_PointerTongwt__Month:
- return soap_in_PointerTongwt__Month(soap, NULL, NULL, "ngwt:Month");
- case SOAP_TYPE_PointerTongwt__TimezoneComponent:
- return soap_in_PointerTongwt__TimezoneComponent(soap, NULL, NULL, "ngwt:TimezoneComponent");
- case SOAP_TYPE_PointerTongwt__ProblemList:
- return soap_in_PointerTongwt__ProblemList(soap, NULL, NULL, "ngwt:ProblemList");
- case SOAP_TYPE_PointerTongwt__Signature:
- return soap_in_PointerTongwt__Signature(soap, NULL, NULL, "ngwt:Signature");
- case SOAP_TYPE_PointerTongwt__SignatureData:
- return soap_in_PointerTongwt__SignatureData(soap, NULL, NULL, "ngwt:SignatureData");
- case SOAP_TYPE_PointerTongwt__SettingsGroup:
- return soap_in_PointerTongwt__SettingsGroup(soap, NULL, NULL, "ngwt:SettingsGroup");
- case SOAP_TYPE_PointerTongwt__ReturnNotification:
- return soap_in_PointerTongwt__ReturnNotification(soap, NULL, NULL, "ngwt:ReturnNotification");
- case SOAP_TYPE_PointerTongwt__StatusTracking:
- return soap_in_PointerTongwt__StatusTracking(soap, NULL, NULL, "ngwt:StatusTracking");
- case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply:
- return soap_in_PointerTongwt__SendOptionsRequestReply(soap, NULL, NULL, "ngwt:SendOptionsRequestReply");
- case SOAP_TYPE_PointerTongwt__Rule:
- return soap_in_PointerTongwt__Rule(soap, NULL, NULL, "ngwt:Rule");
- case SOAP_TYPE_PointerTongwt__RuleAction:
- return soap_in_PointerTongwt__RuleAction(soap, NULL, NULL, "ngwt:RuleAction");
- case SOAP_TYPE_PointerTongwt__CategoryRefList:
- return soap_in_PointerTongwt__CategoryRefList(soap, NULL, NULL, "ngwt:CategoryRefList");
- case SOAP_TYPE_PointerTongwt__Mail:
- return soap_in_PointerTongwt__Mail(soap, NULL, NULL, "ngwt:Mail");
- case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions:
- return soap_in_PointerTongwt__ReturnNotificationOptions(soap, NULL, NULL, "ngwt:ReturnNotificationOptions");
- case SOAP_TYPE_PointerTongwt__MonthList:
- return soap_in_PointerTongwt__MonthList(soap, NULL, NULL, "ngwt:MonthList");
- case SOAP_TYPE_PointerTongwt__DayOfYearList:
- return soap_in_PointerTongwt__DayOfYearList(soap, NULL, NULL, "ngwt:DayOfYearList");
- case SOAP_TYPE_PointerTongwt__DayOfMonthList:
- return soap_in_PointerTongwt__DayOfMonthList(soap, NULL, NULL, "ngwt:DayOfMonthList");
- case SOAP_TYPE_PointerTongwt__DayOfYearWeekList:
- return soap_in_PointerTongwt__DayOfYearWeekList(soap, NULL, NULL, "ngwt:DayOfYearWeekList");
- case SOAP_TYPE_PointerTongwt__Frequency:
- return soap_in_PointerTongwt__Frequency(soap, NULL, NULL, "ngwt:Frequency");
- case SOAP_TYPE_PointerTongwt__DelegateeStatus:
- return soap_in_PointerTongwt__DelegateeStatus(soap, NULL, NULL, "ngwt:DelegateeStatus");
- case SOAP_TYPE_PointerTongwt__DelegatedStatus:
- return soap_in_PointerTongwt__DelegatedStatus(soap, NULL, NULL, "ngwt:DelegatedStatus");
- case SOAP_TYPE_PointerTongwt__CommentStatus:
- return soap_in_PointerTongwt__CommentStatus(soap, NULL, NULL, "ngwt:CommentStatus");
- case SOAP_TYPE_PointerTongwt__TransferFailedStatus:
- return soap_in_PointerTongwt__TransferFailedStatus(soap, NULL, NULL, "ngwt:TransferFailedStatus");
- case SOAP_TYPE_PointerTongwt__Recipient:
- return soap_in_PointerTongwt__Recipient(soap, NULL, NULL, "ngwt:Recipient");
- case SOAP_TYPE_PointerTongwt__Filter:
- return soap_in_PointerTongwt__Filter(soap, NULL, NULL, "ngwt:Filter");
- case SOAP_TYPE_PointerTongwt__QueryTarget:
- return soap_in_PointerTongwt__QueryTarget(soap, NULL, NULL, "ngwt:QueryTarget");
- case SOAP_TYPE_PointerTongwt__ProxyUser:
- return soap_in_PointerTongwt__ProxyUser(soap, NULL, NULL, "ngwt:ProxyUser");
- case SOAP_TYPE_PointerTongwt__ProblemEntry:
- return soap_in_PointerTongwt__ProblemEntry(soap, NULL, NULL, "ngwt:ProblemEntry");
- case SOAP_TYPE_PointerTongwt__PostalAddress:
- return soap_in_PointerTongwt__PostalAddress(soap, NULL, NULL, "ngwt:PostalAddress");
- case SOAP_TYPE_PointerTongwt__PhoneNumber:
- return soap_in_PointerTongwt__PhoneNumber(soap, NULL, NULL, "ngwt:PhoneNumber");
- case SOAP_TYPE_PointerToxsd__date:
- return soap_in_PointerToxsd__date(soap, NULL, NULL, "xsd:date");
- case SOAP_TYPE_PointerTongwt__ItemRef:
- return soap_in_PointerTongwt__ItemRef(soap, NULL, NULL, "ngwt:ItemRef");
- case SOAP_TYPE_PointerTongwt__UUID:
- return soap_in_PointerTongwt__UUID(soap, NULL, NULL, "ngwt:UUID");
- case SOAP_TYPE_PointerTongwt__SharedFolderNotification:
- return soap_in_PointerTongwt__SharedFolderNotification(soap, NULL, NULL, "ngwt:SharedFolderNotification");
- case SOAP_TYPE_PointerTongwt__MessagePart:
- return soap_in_PointerTongwt__MessagePart(soap, NULL, NULL, "ngwt:MessagePart");
- case SOAP_TYPE_PointerTongwt__Library:
- return soap_in_PointerTongwt__Library(soap, NULL, NULL, "ngwt:Library");
- case SOAP_TYPE_PointerTongwt__JunkEntry:
- return soap_in_PointerTongwt__JunkEntry(soap, NULL, NULL, "ngwt:JunkEntry");
- case SOAP_TYPE_PointerTongwt__JunkHandlingListType:
- return soap_in_PointerTongwt__JunkHandlingListType(soap, NULL, NULL, "ngwt:JunkHandlingListType");
- case SOAP_TYPE_PointerTongwt__Item:
- return soap_in_PointerTongwt__Item(soap, NULL, NULL, "ngwt:Item");
- case SOAP_TYPE_PointerTongwt__ItemChanges:
- return soap_in_PointerTongwt__ItemChanges(soap, NULL, NULL, "ngwt:ItemChanges");
- case SOAP_TYPE_PointerTongwt__ImAddress:
- return soap_in_PointerTongwt__ImAddress(soap, NULL, NULL, "ngwt:ImAddress");
- case SOAP_TYPE_PointerTongwt__GroupMember:
- return soap_in_PointerTongwt__GroupMember(soap, NULL, NULL, "ngwt:GroupMember");
- case SOAP_TYPE_PointerTongwt__GroupMemberList:
- return soap_in_PointerTongwt__GroupMemberList(soap, NULL, NULL, "ngwt:GroupMemberList");
- case SOAP_TYPE_PointerTongwt__FreeBusyInfo:
- return soap_in_PointerTongwt__FreeBusyInfo(soap, NULL, NULL, "ngwt:FreeBusyInfo");
- case SOAP_TYPE_PointerTongwt__NameAndEmail:
- return soap_in_PointerTongwt__NameAndEmail(soap, NULL, NULL, "ngwt:NameAndEmail");
- case SOAP_TYPE_PointerTongwt__AcceptLevel:
- return soap_in_PointerTongwt__AcceptLevel(soap, NULL, NULL, "ngwt:AcceptLevel");
- case SOAP_TYPE_PointerTongwt__FreeBusyBlock:
- return soap_in_PointerTongwt__FreeBusyBlock(soap, NULL, NULL, "ngwt:FreeBusyBlock");
- case SOAP_TYPE_PointerTongwt__Folder:
- return soap_in_PointerTongwt__Folder(soap, NULL, NULL, "ngwt:Folder");
- case SOAP_TYPE_PointerTongwt__FolderACLEntry:
- return soap_in_PointerTongwt__FolderACLEntry(soap, NULL, NULL, "ngwt:FolderACLEntry");
- case SOAP_TYPE_PointerTongwt__FilterElement:
- return soap_in_PointerTongwt__FilterElement(soap, NULL, NULL, "ngwt:FilterElement");
- case SOAP_TYPE_PointerTongwt__DocumentType:
- return soap_in_PointerTongwt__DocumentType(soap, NULL, NULL, "ngwt:DocumentType");
- case SOAP_TYPE_PointerTongwt__AgeAction:
- return soap_in_PointerTongwt__AgeAction(soap, NULL, NULL, "ngwt:AgeAction");
- case SOAP_TYPE_PointerTongwt__SendOptions:
- return soap_in_PointerTongwt__SendOptions(soap, NULL, NULL, "ngwt:SendOptions");
- case SOAP_TYPE_PointerTongwt__RecipientList:
- return soap_in_PointerTongwt__RecipientList(soap, NULL, NULL, "ngwt:RecipientList");
- case SOAP_TYPE_PointerTongwt__From:
- return soap_in_PointerTongwt__From(soap, NULL, NULL, "ngwt:From");
- case SOAP_TYPE_PointerToint:
- return soap_in_PointerToint(soap, NULL, NULL, "xsd:int");
- case SOAP_TYPE_PointerTongwt__DayOfYearWeek:
- return soap_in_PointerTongwt__DayOfYearWeek(soap, NULL, NULL, "ngwt:DayOfYearWeek");
- case SOAP_TYPE_PointerTongwt__Custom:
- return soap_in_PointerTongwt__Custom(soap, NULL, NULL, "ngwt:Custom");
- case SOAP_TYPE_PointerTongwt__CustomType:
- return soap_in_PointerTongwt__CustomType(soap, NULL, NULL, "ngwt:CustomType");
- case SOAP_TYPE_PointerTongwt__uid:
- return soap_in_PointerTongwt__uid(soap, NULL, NULL, "ngwt:uid");
- case SOAP_TYPE_PointerTongwt__Category:
- return soap_in_PointerTongwt__Category(soap, NULL, NULL, "ngwt:Category");
- case SOAP_TYPE_PointerToxsd__base64Binary:
- return soap_in_PointerToxsd__base64Binary(soap, NULL, NULL, "xsd:base64Binary");
- case SOAP_TYPE_PointerTounsignedLong:
- return soap_in_PointerTounsignedLong(soap, NULL, NULL, "xsd:unsignedLong");
- case SOAP_TYPE_PointerTostd__string:
- return soap_in_PointerTostd__string(soap, NULL, NULL, "xsd:string");
- case SOAP_TYPE_PointerTongwt__AttachmentID:
- return soap_in_PointerTongwt__AttachmentID(soap, NULL, NULL, "ngwt:AttachmentID");
- case SOAP_TYPE_PointerTongwt__AttachmentItemInfo:
- return soap_in_PointerTongwt__AttachmentItemInfo(soap, NULL, NULL, "ngwt:AttachmentItemInfo");
- case SOAP_TYPE_PointerTongwt__AddressBook:
- return soap_in_PointerTongwt__AddressBook(soap, NULL, NULL, "ngwt:AddressBook");
- case SOAP_TYPE_PointerTongwt__AccessRightEntry:
- return soap_in_PointerTongwt__AccessRightEntry(soap, NULL, NULL, "ngwt:AccessRightEntry");
- case SOAP_TYPE_PointerTobool:
- return soap_in_PointerTobool(soap, NULL, NULL, "xsd:boolean");
- case SOAP_TYPE_PointerTongwt__AccessControlListEntry:
- return soap_in_PointerTongwt__AccessControlListEntry(soap, NULL, NULL, "ngwt:AccessControlListEntry");
- case SOAP_TYPE_PointerTounsignedByte:
- return soap_in_PointerTounsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
- case SOAP_TYPE__TQName:
- { char **s;
- s = soap_in__TQName(soap, NULL, NULL, "TQName");
- return s ? *s : NULL;
- }
- case SOAP_TYPE_string:
- { char **s;
- s = soap_in_string(soap, NULL, NULL, "xsd:string");
- return s ? *s : NULL;
- }
- default:
- { const char *t = soap->type;
- if (!*t)
- t = soap->tag;
- if (!soap_match_tag(soap, t, "ngwt:DayOfMonth"))
- { *type = SOAP_TYPE_ngwt__DayOfMonth;
- return soap_in_ngwt__DayOfMonth(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:byte"))
- { *type = SOAP_TYPE_byte;
- return soap_in_byte(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:WeekOfYear"))
- { *type = SOAP_TYPE_ngwt__WeekOfYear;
- return soap_in_ngwt__WeekOfYear(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfYear"))
- { *type = SOAP_TYPE_ngwt__DayOfYear;
- return soap_in_ngwt__DayOfYear(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:short"))
- { *type = SOAP_TYPE_short;
- return soap_in_short(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:GMTOffset"))
- { *type = SOAP_TYPE_ngwt__GMTOffset;
- return soap_in_ngwt__GMTOffset(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:int"))
- { *type = SOAP_TYPE_int;
- return soap_in_int(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:long"))
- { *type = SOAP_TYPE_long;
- return soap_in_long(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Month"))
- { *type = SOAP_TYPE_ngwt__Month;
- return soap_in_ngwt__Month(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Minute"))
- { *type = SOAP_TYPE_ngwt__Minute;
- return soap_in_ngwt__Minute(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Hour"))
- { *type = SOAP_TYPE_ngwt__Hour;
- return soap_in_ngwt__Hour(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Day"))
- { *type = SOAP_TYPE_ngwt__Day;
- return soap_in_ngwt__Day(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:unsignedByte"))
- { *type = SOAP_TYPE_unsignedByte;
- return soap_in_unsignedByte(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:unsignedInt"))
- { *type = SOAP_TYPE_unsignedInt;
- return soap_in_unsignedInt(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:unsignedLong"))
- { *type = SOAP_TYPE_unsignedLong;
- return soap_in_unsignedLong(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:boolean"))
- { *type = SOAP_TYPE_bool;
- return soap_in_bool(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:ItemType"))
- { *type = SOAP_TYPE_ngwe__ItemType;
- return soap_in_ngwe__ItemType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:Field"))
- { *type = SOAP_TYPE_ngwe__Field;
- return soap_in_ngwe__Field(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:EventType"))
- { *type = SOAP_TYPE_ngwe__EventType;
- return soap_in_ngwe__EventType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:WeekDay"))
- { *type = SOAP_TYPE_ngwt__WeekDay;
- return soap_in_ngwt__WeekDay(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:VersionStatus"))
- { *type = SOAP_TYPE_ngwt__VersionStatus;
- return soap_in_ngwt__VersionStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:VersionEventType"))
- { *type = SOAP_TYPE_ngwt__VersionEventType;
- return soap_in_ngwt__VersionEventType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:StatusTrackingOptions"))
- { *type = SOAP_TYPE_ngwt__StatusTrackingOptions;
- return soap_in_ngwt__StatusTrackingOptions(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RuleActionType"))
- { *type = SOAP_TYPE_ngwt__RuleActionType;
- return soap_in_ngwt__RuleActionType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RetractType"))
- { *type = SOAP_TYPE_ngwt__RetractType;
- return soap_in_ngwt__RetractType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RecipientType"))
- { *type = SOAP_TYPE_ngwt__RecipientType;
- return soap_in_ngwt__RecipientType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PostalAddressType"))
- { *type = SOAP_TYPE_ngwt__PostalAddressType;
- return soap_in_ngwt__PostalAddressType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PhoneNumberType"))
- { *type = SOAP_TYPE_ngwt__PhoneNumberType;
- return soap_in_ngwt__PhoneNumberType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:OccurrenceType"))
- { *type = SOAP_TYPE_ngwt__OccurrenceType;
- return soap_in_ngwt__OccurrenceType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:NotificationType"))
- { *type = SOAP_TYPE_ngwt__NotificationType;
- return soap_in_ngwt__NotificationType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MessageType"))
- { *type = SOAP_TYPE_ngwt__MessageType;
- return soap_in_ngwt__MessageType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MessageList"))
- { *type = SOAP_TYPE_ngwt__MessageList;
- return soap_in_ngwt__MessageList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:LinkType"))
- { *type = SOAP_TYPE_ngwt__LinkType;
- return soap_in_ngwt__LinkType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:JunkMatchType"))
- { *type = SOAP_TYPE_ngwt__JunkMatchType;
- return soap_in_ngwt__JunkMatchType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:JunkHandlingListType"))
- { *type = SOAP_TYPE_ngwt__JunkHandlingListType;
- return soap_in_ngwt__JunkHandlingListType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemSource"))
- { *type = SOAP_TYPE_ngwt__ItemSource;
- return soap_in_ngwt__ItemSource(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemSecurity"))
- { *type = SOAP_TYPE_ngwt__ItemSecurity;
- return soap_in_ngwt__ItemSecurity(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemOptionsPriority"))
- { *type = SOAP_TYPE_ngwt__ItemOptionsPriority;
- return soap_in_ngwt__ItemOptionsPriority(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemClass"))
- { *type = SOAP_TYPE_ngwt__ItemClass;
- return soap_in_ngwt__ItemClass(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Frequency"))
- { *type = SOAP_TYPE_ngwt__Frequency;
- return soap_in_ngwt__Frequency(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FolderType"))
- { *type = SOAP_TYPE_ngwt__FolderType;
- return soap_in_ngwt__FolderType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FolderACLStatus"))
- { *type = SOAP_TYPE_ngwt__FolderACLStatus;
- return soap_in_ngwt__FolderACLStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FilterOp"))
- { *type = SOAP_TYPE_ngwt__FilterOp;
- return soap_in_ngwt__FilterOp(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FilterDate"))
- { *type = SOAP_TYPE_ngwt__FilterDate;
- return soap_in_ngwt__FilterDate(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Execution"))
- { *type = SOAP_TYPE_ngwt__Execution;
- return soap_in_ngwt__Execution(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DistributionType"))
- { *type = SOAP_TYPE_ngwt__DistributionType;
- return soap_in_ngwt__DistributionType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DeltaSyncType"))
- { *type = SOAP_TYPE_ngwt__DeltaSyncType;
- return soap_in_ngwt__DeltaSyncType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CustomType"))
- { *type = SOAP_TYPE_ngwt__CustomType;
- return soap_in_ngwt__CustomType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CursorSeek"))
- { *type = SOAP_TYPE_ngwt__CursorSeek;
- return soap_in_ngwt__CursorSeek(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ContactType"))
- { *type = SOAP_TYPE_ngwt__ContactType;
- return soap_in_ngwt__ContactType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CategoryType"))
- { *type = SOAP_TYPE_ngwt__CategoryType;
- return soap_in_ngwt__CategoryType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CalendarFolderFlags"))
- { *type = SOAP_TYPE_ngwt__CalendarFolderFlags;
- return soap_in_ngwt__CalendarFolderFlags(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AppointmentConflict"))
- { *type = SOAP_TYPE_ngwt__AppointmentConflict;
- return soap_in_ngwt__AppointmentConflict(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AgeAction"))
- { *type = SOAP_TYPE_ngwt__AgeAction;
- return soap_in_ngwt__AgeAction(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AcceptLevel"))
- { *type = SOAP_TYPE_ngwt__AcceptLevel;
- return soap_in_ngwt__AcceptLevel(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:ItemTypeList"))
- { *type = SOAP_TYPE_ngwe__ItemTypeList;
- return soap_in_ngwe__ItemTypeList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:FieldList"))
- { *type = SOAP_TYPE_ngwe__FieldList;
- return soap_in_ngwe__FieldList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MessageTypeList"))
- { *type = SOAP_TYPE_ngwt__MessageTypeList;
- return soap_in_ngwt__MessageTypeList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemSourceList"))
- { *type = SOAP_TYPE_ngwt__ItemSourceList;
- return soap_in_ngwt__ItemSourceList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:UUID"))
- { *type = SOAP_TYPE_ngwt__UUID;
- return soap_in_ngwt__UUID(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:uid"))
- { *type = SOAP_TYPE_ngwt__uid;
- return soap_in_ngwt__uid(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:View"))
- { *type = SOAP_TYPE_ngwt__View;
- return soap_in_ngwt__View(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:removeEventsResponse"))
- { *type = SOAP_TYPE__ngwe__removeEventsResponse;
- return soap_in__ngwe__removeEventsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:removeEventsRequest"))
- { *type = SOAP_TYPE__ngwe__removeEventsRequest;
- return soap_in__ngwe__removeEventsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:removeEventConfigurationResponse"))
- { *type = SOAP_TYPE__ngwe__removeEventConfigurationResponse;
- return soap_in__ngwe__removeEventConfigurationResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:removeEventConfigurationRequest"))
- { *type = SOAP_TYPE__ngwe__removeEventConfigurationRequest;
- return soap_in__ngwe__removeEventConfigurationRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:getEventsResponse"))
- { *type = SOAP_TYPE__ngwe__getEventsResponse;
- return soap_in__ngwe__getEventsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:getEventsRequest"))
- { *type = SOAP_TYPE__ngwe__getEventsRequest;
- return soap_in__ngwe__getEventsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:getEventConfigurationResponse"))
- { *type = SOAP_TYPE__ngwe__getEventConfigurationResponse;
- return soap_in__ngwe__getEventConfigurationResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:getEventConfigurationRequest"))
- { *type = SOAP_TYPE__ngwe__getEventConfigurationRequest;
- return soap_in__ngwe__getEventConfigurationRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:configureEventsResponse"))
- { *type = SOAP_TYPE__ngwe__configureEventsResponse;
- return soap_in__ngwe__configureEventsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:configureEventsRequest"))
- { *type = SOAP_TYPE__ngwe__configureEventsRequest;
- return soap_in__ngwe__configureEventsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:cleanEventConfigurationResponse"))
- { *type = SOAP_TYPE__ngwe__cleanEventConfigurationResponse;
- return soap_in__ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:cleanEventConfigurationRequest"))
- { *type = SOAP_TYPE__ngwe__cleanEventConfigurationRequest;
- return soap_in__ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:Notify"))
- { *type = SOAP_TYPE_ngwe__Notify;
- return soap_in_ngwe__Notify(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:EventTypeList"))
- { *type = SOAP_TYPE_ngwe__EventTypeList;
- return soap_in_ngwe__EventTypeList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:EventsList"))
- { *type = SOAP_TYPE_ngwe__EventsList;
- return soap_in_ngwe__EventsList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:Events"))
- { *type = SOAP_TYPE_ngwe__Events;
- return soap_in_ngwe__Events(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:EventList"))
- { *type = SOAP_TYPE_ngwe__EventList;
- return soap_in_ngwe__EventList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:EventDefinition"))
- { *type = SOAP_TYPE_ngwe__EventDefinition;
- return soap_in_ngwe__EventDefinition(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:Event"))
- { *type = SOAP_TYPE_ngwe__Event;
- return soap_in_ngwe__Event(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwe:ContainerList"))
- { *type = SOAP_TYPE_ngwe__ContainerList;
- return soap_in_ngwe__ContainerList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:updateVersionStatusResponse"))
- { *type = SOAP_TYPE__ngwm__updateVersionStatusResponse;
- return soap_in__ngwm__updateVersionStatusResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:updateVersionStatusRequest"))
- { *type = SOAP_TYPE__ngwm__updateVersionStatusRequest;
- return soap_in__ngwm__updateVersionStatusRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:uncompleteResponse"))
- { *type = SOAP_TYPE__ngwm__uncompleteResponse;
- return soap_in__ngwm__uncompleteResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:uncompleteRequest"))
- { *type = SOAP_TYPE__ngwm__uncompleteRequest;
- return soap_in__ngwm__uncompleteRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:unacceptResponse"))
- { *type = SOAP_TYPE__ngwm__unacceptResponse;
- return soap_in__ngwm__unacceptResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:unacceptRequest"))
- { *type = SOAP_TYPE__ngwm__unacceptRequest;
- return soap_in__ngwm__unacceptRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:startFreeBusySessionResponse"))
- { *type = SOAP_TYPE__ngwm__startFreeBusySessionResponse;
- return soap_in__ngwm__startFreeBusySessionResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:startFreeBusySessionRequest"))
- { *type = SOAP_TYPE__ngwm__startFreeBusySessionRequest;
- return soap_in__ngwm__startFreeBusySessionRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:setTimestampResponse"))
- { *type = SOAP_TYPE__ngwm__setTimestampResponse;
- return soap_in__ngwm__setTimestampResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:setTimestampRequest"))
- { *type = SOAP_TYPE__ngwm__setTimestampRequest;
- return soap_in__ngwm__setTimestampRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:sendItemResponse"))
- { *type = SOAP_TYPE__ngwm__sendItemResponse;
- return soap_in__ngwm__sendItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:sendItemRequest"))
- { *type = SOAP_TYPE__ngwm__sendItemRequest;
- return soap_in__ngwm__sendItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:retractResponse"))
- { *type = SOAP_TYPE__ngwm__retractResponse;
- return soap_in__ngwm__retractResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:retractRequest"))
- { *type = SOAP_TYPE__ngwm__retractRequest;
- return soap_in__ngwm__retractRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:replyResponse"))
- { *type = SOAP_TYPE__ngwm__replyResponse;
- return soap_in__ngwm__replyResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:replyRequest"))
- { *type = SOAP_TYPE__ngwm__replyRequest;
- return soap_in__ngwm__replyRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeSignatureResponse"))
- { *type = SOAP_TYPE__ngwm__removeSignatureResponse;
- return soap_in__ngwm__removeSignatureResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeSignatureRequest"))
- { *type = SOAP_TYPE__ngwm__removeSignatureRequest;
- return soap_in__ngwm__removeSignatureRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeProxyUserResponse"))
- { *type = SOAP_TYPE__ngwm__removeProxyUserResponse;
- return soap_in__ngwm__removeProxyUserResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeProxyUserRequest"))
- { *type = SOAP_TYPE__ngwm__removeProxyUserRequest;
- return soap_in__ngwm__removeProxyUserRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeProxyAccessResponse"))
- { *type = SOAP_TYPE__ngwm__removeProxyAccessResponse;
- return soap_in__ngwm__removeProxyAccessResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeProxyAccessRequest"))
- { *type = SOAP_TYPE__ngwm__removeProxyAccessRequest;
- return soap_in__ngwm__removeProxyAccessRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeMembersResponse"))
- { *type = SOAP_TYPE__ngwm__removeMembersResponse;
- return soap_in__ngwm__removeMembersResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeMembersRequest"))
- { *type = SOAP_TYPE__ngwm__removeMembersRequest;
- return soap_in__ngwm__removeMembersRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeJunkEntryResponse"))
- { *type = SOAP_TYPE__ngwm__removeJunkEntryResponse;
- return soap_in__ngwm__removeJunkEntryResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeJunkEntryRequest"))
- { *type = SOAP_TYPE__ngwm__removeJunkEntryRequest;
- return soap_in__ngwm__removeJunkEntryRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeItemsResponse"))
- { *type = SOAP_TYPE__ngwm__removeItemsResponse;
- return soap_in__ngwm__removeItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeItemsRequest"))
- { *type = SOAP_TYPE__ngwm__removeItemsRequest;
- return soap_in__ngwm__removeItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeItemResponse"))
- { *type = SOAP_TYPE__ngwm__removeItemResponse;
- return soap_in__ngwm__removeItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeItemRequest"))
- { *type = SOAP_TYPE__ngwm__removeItemRequest;
- return soap_in__ngwm__removeItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeCustomDefinitionResponse"))
- { *type = SOAP_TYPE__ngwm__removeCustomDefinitionResponse;
- return soap_in__ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:removeCustomDefinitionRequest"))
- { *type = SOAP_TYPE__ngwm__removeCustomDefinitionRequest;
- return soap_in__ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:readCursorResponse"))
- { *type = SOAP_TYPE__ngwm__readCursorResponse;
- return soap_in__ngwm__readCursorResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:readCursorRequest"))
- { *type = SOAP_TYPE__ngwm__readCursorRequest;
- return soap_in__ngwm__readCursorRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:purgeResponse"))
- { *type = SOAP_TYPE__ngwm__purgeResponse;
- return soap_in__ngwm__purgeResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:purgeRequest"))
- { *type = SOAP_TYPE__ngwm__purgeRequest;
- return soap_in__ngwm__purgeRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:purgeDeletedItemsResponse"))
- { *type = SOAP_TYPE__ngwm__purgeDeletedItemsResponse;
- return soap_in__ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:purgeDeletedItemsRequest"))
- { *type = SOAP_TYPE__ngwm__purgeDeletedItemsRequest;
- return soap_in__ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:positionCursorResponse"))
- { *type = SOAP_TYPE__ngwm__positionCursorResponse;
- return soap_in__ngwm__positionCursorResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:positionCursorRequest"))
- { *type = SOAP_TYPE__ngwm__positionCursorRequest;
- return soap_in__ngwm__positionCursorRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:moveItemResponse"))
- { *type = SOAP_TYPE__ngwm__moveItemResponse;
- return soap_in__ngwm__moveItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:moveItemRequest"))
- { *type = SOAP_TYPE__ngwm__moveItemRequest;
- return soap_in__ngwm__moveItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifySignaturesResponse"))
- { *type = SOAP_TYPE__ngwm__modifySignaturesResponse;
- return soap_in__ngwm__modifySignaturesResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifySignaturesRequest"))
- { *type = SOAP_TYPE__ngwm__modifySignaturesRequest;
- return soap_in__ngwm__modifySignaturesRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifySettingsResponse"))
- { *type = SOAP_TYPE__ngwm__modifySettingsResponse;
- return soap_in__ngwm__modifySettingsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifySettingsRequest"))
- { *type = SOAP_TYPE__ngwm__modifySettingsRequest;
- return soap_in__ngwm__modifySettingsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyProxyAccessResponse"))
- { *type = SOAP_TYPE__ngwm__modifyProxyAccessResponse;
- return soap_in__ngwm__modifyProxyAccessResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyProxyAccessRequest"))
- { *type = SOAP_TYPE__ngwm__modifyProxyAccessRequest;
- return soap_in__ngwm__modifyProxyAccessRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyPasswordResponse"))
- { *type = SOAP_TYPE__ngwm__modifyPasswordResponse;
- return soap_in__ngwm__modifyPasswordResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyPasswordRequest"))
- { *type = SOAP_TYPE__ngwm__modifyPasswordRequest;
- return soap_in__ngwm__modifyPasswordRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyJunkMailSettingsResponse"))
- { *type = SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse;
- return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyJunkMailSettingsRequest"))
- { *type = SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest;
- return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyJunkEntryResponse"))
- { *type = SOAP_TYPE__ngwm__modifyJunkEntryResponse;
- return soap_in__ngwm__modifyJunkEntryResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyJunkEntryRequest"))
- { *type = SOAP_TYPE__ngwm__modifyJunkEntryRequest;
- return soap_in__ngwm__modifyJunkEntryRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyItemsResponse"))
- { *type = SOAP_TYPE__ngwm__modifyItemsResponse;
- return soap_in__ngwm__modifyItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyItemsRequest"))
- { *type = SOAP_TYPE__ngwm__modifyItemsRequest;
- return soap_in__ngwm__modifyItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyItemResponse"))
- { *type = SOAP_TYPE__ngwm__modifyItemResponse;
- return soap_in__ngwm__modifyItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:modifyItemRequest"))
- { *type = SOAP_TYPE__ngwm__modifyItemRequest;
- return soap_in__ngwm__modifyItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markUnReadResponse"))
- { *type = SOAP_TYPE__ngwm__markUnReadResponse;
- return soap_in__ngwm__markUnReadResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markUnReadRequest"))
- { *type = SOAP_TYPE__ngwm__markUnReadRequest;
- return soap_in__ngwm__markUnReadRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markUnPrivateResponse"))
- { *type = SOAP_TYPE__ngwm__markUnPrivateResponse;
- return soap_in__ngwm__markUnPrivateResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markUnPrivateRequest"))
- { *type = SOAP_TYPE__ngwm__markUnPrivateRequest;
- return soap_in__ngwm__markUnPrivateRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markReadResponse"))
- { *type = SOAP_TYPE__ngwm__markReadResponse;
- return soap_in__ngwm__markReadResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markReadRequest"))
- { *type = SOAP_TYPE__ngwm__markReadRequest;
- return soap_in__ngwm__markReadRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markPrivateResponse"))
- { *type = SOAP_TYPE__ngwm__markPrivateResponse;
- return soap_in__ngwm__markPrivateResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:markPrivateRequest"))
- { *type = SOAP_TYPE__ngwm__markPrivateRequest;
- return soap_in__ngwm__markPrivateRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:logoutResponse"))
- { *type = SOAP_TYPE__ngwm__logoutResponse;
- return soap_in__ngwm__logoutResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:logoutRequest"))
- { *type = SOAP_TYPE__ngwm__logoutRequest;
- return soap_in__ngwm__logoutRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:loginResponse"))
- { *type = SOAP_TYPE__ngwm__loginResponse;
- return soap_in__ngwm__loginResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:loginRequest"))
- { *type = SOAP_TYPE__ngwm__loginRequest;
- return soap_in__ngwm__loginRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getUserListResponse"))
- { *type = SOAP_TYPE__ngwm__getUserListResponse;
- return soap_in__ngwm__getUserListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getUserListRequest"))
- { *type = SOAP_TYPE__ngwm__getUserListRequest;
- return soap_in__ngwm__getUserListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getTimezoneListResponse"))
- { *type = SOAP_TYPE__ngwm__getTimezoneListResponse;
- return soap_in__ngwm__getTimezoneListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getTimezoneListRequest"))
- { *type = SOAP_TYPE__ngwm__getTimezoneListRequest;
- return soap_in__ngwm__getTimezoneListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getTimestampResponse"))
- { *type = SOAP_TYPE__ngwm__getTimestampResponse;
- return soap_in__ngwm__getTimestampResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getTimestampRequest"))
- { *type = SOAP_TYPE__ngwm__getTimestampRequest;
- return soap_in__ngwm__getTimestampRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getSignaturesResponse"))
- { *type = SOAP_TYPE__ngwm__getSignaturesResponse;
- return soap_in__ngwm__getSignaturesResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getSignaturesRequest"))
- { *type = SOAP_TYPE__ngwm__getSignaturesRequest;
- return soap_in__ngwm__getSignaturesRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getSettingsResponse"))
- { *type = SOAP_TYPE__ngwm__getSettingsResponse;
- return soap_in__ngwm__getSettingsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getSettingsRequest"))
- { *type = SOAP_TYPE__ngwm__getSettingsRequest;
- return soap_in__ngwm__getSettingsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getRuleListResponse"))
- { *type = SOAP_TYPE__ngwm__getRuleListResponse;
- return soap_in__ngwm__getRuleListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getRuleListRequest"))
- { *type = SOAP_TYPE__ngwm__getRuleListRequest;
- return soap_in__ngwm__getRuleListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getProxyListResponse"))
- { *type = SOAP_TYPE__ngwm__getProxyListResponse;
- return soap_in__ngwm__getProxyListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getProxyListRequest"))
- { *type = SOAP_TYPE__ngwm__getProxyListRequest;
- return soap_in__ngwm__getProxyListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getProxyAccessListResponse"))
- { *type = SOAP_TYPE__ngwm__getProxyAccessListResponse;
- return soap_in__ngwm__getProxyAccessListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getProxyAccessListRequest"))
- { *type = SOAP_TYPE__ngwm__getProxyAccessListRequest;
- return soap_in__ngwm__getProxyAccessListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getQuickMessagesResponse"))
- { *type = SOAP_TYPE__ngwm__getQuickMessagesResponse;
- return soap_in__ngwm__getQuickMessagesResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getQuickMessagesRequest"))
- { *type = SOAP_TYPE__ngwm__getQuickMessagesRequest;
- return soap_in__ngwm__getQuickMessagesRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getLibraryListResponse"))
- { *type = SOAP_TYPE__ngwm__getLibraryListResponse;
- return soap_in__ngwm__getLibraryListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getLibraryListRequest"))
- { *type = SOAP_TYPE__ngwm__getLibraryListRequest;
- return soap_in__ngwm__getLibraryListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getLibraryItemResponse"))
- { *type = SOAP_TYPE__ngwm__getLibraryItemResponse;
- return soap_in__ngwm__getLibraryItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getLibraryItemRequest"))
- { *type = SOAP_TYPE__ngwm__getLibraryItemRequest;
- return soap_in__ngwm__getLibraryItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getJunkMailSettingsResponse"))
- { *type = SOAP_TYPE__ngwm__getJunkMailSettingsResponse;
- return soap_in__ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getJunkMailSettingsRequest"))
- { *type = SOAP_TYPE__ngwm__getJunkMailSettingsRequest;
- return soap_in__ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getJunkEntriesResponse"))
- { *type = SOAP_TYPE__ngwm__getJunkEntriesResponse;
- return soap_in__ngwm__getJunkEntriesResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getJunkEntriesRequest"))
- { *type = SOAP_TYPE__ngwm__getJunkEntriesRequest;
- return soap_in__ngwm__getJunkEntriesRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getItemsResponse"))
- { *type = SOAP_TYPE__ngwm__getItemsResponse;
- return soap_in__ngwm__getItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getItemsRequest"))
- { *type = SOAP_TYPE__ngwm__getItemsRequest;
- return soap_in__ngwm__getItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getItemResponse"))
- { *type = SOAP_TYPE__ngwm__getItemResponse;
- return soap_in__ngwm__getItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getItemRequest"))
- { *type = SOAP_TYPE__ngwm__getItemRequest;
- return soap_in__ngwm__getItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFreeBusyResponse"))
- { *type = SOAP_TYPE__ngwm__getFreeBusyResponse;
- return soap_in__ngwm__getFreeBusyResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFreeBusyRequest"))
- { *type = SOAP_TYPE__ngwm__getFreeBusyRequest;
- return soap_in__ngwm__getFreeBusyRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFolderListResponse"))
- { *type = SOAP_TYPE__ngwm__getFolderListResponse;
- return soap_in__ngwm__getFolderListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFolderListRequest"))
- { *type = SOAP_TYPE__ngwm__getFolderListRequest;
- return soap_in__ngwm__getFolderListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFolderResponse"))
- { *type = SOAP_TYPE__ngwm__getFolderResponse;
- return soap_in__ngwm__getFolderResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getFolderRequest"))
- { *type = SOAP_TYPE__ngwm__getFolderRequest;
- return soap_in__ngwm__getFolderRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDocumentTypeListResponse"))
- { *type = SOAP_TYPE__ngwm__getDocumentTypeListResponse;
- return soap_in__ngwm__getDocumentTypeListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDocumentTypeListRequest"))
- { *type = SOAP_TYPE__ngwm__getDocumentTypeListRequest;
- return soap_in__ngwm__getDocumentTypeListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDeltaInfoResponse"))
- { *type = SOAP_TYPE__ngwm__getDeltaInfoResponse;
- return soap_in__ngwm__getDeltaInfoResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDeltaInfoRequest"))
- { *type = SOAP_TYPE__ngwm__getDeltaInfoRequest;
- return soap_in__ngwm__getDeltaInfoRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDeltasResponse"))
- { *type = SOAP_TYPE__ngwm__getDeltasResponse;
- return soap_in__ngwm__getDeltasResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getDeltasRequest"))
- { *type = SOAP_TYPE__ngwm__getDeltasRequest;
- return soap_in__ngwm__getDeltasRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getCustomListResponse"))
- { *type = SOAP_TYPE__ngwm__getCustomListResponse;
- return soap_in__ngwm__getCustomListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getCustomListRequest"))
- { *type = SOAP_TYPE__ngwm__getCustomListRequest;
- return soap_in__ngwm__getCustomListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getCategoryListResponse"))
- { *type = SOAP_TYPE__ngwm__getCategoryListResponse;
- return soap_in__ngwm__getCategoryListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getCategoryListRequest"))
- { *type = SOAP_TYPE__ngwm__getCategoryListRequest;
- return soap_in__ngwm__getCategoryListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getAttachmentResponse"))
- { *type = SOAP_TYPE__ngwm__getAttachmentResponse;
- return soap_in__ngwm__getAttachmentResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getAttachmentRequest"))
- { *type = SOAP_TYPE__ngwm__getAttachmentRequest;
- return soap_in__ngwm__getAttachmentRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getAddressBookListResponse"))
- { *type = SOAP_TYPE__ngwm__getAddressBookListResponse;
- return soap_in__ngwm__getAddressBookListResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:getAddressBookListRequest"))
- { *type = SOAP_TYPE__ngwm__getAddressBookListRequest;
- return soap_in__ngwm__getAddressBookListRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:forwardResponse"))
- { *type = SOAP_TYPE__ngwm__forwardResponse;
- return soap_in__ngwm__forwardResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:forwardRequest"))
- { *type = SOAP_TYPE__ngwm__forwardRequest;
- return soap_in__ngwm__forwardRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:executeRuleResponse"))
- { *type = SOAP_TYPE__ngwm__executeRuleResponse;
- return soap_in__ngwm__executeRuleResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:executeRuleRequest"))
- { *type = SOAP_TYPE__ngwm__executeRuleRequest;
- return soap_in__ngwm__executeRuleRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:destroyCursorResponse"))
- { *type = SOAP_TYPE__ngwm__destroyCursorResponse;
- return soap_in__ngwm__destroyCursorResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:destroyCursorRequest"))
- { *type = SOAP_TYPE__ngwm__destroyCursorRequest;
- return soap_in__ngwm__destroyCursorRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:delegateResponse"))
- { *type = SOAP_TYPE__ngwm__delegateResponse;
- return soap_in__ngwm__delegateResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:delegateRequest"))
- { *type = SOAP_TYPE__ngwm__delegateRequest;
- return soap_in__ngwm__delegateRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:declineResponse"))
- { *type = SOAP_TYPE__ngwm__declineResponse;
- return soap_in__ngwm__declineResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:declineRequest"))
- { *type = SOAP_TYPE__ngwm__declineRequest;
- return soap_in__ngwm__declineRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createSignatureResponse"))
- { *type = SOAP_TYPE__ngwm__createSignatureResponse;
- return soap_in__ngwm__createSignatureResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createSignatureRequest"))
- { *type = SOAP_TYPE__ngwm__createSignatureRequest;
- return soap_in__ngwm__createSignatureRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createProxyAccessResponse"))
- { *type = SOAP_TYPE__ngwm__createProxyAccessResponse;
- return soap_in__ngwm__createProxyAccessResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createProxyAccessRequest"))
- { *type = SOAP_TYPE__ngwm__createProxyAccessRequest;
- return soap_in__ngwm__createProxyAccessRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createJunkEntryResponse"))
- { *type = SOAP_TYPE__ngwm__createJunkEntryResponse;
- return soap_in__ngwm__createJunkEntryResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createJunkEntryRequest"))
- { *type = SOAP_TYPE__ngwm__createJunkEntryRequest;
- return soap_in__ngwm__createJunkEntryRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createItemsResponse"))
- { *type = SOAP_TYPE__ngwm__createItemsResponse;
- return soap_in__ngwm__createItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createItemsRequest"))
- { *type = SOAP_TYPE__ngwm__createItemsRequest;
- return soap_in__ngwm__createItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createItemResponse"))
- { *type = SOAP_TYPE__ngwm__createItemResponse;
- return soap_in__ngwm__createItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createItemRequest"))
- { *type = SOAP_TYPE__ngwm__createItemRequest;
- return soap_in__ngwm__createItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createCursorResponse"))
- { *type = SOAP_TYPE__ngwm__createCursorResponse;
- return soap_in__ngwm__createCursorResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:createCursorRequest"))
- { *type = SOAP_TYPE__ngwm__createCursorRequest;
- return soap_in__ngwm__createCursorRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:completeResponse"))
- { *type = SOAP_TYPE__ngwm__completeResponse;
- return soap_in__ngwm__completeResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:completeRequest"))
- { *type = SOAP_TYPE__ngwm__completeRequest;
- return soap_in__ngwm__completeRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:closeFreeBusySessionResponse"))
- { *type = SOAP_TYPE__ngwm__closeFreeBusySessionResponse;
- return soap_in__ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:closeFreeBusySessionRequest"))
- { *type = SOAP_TYPE__ngwm__closeFreeBusySessionRequest;
- return soap_in__ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addMembersResponse"))
- { *type = SOAP_TYPE__ngwm__addMembersResponse;
- return soap_in__ngwm__addMembersResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addMembersRequest"))
- { *type = SOAP_TYPE__ngwm__addMembersRequest;
- return soap_in__ngwm__addMembersRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addItemsResponse"))
- { *type = SOAP_TYPE__ngwm__addItemsResponse;
- return soap_in__ngwm__addItemsResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addItemsRequest"))
- { *type = SOAP_TYPE__ngwm__addItemsRequest;
- return soap_in__ngwm__addItemsRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addItemResponse"))
- { *type = SOAP_TYPE__ngwm__addItemResponse;
- return soap_in__ngwm__addItemResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:addItemRequest"))
- { *type = SOAP_TYPE__ngwm__addItemRequest;
- return soap_in__ngwm__addItemRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:acceptShareResponse"))
- { *type = SOAP_TYPE__ngwm__acceptShareResponse;
- return soap_in__ngwm__acceptShareResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:acceptShareRequest"))
- { *type = SOAP_TYPE__ngwm__acceptShareRequest;
- return soap_in__ngwm__acceptShareRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:acceptResponse"))
- { *type = SOAP_TYPE__ngwm__acceptResponse;
- return soap_in__ngwm__acceptResponse(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwm:acceptRequest"))
- { *type = SOAP_TYPE__ngwm__acceptRequest;
- return soap_in__ngwm__acceptRequest(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:VersionEvent"))
- { *type = SOAP_TYPE_ngwt__VersionEvent;
- return soap_in_ngwt__VersionEvent(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Version"))
- { *type = SOAP_TYPE_ngwt__Version;
- return soap_in_ngwt__Version(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:UserList"))
- { *type = SOAP_TYPE_ngwt__UserList;
- return soap_in_ngwt__UserList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:UserInfo"))
- { *type = SOAP_TYPE_ngwt__UserInfo;
- return soap_in_ngwt__UserInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:TrustedApplication"))
- { *type = SOAP_TYPE_ngwt__TrustedApplication;
- return soap_in_ngwt__TrustedApplication(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:TransferFailedStatus"))
- { *type = SOAP_TYPE_ngwt__TransferFailedStatus;
- return soap_in_ngwt__TransferFailedStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:TimezoneList"))
- { *type = SOAP_TYPE_ngwt__TimezoneList;
- return soap_in_ngwt__TimezoneList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:TimezoneComponent"))
- { *type = SOAP_TYPE_ngwt__TimezoneComponent;
- return soap_in_ngwt__TimezoneComponent(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Timezone"))
- { *type = SOAP_TYPE_ngwt__Timezone;
- return soap_in_ngwt__Timezone(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Task"))
- { *type = SOAP_TYPE_ngwt__Task;
- return soap_in_ngwt__Task(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SystemFolder"))
- { *type = SOAP_TYPE_ngwt__SystemFolder;
- return soap_in_ngwt__SystemFolder(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:StatusTracking"))
- { *type = SOAP_TYPE_ngwt__StatusTracking;
- return soap_in_ngwt__StatusTracking(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Status"))
- { *type = SOAP_TYPE_ngwt__Status;
- return soap_in_ngwt__Status(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SMimeOperation"))
- { *type = SOAP_TYPE_ngwt__SMimeOperation;
- return soap_in_ngwt__SMimeOperation(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SignatureData"))
- { *type = SOAP_TYPE_ngwt__SignatureData;
- return soap_in_ngwt__SignatureData(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Signatures"))
- { *type = SOAP_TYPE_ngwt__Signatures;
- return soap_in_ngwt__Signatures(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Signature"))
- { *type = SOAP_TYPE_ngwt__Signature;
- return soap_in_ngwt__Signature(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SharedNotification"))
- { *type = SOAP_TYPE_ngwt__SharedNotification;
- return soap_in_ngwt__SharedNotification(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SharedFolderNotification"))
- { *type = SOAP_TYPE_ngwt__SharedFolderNotification;
- return soap_in_ngwt__SharedFolderNotification(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SharedFolder"))
- { *type = SOAP_TYPE_ngwt__SharedFolder;
- return soap_in_ngwt__SharedFolder(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SettingsList"))
- { *type = SOAP_TYPE_ngwt__SettingsList;
- return soap_in_ngwt__SettingsList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SettingsGroup"))
- { *type = SOAP_TYPE_ngwt__SettingsGroup;
- return soap_in_ngwt__SettingsGroup(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Settings"))
- { *type = SOAP_TYPE_ngwt__Settings;
- return soap_in_ngwt__Settings(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SendOptions"))
- { *type = SOAP_TYPE_ngwt__SendOptions;
- return soap_in_ngwt__SendOptions(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:SendOptionsRequestReply"))
- { *type = SOAP_TYPE_ngwt__SendOptionsRequestReply;
- return soap_in_ngwt__SendOptionsRequestReply(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RuleList"))
- { *type = SOAP_TYPE_ngwt__RuleList;
- return soap_in_ngwt__RuleList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RuleActionList"))
- { *type = SOAP_TYPE_ngwt__RuleActionList;
- return soap_in_ngwt__RuleActionList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RuleAction"))
- { *type = SOAP_TYPE_ngwt__RuleAction;
- return soap_in_ngwt__RuleAction(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Rule"))
- { *type = SOAP_TYPE_ngwt__Rule;
- return soap_in_ngwt__Rule(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Rights"))
- { *type = SOAP_TYPE_ngwt__Rights;
- return soap_in_ngwt__Rights(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ReturnNotificationOptions"))
- { *type = SOAP_TYPE_ngwt__ReturnNotificationOptions;
- return soap_in_ngwt__ReturnNotificationOptions(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ReturnNotification"))
- { *type = SOAP_TYPE_ngwt__ReturnNotification;
- return soap_in_ngwt__ReturnNotification(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Resource"))
- { *type = SOAP_TYPE_ngwt__Resource;
- return soap_in_ngwt__Resource(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ReferenceInfo"))
- { *type = SOAP_TYPE_ngwt__ReferenceInfo;
- return soap_in_ngwt__ReferenceInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RecurrenceRule"))
- { *type = SOAP_TYPE_ngwt__RecurrenceRule;
- return soap_in_ngwt__RecurrenceRule(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RecurrenceDateType"))
- { *type = SOAP_TYPE_ngwt__RecurrenceDateType;
- return soap_in_ngwt__RecurrenceDateType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RecipientStatus"))
- { *type = SOAP_TYPE_ngwt__RecipientStatus;
- return soap_in_ngwt__RecipientStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:RecipientList"))
- { *type = SOAP_TYPE_ngwt__RecipientList;
- return soap_in_ngwt__RecipientList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Recipient"))
- { *type = SOAP_TYPE_ngwt__Recipient;
- return soap_in_ngwt__Recipient(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:QueryTarget"))
- { *type = SOAP_TYPE_ngwt__QueryTarget;
- return soap_in_ngwt__QueryTarget(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:QueryFolder"))
- { *type = SOAP_TYPE_ngwt__QueryFolder;
- return soap_in_ngwt__QueryFolder(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Query"))
- { *type = SOAP_TYPE_ngwt__Query;
- return soap_in_ngwt__Query(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ProxyList"))
- { *type = SOAP_TYPE_ngwt__ProxyList;
- return soap_in_ngwt__ProxyList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ProxyUser"))
- { *type = SOAP_TYPE_ngwt__ProxyUser;
- return soap_in_ngwt__ProxyUser(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Proxy"))
- { *type = SOAP_TYPE_ngwt__Proxy;
- return soap_in_ngwt__Proxy(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ProblemList"))
- { *type = SOAP_TYPE_ngwt__ProblemList;
- return soap_in_ngwt__ProblemList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ProblemEntry"))
- { *type = SOAP_TYPE_ngwt__ProblemEntry;
- return soap_in_ngwt__ProblemEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PostalAddressList"))
- { *type = SOAP_TYPE_ngwt__PostalAddressList;
- return soap_in_ngwt__PostalAddressList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PostalAddress"))
- { *type = SOAP_TYPE_ngwt__PostalAddress;
- return soap_in_ngwt__PostalAddress(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PlainText"))
- { *type = SOAP_TYPE_ngwt__PlainText;
- return soap_in_ngwt__PlainText(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PhoneNumber"))
- { *type = SOAP_TYPE_ngwt__PhoneNumber;
- return soap_in_ngwt__PhoneNumber(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PhoneMessage"))
- { *type = SOAP_TYPE_ngwt__PhoneMessage;
- return soap_in_ngwt__PhoneMessage(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PhoneList"))
- { *type = SOAP_TYPE_ngwt__PhoneList;
- return soap_in_ngwt__PhoneList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PhoneFlags"))
- { *type = SOAP_TYPE_ngwt__PhoneFlags;
- return soap_in_ngwt__PhoneFlags(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:PersonalInfo"))
- { *type = SOAP_TYPE_ngwt__PersonalInfo;
- return soap_in_ngwt__PersonalInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Organization"))
- { *type = SOAP_TYPE_ngwt__Organization;
- return soap_in_ngwt__Organization(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:OfficeInfo"))
- { *type = SOAP_TYPE_ngwt__OfficeInfo;
- return soap_in_ngwt__OfficeInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Note"))
- { *type = SOAP_TYPE_ngwt__Note;
- return soap_in_ngwt__Note(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:NameAndEmail"))
- { *type = SOAP_TYPE_ngwt__NameAndEmail;
- return soap_in_ngwt__NameAndEmail(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MonthList"))
- { *type = SOAP_TYPE_ngwt__MonthList;
- return soap_in_ngwt__MonthList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ModifyItem"))
- { *type = SOAP_TYPE_ngwt__ModifyItem;
- return soap_in_ngwt__ModifyItem(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MessagePart"))
- { *type = SOAP_TYPE_ngwt__MessagePart;
- return soap_in_ngwt__MessagePart(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:MessageBody"))
- { *type = SOAP_TYPE_ngwt__MessageBody;
- return soap_in_ngwt__MessageBody(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Mail"))
- { *type = SOAP_TYPE_ngwt__Mail;
- return soap_in_ngwt__Mail(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:LinkInfo"))
- { *type = SOAP_TYPE_ngwt__LinkInfo;
- return soap_in_ngwt__LinkInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:LibraryList"))
- { *type = SOAP_TYPE_ngwt__LibraryList;
- return soap_in_ngwt__LibraryList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Library"))
- { *type = SOAP_TYPE_ngwt__Library;
- return soap_in_ngwt__Library(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:JunkHandlingList"))
- { *type = SOAP_TYPE_ngwt__JunkHandlingList;
- return soap_in_ngwt__JunkHandlingList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:JunkEntry"))
- { *type = SOAP_TYPE_ngwt__JunkEntry;
- return soap_in_ngwt__JunkEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemStatus"))
- { *type = SOAP_TYPE_ngwt__ItemStatus;
- return soap_in_ngwt__ItemStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Items"))
- { *type = SOAP_TYPE_ngwt__Items;
- return soap_in_ngwt__Items(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemRefList"))
- { *type = SOAP_TYPE_ngwt__ItemRefList;
- return soap_in_ngwt__ItemRefList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemRef"))
- { *type = SOAP_TYPE_ngwt__ItemRef;
- return soap_in_ngwt__ItemRef(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemOptions"))
- { *type = SOAP_TYPE_ngwt__ItemOptions;
- return soap_in_ngwt__ItemOptions(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemList"))
- { *type = SOAP_TYPE_ngwt__ItemList;
- return soap_in_ngwt__ItemList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ItemChanges"))
- { *type = SOAP_TYPE_ngwt__ItemChanges;
- return soap_in_ngwt__ItemChanges(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Item"))
- { *type = SOAP_TYPE_ngwt__Item;
- return soap_in_ngwt__Item(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ImAddressList"))
- { *type = SOAP_TYPE_ngwt__ImAddressList;
- return soap_in_ngwt__ImAddressList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ImAddress"))
- { *type = SOAP_TYPE_ngwt__ImAddress;
- return soap_in_ngwt__ImAddress(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Host"))
- { *type = SOAP_TYPE_ngwt__Host;
- return soap_in_ngwt__Host(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:GroupMemberList"))
- { *type = SOAP_TYPE_ngwt__GroupMemberList;
- return soap_in_ngwt__GroupMemberList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:GroupMember"))
- { *type = SOAP_TYPE_ngwt__GroupMember;
- return soap_in_ngwt__GroupMember(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Group"))
- { *type = SOAP_TYPE_ngwt__Group;
- return soap_in_ngwt__Group(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FullName"))
- { *type = SOAP_TYPE_ngwt__FullName;
- return soap_in_ngwt__FullName(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:From"))
- { *type = SOAP_TYPE_ngwt__From;
- return soap_in_ngwt__From(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyStats"))
- { *type = SOAP_TYPE_ngwt__FreeBusyStats;
- return soap_in_ngwt__FreeBusyStats(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyInfoList"))
- { *type = SOAP_TYPE_ngwt__FreeBusyInfoList;
- return soap_in_ngwt__FreeBusyInfoList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyUserList"))
- { *type = SOAP_TYPE_ngwt__FreeBusyUserList;
- return soap_in_ngwt__FreeBusyUserList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyInfo"))
- { *type = SOAP_TYPE_ngwt__FreeBusyInfo;
- return soap_in_ngwt__FreeBusyInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyBlock"))
- { *type = SOAP_TYPE_ngwt__FreeBusyBlock;
- return soap_in_ngwt__FreeBusyBlock(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FreeBusyBlockList"))
- { *type = SOAP_TYPE_ngwt__FreeBusyBlockList;
- return soap_in_ngwt__FreeBusyBlockList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FolderList"))
- { *type = SOAP_TYPE_ngwt__FolderList;
- return soap_in_ngwt__FolderList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FolderACLEntry"))
- { *type = SOAP_TYPE_ngwt__FolderACLEntry;
- return soap_in_ngwt__FolderACLEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FolderACL"))
- { *type = SOAP_TYPE_ngwt__FolderACL;
- return soap_in_ngwt__FolderACL(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Folder"))
- { *type = SOAP_TYPE_ngwt__Folder;
- return soap_in_ngwt__Folder(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FilterGroup"))
- { *type = SOAP_TYPE_ngwt__FilterGroup;
- return soap_in_ngwt__FilterGroup(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FilterEntry"))
- { *type = SOAP_TYPE_ngwt__FilterEntry;
- return soap_in_ngwt__FilterEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:FilterElement"))
- { *type = SOAP_TYPE_ngwt__FilterElement;
- return soap_in_ngwt__FilterElement(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Filter"))
- { *type = SOAP_TYPE_ngwt__Filter;
- return soap_in_ngwt__Filter(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:EmailAddressList"))
- { *type = SOAP_TYPE_ngwt__EmailAddressList;
- return soap_in_ngwt__EmailAddressList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DocumentTypeList"))
- { *type = SOAP_TYPE_ngwt__DocumentTypeList;
- return soap_in_ngwt__DocumentTypeList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DocumentType"))
- { *type = SOAP_TYPE_ngwt__DocumentType;
- return soap_in_ngwt__DocumentType(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DocumentRef"))
- { *type = SOAP_TYPE_ngwt__DocumentRef;
- return soap_in_ngwt__DocumentRef(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Document"))
- { *type = SOAP_TYPE_ngwt__Document;
- return soap_in_ngwt__Document(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Distribution"))
- { *type = SOAP_TYPE_ngwt__Distribution;
- return soap_in_ngwt__Distribution(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DeltaInfo"))
- { *type = SOAP_TYPE_ngwt__DeltaInfo;
- return soap_in_ngwt__DeltaInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DelegateeStatus"))
- { *type = SOAP_TYPE_ngwt__DelegateeStatus;
- return soap_in_ngwt__DelegateeStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DelegatedStatus"))
- { *type = SOAP_TYPE_ngwt__DelegatedStatus;
- return soap_in_ngwt__DelegatedStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfYearWeekList"))
- { *type = SOAP_TYPE_ngwt__DayOfYearWeekList;
- return soap_in_ngwt__DayOfYearWeekList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfYearWeek"))
- { *type = SOAP_TYPE_ngwt__DayOfYearWeek;
- return soap_in_ngwt__DayOfYearWeek(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfYearList"))
- { *type = SOAP_TYPE_ngwt__DayOfYearList;
- return soap_in_ngwt__DayOfYearList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfWeek"))
- { *type = SOAP_TYPE_ngwt__DayOfWeek;
- return soap_in_ngwt__DayOfWeek(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:DayOfMonthList"))
- { *type = SOAP_TYPE_ngwt__DayOfMonthList;
- return soap_in_ngwt__DayOfMonthList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CustomList"))
- { *type = SOAP_TYPE_ngwt__CustomList;
- return soap_in_ngwt__CustomList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Custom"))
- { *type = SOAP_TYPE_ngwt__Custom;
- return soap_in_ngwt__Custom(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ContainerRef"))
- { *type = SOAP_TYPE_ngwt__ContainerRef;
- return soap_in_ngwt__ContainerRef(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ContainerItem"))
- { *type = SOAP_TYPE_ngwt__ContainerItem;
- return soap_in_ngwt__ContainerItem(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:ContactFolder"))
- { *type = SOAP_TYPE_ngwt__ContactFolder;
- return soap_in_ngwt__ContactFolder(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Contact"))
- { *type = SOAP_TYPE_ngwt__Contact;
- return soap_in_ngwt__Contact(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CommentStatus"))
- { *type = SOAP_TYPE_ngwt__CommentStatus;
- return soap_in_ngwt__CommentStatus(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CategoryRefList"))
- { *type = SOAP_TYPE_ngwt__CategoryRefList;
- return soap_in_ngwt__CategoryRefList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CategoryList"))
- { *type = SOAP_TYPE_ngwt__CategoryList;
- return soap_in_ngwt__CategoryList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Category"))
- { *type = SOAP_TYPE_ngwt__Category;
- return soap_in_ngwt__Category(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CalendarItem"))
- { *type = SOAP_TYPE_ngwt__CalendarItem;
- return soap_in_ngwt__CalendarItem(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:CalendarFolderAttribute"))
- { *type = SOAP_TYPE_ngwt__CalendarFolderAttribute;
- return soap_in_ngwt__CalendarFolderAttribute(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:BoxEntry"))
- { *type = SOAP_TYPE_ngwt__BoxEntry;
- return soap_in_ngwt__BoxEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Authentication"))
- { *type = SOAP_TYPE_ngwt__Authentication;
- return soap_in_ngwt__Authentication(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AttachmentItemInfo"))
- { *type = SOAP_TYPE_ngwt__AttachmentItemInfo;
- return soap_in_ngwt__AttachmentItemInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AttachmentInfo"))
- { *type = SOAP_TYPE_ngwt__AttachmentInfo;
- return soap_in_ngwt__AttachmentInfo(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AttachmentID"))
- { *type = SOAP_TYPE_ngwt__AttachmentID;
- return soap_in_ngwt__AttachmentID(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Appointment"))
- { *type = SOAP_TYPE_ngwt__Appointment;
- return soap_in_ngwt__Appointment(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:Alarm"))
- { *type = SOAP_TYPE_ngwt__Alarm;
- return soap_in_ngwt__Alarm(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AddressBookList"))
- { *type = SOAP_TYPE_ngwt__AddressBookList;
- return soap_in_ngwt__AddressBookList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AddressBookItem"))
- { *type = SOAP_TYPE_ngwt__AddressBookItem;
- return soap_in_ngwt__AddressBookItem(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AddressBook"))
- { *type = SOAP_TYPE_ngwt__AddressBook;
- return soap_in_ngwt__AddressBook(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessRightList"))
- { *type = SOAP_TYPE_ngwt__AccessRightList;
- return soap_in_ngwt__AccessRightList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessRightEntry"))
- { *type = SOAP_TYPE_ngwt__AccessRightEntry;
- return soap_in_ngwt__AccessRightEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessRightChanges"))
- { *type = SOAP_TYPE_ngwt__AccessRightChanges;
- return soap_in_ngwt__AccessRightChanges(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessRight"))
- { *type = SOAP_TYPE_ngwt__AccessRight;
- return soap_in_ngwt__AccessRight(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessMiscRight"))
- { *type = SOAP_TYPE_ngwt__AccessMiscRight;
- return soap_in_ngwt__AccessMiscRight(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessControlList"))
- { *type = SOAP_TYPE_ngwt__AccessControlList;
- return soap_in_ngwt__AccessControlList(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "ngwt:AccessControlListEntry"))
- { *type = SOAP_TYPE_ngwt__AccessControlListEntry;
- return soap_in_ngwt__AccessControlListEntry(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:language"))
- { *type = SOAP_TYPE_xsd__language;
- return soap_in_xsd__language(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:duration"))
- { *type = SOAP_TYPE_xsd__duration;
- return soap_in_xsd__duration(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:decimal"))
- { *type = SOAP_TYPE_xsd__decimal;
- return soap_in_xsd__decimal(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:date"))
- { *type = SOAP_TYPE_xsd__date;
- return soap_in_xsd__date(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:string"))
- { *type = SOAP_TYPE_std__string;
- return soap_in_std__string(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "xsd:base64Binary"))
- { *type = SOAP_TYPE_xsd__base64Binary;
- return soap_in_xsd__base64Binary(soap, NULL, NULL, NULL);
- }
- if (!soap_match_tag(soap, t, "TQName"))
- { char **s;
- *type = SOAP_TYPE__TQName;
- s = soap_in__TQName(soap, NULL, NULL, NULL);
- return s ? *s : NULL;
- }
- if (!soap_match_tag(soap, t, "xsd:string"))
- { char **s;
- *type = SOAP_TYPE_string;
- s = soap_in_string(soap, NULL, NULL, NULL);
- return s ? *s : NULL;
- }
- }
- }
- soap->error = SOAP_TAG_MISMATCH;
- return NULL;
-}
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap)
-{ if (!soap_peek_element(soap))
- { int t;
- if (soap->mustUnderstand && !soap->other)
- return soap->error = SOAP_MUSTUNDERSTAND;
- if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:"))
- return soap->error = SOAP_TAG_MISMATCH;
- if (!*soap->id || !soap_getelement(soap, &t))
- { soap->peeked = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unknown element '%s' (level=%u, %d)\n", soap->tag, soap->level, soap->body));
- if (soap->fignore)
- soap->error = soap->fignore(soap, soap->tag);
- else
- soap->error = SOAP_OK;
- DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag));
- if (!soap->error && soap->body)
- { soap->level++;
- while (!soap_ignore_element(soap))
- ;
- if (soap->error == SOAP_NO_TAG)
- soap->error = soap_element_end_in(soap, NULL);
- }
- }
- }
- return soap->error;
-}
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap)
-{
- int i;
- struct soap_plist *pp;
- if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)))
- for (i = 0; i < SOAP_PTRHASH; i++)
- for (pp = soap->pht[i]; pp; pp = pp->next)
- if (pp->mark1 == 2 || pp->mark2 == 2)
- if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type)
-{
- switch (type)
- {
- case SOAP_TYPE_ngwt__DayOfMonth:
- return soap_out_ngwt__DayOfMonth(soap, tag, id, (const char *)ptr, "ngwt:DayOfMonth");
- case SOAP_TYPE_byte:
- return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
- case SOAP_TYPE_ngwt__WeekOfYear:
- return soap_out_ngwt__WeekOfYear(soap, tag, id, (const short *)ptr, "ngwt:WeekOfYear");
- case SOAP_TYPE_ngwt__DayOfYear:
- return soap_out_ngwt__DayOfYear(soap, tag, id, (const short *)ptr, "ngwt:DayOfYear");
- case SOAP_TYPE_short:
- return soap_out_short(soap, tag, id, (const short *)ptr, "xsd:short");
- case SOAP_TYPE_ngwt__GMTOffset:
- return soap_out_ngwt__GMTOffset(soap, tag, id, (const int *)ptr, "ngwt:GMTOffset");
- case SOAP_TYPE_int:
- return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
- case SOAP_TYPE_long:
- return soap_out_long(soap, tag, id, (const long *)ptr, "xsd:long");
- case SOAP_TYPE_ngwt__Month:
- return soap_out_ngwt__Month(soap, tag, id, (const unsigned char *)ptr, "ngwt:Month");
- case SOAP_TYPE_ngwt__Minute:
- return soap_out_ngwt__Minute(soap, tag, id, (const unsigned char *)ptr, "ngwt:Minute");
- case SOAP_TYPE_ngwt__Hour:
- return soap_out_ngwt__Hour(soap, tag, id, (const unsigned char *)ptr, "ngwt:Hour");
- case SOAP_TYPE_ngwt__Day:
- return soap_out_ngwt__Day(soap, tag, id, (const unsigned char *)ptr, "ngwt:Day");
- case SOAP_TYPE_unsignedByte:
- return soap_out_unsignedByte(soap, tag, id, (const unsigned char *)ptr, "xsd:unsignedByte");
- case SOAP_TYPE_unsignedInt:
- return soap_out_unsignedInt(soap, tag, id, (const unsigned int *)ptr, "xsd:unsignedInt");
- case SOAP_TYPE_unsignedLong:
- return soap_out_unsignedLong(soap, tag, id, (const unsigned long *)ptr, "xsd:unsignedLong");
- case SOAP_TYPE_bool:
- return soap_out_bool(soap, tag, id, (const bool *)ptr, "xsd:boolean");
- case SOAP_TYPE_ngwe__ItemType:
- return soap_out_ngwe__ItemType(soap, tag, id, (const enum ngwe__ItemType *)ptr, "ngwe:ItemType");
- case SOAP_TYPE_ngwe__Field:
- return soap_out_ngwe__Field(soap, tag, id, (const enum ngwe__Field *)ptr, "ngwe:Field");
- case SOAP_TYPE_ngwe__EventType:
- return soap_out_ngwe__EventType(soap, tag, id, (const enum ngwe__EventType *)ptr, "ngwe:EventType");
- case SOAP_TYPE_ngwt__WeekDay:
- return soap_out_ngwt__WeekDay(soap, tag, id, (const enum ngwt__WeekDay *)ptr, "ngwt:WeekDay");
- case SOAP_TYPE_ngwt__VersionStatus:
- return soap_out_ngwt__VersionStatus(soap, tag, id, (const enum ngwt__VersionStatus *)ptr, "ngwt:VersionStatus");
- case SOAP_TYPE_ngwt__VersionEventType:
- return soap_out_ngwt__VersionEventType(soap, tag, id, (const enum ngwt__VersionEventType *)ptr, "ngwt:VersionEventType");
- case SOAP_TYPE_ngwt__StatusTrackingOptions:
- return soap_out_ngwt__StatusTrackingOptions(soap, tag, id, (const enum ngwt__StatusTrackingOptions *)ptr, "ngwt:StatusTrackingOptions");
- case SOAP_TYPE_ngwt__RuleActionType:
- return soap_out_ngwt__RuleActionType(soap, tag, id, (const enum ngwt__RuleActionType *)ptr, "ngwt:RuleActionType");
- case SOAP_TYPE_ngwt__RetractType:
- return soap_out_ngwt__RetractType(soap, tag, id, (const enum ngwt__RetractType *)ptr, "ngwt:RetractType");
- case SOAP_TYPE_ngwt__RecipientType:
- return soap_out_ngwt__RecipientType(soap, tag, id, (const enum ngwt__RecipientType *)ptr, "ngwt:RecipientType");
- case SOAP_TYPE_ngwt__PostalAddressType:
- return soap_out_ngwt__PostalAddressType(soap, tag, id, (const enum ngwt__PostalAddressType *)ptr, "ngwt:PostalAddressType");
- case SOAP_TYPE_ngwt__PhoneNumberType:
- return soap_out_ngwt__PhoneNumberType(soap, tag, id, (const enum ngwt__PhoneNumberType *)ptr, "ngwt:PhoneNumberType");
- case SOAP_TYPE_ngwt__OccurrenceType:
- return soap_out_ngwt__OccurrenceType(soap, tag, id, (const enum ngwt__OccurrenceType *)ptr, "ngwt:OccurrenceType");
- case SOAP_TYPE_ngwt__NotificationType:
- return soap_out_ngwt__NotificationType(soap, tag, id, (const enum ngwt__NotificationType *)ptr, "ngwt:NotificationType");
- case SOAP_TYPE_ngwt__MessageType:
- return soap_out_ngwt__MessageType(soap, tag, id, (const enum ngwt__MessageType *)ptr, "ngwt:MessageType");
- case SOAP_TYPE_ngwt__MessageList:
- return soap_out_ngwt__MessageList(soap, tag, id, (const enum ngwt__MessageList *)ptr, "ngwt:MessageList");
- case SOAP_TYPE_ngwt__LinkType:
- return soap_out_ngwt__LinkType(soap, tag, id, (const enum ngwt__LinkType *)ptr, "ngwt:LinkType");
- case SOAP_TYPE_ngwt__JunkMatchType:
- return soap_out_ngwt__JunkMatchType(soap, tag, id, (const enum ngwt__JunkMatchType *)ptr, "ngwt:JunkMatchType");
- case SOAP_TYPE_ngwt__JunkHandlingListType:
- return soap_out_ngwt__JunkHandlingListType(soap, tag, id, (const enum ngwt__JunkHandlingListType *)ptr, "ngwt:JunkHandlingListType");
- case SOAP_TYPE_ngwt__ItemSource:
- return soap_out_ngwt__ItemSource(soap, tag, id, (const enum ngwt__ItemSource *)ptr, "ngwt:ItemSource");
- case SOAP_TYPE_ngwt__ItemSecurity:
- return soap_out_ngwt__ItemSecurity(soap, tag, id, (const enum ngwt__ItemSecurity *)ptr, "ngwt:ItemSecurity");
- case SOAP_TYPE_ngwt__ItemOptionsPriority:
- return soap_out_ngwt__ItemOptionsPriority(soap, tag, id, (const enum ngwt__ItemOptionsPriority *)ptr, "ngwt:ItemOptionsPriority");
- case SOAP_TYPE_ngwt__ItemClass:
- return soap_out_ngwt__ItemClass(soap, tag, id, (const enum ngwt__ItemClass *)ptr, "ngwt:ItemClass");
- case SOAP_TYPE_ngwt__Frequency:
- return soap_out_ngwt__Frequency(soap, tag, id, (const enum ngwt__Frequency *)ptr, "ngwt:Frequency");
- case SOAP_TYPE_ngwt__FolderType:
- return soap_out_ngwt__FolderType(soap, tag, id, (const enum ngwt__FolderType *)ptr, "ngwt:FolderType");
- case SOAP_TYPE_ngwt__FolderACLStatus:
- return soap_out_ngwt__FolderACLStatus(soap, tag, id, (const enum ngwt__FolderACLStatus *)ptr, "ngwt:FolderACLStatus");
- case SOAP_TYPE_ngwt__FilterOp:
- return soap_out_ngwt__FilterOp(soap, tag, id, (const enum ngwt__FilterOp *)ptr, "ngwt:FilterOp");
- case SOAP_TYPE_ngwt__FilterDate:
- return soap_out_ngwt__FilterDate(soap, tag, id, (const enum ngwt__FilterDate *)ptr, "ngwt:FilterDate");
- case SOAP_TYPE_ngwt__Execution:
- return soap_out_ngwt__Execution(soap, tag, id, (const enum ngwt__Execution *)ptr, "ngwt:Execution");
- case SOAP_TYPE_ngwt__DistributionType:
- return soap_out_ngwt__DistributionType(soap, tag, id, (const enum ngwt__DistributionType *)ptr, "ngwt:DistributionType");
- case SOAP_TYPE_ngwt__DeltaSyncType:
- return soap_out_ngwt__DeltaSyncType(soap, tag, id, (const enum ngwt__DeltaSyncType *)ptr, "ngwt:DeltaSyncType");
- case SOAP_TYPE_ngwt__CustomType:
- return soap_out_ngwt__CustomType(soap, tag, id, (const enum ngwt__CustomType *)ptr, "ngwt:CustomType");
- case SOAP_TYPE_ngwt__CursorSeek:
- return soap_out_ngwt__CursorSeek(soap, tag, id, (const enum ngwt__CursorSeek *)ptr, "ngwt:CursorSeek");
- case SOAP_TYPE_ngwt__ContactType:
- return soap_out_ngwt__ContactType(soap, tag, id, (const enum ngwt__ContactType *)ptr, "ngwt:ContactType");
- case SOAP_TYPE_ngwt__CategoryType:
- return soap_out_ngwt__CategoryType(soap, tag, id, (const enum ngwt__CategoryType *)ptr, "ngwt:CategoryType");
- case SOAP_TYPE_ngwt__CalendarFolderFlags:
- return soap_out_ngwt__CalendarFolderFlags(soap, tag, id, (const enum ngwt__CalendarFolderFlags *)ptr, "ngwt:CalendarFolderFlags");
- case SOAP_TYPE_ngwt__AppointmentConflict:
- return soap_out_ngwt__AppointmentConflict(soap, tag, id, (const enum ngwt__AppointmentConflict *)ptr, "ngwt:AppointmentConflict");
- case SOAP_TYPE_ngwt__AgeAction:
- return soap_out_ngwt__AgeAction(soap, tag, id, (const enum ngwt__AgeAction *)ptr, "ngwt:AgeAction");
- case SOAP_TYPE_ngwt__AcceptLevel:
- return soap_out_ngwt__AcceptLevel(soap, tag, id, (const enum ngwt__AcceptLevel *)ptr, "ngwt:AcceptLevel");
- case SOAP_TYPE_ngwe__ItemTypeList:
- return soap_out_ngwe__ItemTypeList(soap, tag, id, (const enum ngwe__ItemTypeList *)ptr, "ngwe:ItemTypeList");
- case SOAP_TYPE_ngwe__FieldList:
- return soap_out_ngwe__FieldList(soap, tag, id, (const enum ngwe__FieldList *)ptr, "ngwe:FieldList");
- case SOAP_TYPE_ngwt__MessageTypeList:
- return soap_out_ngwt__MessageTypeList(soap, tag, id, (const enum ngwt__MessageTypeList *)ptr, "ngwt:MessageTypeList");
- case SOAP_TYPE_ngwt__ItemSourceList:
- return soap_out_ngwt__ItemSourceList(soap, tag, id, (const enum ngwt__ItemSourceList *)ptr, "ngwt:ItemSourceList");
- case SOAP_TYPE_ngwt__UUID:
- return soap_out_ngwt__UUID(soap, tag, id, (const std::string *)ptr, "ngwt:UUID");
- case SOAP_TYPE_ngwt__uid:
- return soap_out_ngwt__uid(soap, tag, id, (const std::string *)ptr, "ngwt:uid");
- case SOAP_TYPE_ngwt__View:
- return soap_out_ngwt__View(soap, tag, id, (const std::string *)ptr, "ngwt:View");
- case SOAP_TYPE__ngwe__removeEventsResponse:
- return ((_ngwe__removeEventsResponse *)ptr)->soap_out(soap, "ngwe:removeEventsResponse", id, NULL);
- case SOAP_TYPE__ngwe__removeEventsRequest:
- return ((_ngwe__removeEventsRequest *)ptr)->soap_out(soap, "ngwe:removeEventsRequest", id, NULL);
- case SOAP_TYPE__ngwe__removeEventConfigurationResponse:
- return ((_ngwe__removeEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:removeEventConfigurationResponse", id, NULL);
- case SOAP_TYPE__ngwe__removeEventConfigurationRequest:
- return ((_ngwe__removeEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:removeEventConfigurationRequest", id, NULL);
- case SOAP_TYPE__ngwe__getEventsResponse:
- return ((_ngwe__getEventsResponse *)ptr)->soap_out(soap, "ngwe:getEventsResponse", id, NULL);
- case SOAP_TYPE__ngwe__getEventsRequest:
- return ((_ngwe__getEventsRequest *)ptr)->soap_out(soap, "ngwe:getEventsRequest", id, NULL);
- case SOAP_TYPE__ngwe__getEventConfigurationResponse:
- return ((_ngwe__getEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:getEventConfigurationResponse", id, NULL);
- case SOAP_TYPE__ngwe__getEventConfigurationRequest:
- return ((_ngwe__getEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:getEventConfigurationRequest", id, NULL);
- case SOAP_TYPE__ngwe__configureEventsResponse:
- return ((_ngwe__configureEventsResponse *)ptr)->soap_out(soap, "ngwe:configureEventsResponse", id, NULL);
- case SOAP_TYPE__ngwe__configureEventsRequest:
- return ((_ngwe__configureEventsRequest *)ptr)->soap_out(soap, "ngwe:configureEventsRequest", id, NULL);
- case SOAP_TYPE__ngwe__cleanEventConfigurationResponse:
- return ((_ngwe__cleanEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:cleanEventConfigurationResponse", id, NULL);
- case SOAP_TYPE__ngwe__cleanEventConfigurationRequest:
- return ((_ngwe__cleanEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:cleanEventConfigurationRequest", id, NULL);
- case SOAP_TYPE_ngwe__Notify:
- return ((ngwe__Notify *)ptr)->soap_out(soap, tag, id, "ngwe:Notify");
- case SOAP_TYPE_ngwe__EventTypeList:
- return ((ngwe__EventTypeList *)ptr)->soap_out(soap, tag, id, "ngwe:EventTypeList");
- case SOAP_TYPE_ngwe__EventsList:
- return ((ngwe__EventsList *)ptr)->soap_out(soap, tag, id, "ngwe:EventsList");
- case SOAP_TYPE_ngwe__Events:
- return ((ngwe__Events *)ptr)->soap_out(soap, tag, id, "ngwe:Events");
- case SOAP_TYPE_ngwe__EventList:
- return ((ngwe__EventList *)ptr)->soap_out(soap, tag, id, "ngwe:EventList");
- case SOAP_TYPE_ngwe__EventDefinition:
- return ((ngwe__EventDefinition *)ptr)->soap_out(soap, tag, id, "ngwe:EventDefinition");
- case SOAP_TYPE_ngwe__Event:
- return ((ngwe__Event *)ptr)->soap_out(soap, tag, id, "ngwe:Event");
- case SOAP_TYPE_ngwe__ContainerList:
- return ((ngwe__ContainerList *)ptr)->soap_out(soap, tag, id, "ngwe:ContainerList");
- case SOAP_TYPE__ngwm__updateVersionStatusResponse:
- return ((_ngwm__updateVersionStatusResponse *)ptr)->soap_out(soap, "ngwm:updateVersionStatusResponse", id, NULL);
- case SOAP_TYPE__ngwm__updateVersionStatusRequest:
- return ((_ngwm__updateVersionStatusRequest *)ptr)->soap_out(soap, "ngwm:updateVersionStatusRequest", id, NULL);
- case SOAP_TYPE__ngwm__uncompleteResponse:
- return ((_ngwm__uncompleteResponse *)ptr)->soap_out(soap, "ngwm:uncompleteResponse", id, NULL);
- case SOAP_TYPE__ngwm__uncompleteRequest:
- return ((_ngwm__uncompleteRequest *)ptr)->soap_out(soap, "ngwm:uncompleteRequest", id, NULL);
- case SOAP_TYPE__ngwm__unacceptResponse:
- return ((_ngwm__unacceptResponse *)ptr)->soap_out(soap, "ngwm:unacceptResponse", id, NULL);
- case SOAP_TYPE__ngwm__unacceptRequest:
- return ((_ngwm__unacceptRequest *)ptr)->soap_out(soap, "ngwm:unacceptRequest", id, NULL);
- case SOAP_TYPE__ngwm__startFreeBusySessionResponse:
- return ((_ngwm__startFreeBusySessionResponse *)ptr)->soap_out(soap, "ngwm:startFreeBusySessionResponse", id, NULL);
- case SOAP_TYPE__ngwm__startFreeBusySessionRequest:
- return ((_ngwm__startFreeBusySessionRequest *)ptr)->soap_out(soap, "ngwm:startFreeBusySessionRequest", id, NULL);
- case SOAP_TYPE__ngwm__setTimestampResponse:
- return ((_ngwm__setTimestampResponse *)ptr)->soap_out(soap, "ngwm:setTimestampResponse", id, NULL);
- case SOAP_TYPE__ngwm__setTimestampRequest:
- return ((_ngwm__setTimestampRequest *)ptr)->soap_out(soap, "ngwm:setTimestampRequest", id, NULL);
- case SOAP_TYPE__ngwm__sendItemResponse:
- return ((_ngwm__sendItemResponse *)ptr)->soap_out(soap, "ngwm:sendItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__sendItemRequest:
- return ((_ngwm__sendItemRequest *)ptr)->soap_out(soap, "ngwm:sendItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__retractResponse:
- return ((_ngwm__retractResponse *)ptr)->soap_out(soap, "ngwm:retractResponse", id, NULL);
- case SOAP_TYPE__ngwm__retractRequest:
- return ((_ngwm__retractRequest *)ptr)->soap_out(soap, "ngwm:retractRequest", id, NULL);
- case SOAP_TYPE__ngwm__replyResponse:
- return ((_ngwm__replyResponse *)ptr)->soap_out(soap, "ngwm:replyResponse", id, NULL);
- case SOAP_TYPE__ngwm__replyRequest:
- return ((_ngwm__replyRequest *)ptr)->soap_out(soap, "ngwm:replyRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeSignatureResponse:
- return ((_ngwm__removeSignatureResponse *)ptr)->soap_out(soap, "ngwm:removeSignatureResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeSignatureRequest:
- return ((_ngwm__removeSignatureRequest *)ptr)->soap_out(soap, "ngwm:removeSignatureRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeProxyUserResponse:
- return ((_ngwm__removeProxyUserResponse *)ptr)->soap_out(soap, "ngwm:removeProxyUserResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeProxyUserRequest:
- return ((_ngwm__removeProxyUserRequest *)ptr)->soap_out(soap, "ngwm:removeProxyUserRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeProxyAccessResponse:
- return ((_ngwm__removeProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:removeProxyAccessResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeProxyAccessRequest:
- return ((_ngwm__removeProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:removeProxyAccessRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeMembersResponse:
- return ((_ngwm__removeMembersResponse *)ptr)->soap_out(soap, "ngwm:removeMembersResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeMembersRequest:
- return ((_ngwm__removeMembersRequest *)ptr)->soap_out(soap, "ngwm:removeMembersRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeJunkEntryResponse:
- return ((_ngwm__removeJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:removeJunkEntryResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeJunkEntryRequest:
- return ((_ngwm__removeJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:removeJunkEntryRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeItemsResponse:
- return ((_ngwm__removeItemsResponse *)ptr)->soap_out(soap, "ngwm:removeItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeItemsRequest:
- return ((_ngwm__removeItemsRequest *)ptr)->soap_out(soap, "ngwm:removeItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeItemResponse:
- return ((_ngwm__removeItemResponse *)ptr)->soap_out(soap, "ngwm:removeItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeItemRequest:
- return ((_ngwm__removeItemRequest *)ptr)->soap_out(soap, "ngwm:removeItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__removeCustomDefinitionResponse:
- return ((_ngwm__removeCustomDefinitionResponse *)ptr)->soap_out(soap, "ngwm:removeCustomDefinitionResponse", id, NULL);
- case SOAP_TYPE__ngwm__removeCustomDefinitionRequest:
- return ((_ngwm__removeCustomDefinitionRequest *)ptr)->soap_out(soap, "ngwm:removeCustomDefinitionRequest", id, NULL);
- case SOAP_TYPE__ngwm__readCursorResponse:
- return ((_ngwm__readCursorResponse *)ptr)->soap_out(soap, "ngwm:readCursorResponse", id, NULL);
- case SOAP_TYPE__ngwm__readCursorRequest:
- return ((_ngwm__readCursorRequest *)ptr)->soap_out(soap, "ngwm:readCursorRequest", id, NULL);
- case SOAP_TYPE__ngwm__purgeResponse:
- return ((_ngwm__purgeResponse *)ptr)->soap_out(soap, "ngwm:purgeResponse", id, NULL);
- case SOAP_TYPE__ngwm__purgeRequest:
- return ((_ngwm__purgeRequest *)ptr)->soap_out(soap, "ngwm:purgeRequest", id, NULL);
- case SOAP_TYPE__ngwm__purgeDeletedItemsResponse:
- return ((_ngwm__purgeDeletedItemsResponse *)ptr)->soap_out(soap, "ngwm:purgeDeletedItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__purgeDeletedItemsRequest:
- return ((_ngwm__purgeDeletedItemsRequest *)ptr)->soap_out(soap, "ngwm:purgeDeletedItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__positionCursorResponse:
- return ((_ngwm__positionCursorResponse *)ptr)->soap_out(soap, "ngwm:positionCursorResponse", id, NULL);
- case SOAP_TYPE__ngwm__positionCursorRequest:
- return ((_ngwm__positionCursorRequest *)ptr)->soap_out(soap, "ngwm:positionCursorRequest", id, NULL);
- case SOAP_TYPE__ngwm__moveItemResponse:
- return ((_ngwm__moveItemResponse *)ptr)->soap_out(soap, "ngwm:moveItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__moveItemRequest:
- return ((_ngwm__moveItemRequest *)ptr)->soap_out(soap, "ngwm:moveItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifySignaturesResponse:
- return ((_ngwm__modifySignaturesResponse *)ptr)->soap_out(soap, "ngwm:modifySignaturesResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifySignaturesRequest:
- return ((_ngwm__modifySignaturesRequest *)ptr)->soap_out(soap, "ngwm:modifySignaturesRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifySettingsResponse:
- return ((_ngwm__modifySettingsResponse *)ptr)->soap_out(soap, "ngwm:modifySettingsResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifySettingsRequest:
- return ((_ngwm__modifySettingsRequest *)ptr)->soap_out(soap, "ngwm:modifySettingsRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyProxyAccessResponse:
- return ((_ngwm__modifyProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:modifyProxyAccessResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyProxyAccessRequest:
- return ((_ngwm__modifyProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:modifyProxyAccessRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyPasswordResponse:
- return ((_ngwm__modifyPasswordResponse *)ptr)->soap_out(soap, "ngwm:modifyPasswordResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyPasswordRequest:
- return ((_ngwm__modifyPasswordRequest *)ptr)->soap_out(soap, "ngwm:modifyPasswordRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse:
- return ((_ngwm__modifyJunkMailSettingsResponse *)ptr)->soap_out(soap, "ngwm:modifyJunkMailSettingsResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest:
- return ((_ngwm__modifyJunkMailSettingsRequest *)ptr)->soap_out(soap, "ngwm:modifyJunkMailSettingsRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyJunkEntryResponse:
- return ((_ngwm__modifyJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:modifyJunkEntryResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyJunkEntryRequest:
- return ((_ngwm__modifyJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:modifyJunkEntryRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyItemsResponse:
- return ((_ngwm__modifyItemsResponse *)ptr)->soap_out(soap, "ngwm:modifyItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyItemsRequest:
- return ((_ngwm__modifyItemsRequest *)ptr)->soap_out(soap, "ngwm:modifyItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__modifyItemResponse:
- return ((_ngwm__modifyItemResponse *)ptr)->soap_out(soap, "ngwm:modifyItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__modifyItemRequest:
- return ((_ngwm__modifyItemRequest *)ptr)->soap_out(soap, "ngwm:modifyItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__markUnReadResponse:
- return ((_ngwm__markUnReadResponse *)ptr)->soap_out(soap, "ngwm:markUnReadResponse", id, NULL);
- case SOAP_TYPE__ngwm__markUnReadRequest:
- return ((_ngwm__markUnReadRequest *)ptr)->soap_out(soap, "ngwm:markUnReadRequest", id, NULL);
- case SOAP_TYPE__ngwm__markUnPrivateResponse:
- return ((_ngwm__markUnPrivateResponse *)ptr)->soap_out(soap, "ngwm:markUnPrivateResponse", id, NULL);
- case SOAP_TYPE__ngwm__markUnPrivateRequest:
- return ((_ngwm__markUnPrivateRequest *)ptr)->soap_out(soap, "ngwm:markUnPrivateRequest", id, NULL);
- case SOAP_TYPE__ngwm__markReadResponse:
- return ((_ngwm__markReadResponse *)ptr)->soap_out(soap, "ngwm:markReadResponse", id, NULL);
- case SOAP_TYPE__ngwm__markReadRequest:
- return ((_ngwm__markReadRequest *)ptr)->soap_out(soap, "ngwm:markReadRequest", id, NULL);
- case SOAP_TYPE__ngwm__markPrivateResponse:
- return ((_ngwm__markPrivateResponse *)ptr)->soap_out(soap, "ngwm:markPrivateResponse", id, NULL);
- case SOAP_TYPE__ngwm__markPrivateRequest:
- return ((_ngwm__markPrivateRequest *)ptr)->soap_out(soap, "ngwm:markPrivateRequest", id, NULL);
- case SOAP_TYPE__ngwm__logoutResponse:
- return ((_ngwm__logoutResponse *)ptr)->soap_out(soap, "ngwm:logoutResponse", id, NULL);
- case SOAP_TYPE__ngwm__logoutRequest:
- return ((_ngwm__logoutRequest *)ptr)->soap_out(soap, "ngwm:logoutRequest", id, NULL);
- case SOAP_TYPE__ngwm__loginResponse:
- return ((_ngwm__loginResponse *)ptr)->soap_out(soap, "ngwm:loginResponse", id, NULL);
- case SOAP_TYPE__ngwm__loginRequest:
- return ((_ngwm__loginRequest *)ptr)->soap_out(soap, "ngwm:loginRequest", id, NULL);
- case SOAP_TYPE__ngwm__getUserListResponse:
- return ((_ngwm__getUserListResponse *)ptr)->soap_out(soap, "ngwm:getUserListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getUserListRequest:
- return ((_ngwm__getUserListRequest *)ptr)->soap_out(soap, "ngwm:getUserListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getTimezoneListResponse:
- return ((_ngwm__getTimezoneListResponse *)ptr)->soap_out(soap, "ngwm:getTimezoneListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getTimezoneListRequest:
- return ((_ngwm__getTimezoneListRequest *)ptr)->soap_out(soap, "ngwm:getTimezoneListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getTimestampResponse:
- return ((_ngwm__getTimestampResponse *)ptr)->soap_out(soap, "ngwm:getTimestampResponse", id, NULL);
- case SOAP_TYPE__ngwm__getTimestampRequest:
- return ((_ngwm__getTimestampRequest *)ptr)->soap_out(soap, "ngwm:getTimestampRequest", id, NULL);
- case SOAP_TYPE__ngwm__getSignaturesResponse:
- return ((_ngwm__getSignaturesResponse *)ptr)->soap_out(soap, "ngwm:getSignaturesResponse", id, NULL);
- case SOAP_TYPE__ngwm__getSignaturesRequest:
- return ((_ngwm__getSignaturesRequest *)ptr)->soap_out(soap, "ngwm:getSignaturesRequest", id, NULL);
- case SOAP_TYPE__ngwm__getSettingsResponse:
- return ((_ngwm__getSettingsResponse *)ptr)->soap_out(soap, "ngwm:getSettingsResponse", id, NULL);
- case SOAP_TYPE__ngwm__getSettingsRequest:
- return ((_ngwm__getSettingsRequest *)ptr)->soap_out(soap, "ngwm:getSettingsRequest", id, NULL);
- case SOAP_TYPE__ngwm__getRuleListResponse:
- return ((_ngwm__getRuleListResponse *)ptr)->soap_out(soap, "ngwm:getRuleListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getRuleListRequest:
- return ((_ngwm__getRuleListRequest *)ptr)->soap_out(soap, "ngwm:getRuleListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getProxyListResponse:
- return ((_ngwm__getProxyListResponse *)ptr)->soap_out(soap, "ngwm:getProxyListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getProxyListRequest:
- return ((_ngwm__getProxyListRequest *)ptr)->soap_out(soap, "ngwm:getProxyListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getProxyAccessListResponse:
- return ((_ngwm__getProxyAccessListResponse *)ptr)->soap_out(soap, "ngwm:getProxyAccessListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getProxyAccessListRequest:
- return ((_ngwm__getProxyAccessListRequest *)ptr)->soap_out(soap, "ngwm:getProxyAccessListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getQuickMessagesResponse:
- return ((_ngwm__getQuickMessagesResponse *)ptr)->soap_out(soap, "ngwm:getQuickMessagesResponse", id, NULL);
- case SOAP_TYPE__ngwm__getQuickMessagesRequest:
- return ((_ngwm__getQuickMessagesRequest *)ptr)->soap_out(soap, "ngwm:getQuickMessagesRequest", id, NULL);
- case SOAP_TYPE__ngwm__getLibraryListResponse:
- return ((_ngwm__getLibraryListResponse *)ptr)->soap_out(soap, "ngwm:getLibraryListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getLibraryListRequest:
- return ((_ngwm__getLibraryListRequest *)ptr)->soap_out(soap, "ngwm:getLibraryListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getLibraryItemResponse:
- return ((_ngwm__getLibraryItemResponse *)ptr)->soap_out(soap, "ngwm:getLibraryItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__getLibraryItemRequest:
- return ((_ngwm__getLibraryItemRequest *)ptr)->soap_out(soap, "ngwm:getLibraryItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__getJunkMailSettingsResponse:
- return ((_ngwm__getJunkMailSettingsResponse *)ptr)->soap_out(soap, "ngwm:getJunkMailSettingsResponse", id, NULL);
- case SOAP_TYPE__ngwm__getJunkMailSettingsRequest:
- return ((_ngwm__getJunkMailSettingsRequest *)ptr)->soap_out(soap, "ngwm:getJunkMailSettingsRequest", id, NULL);
- case SOAP_TYPE__ngwm__getJunkEntriesResponse:
- return ((_ngwm__getJunkEntriesResponse *)ptr)->soap_out(soap, "ngwm:getJunkEntriesResponse", id, NULL);
- case SOAP_TYPE__ngwm__getJunkEntriesRequest:
- return ((_ngwm__getJunkEntriesRequest *)ptr)->soap_out(soap, "ngwm:getJunkEntriesRequest", id, NULL);
- case SOAP_TYPE__ngwm__getItemsResponse:
- return ((_ngwm__getItemsResponse *)ptr)->soap_out(soap, "ngwm:getItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__getItemsRequest:
- return ((_ngwm__getItemsRequest *)ptr)->soap_out(soap, "ngwm:getItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__getItemResponse:
- return ((_ngwm__getItemResponse *)ptr)->soap_out(soap, "ngwm:getItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__getItemRequest:
- return ((_ngwm__getItemRequest *)ptr)->soap_out(soap, "ngwm:getItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__getFreeBusyResponse:
- return ((_ngwm__getFreeBusyResponse *)ptr)->soap_out(soap, "ngwm:getFreeBusyResponse", id, NULL);
- case SOAP_TYPE__ngwm__getFreeBusyRequest:
- return ((_ngwm__getFreeBusyRequest *)ptr)->soap_out(soap, "ngwm:getFreeBusyRequest", id, NULL);
- case SOAP_TYPE__ngwm__getFolderListResponse:
- return ((_ngwm__getFolderListResponse *)ptr)->soap_out(soap, "ngwm:getFolderListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getFolderListRequest:
- return ((_ngwm__getFolderListRequest *)ptr)->soap_out(soap, "ngwm:getFolderListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getFolderResponse:
- return ((_ngwm__getFolderResponse *)ptr)->soap_out(soap, "ngwm:getFolderResponse", id, NULL);
- case SOAP_TYPE__ngwm__getFolderRequest:
- return ((_ngwm__getFolderRequest *)ptr)->soap_out(soap, "ngwm:getFolderRequest", id, NULL);
- case SOAP_TYPE__ngwm__getDocumentTypeListResponse:
- return ((_ngwm__getDocumentTypeListResponse *)ptr)->soap_out(soap, "ngwm:getDocumentTypeListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getDocumentTypeListRequest:
- return ((_ngwm__getDocumentTypeListRequest *)ptr)->soap_out(soap, "ngwm:getDocumentTypeListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getDeltaInfoResponse:
- return ((_ngwm__getDeltaInfoResponse *)ptr)->soap_out(soap, "ngwm:getDeltaInfoResponse", id, NULL);
- case SOAP_TYPE__ngwm__getDeltaInfoRequest:
- return ((_ngwm__getDeltaInfoRequest *)ptr)->soap_out(soap, "ngwm:getDeltaInfoRequest", id, NULL);
- case SOAP_TYPE__ngwm__getDeltasResponse:
- return ((_ngwm__getDeltasResponse *)ptr)->soap_out(soap, "ngwm:getDeltasResponse", id, NULL);
- case SOAP_TYPE__ngwm__getDeltasRequest:
- return ((_ngwm__getDeltasRequest *)ptr)->soap_out(soap, "ngwm:getDeltasRequest", id, NULL);
- case SOAP_TYPE__ngwm__getCustomListResponse:
- return ((_ngwm__getCustomListResponse *)ptr)->soap_out(soap, "ngwm:getCustomListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getCustomListRequest:
- return ((_ngwm__getCustomListRequest *)ptr)->soap_out(soap, "ngwm:getCustomListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getCategoryListResponse:
- return ((_ngwm__getCategoryListResponse *)ptr)->soap_out(soap, "ngwm:getCategoryListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getCategoryListRequest:
- return ((_ngwm__getCategoryListRequest *)ptr)->soap_out(soap, "ngwm:getCategoryListRequest", id, NULL);
- case SOAP_TYPE__ngwm__getAttachmentResponse:
- return ((_ngwm__getAttachmentResponse *)ptr)->soap_out(soap, "ngwm:getAttachmentResponse", id, NULL);
- case SOAP_TYPE__ngwm__getAttachmentRequest:
- return ((_ngwm__getAttachmentRequest *)ptr)->soap_out(soap, "ngwm:getAttachmentRequest", id, NULL);
- case SOAP_TYPE__ngwm__getAddressBookListResponse:
- return ((_ngwm__getAddressBookListResponse *)ptr)->soap_out(soap, "ngwm:getAddressBookListResponse", id, NULL);
- case SOAP_TYPE__ngwm__getAddressBookListRequest:
- return ((_ngwm__getAddressBookListRequest *)ptr)->soap_out(soap, "ngwm:getAddressBookListRequest", id, NULL);
- case SOAP_TYPE__ngwm__forwardResponse:
- return ((_ngwm__forwardResponse *)ptr)->soap_out(soap, "ngwm:forwardResponse", id, NULL);
- case SOAP_TYPE__ngwm__forwardRequest:
- return ((_ngwm__forwardRequest *)ptr)->soap_out(soap, "ngwm:forwardRequest", id, NULL);
- case SOAP_TYPE__ngwm__executeRuleResponse:
- return ((_ngwm__executeRuleResponse *)ptr)->soap_out(soap, "ngwm:executeRuleResponse", id, NULL);
- case SOAP_TYPE__ngwm__executeRuleRequest:
- return ((_ngwm__executeRuleRequest *)ptr)->soap_out(soap, "ngwm:executeRuleRequest", id, NULL);
- case SOAP_TYPE__ngwm__destroyCursorResponse:
- return ((_ngwm__destroyCursorResponse *)ptr)->soap_out(soap, "ngwm:destroyCursorResponse", id, NULL);
- case SOAP_TYPE__ngwm__destroyCursorRequest:
- return ((_ngwm__destroyCursorRequest *)ptr)->soap_out(soap, "ngwm:destroyCursorRequest", id, NULL);
- case SOAP_TYPE__ngwm__delegateResponse:
- return ((_ngwm__delegateResponse *)ptr)->soap_out(soap, "ngwm:delegateResponse", id, NULL);
- case SOAP_TYPE__ngwm__delegateRequest:
- return ((_ngwm__delegateRequest *)ptr)->soap_out(soap, "ngwm:delegateRequest", id, NULL);
- case SOAP_TYPE__ngwm__declineResponse:
- return ((_ngwm__declineResponse *)ptr)->soap_out(soap, "ngwm:declineResponse", id, NULL);
- case SOAP_TYPE__ngwm__declineRequest:
- return ((_ngwm__declineRequest *)ptr)->soap_out(soap, "ngwm:declineRequest", id, NULL);
- case SOAP_TYPE__ngwm__createSignatureResponse:
- return ((_ngwm__createSignatureResponse *)ptr)->soap_out(soap, "ngwm:createSignatureResponse", id, NULL);
- case SOAP_TYPE__ngwm__createSignatureRequest:
- return ((_ngwm__createSignatureRequest *)ptr)->soap_out(soap, "ngwm:createSignatureRequest", id, NULL);
- case SOAP_TYPE__ngwm__createProxyAccessResponse:
- return ((_ngwm__createProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:createProxyAccessResponse", id, NULL);
- case SOAP_TYPE__ngwm__createProxyAccessRequest:
- return ((_ngwm__createProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:createProxyAccessRequest", id, NULL);
- case SOAP_TYPE__ngwm__createJunkEntryResponse:
- return ((_ngwm__createJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:createJunkEntryResponse", id, NULL);
- case SOAP_TYPE__ngwm__createJunkEntryRequest:
- return ((_ngwm__createJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:createJunkEntryRequest", id, NULL);
- case SOAP_TYPE__ngwm__createItemsResponse:
- return ((_ngwm__createItemsResponse *)ptr)->soap_out(soap, "ngwm:createItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__createItemsRequest:
- return ((_ngwm__createItemsRequest *)ptr)->soap_out(soap, "ngwm:createItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__createItemResponse:
- return ((_ngwm__createItemResponse *)ptr)->soap_out(soap, "ngwm:createItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__createItemRequest:
- return ((_ngwm__createItemRequest *)ptr)->soap_out(soap, "ngwm:createItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__createCursorResponse:
- return ((_ngwm__createCursorResponse *)ptr)->soap_out(soap, "ngwm:createCursorResponse", id, NULL);
- case SOAP_TYPE__ngwm__createCursorRequest:
- return ((_ngwm__createCursorRequest *)ptr)->soap_out(soap, "ngwm:createCursorRequest", id, NULL);
- case SOAP_TYPE__ngwm__completeResponse:
- return ((_ngwm__completeResponse *)ptr)->soap_out(soap, "ngwm:completeResponse", id, NULL);
- case SOAP_TYPE__ngwm__completeRequest:
- return ((_ngwm__completeRequest *)ptr)->soap_out(soap, "ngwm:completeRequest", id, NULL);
- case SOAP_TYPE__ngwm__closeFreeBusySessionResponse:
- return ((_ngwm__closeFreeBusySessionResponse *)ptr)->soap_out(soap, "ngwm:closeFreeBusySessionResponse", id, NULL);
- case SOAP_TYPE__ngwm__closeFreeBusySessionRequest:
- return ((_ngwm__closeFreeBusySessionRequest *)ptr)->soap_out(soap, "ngwm:closeFreeBusySessionRequest", id, NULL);
- case SOAP_TYPE__ngwm__addMembersResponse:
- return ((_ngwm__addMembersResponse *)ptr)->soap_out(soap, "ngwm:addMembersResponse", id, NULL);
- case SOAP_TYPE__ngwm__addMembersRequest:
- return ((_ngwm__addMembersRequest *)ptr)->soap_out(soap, "ngwm:addMembersRequest", id, NULL);
- case SOAP_TYPE__ngwm__addItemsResponse:
- return ((_ngwm__addItemsResponse *)ptr)->soap_out(soap, "ngwm:addItemsResponse", id, NULL);
- case SOAP_TYPE__ngwm__addItemsRequest:
- return ((_ngwm__addItemsRequest *)ptr)->soap_out(soap, "ngwm:addItemsRequest", id, NULL);
- case SOAP_TYPE__ngwm__addItemResponse:
- return ((_ngwm__addItemResponse *)ptr)->soap_out(soap, "ngwm:addItemResponse", id, NULL);
- case SOAP_TYPE__ngwm__addItemRequest:
- return ((_ngwm__addItemRequest *)ptr)->soap_out(soap, "ngwm:addItemRequest", id, NULL);
- case SOAP_TYPE__ngwm__acceptShareResponse:
- return ((_ngwm__acceptShareResponse *)ptr)->soap_out(soap, "ngwm:acceptShareResponse", id, NULL);
- case SOAP_TYPE__ngwm__acceptShareRequest:
- return ((_ngwm__acceptShareRequest *)ptr)->soap_out(soap, "ngwm:acceptShareRequest", id, NULL);
- case SOAP_TYPE__ngwm__acceptResponse:
- return ((_ngwm__acceptResponse *)ptr)->soap_out(soap, "ngwm:acceptResponse", id, NULL);
- case SOAP_TYPE__ngwm__acceptRequest:
- return ((_ngwm__acceptRequest *)ptr)->soap_out(soap, "ngwm:acceptRequest", id, NULL);
- case SOAP_TYPE_ngwt__VersionEvent:
- return ((ngwt__VersionEvent *)ptr)->soap_out(soap, tag, id, "ngwt:VersionEvent");
- case SOAP_TYPE_ngwt__Version:
- return ((ngwt__Version *)ptr)->soap_out(soap, tag, id, "ngwt:Version");
- case SOAP_TYPE_ngwt__UserList:
- return ((ngwt__UserList *)ptr)->soap_out(soap, tag, id, "ngwt:UserList");
- case SOAP_TYPE_ngwt__UserInfo:
- return ((ngwt__UserInfo *)ptr)->soap_out(soap, tag, id, "ngwt:UserInfo");
- case SOAP_TYPE_ngwt__TrustedApplication:
- return ((ngwt__TrustedApplication *)ptr)->soap_out(soap, tag, id, "ngwt:TrustedApplication");
- case SOAP_TYPE_ngwt__TransferFailedStatus:
- return ((ngwt__TransferFailedStatus *)ptr)->soap_out(soap, tag, id, "ngwt:TransferFailedStatus");
- case SOAP_TYPE_ngwt__TimezoneList:
- return ((ngwt__TimezoneList *)ptr)->soap_out(soap, tag, id, "ngwt:TimezoneList");
- case SOAP_TYPE_ngwt__TimezoneComponent:
- return ((ngwt__TimezoneComponent *)ptr)->soap_out(soap, tag, id, "ngwt:TimezoneComponent");
- case SOAP_TYPE_ngwt__Timezone:
- return ((ngwt__Timezone *)ptr)->soap_out(soap, tag, id, "ngwt:Timezone");
- case SOAP_TYPE_ngwt__Task:
- return ((ngwt__Task *)ptr)->soap_out(soap, tag, id, "ngwt:Task");
- case SOAP_TYPE_ngwt__SystemFolder:
- return ((ngwt__SystemFolder *)ptr)->soap_out(soap, tag, id, "ngwt:SystemFolder");
- case SOAP_TYPE_ngwt__StatusTracking:
- return ((ngwt__StatusTracking *)ptr)->soap_out(soap, tag, id, "ngwt:StatusTracking");
- case SOAP_TYPE_ngwt__Status:
- return ((ngwt__Status *)ptr)->soap_out(soap, tag, id, "ngwt:Status");
- case SOAP_TYPE_ngwt__SMimeOperation:
- return ((ngwt__SMimeOperation *)ptr)->soap_out(soap, tag, id, "ngwt:SMimeOperation");
- case SOAP_TYPE_ngwt__SignatureData:
- return ((ngwt__SignatureData *)ptr)->soap_out(soap, tag, id, "ngwt:SignatureData");
- case SOAP_TYPE_ngwt__Signatures:
- return ((ngwt__Signatures *)ptr)->soap_out(soap, tag, id, "ngwt:Signatures");
- case SOAP_TYPE_ngwt__Signature:
- return ((ngwt__Signature *)ptr)->soap_out(soap, tag, id, "ngwt:Signature");
- case SOAP_TYPE_ngwt__SharedNotification:
- return ((ngwt__SharedNotification *)ptr)->soap_out(soap, tag, id, "ngwt:SharedNotification");
- case SOAP_TYPE_ngwt__SharedFolderNotification:
- return ((ngwt__SharedFolderNotification *)ptr)->soap_out(soap, tag, id, "ngwt:SharedFolderNotification");
- case SOAP_TYPE_ngwt__SharedFolder:
- return ((ngwt__SharedFolder *)ptr)->soap_out(soap, tag, id, "ngwt:SharedFolder");
- case SOAP_TYPE_ngwt__SettingsList:
- return ((ngwt__SettingsList *)ptr)->soap_out(soap, tag, id, "ngwt:SettingsList");
- case SOAP_TYPE_ngwt__SettingsGroup:
- return ((ngwt__SettingsGroup *)ptr)->soap_out(soap, tag, id, "ngwt:SettingsGroup");
- case SOAP_TYPE_ngwt__Settings:
- return ((ngwt__Settings *)ptr)->soap_out(soap, tag, id, "ngwt:Settings");
- case SOAP_TYPE_ngwt__SendOptions:
- return ((ngwt__SendOptions *)ptr)->soap_out(soap, tag, id, "ngwt:SendOptions");
- case SOAP_TYPE_ngwt__SendOptionsRequestReply:
- return ((ngwt__SendOptionsRequestReply *)ptr)->soap_out(soap, tag, id, "ngwt:SendOptionsRequestReply");
- case SOAP_TYPE_ngwt__RuleList:
- return ((ngwt__RuleList *)ptr)->soap_out(soap, tag, id, "ngwt:RuleList");
- case SOAP_TYPE_ngwt__RuleActionList:
- return ((ngwt__RuleActionList *)ptr)->soap_out(soap, tag, id, "ngwt:RuleActionList");
- case SOAP_TYPE_ngwt__RuleAction:
- return ((ngwt__RuleAction *)ptr)->soap_out(soap, tag, id, "ngwt:RuleAction");
- case SOAP_TYPE_ngwt__Rule:
- return ((ngwt__Rule *)ptr)->soap_out(soap, tag, id, "ngwt:Rule");
- case SOAP_TYPE_ngwt__Rights:
- return ((ngwt__Rights *)ptr)->soap_out(soap, tag, id, "ngwt:Rights");
- case SOAP_TYPE_ngwt__ReturnNotificationOptions:
- return ((ngwt__ReturnNotificationOptions *)ptr)->soap_out(soap, tag, id, "ngwt:ReturnNotificationOptions");
- case SOAP_TYPE_ngwt__ReturnNotification:
- return ((ngwt__ReturnNotification *)ptr)->soap_out(soap, tag, id, "ngwt:ReturnNotification");
- case SOAP_TYPE_ngwt__Resource:
- return ((ngwt__Resource *)ptr)->soap_out(soap, tag, id, "ngwt:Resource");
- case SOAP_TYPE_ngwt__ReferenceInfo:
- return ((ngwt__ReferenceInfo *)ptr)->soap_out(soap, tag, id, "ngwt:ReferenceInfo");
- case SOAP_TYPE_ngwt__RecurrenceRule:
- return ((ngwt__RecurrenceRule *)ptr)->soap_out(soap, tag, id, "ngwt:RecurrenceRule");
- case SOAP_TYPE_ngwt__RecurrenceDateType:
- return ((ngwt__RecurrenceDateType *)ptr)->soap_out(soap, tag, id, "ngwt:RecurrenceDateType");
- case SOAP_TYPE_ngwt__RecipientStatus:
- return ((ngwt__RecipientStatus *)ptr)->soap_out(soap, tag, id, "ngwt:RecipientStatus");
- case SOAP_TYPE_ngwt__RecipientList:
- return ((ngwt__RecipientList *)ptr)->soap_out(soap, tag, id, "ngwt:RecipientList");
- case SOAP_TYPE_ngwt__Recipient:
- return ((ngwt__Recipient *)ptr)->soap_out(soap, tag, id, "ngwt:Recipient");
- case SOAP_TYPE_ngwt__QueryTarget:
- return ((ngwt__QueryTarget *)ptr)->soap_out(soap, tag, id, "ngwt:QueryTarget");
- case SOAP_TYPE_ngwt__QueryFolder:
- return ((ngwt__QueryFolder *)ptr)->soap_out(soap, tag, id, "ngwt:QueryFolder");
- case SOAP_TYPE_ngwt__Query:
- return ((ngwt__Query *)ptr)->soap_out(soap, tag, id, "ngwt:Query");
- case SOAP_TYPE_ngwt__ProxyList:
- return ((ngwt__ProxyList *)ptr)->soap_out(soap, tag, id, "ngwt:ProxyList");
- case SOAP_TYPE_ngwt__ProxyUser:
- return ((ngwt__ProxyUser *)ptr)->soap_out(soap, tag, id, "ngwt:ProxyUser");
- case SOAP_TYPE_ngwt__Proxy:
- return ((ngwt__Proxy *)ptr)->soap_out(soap, tag, id, "ngwt:Proxy");
- case SOAP_TYPE_ngwt__ProblemList:
- return ((ngwt__ProblemList *)ptr)->soap_out(soap, tag, id, "ngwt:ProblemList");
- case SOAP_TYPE_ngwt__ProblemEntry:
- return ((ngwt__ProblemEntry *)ptr)->soap_out(soap, tag, id, "ngwt:ProblemEntry");
- case SOAP_TYPE_ngwt__PostalAddressList:
- return ((ngwt__PostalAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:PostalAddressList");
- case SOAP_TYPE_ngwt__PostalAddress:
- return ((ngwt__PostalAddress *)ptr)->soap_out(soap, tag, id, "ngwt:PostalAddress");
- case SOAP_TYPE_ngwt__PlainText:
- return ((ngwt__PlainText *)ptr)->soap_out(soap, tag, id, "ngwt:PlainText");
- case SOAP_TYPE_ngwt__PhoneNumber:
- return ((ngwt__PhoneNumber *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneNumber");
- case SOAP_TYPE_ngwt__PhoneMessage:
- return ((ngwt__PhoneMessage *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneMessage");
- case SOAP_TYPE_ngwt__PhoneList:
- return ((ngwt__PhoneList *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneList");
- case SOAP_TYPE_ngwt__PhoneFlags:
- return ((ngwt__PhoneFlags *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneFlags");
- case SOAP_TYPE_ngwt__PersonalInfo:
- return ((ngwt__PersonalInfo *)ptr)->soap_out(soap, tag, id, "ngwt:PersonalInfo");
- case SOAP_TYPE_ngwt__Organization:
- return ((ngwt__Organization *)ptr)->soap_out(soap, tag, id, "ngwt:Organization");
- case SOAP_TYPE_ngwt__OfficeInfo:
- return ((ngwt__OfficeInfo *)ptr)->soap_out(soap, tag, id, "ngwt:OfficeInfo");
- case SOAP_TYPE_ngwt__Note:
- return ((ngwt__Note *)ptr)->soap_out(soap, tag, id, "ngwt:Note");
- case SOAP_TYPE_ngwt__NameAndEmail:
- return ((ngwt__NameAndEmail *)ptr)->soap_out(soap, tag, id, "ngwt:NameAndEmail");
- case SOAP_TYPE_ngwt__MonthList:
- return ((ngwt__MonthList *)ptr)->soap_out(soap, tag, id, "ngwt:MonthList");
- case SOAP_TYPE_ngwt__ModifyItem:
- return ((ngwt__ModifyItem *)ptr)->soap_out(soap, tag, id, "ngwt:ModifyItem");
- case SOAP_TYPE_ngwt__MessagePart:
- return ((ngwt__MessagePart *)ptr)->soap_out(soap, tag, id, "ngwt:MessagePart");
- case SOAP_TYPE_ngwt__MessageBody:
- return ((ngwt__MessageBody *)ptr)->soap_out(soap, tag, id, "ngwt:MessageBody");
- case SOAP_TYPE_ngwt__Mail:
- return ((ngwt__Mail *)ptr)->soap_out(soap, tag, id, "ngwt:Mail");
- case SOAP_TYPE_ngwt__LinkInfo:
- return ((ngwt__LinkInfo *)ptr)->soap_out(soap, tag, id, "ngwt:LinkInfo");
- case SOAP_TYPE_ngwt__LibraryList:
- return ((ngwt__LibraryList *)ptr)->soap_out(soap, tag, id, "ngwt:LibraryList");
- case SOAP_TYPE_ngwt__Library:
- return ((ngwt__Library *)ptr)->soap_out(soap, tag, id, "ngwt:Library");
- case SOAP_TYPE_ngwt__JunkHandlingList:
- return ((ngwt__JunkHandlingList *)ptr)->soap_out(soap, tag, id, "ngwt:JunkHandlingList");
- case SOAP_TYPE_ngwt__JunkEntry:
- return ((ngwt__JunkEntry *)ptr)->soap_out(soap, tag, id, "ngwt:JunkEntry");
- case SOAP_TYPE_ngwt__ItemStatus:
- return ((ngwt__ItemStatus *)ptr)->soap_out(soap, tag, id, "ngwt:ItemStatus");
- case SOAP_TYPE_ngwt__Items:
- return ((ngwt__Items *)ptr)->soap_out(soap, tag, id, "ngwt:Items");
- case SOAP_TYPE_ngwt__ItemRefList:
- return ((ngwt__ItemRefList *)ptr)->soap_out(soap, tag, id, "ngwt:ItemRefList");
- case SOAP_TYPE_ngwt__ItemRef:
- return ((ngwt__ItemRef *)ptr)->soap_out(soap, tag, id, "ngwt:ItemRef");
- case SOAP_TYPE_ngwt__ItemOptions:
- return ((ngwt__ItemOptions *)ptr)->soap_out(soap, tag, id, "ngwt:ItemOptions");
- case SOAP_TYPE_ngwt__ItemList:
- return ((ngwt__ItemList *)ptr)->soap_out(soap, tag, id, "ngwt:ItemList");
- case SOAP_TYPE_ngwt__ItemChanges:
- return ((ngwt__ItemChanges *)ptr)->soap_out(soap, tag, id, "ngwt:ItemChanges");
- case SOAP_TYPE_ngwt__Item:
- return ((ngwt__Item *)ptr)->soap_out(soap, tag, id, "ngwt:Item");
- case SOAP_TYPE_ngwt__ImAddressList:
- return ((ngwt__ImAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:ImAddressList");
- case SOAP_TYPE_ngwt__ImAddress:
- return ((ngwt__ImAddress *)ptr)->soap_out(soap, tag, id, "ngwt:ImAddress");
- case SOAP_TYPE_ngwt__Host:
- return ((ngwt__Host *)ptr)->soap_out(soap, tag, id, "ngwt:Host");
- case SOAP_TYPE_ngwt__GroupMemberList:
- return ((ngwt__GroupMemberList *)ptr)->soap_out(soap, tag, id, "ngwt:GroupMemberList");
- case SOAP_TYPE_ngwt__GroupMember:
- return ((ngwt__GroupMember *)ptr)->soap_out(soap, tag, id, "ngwt:GroupMember");
- case SOAP_TYPE_ngwt__Group:
- return ((ngwt__Group *)ptr)->soap_out(soap, tag, id, "ngwt:Group");
- case SOAP_TYPE_ngwt__FullName:
- return ((ngwt__FullName *)ptr)->soap_out(soap, tag, id, "ngwt:FullName");
- case SOAP_TYPE_ngwt__From:
- return ((ngwt__From *)ptr)->soap_out(soap, tag, id, "ngwt:From");
- case SOAP_TYPE_ngwt__FreeBusyStats:
- return ((ngwt__FreeBusyStats *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyStats");
- case SOAP_TYPE_ngwt__FreeBusyInfoList:
- return ((ngwt__FreeBusyInfoList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyInfoList");
- case SOAP_TYPE_ngwt__FreeBusyUserList:
- return ((ngwt__FreeBusyUserList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyUserList");
- case SOAP_TYPE_ngwt__FreeBusyInfo:
- return ((ngwt__FreeBusyInfo *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyInfo");
- case SOAP_TYPE_ngwt__FreeBusyBlock:
- return ((ngwt__FreeBusyBlock *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyBlock");
- case SOAP_TYPE_ngwt__FreeBusyBlockList:
- return ((ngwt__FreeBusyBlockList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyBlockList");
- case SOAP_TYPE_ngwt__FolderList:
- return ((ngwt__FolderList *)ptr)->soap_out(soap, tag, id, "ngwt:FolderList");
- case SOAP_TYPE_ngwt__FolderACLEntry:
- return ((ngwt__FolderACLEntry *)ptr)->soap_out(soap, tag, id, "ngwt:FolderACLEntry");
- case SOAP_TYPE_ngwt__FolderACL:
- return ((ngwt__FolderACL *)ptr)->soap_out(soap, tag, id, "ngwt:FolderACL");
- case SOAP_TYPE_ngwt__Folder:
- return ((ngwt__Folder *)ptr)->soap_out(soap, tag, id, "ngwt:Folder");
- case SOAP_TYPE_ngwt__FilterGroup:
- return ((ngwt__FilterGroup *)ptr)->soap_out(soap, tag, id, "ngwt:FilterGroup");
- case SOAP_TYPE_ngwt__FilterEntry:
- return ((ngwt__FilterEntry *)ptr)->soap_out(soap, tag, id, "ngwt:FilterEntry");
- case SOAP_TYPE_ngwt__FilterElement:
- return ((ngwt__FilterElement *)ptr)->soap_out(soap, tag, id, "ngwt:FilterElement");
- case SOAP_TYPE_ngwt__Filter:
- return ((ngwt__Filter *)ptr)->soap_out(soap, tag, id, "ngwt:Filter");
- case SOAP_TYPE_ngwt__EmailAddressList:
- return ((ngwt__EmailAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:EmailAddressList");
- case SOAP_TYPE_ngwt__DocumentTypeList:
- return ((ngwt__DocumentTypeList *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentTypeList");
- case SOAP_TYPE_ngwt__DocumentType:
- return ((ngwt__DocumentType *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentType");
- case SOAP_TYPE_ngwt__DocumentRef:
- return ((ngwt__DocumentRef *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentRef");
- case SOAP_TYPE_ngwt__Document:
- return ((ngwt__Document *)ptr)->soap_out(soap, tag, id, "ngwt:Document");
- case SOAP_TYPE_ngwt__Distribution:
- return ((ngwt__Distribution *)ptr)->soap_out(soap, tag, id, "ngwt:Distribution");
- case SOAP_TYPE_ngwt__DeltaInfo:
- return ((ngwt__DeltaInfo *)ptr)->soap_out(soap, tag, id, "ngwt:DeltaInfo");
- case SOAP_TYPE_ngwt__DelegateeStatus:
- return ((ngwt__DelegateeStatus *)ptr)->soap_out(soap, tag, id, "ngwt:DelegateeStatus");
- case SOAP_TYPE_ngwt__DelegatedStatus:
- return ((ngwt__DelegatedStatus *)ptr)->soap_out(soap, tag, id, "ngwt:DelegatedStatus");
- case SOAP_TYPE_ngwt__DayOfYearWeekList:
- return ((ngwt__DayOfYearWeekList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearWeekList");
- case SOAP_TYPE_ngwt__DayOfYearWeek:
- return ((ngwt__DayOfYearWeek *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearWeek");
- case SOAP_TYPE_ngwt__DayOfYearList:
- return ((ngwt__DayOfYearList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearList");
- case SOAP_TYPE_ngwt__DayOfWeek:
- return ((ngwt__DayOfWeek *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfWeek");
- case SOAP_TYPE_ngwt__DayOfMonthList:
- return ((ngwt__DayOfMonthList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfMonthList");
- case SOAP_TYPE_ngwt__CustomList:
- return ((ngwt__CustomList *)ptr)->soap_out(soap, tag, id, "ngwt:CustomList");
- case SOAP_TYPE_ngwt__Custom:
- return ((ngwt__Custom *)ptr)->soap_out(soap, tag, id, "ngwt:Custom");
- case SOAP_TYPE_ngwt__ContainerRef:
- return ((ngwt__ContainerRef *)ptr)->soap_out(soap, tag, id, "ngwt:ContainerRef");
- case SOAP_TYPE_ngwt__ContainerItem:
- return ((ngwt__ContainerItem *)ptr)->soap_out(soap, tag, id, "ngwt:ContainerItem");
- case SOAP_TYPE_ngwt__ContactFolder:
- return ((ngwt__ContactFolder *)ptr)->soap_out(soap, tag, id, "ngwt:ContactFolder");
- case SOAP_TYPE_ngwt__Contact:
- return ((ngwt__Contact *)ptr)->soap_out(soap, tag, id, "ngwt:Contact");
- case SOAP_TYPE_ngwt__CommentStatus:
- return ((ngwt__CommentStatus *)ptr)->soap_out(soap, tag, id, "ngwt:CommentStatus");
- case SOAP_TYPE_ngwt__CategoryRefList:
- return ((ngwt__CategoryRefList *)ptr)->soap_out(soap, tag, id, "ngwt:CategoryRefList");
- case SOAP_TYPE_ngwt__CategoryList:
- return ((ngwt__CategoryList *)ptr)->soap_out(soap, tag, id, "ngwt:CategoryList");
- case SOAP_TYPE_ngwt__Category:
- return ((ngwt__Category *)ptr)->soap_out(soap, tag, id, "ngwt:Category");
- case SOAP_TYPE_ngwt__CalendarItem:
- return ((ngwt__CalendarItem *)ptr)->soap_out(soap, tag, id, "ngwt:CalendarItem");
- case SOAP_TYPE_ngwt__CalendarFolderAttribute:
- return ((ngwt__CalendarFolderAttribute *)ptr)->soap_out(soap, tag, id, "ngwt:CalendarFolderAttribute");
- case SOAP_TYPE_ngwt__BoxEntry:
- return ((ngwt__BoxEntry *)ptr)->soap_out(soap, tag, id, "ngwt:BoxEntry");
- case SOAP_TYPE_ngwt__Authentication:
- return ((ngwt__Authentication *)ptr)->soap_out(soap, tag, id, "ngwt:Authentication");
- case SOAP_TYPE_ngwt__AttachmentItemInfo:
- return ((ngwt__AttachmentItemInfo *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentItemInfo");
- case SOAP_TYPE_ngwt__AttachmentInfo:
- return ((ngwt__AttachmentInfo *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentInfo");
- case SOAP_TYPE_ngwt__AttachmentID:
- return ((ngwt__AttachmentID *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentID");
- case SOAP_TYPE_ngwt__Appointment:
- return ((ngwt__Appointment *)ptr)->soap_out(soap, tag, id, "ngwt:Appointment");
- case SOAP_TYPE_ngwt__Alarm:
- return ((ngwt__Alarm *)ptr)->soap_out(soap, tag, id, "ngwt:Alarm");
- case SOAP_TYPE_ngwt__AddressBookList:
- return ((ngwt__AddressBookList *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBookList");
- case SOAP_TYPE_ngwt__AddressBookItem:
- return ((ngwt__AddressBookItem *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBookItem");
- case SOAP_TYPE_ngwt__AddressBook:
- return ((ngwt__AddressBook *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBook");
- case SOAP_TYPE_ngwt__AccessRightList:
- return ((ngwt__AccessRightList *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightList");
- case SOAP_TYPE_ngwt__AccessRightEntry:
- return ((ngwt__AccessRightEntry *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightEntry");
- case SOAP_TYPE_ngwt__AccessRightChanges:
- return ((ngwt__AccessRightChanges *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightChanges");
- case SOAP_TYPE_ngwt__AccessRight:
- return ((ngwt__AccessRight *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRight");
- case SOAP_TYPE_ngwt__AccessMiscRight:
- return ((ngwt__AccessMiscRight *)ptr)->soap_out(soap, tag, id, "ngwt:AccessMiscRight");
- case SOAP_TYPE_ngwt__AccessControlList:
- return ((ngwt__AccessControlList *)ptr)->soap_out(soap, tag, id, "ngwt:AccessControlList");
- case SOAP_TYPE_ngwt__AccessControlListEntry:
- return ((ngwt__AccessControlListEntry *)ptr)->soap_out(soap, tag, id, "ngwt:AccessControlListEntry");
- case SOAP_TYPE_xsd__language:
- return soap_out_xsd__language(soap, tag, id, (const std::string *)ptr, "xsd:language");
- case SOAP_TYPE_xsd__duration:
- return soap_out_xsd__duration(soap, tag, id, (const std::string *)ptr, "xsd:duration");
- case SOAP_TYPE_xsd__decimal:
- return soap_out_xsd__decimal(soap, tag, id, (const std::string *)ptr, "xsd:decimal");
- case SOAP_TYPE_xsd__date:
- return soap_out_xsd__date(soap, tag, id, (const std::string *)ptr, "xsd:date");
- case SOAP_TYPE_std__string:
- return soap_out_std__string(soap, tag, id, (const std::string *)ptr, "xsd:string");
- case SOAP_TYPE_xsd__base64Binary:
- return ((xsd__base64Binary *)ptr)->soap_out(soap, tag, id, "xsd:base64Binary");
- case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse:
- return soap_out_PointerTo_ngwe__removeEventsResponse(soap, tag, id, (_ngwe__removeEventsResponse *const*)ptr, "ngwe:removeEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest:
- return soap_out_PointerTo_ngwe__removeEventsRequest(soap, tag, id, (_ngwe__removeEventsRequest *const*)ptr, "ngwe:removeEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse:
- return soap_out_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, id, (_ngwe__removeEventConfigurationResponse *const*)ptr, "ngwe:removeEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest:
- return soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, id, (_ngwe__removeEventConfigurationRequest *const*)ptr, "ngwe:removeEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwe__getEventsResponse:
- return soap_out_PointerTo_ngwe__getEventsResponse(soap, tag, id, (_ngwe__getEventsResponse *const*)ptr, "ngwe:getEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__getEventsRequest:
- return soap_out_PointerTo_ngwe__getEventsRequest(soap, tag, id, (_ngwe__getEventsRequest *const*)ptr, "ngwe:getEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse:
- return soap_out_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, id, (_ngwe__getEventConfigurationResponse *const*)ptr, "ngwe:getEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest:
- return soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, id, (_ngwe__getEventConfigurationRequest *const*)ptr, "ngwe:getEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse:
- return soap_out_PointerTo_ngwe__configureEventsResponse(soap, tag, id, (_ngwe__configureEventsResponse *const*)ptr, "ngwe:configureEventsResponse");
- case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest:
- return soap_out_PointerTo_ngwe__configureEventsRequest(soap, tag, id, (_ngwe__configureEventsRequest *const*)ptr, "ngwe:configureEventsRequest");
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse:
- return soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, id, (_ngwe__cleanEventConfigurationResponse *const*)ptr, "ngwe:cleanEventConfigurationResponse");
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest:
- return soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, id, (_ngwe__cleanEventConfigurationRequest *const*)ptr, "ngwe:cleanEventConfigurationRequest");
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse:
- return soap_out_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, id, (_ngwm__updateVersionStatusResponse *const*)ptr, "ngwm:updateVersionStatusResponse");
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest:
- return soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, id, (_ngwm__updateVersionStatusRequest *const*)ptr, "ngwm:updateVersionStatusRequest");
- case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse:
- return soap_out_PointerTo_ngwm__uncompleteResponse(soap, tag, id, (_ngwm__uncompleteResponse *const*)ptr, "ngwm:uncompleteResponse");
- case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest:
- return soap_out_PointerTo_ngwm__uncompleteRequest(soap, tag, id, (_ngwm__uncompleteRequest *const*)ptr, "ngwm:uncompleteRequest");
- case SOAP_TYPE_PointerTo_ngwm__unacceptResponse:
- return soap_out_PointerTo_ngwm__unacceptResponse(soap, tag, id, (_ngwm__unacceptResponse *const*)ptr, "ngwm:unacceptResponse");
- case SOAP_TYPE_PointerTo_ngwm__unacceptRequest:
- return soap_out_PointerTo_ngwm__unacceptRequest(soap, tag, id, (_ngwm__unacceptRequest *const*)ptr, "ngwm:unacceptRequest");
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse:
- return soap_out_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, id, (_ngwm__startFreeBusySessionResponse *const*)ptr, "ngwm:startFreeBusySessionResponse");
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest:
- return soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, id, (_ngwm__startFreeBusySessionRequest *const*)ptr, "ngwm:startFreeBusySessionRequest");
- case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse:
- return soap_out_PointerTo_ngwm__setTimestampResponse(soap, tag, id, (_ngwm__setTimestampResponse *const*)ptr, "ngwm:setTimestampResponse");
- case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest:
- return soap_out_PointerTo_ngwm__setTimestampRequest(soap, tag, id, (_ngwm__setTimestampRequest *const*)ptr, "ngwm:setTimestampRequest");
- case SOAP_TYPE_PointerTo_ngwm__sendItemResponse:
- return soap_out_PointerTo_ngwm__sendItemResponse(soap, tag, id, (_ngwm__sendItemResponse *const*)ptr, "ngwm:sendItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__sendItemRequest:
- return soap_out_PointerTo_ngwm__sendItemRequest(soap, tag, id, (_ngwm__sendItemRequest *const*)ptr, "ngwm:sendItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__retractResponse:
- return soap_out_PointerTo_ngwm__retractResponse(soap, tag, id, (_ngwm__retractResponse *const*)ptr, "ngwm:retractResponse");
- case SOAP_TYPE_PointerTo_ngwm__retractRequest:
- return soap_out_PointerTo_ngwm__retractRequest(soap, tag, id, (_ngwm__retractRequest *const*)ptr, "ngwm:retractRequest");
- case SOAP_TYPE_PointerTo_ngwm__replyResponse:
- return soap_out_PointerTo_ngwm__replyResponse(soap, tag, id, (_ngwm__replyResponse *const*)ptr, "ngwm:replyResponse");
- case SOAP_TYPE_PointerTo_ngwm__replyRequest:
- return soap_out_PointerTo_ngwm__replyRequest(soap, tag, id, (_ngwm__replyRequest *const*)ptr, "ngwm:replyRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse:
- return soap_out_PointerTo_ngwm__removeSignatureResponse(soap, tag, id, (_ngwm__removeSignatureResponse *const*)ptr, "ngwm:removeSignatureResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest:
- return soap_out_PointerTo_ngwm__removeSignatureRequest(soap, tag, id, (_ngwm__removeSignatureRequest *const*)ptr, "ngwm:removeSignatureRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse:
- return soap_out_PointerTo_ngwm__removeProxyUserResponse(soap, tag, id, (_ngwm__removeProxyUserResponse *const*)ptr, "ngwm:removeProxyUserResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest:
- return soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, tag, id, (_ngwm__removeProxyUserRequest *const*)ptr, "ngwm:removeProxyUserRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse:
- return soap_out_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, id, (_ngwm__removeProxyAccessResponse *const*)ptr, "ngwm:removeProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest:
- return soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, id, (_ngwm__removeProxyAccessRequest *const*)ptr, "ngwm:removeProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse:
- return soap_out_PointerTo_ngwm__removeMembersResponse(soap, tag, id, (_ngwm__removeMembersResponse *const*)ptr, "ngwm:removeMembersResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest:
- return soap_out_PointerTo_ngwm__removeMembersRequest(soap, tag, id, (_ngwm__removeMembersRequest *const*)ptr, "ngwm:removeMembersRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse:
- return soap_out_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, id, (_ngwm__removeJunkEntryResponse *const*)ptr, "ngwm:removeJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest:
- return soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, id, (_ngwm__removeJunkEntryRequest *const*)ptr, "ngwm:removeJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse:
- return soap_out_PointerTo_ngwm__removeItemsResponse(soap, tag, id, (_ngwm__removeItemsResponse *const*)ptr, "ngwm:removeItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest:
- return soap_out_PointerTo_ngwm__removeItemsRequest(soap, tag, id, (_ngwm__removeItemsRequest *const*)ptr, "ngwm:removeItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeItemResponse:
- return soap_out_PointerTo_ngwm__removeItemResponse(soap, tag, id, (_ngwm__removeItemResponse *const*)ptr, "ngwm:removeItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeItemRequest:
- return soap_out_PointerTo_ngwm__removeItemRequest(soap, tag, id, (_ngwm__removeItemRequest *const*)ptr, "ngwm:removeItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse:
- return soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, id, (_ngwm__removeCustomDefinitionResponse *const*)ptr, "ngwm:removeCustomDefinitionResponse");
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest:
- return soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, id, (_ngwm__removeCustomDefinitionRequest *const*)ptr, "ngwm:removeCustomDefinitionRequest");
- case SOAP_TYPE_PointerTo_ngwm__readCursorResponse:
- return soap_out_PointerTo_ngwm__readCursorResponse(soap, tag, id, (_ngwm__readCursorResponse *const*)ptr, "ngwm:readCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__readCursorRequest:
- return soap_out_PointerTo_ngwm__readCursorRequest(soap, tag, id, (_ngwm__readCursorRequest *const*)ptr, "ngwm:readCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__purgeResponse:
- return soap_out_PointerTo_ngwm__purgeResponse(soap, tag, id, (_ngwm__purgeResponse *const*)ptr, "ngwm:purgeResponse");
- case SOAP_TYPE_PointerTo_ngwm__purgeRequest:
- return soap_out_PointerTo_ngwm__purgeRequest(soap, tag, id, (_ngwm__purgeRequest *const*)ptr, "ngwm:purgeRequest");
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse:
- return soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, id, (_ngwm__purgeDeletedItemsResponse *const*)ptr, "ngwm:purgeDeletedItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest:
- return soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, id, (_ngwm__purgeDeletedItemsRequest *const*)ptr, "ngwm:purgeDeletedItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse:
- return soap_out_PointerTo_ngwm__positionCursorResponse(soap, tag, id, (_ngwm__positionCursorResponse *const*)ptr, "ngwm:positionCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest:
- return soap_out_PointerTo_ngwm__positionCursorRequest(soap, tag, id, (_ngwm__positionCursorRequest *const*)ptr, "ngwm:positionCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__moveItemResponse:
- return soap_out_PointerTo_ngwm__moveItemResponse(soap, tag, id, (_ngwm__moveItemResponse *const*)ptr, "ngwm:moveItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__moveItemRequest:
- return soap_out_PointerTo_ngwm__moveItemRequest(soap, tag, id, (_ngwm__moveItemRequest *const*)ptr, "ngwm:moveItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse:
- return soap_out_PointerTo_ngwm__modifySignaturesResponse(soap, tag, id, (_ngwm__modifySignaturesResponse *const*)ptr, "ngwm:modifySignaturesResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest:
- return soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, tag, id, (_ngwm__modifySignaturesRequest *const*)ptr, "ngwm:modifySignaturesRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse:
- return soap_out_PointerTo_ngwm__modifySettingsResponse(soap, tag, id, (_ngwm__modifySettingsResponse *const*)ptr, "ngwm:modifySettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest:
- return soap_out_PointerTo_ngwm__modifySettingsRequest(soap, tag, id, (_ngwm__modifySettingsRequest *const*)ptr, "ngwm:modifySettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse:
- return soap_out_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, id, (_ngwm__modifyProxyAccessResponse *const*)ptr, "ngwm:modifyProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest:
- return soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, id, (_ngwm__modifyProxyAccessRequest *const*)ptr, "ngwm:modifyProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse:
- return soap_out_PointerTo_ngwm__modifyPasswordResponse(soap, tag, id, (_ngwm__modifyPasswordResponse *const*)ptr, "ngwm:modifyPasswordResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest:
- return soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, tag, id, (_ngwm__modifyPasswordRequest *const*)ptr, "ngwm:modifyPasswordRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse:
- return soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, id, (_ngwm__modifyJunkMailSettingsResponse *const*)ptr, "ngwm:modifyJunkMailSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest:
- return soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, id, (_ngwm__modifyJunkMailSettingsRequest *const*)ptr, "ngwm:modifyJunkMailSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse:
- return soap_out_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, id, (_ngwm__modifyJunkEntryResponse *const*)ptr, "ngwm:modifyJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest:
- return soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, id, (_ngwm__modifyJunkEntryRequest *const*)ptr, "ngwm:modifyJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse:
- return soap_out_PointerTo_ngwm__modifyItemResponse(soap, tag, id, (_ngwm__modifyItemResponse *const*)ptr, "ngwm:modifyItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest:
- return soap_out_PointerTo_ngwm__modifyItemRequest(soap, tag, id, (_ngwm__modifyItemRequest *const*)ptr, "ngwm:modifyItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse:
- return soap_out_PointerTo_ngwm__markUnReadResponse(soap, tag, id, (_ngwm__markUnReadResponse *const*)ptr, "ngwm:markUnReadResponse");
- case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest:
- return soap_out_PointerTo_ngwm__markUnReadRequest(soap, tag, id, (_ngwm__markUnReadRequest *const*)ptr, "ngwm:markUnReadRequest");
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse:
- return soap_out_PointerTo_ngwm__markUnPrivateResponse(soap, tag, id, (_ngwm__markUnPrivateResponse *const*)ptr, "ngwm:markUnPrivateResponse");
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest:
- return soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, tag, id, (_ngwm__markUnPrivateRequest *const*)ptr, "ngwm:markUnPrivateRequest");
- case SOAP_TYPE_PointerTo_ngwm__markReadResponse:
- return soap_out_PointerTo_ngwm__markReadResponse(soap, tag, id, (_ngwm__markReadResponse *const*)ptr, "ngwm:markReadResponse");
- case SOAP_TYPE_PointerTo_ngwm__markReadRequest:
- return soap_out_PointerTo_ngwm__markReadRequest(soap, tag, id, (_ngwm__markReadRequest *const*)ptr, "ngwm:markReadRequest");
- case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse:
- return soap_out_PointerTo_ngwm__markPrivateResponse(soap, tag, id, (_ngwm__markPrivateResponse *const*)ptr, "ngwm:markPrivateResponse");
- case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest:
- return soap_out_PointerTo_ngwm__markPrivateRequest(soap, tag, id, (_ngwm__markPrivateRequest *const*)ptr, "ngwm:markPrivateRequest");
- case SOAP_TYPE_PointerTo_ngwm__logoutResponse:
- return soap_out_PointerTo_ngwm__logoutResponse(soap, tag, id, (_ngwm__logoutResponse *const*)ptr, "ngwm:logoutResponse");
- case SOAP_TYPE_PointerTo_ngwm__logoutRequest:
- return soap_out_PointerTo_ngwm__logoutRequest(soap, tag, id, (_ngwm__logoutRequest *const*)ptr, "ngwm:logoutRequest");
- case SOAP_TYPE_PointerTo_ngwm__loginResponse:
- return soap_out_PointerTo_ngwm__loginResponse(soap, tag, id, (_ngwm__loginResponse *const*)ptr, "ngwm:loginResponse");
- case SOAP_TYPE_PointerTo_ngwm__loginRequest:
- return soap_out_PointerTo_ngwm__loginRequest(soap, tag, id, (_ngwm__loginRequest *const*)ptr, "ngwm:loginRequest");
- case SOAP_TYPE_PointerTo_ngwm__getUserListResponse:
- return soap_out_PointerTo_ngwm__getUserListResponse(soap, tag, id, (_ngwm__getUserListResponse *const*)ptr, "ngwm:getUserListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getUserListRequest:
- return soap_out_PointerTo_ngwm__getUserListRequest(soap, tag, id, (_ngwm__getUserListRequest *const*)ptr, "ngwm:getUserListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse:
- return soap_out_PointerTo_ngwm__getTimezoneListResponse(soap, tag, id, (_ngwm__getTimezoneListResponse *const*)ptr, "ngwm:getTimezoneListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest:
- return soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, tag, id, (_ngwm__getTimezoneListRequest *const*)ptr, "ngwm:getTimezoneListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse:
- return soap_out_PointerTo_ngwm__getTimestampResponse(soap, tag, id, (_ngwm__getTimestampResponse *const*)ptr, "ngwm:getTimestampResponse");
- case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest:
- return soap_out_PointerTo_ngwm__getTimestampRequest(soap, tag, id, (_ngwm__getTimestampRequest *const*)ptr, "ngwm:getTimestampRequest");
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse:
- return soap_out_PointerTo_ngwm__getSignaturesResponse(soap, tag, id, (_ngwm__getSignaturesResponse *const*)ptr, "ngwm:getSignaturesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest:
- return soap_out_PointerTo_ngwm__getSignaturesRequest(soap, tag, id, (_ngwm__getSignaturesRequest *const*)ptr, "ngwm:getSignaturesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse:
- return soap_out_PointerTo_ngwm__getSettingsResponse(soap, tag, id, (_ngwm__getSettingsResponse *const*)ptr, "ngwm:getSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest:
- return soap_out_PointerTo_ngwm__getSettingsRequest(soap, tag, id, (_ngwm__getSettingsRequest *const*)ptr, "ngwm:getSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse:
- return soap_out_PointerTo_ngwm__getRuleListResponse(soap, tag, id, (_ngwm__getRuleListResponse *const*)ptr, "ngwm:getRuleListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest:
- return soap_out_PointerTo_ngwm__getRuleListRequest(soap, tag, id, (_ngwm__getRuleListRequest *const*)ptr, "ngwm:getRuleListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse:
- return soap_out_PointerTo_ngwm__getProxyListResponse(soap, tag, id, (_ngwm__getProxyListResponse *const*)ptr, "ngwm:getProxyListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest:
- return soap_out_PointerTo_ngwm__getProxyListRequest(soap, tag, id, (_ngwm__getProxyListRequest *const*)ptr, "ngwm:getProxyListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse:
- return soap_out_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, id, (_ngwm__getProxyAccessListResponse *const*)ptr, "ngwm:getProxyAccessListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest:
- return soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, id, (_ngwm__getProxyAccessListRequest *const*)ptr, "ngwm:getProxyAccessListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse:
- return soap_out_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, id, (_ngwm__getQuickMessagesResponse *const*)ptr, "ngwm:getQuickMessagesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest:
- return soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, id, (_ngwm__getQuickMessagesRequest *const*)ptr, "ngwm:getQuickMessagesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse:
- return soap_out_PointerTo_ngwm__getLibraryListResponse(soap, tag, id, (_ngwm__getLibraryListResponse *const*)ptr, "ngwm:getLibraryListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest:
- return soap_out_PointerTo_ngwm__getLibraryListRequest(soap, tag, id, (_ngwm__getLibraryListRequest *const*)ptr, "ngwm:getLibraryListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse:
- return soap_out_PointerTo_ngwm__getLibraryItemResponse(soap, tag, id, (_ngwm__getLibraryItemResponse *const*)ptr, "ngwm:getLibraryItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest:
- return soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, tag, id, (_ngwm__getLibraryItemRequest *const*)ptr, "ngwm:getLibraryItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse:
- return soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, id, (_ngwm__getJunkMailSettingsResponse *const*)ptr, "ngwm:getJunkMailSettingsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest:
- return soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, id, (_ngwm__getJunkMailSettingsRequest *const*)ptr, "ngwm:getJunkMailSettingsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse:
- return soap_out_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, id, (_ngwm__getJunkEntriesResponse *const*)ptr, "ngwm:getJunkEntriesResponse");
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest:
- return soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, id, (_ngwm__getJunkEntriesRequest *const*)ptr, "ngwm:getJunkEntriesRequest");
- case SOAP_TYPE_PointerTo_ngwm__getItemsResponse:
- return soap_out_PointerTo_ngwm__getItemsResponse(soap, tag, id, (_ngwm__getItemsResponse *const*)ptr, "ngwm:getItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__getItemsRequest:
- return soap_out_PointerTo_ngwm__getItemsRequest(soap, tag, id, (_ngwm__getItemsRequest *const*)ptr, "ngwm:getItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__getItemResponse:
- return soap_out_PointerTo_ngwm__getItemResponse(soap, tag, id, (_ngwm__getItemResponse *const*)ptr, "ngwm:getItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__getItemRequest:
- return soap_out_PointerTo_ngwm__getItemRequest(soap, tag, id, (_ngwm__getItemRequest *const*)ptr, "ngwm:getItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse:
- return soap_out_PointerTo_ngwm__getFreeBusyResponse(soap, tag, id, (_ngwm__getFreeBusyResponse *const*)ptr, "ngwm:getFreeBusyResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest:
- return soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, tag, id, (_ngwm__getFreeBusyRequest *const*)ptr, "ngwm:getFreeBusyRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse:
- return soap_out_PointerTo_ngwm__getFolderListResponse(soap, tag, id, (_ngwm__getFolderListResponse *const*)ptr, "ngwm:getFolderListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest:
- return soap_out_PointerTo_ngwm__getFolderListRequest(soap, tag, id, (_ngwm__getFolderListRequest *const*)ptr, "ngwm:getFolderListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getFolderResponse:
- return soap_out_PointerTo_ngwm__getFolderResponse(soap, tag, id, (_ngwm__getFolderResponse *const*)ptr, "ngwm:getFolderResponse");
- case SOAP_TYPE_PointerTo_ngwm__getFolderRequest:
- return soap_out_PointerTo_ngwm__getFolderRequest(soap, tag, id, (_ngwm__getFolderRequest *const*)ptr, "ngwm:getFolderRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse:
- return soap_out_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, id, (_ngwm__getDocumentTypeListResponse *const*)ptr, "ngwm:getDocumentTypeListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest:
- return soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, id, (_ngwm__getDocumentTypeListRequest *const*)ptr, "ngwm:getDocumentTypeListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse:
- return soap_out_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, id, (_ngwm__getDeltaInfoResponse *const*)ptr, "ngwm:getDeltaInfoResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest:
- return soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, id, (_ngwm__getDeltaInfoRequest *const*)ptr, "ngwm:getDeltaInfoRequest");
- case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse:
- return soap_out_PointerTo_ngwm__getDeltasResponse(soap, tag, id, (_ngwm__getDeltasResponse *const*)ptr, "ngwm:getDeltasResponse");
- case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest:
- return soap_out_PointerTo_ngwm__getDeltasRequest(soap, tag, id, (_ngwm__getDeltasRequest *const*)ptr, "ngwm:getDeltasRequest");
- case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse:
- return soap_out_PointerTo_ngwm__getCustomListResponse(soap, tag, id, (_ngwm__getCustomListResponse *const*)ptr, "ngwm:getCustomListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest:
- return soap_out_PointerTo_ngwm__getCustomListRequest(soap, tag, id, (_ngwm__getCustomListRequest *const*)ptr, "ngwm:getCustomListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse:
- return soap_out_PointerTo_ngwm__getCategoryListResponse(soap, tag, id, (_ngwm__getCategoryListResponse *const*)ptr, "ngwm:getCategoryListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest:
- return soap_out_PointerTo_ngwm__getCategoryListRequest(soap, tag, id, (_ngwm__getCategoryListRequest *const*)ptr, "ngwm:getCategoryListRequest");
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse:
- return soap_out_PointerTo_ngwm__getAttachmentResponse(soap, tag, id, (_ngwm__getAttachmentResponse *const*)ptr, "ngwm:getAttachmentResponse");
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest:
- return soap_out_PointerTo_ngwm__getAttachmentRequest(soap, tag, id, (_ngwm__getAttachmentRequest *const*)ptr, "ngwm:getAttachmentRequest");
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse:
- return soap_out_PointerTo_ngwm__getAddressBookListResponse(soap, tag, id, (_ngwm__getAddressBookListResponse *const*)ptr, "ngwm:getAddressBookListResponse");
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest:
- return soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, tag, id, (_ngwm__getAddressBookListRequest *const*)ptr, "ngwm:getAddressBookListRequest");
- case SOAP_TYPE_PointerTo_ngwm__forwardResponse:
- return soap_out_PointerTo_ngwm__forwardResponse(soap, tag, id, (_ngwm__forwardResponse *const*)ptr, "ngwm:forwardResponse");
- case SOAP_TYPE_PointerTo_ngwm__forwardRequest:
- return soap_out_PointerTo_ngwm__forwardRequest(soap, tag, id, (_ngwm__forwardRequest *const*)ptr, "ngwm:forwardRequest");
- case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse:
- return soap_out_PointerTo_ngwm__executeRuleResponse(soap, tag, id, (_ngwm__executeRuleResponse *const*)ptr, "ngwm:executeRuleResponse");
- case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest:
- return soap_out_PointerTo_ngwm__executeRuleRequest(soap, tag, id, (_ngwm__executeRuleRequest *const*)ptr, "ngwm:executeRuleRequest");
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse:
- return soap_out_PointerTo_ngwm__destroyCursorResponse(soap, tag, id, (_ngwm__destroyCursorResponse *const*)ptr, "ngwm:destroyCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest:
- return soap_out_PointerTo_ngwm__destroyCursorRequest(soap, tag, id, (_ngwm__destroyCursorRequest *const*)ptr, "ngwm:destroyCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__delegateResponse:
- return soap_out_PointerTo_ngwm__delegateResponse(soap, tag, id, (_ngwm__delegateResponse *const*)ptr, "ngwm:delegateResponse");
- case SOAP_TYPE_PointerTo_ngwm__delegateRequest:
- return soap_out_PointerTo_ngwm__delegateRequest(soap, tag, id, (_ngwm__delegateRequest *const*)ptr, "ngwm:delegateRequest");
- case SOAP_TYPE_PointerTo_ngwm__declineResponse:
- return soap_out_PointerTo_ngwm__declineResponse(soap, tag, id, (_ngwm__declineResponse *const*)ptr, "ngwm:declineResponse");
- case SOAP_TYPE_PointerTo_ngwm__declineRequest:
- return soap_out_PointerTo_ngwm__declineRequest(soap, tag, id, (_ngwm__declineRequest *const*)ptr, "ngwm:declineRequest");
- case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse:
- return soap_out_PointerTo_ngwm__createSignatureResponse(soap, tag, id, (_ngwm__createSignatureResponse *const*)ptr, "ngwm:createSignatureResponse");
- case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest:
- return soap_out_PointerTo_ngwm__createSignatureRequest(soap, tag, id, (_ngwm__createSignatureRequest *const*)ptr, "ngwm:createSignatureRequest");
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse:
- return soap_out_PointerTo_ngwm__createProxyAccessResponse(soap, tag, id, (_ngwm__createProxyAccessResponse *const*)ptr, "ngwm:createProxyAccessResponse");
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest:
- return soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, tag, id, (_ngwm__createProxyAccessRequest *const*)ptr, "ngwm:createProxyAccessRequest");
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse:
- return soap_out_PointerTo_ngwm__createJunkEntryResponse(soap, tag, id, (_ngwm__createJunkEntryResponse *const*)ptr, "ngwm:createJunkEntryResponse");
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest:
- return soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, tag, id, (_ngwm__createJunkEntryRequest *const*)ptr, "ngwm:createJunkEntryRequest");
- case SOAP_TYPE_PointerTo_ngwm__createItemsResponse:
- return soap_out_PointerTo_ngwm__createItemsResponse(soap, tag, id, (_ngwm__createItemsResponse *const*)ptr, "ngwm:createItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__createItemsRequest:
- return soap_out_PointerTo_ngwm__createItemsRequest(soap, tag, id, (_ngwm__createItemsRequest *const*)ptr, "ngwm:createItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__createItemResponse:
- return soap_out_PointerTo_ngwm__createItemResponse(soap, tag, id, (_ngwm__createItemResponse *const*)ptr, "ngwm:createItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__createItemRequest:
- return soap_out_PointerTo_ngwm__createItemRequest(soap, tag, id, (_ngwm__createItemRequest *const*)ptr, "ngwm:createItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__createCursorResponse:
- return soap_out_PointerTo_ngwm__createCursorResponse(soap, tag, id, (_ngwm__createCursorResponse *const*)ptr, "ngwm:createCursorResponse");
- case SOAP_TYPE_PointerTo_ngwm__createCursorRequest:
- return soap_out_PointerTo_ngwm__createCursorRequest(soap, tag, id, (_ngwm__createCursorRequest *const*)ptr, "ngwm:createCursorRequest");
- case SOAP_TYPE_PointerTo_ngwm__completeResponse:
- return soap_out_PointerTo_ngwm__completeResponse(soap, tag, id, (_ngwm__completeResponse *const*)ptr, "ngwm:completeResponse");
- case SOAP_TYPE_PointerTo_ngwm__completeRequest:
- return soap_out_PointerTo_ngwm__completeRequest(soap, tag, id, (_ngwm__completeRequest *const*)ptr, "ngwm:completeRequest");
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse:
- return soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, id, (_ngwm__closeFreeBusySessionResponse *const*)ptr, "ngwm:closeFreeBusySessionResponse");
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest:
- return soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, id, (_ngwm__closeFreeBusySessionRequest *const*)ptr, "ngwm:closeFreeBusySessionRequest");
- case SOAP_TYPE_PointerTo_ngwm__addMembersResponse:
- return soap_out_PointerTo_ngwm__addMembersResponse(soap, tag, id, (_ngwm__addMembersResponse *const*)ptr, "ngwm:addMembersResponse");
- case SOAP_TYPE_PointerTo_ngwm__addMembersRequest:
- return soap_out_PointerTo_ngwm__addMembersRequest(soap, tag, id, (_ngwm__addMembersRequest *const*)ptr, "ngwm:addMembersRequest");
- case SOAP_TYPE_PointerTo_ngwm__addItemsResponse:
- return soap_out_PointerTo_ngwm__addItemsResponse(soap, tag, id, (_ngwm__addItemsResponse *const*)ptr, "ngwm:addItemsResponse");
- case SOAP_TYPE_PointerTo_ngwm__addItemsRequest:
- return soap_out_PointerTo_ngwm__addItemsRequest(soap, tag, id, (_ngwm__addItemsRequest *const*)ptr, "ngwm:addItemsRequest");
- case SOAP_TYPE_PointerTo_ngwm__addItemResponse:
- return soap_out_PointerTo_ngwm__addItemResponse(soap, tag, id, (_ngwm__addItemResponse *const*)ptr, "ngwm:addItemResponse");
- case SOAP_TYPE_PointerTo_ngwm__addItemRequest:
- return soap_out_PointerTo_ngwm__addItemRequest(soap, tag, id, (_ngwm__addItemRequest *const*)ptr, "ngwm:addItemRequest");
- case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse:
- return soap_out_PointerTo_ngwm__acceptShareResponse(soap, tag, id, (_ngwm__acceptShareResponse *const*)ptr, "ngwm:acceptShareResponse");
- case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest:
- return soap_out_PointerTo_ngwm__acceptShareRequest(soap, tag, id, (_ngwm__acceptShareRequest *const*)ptr, "ngwm:acceptShareRequest");
- case SOAP_TYPE_PointerTo_ngwm__acceptResponse:
- return soap_out_PointerTo_ngwm__acceptResponse(soap, tag, id, (_ngwm__acceptResponse *const*)ptr, "ngwm:acceptResponse");
- case SOAP_TYPE_PointerTo_ngwm__acceptRequest:
- return soap_out_PointerTo_ngwm__acceptRequest(soap, tag, id, (_ngwm__acceptRequest *const*)ptr, "ngwm:acceptRequest");
- case SOAP_TYPE_PointerTongwt__Alarm:
- return soap_out_PointerTongwt__Alarm(soap, tag, id, (ngwt__Alarm *const*)ptr, "ngwt:Alarm");
- case SOAP_TYPE_PointerTongwt__PhoneFlags:
- return soap_out_PointerTongwt__PhoneFlags(soap, tag, id, (ngwt__PhoneFlags *const*)ptr, "ngwt:PhoneFlags");
- case SOAP_TYPE_PointerTongwt__RecurrenceRule:
- return soap_out_PointerTongwt__RecurrenceRule(soap, tag, id, (ngwt__RecurrenceRule *const*)ptr, "ngwt:RecurrenceRule");
- case SOAP_TYPE_PointerTongwt__RecurrenceDateType:
- return soap_out_PointerTongwt__RecurrenceDateType(soap, tag, id, (ngwt__RecurrenceDateType *const*)ptr, "ngwt:RecurrenceDateType");
- case SOAP_TYPE_PointerTongwt__SMimeOperation:
- return soap_out_PointerTongwt__SMimeOperation(soap, tag, id, (ngwt__SMimeOperation *const*)ptr, "ngwt:SMimeOperation");
- case SOAP_TYPE_PointerTongwt__LinkInfo:
- return soap_out_PointerTongwt__LinkInfo(soap, tag, id, (ngwt__LinkInfo *const*)ptr, "ngwt:LinkInfo");
- case SOAP_TYPE_PointerTongwt__ItemOptions:
- return soap_out_PointerTongwt__ItemOptions(soap, tag, id, (ngwt__ItemOptions *const*)ptr, "ngwt:ItemOptions");
- case SOAP_TYPE_PointerTongwt__AttachmentInfo:
- return soap_out_PointerTongwt__AttachmentInfo(soap, tag, id, (ngwt__AttachmentInfo *const*)ptr, "ngwt:AttachmentInfo");
- case SOAP_TYPE_PointerTongwt__MessageBody:
- return soap_out_PointerTongwt__MessageBody(soap, tag, id, (ngwt__MessageBody *const*)ptr, "ngwt:MessageBody");
- case SOAP_TYPE_PointerTongwt__ReferenceInfo:
- return soap_out_PointerTongwt__ReferenceInfo(soap, tag, id, (ngwt__ReferenceInfo *const*)ptr, "ngwt:ReferenceInfo");
- case SOAP_TYPE_PointerTongwt__PersonalInfo:
- return soap_out_PointerTongwt__PersonalInfo(soap, tag, id, (ngwt__PersonalInfo *const*)ptr, "ngwt:PersonalInfo");
- case SOAP_TYPE_PointerTongwt__OfficeInfo:
- return soap_out_PointerTongwt__OfficeInfo(soap, tag, id, (ngwt__OfficeInfo *const*)ptr, "ngwt:OfficeInfo");
- case SOAP_TYPE_PointerTongwt__PostalAddressList:
- return soap_out_PointerTongwt__PostalAddressList(soap, tag, id, (ngwt__PostalAddressList *const*)ptr, "ngwt:PostalAddressList");
- case SOAP_TYPE_PointerTongwt__PhoneList:
- return soap_out_PointerTongwt__PhoneList(soap, tag, id, (ngwt__PhoneList *const*)ptr, "ngwt:PhoneList");
- case SOAP_TYPE_PointerTongwt__ImAddressList:
- return soap_out_PointerTongwt__ImAddressList(soap, tag, id, (ngwt__ImAddressList *const*)ptr, "ngwt:ImAddressList");
- case SOAP_TYPE_PointerTongwt__EmailAddressList:
- return soap_out_PointerTongwt__EmailAddressList(soap, tag, id, (ngwt__EmailAddressList *const*)ptr, "ngwt:EmailAddressList");
- case SOAP_TYPE_PointerTongwt__FullName:
- return soap_out_PointerTongwt__FullName(soap, tag, id, (ngwt__FullName *const*)ptr, "ngwt:FullName");
- case SOAP_TYPE_PointerTongwt__VersionStatus:
- return soap_out_PointerTongwt__VersionStatus(soap, tag, id, (enum ngwt__VersionStatus *const*)ptr, "ngwt:VersionStatus");
- case SOAP_TYPE_PointerTongwt__FolderACL:
- return soap_out_PointerTongwt__FolderACL(soap, tag, id, (ngwt__FolderACL *const*)ptr, "ngwt:FolderACL");
- case SOAP_TYPE_PointerTongwt__RuleActionList:
- return soap_out_PointerTongwt__RuleActionList(soap, tag, id, (ngwt__RuleActionList *const*)ptr, "ngwt:RuleActionList");
- case SOAP_TYPE_PointerTongwt__Execution:
- return soap_out_PointerTongwt__Execution(soap, tag, id, (enum ngwt__Execution *const*)ptr, "ngwt:Execution");
- case SOAP_TYPE_PointerTongwt__Query:
- return soap_out_PointerTongwt__Query(soap, tag, id, (ngwt__Query *const*)ptr, "ngwt:Query");
- case SOAP_TYPE_PointerTongwt__FolderACLStatus:
- return soap_out_PointerTongwt__FolderACLStatus(soap, tag, id, (enum ngwt__FolderACLStatus *const*)ptr, "ngwt:FolderACLStatus");
- case SOAP_TYPE_PointerTongwt__AccessControlList:
- return soap_out_PointerTongwt__AccessControlList(soap, tag, id, (ngwt__AccessControlList *const*)ptr, "ngwt:AccessControlList");
- case SOAP_TYPE_PointerTongwt__WeekOfYear:
- return soap_out_PointerTongwt__WeekOfYear(soap, tag, id, (short *const*)ptr, "ngwt:WeekOfYear");
- case SOAP_TYPE_PointerTongwt__OccurrenceType:
- return soap_out_PointerTongwt__OccurrenceType(soap, tag, id, (enum ngwt__OccurrenceType *const*)ptr, "ngwt:OccurrenceType");
- case SOAP_TYPE_PointerTongwt__ItemSecurity:
- return soap_out_PointerTongwt__ItemSecurity(soap, tag, id, (enum ngwt__ItemSecurity *const*)ptr, "ngwt:ItemSecurity");
- case SOAP_TYPE_PointerTongwt__ItemClass:
- return soap_out_PointerTongwt__ItemClass(soap, tag, id, (enum ngwt__ItemClass *const*)ptr, "ngwt:ItemClass");
- case SOAP_TYPE_PointerTongwt__ItemSource:
- return soap_out_PointerTongwt__ItemSource(soap, tag, id, (enum ngwt__ItemSource *const*)ptr, "ngwt:ItemSource");
- case SOAP_TYPE_PointerTongwt__ItemStatus:
- return soap_out_PointerTongwt__ItemStatus(soap, tag, id, (ngwt__ItemStatus *const*)ptr, "ngwt:ItemStatus");
- case SOAP_TYPE_PointerTongwt__DeltaSyncType:
- return soap_out_PointerTongwt__DeltaSyncType(soap, tag, id, (enum ngwt__DeltaSyncType *const*)ptr, "ngwt:DeltaSyncType");
- case SOAP_TYPE_PointerTongwt__RecipientStatus:
- return soap_out_PointerTongwt__RecipientStatus(soap, tag, id, (ngwt__RecipientStatus *const*)ptr, "ngwt:RecipientStatus");
- case SOAP_TYPE_PointerTongwt__FreeBusyBlockList:
- return soap_out_PointerTongwt__FreeBusyBlockList(soap, tag, id, (ngwt__FreeBusyBlockList *const*)ptr, "ngwt:FreeBusyBlockList");
- case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute:
- return soap_out_PointerTongwt__CalendarFolderAttribute(soap, tag, id, (ngwt__CalendarFolderAttribute *const*)ptr, "ngwt:CalendarFolderAttribute");
- case SOAP_TYPE_PointerTongwt__FilterDate:
- return soap_out_PointerTongwt__FilterDate(soap, tag, id, (enum ngwt__FilterDate *const*)ptr, "ngwt:FilterDate");
- case SOAP_TYPE_PointerTongwt__ContainerRef:
- return soap_out_PointerTongwt__ContainerRef(soap, tag, id, (ngwt__ContainerRef *const*)ptr, "ngwt:ContainerRef");
- case SOAP_TYPE_PointerTongwt__CategoryType:
- return soap_out_PointerTongwt__CategoryType(soap, tag, id, (enum ngwt__CategoryType *const*)ptr, "ngwt:CategoryType");
- case SOAP_TYPE_PointerTongwt__AccessMiscRight:
- return soap_out_PointerTongwt__AccessMiscRight(soap, tag, id, (ngwt__AccessMiscRight *const*)ptr, "ngwt:AccessMiscRight");
- case SOAP_TYPE_PointerTongwt__AccessRight:
- return soap_out_PointerTongwt__AccessRight(soap, tag, id, (ngwt__AccessRight *const*)ptr, "ngwt:AccessRight");
- case SOAP_TYPE_PointerTongwt__Rights:
- return soap_out_PointerTongwt__Rights(soap, tag, id, (ngwt__Rights *const*)ptr, "ngwt:Rights");
- case SOAP_TYPE_PointerTongwe__EventList:
- return soap_out_PointerTongwe__EventList(soap, tag, id, (ngwe__EventList *const*)ptr, "ngwe:EventList");
- case SOAP_TYPE_PointerTongwe__EventsList:
- return soap_out_PointerTongwe__EventsList(soap, tag, id, (ngwe__EventsList *const*)ptr, "ngwe:EventsList");
- case SOAP_TYPE_PointerTongwe__Events:
- return soap_out_PointerTongwe__Events(soap, tag, id, (ngwe__Events *const*)ptr, "ngwe:Events");
- case SOAP_TYPE_PointerTongwe__EventDefinition:
- return soap_out_PointerTongwe__EventDefinition(soap, tag, id, (ngwe__EventDefinition *const*)ptr, "ngwe:EventDefinition");
- case SOAP_TYPE_PointerToxsd__duration:
- return soap_out_PointerToxsd__duration(soap, tag, id, (std::string *const*)ptr, "xsd:duration");
- case SOAP_TYPE_PointerTongwe__Event:
- return soap_out_PointerTongwe__Event(soap, tag, id, (ngwe__Event *const*)ptr, "ngwe:Event");
- case SOAP_TYPE_PointerTongwe__ContainerList:
- return soap_out_PointerTongwe__ContainerList(soap, tag, id, (ngwe__ContainerList *const*)ptr, "ngwe:ContainerList");
- case SOAP_TYPE_PointerTongwe__ItemTypeList:
- return soap_out_PointerTongwe__ItemTypeList(soap, tag, id, (enum ngwe__ItemTypeList *const*)ptr, "ngwe:ItemTypeList");
- case SOAP_TYPE_PointerTongwe__EventTypeList:
- return soap_out_PointerTongwe__EventTypeList(soap, tag, id, (ngwe__EventTypeList *const*)ptr, "ngwe:EventTypeList");
- case SOAP_TYPE_PointerTongwe__ItemType:
- return soap_out_PointerTongwe__ItemType(soap, tag, id, (enum ngwe__ItemType *const*)ptr, "ngwe:ItemType");
- case SOAP_TYPE_PointerTongwe__FieldList:
- return soap_out_PointerTongwe__FieldList(soap, tag, id, (enum ngwe__FieldList *const*)ptr, "ngwe:FieldList");
- case SOAP_TYPE_PointerTongwt__FreeBusyUserList:
- return soap_out_PointerTongwt__FreeBusyUserList(soap, tag, id, (ngwt__FreeBusyUserList *const*)ptr, "ngwt:FreeBusyUserList");
- case SOAP_TYPE_PointerTongwt__RetractType:
- return soap_out_PointerTongwt__RetractType(soap, tag, id, (enum ngwt__RetractType *const*)ptr, "ngwt:RetractType");
- case SOAP_TYPE_PointerTongwt__ItemList:
- return soap_out_PointerTongwt__ItemList(soap, tag, id, (ngwt__ItemList *const*)ptr, "ngwt:ItemList");
- case SOAP_TYPE_PointerTongwt__CursorSeek:
- return soap_out_PointerTongwt__CursorSeek(soap, tag, id, (enum ngwt__CursorSeek *const*)ptr, "ngwt:CursorSeek");
- case SOAP_TYPE_PointerTongwt__AccessRightChanges:
- return soap_out_PointerTongwt__AccessRightChanges(soap, tag, id, (ngwt__AccessRightChanges *const*)ptr, "ngwt:AccessRightChanges");
- case SOAP_TYPE_PointerTongwt__ModifyItem:
- return soap_out_PointerTongwt__ModifyItem(soap, tag, id, (ngwt__ModifyItem *const*)ptr, "ngwt:ModifyItem");
- case SOAP_TYPE_PointerTongwt__Host:
- return soap_out_PointerTongwt__Host(soap, tag, id, (ngwt__Host *const*)ptr, "ngwt:Host");
- case SOAP_TYPE_PointerTongwt__Authentication:
- return soap_out_PointerTongwt__Authentication(soap, tag, id, (ngwt__Authentication *const*)ptr, "ngwt:Authentication");
- case SOAP_TYPE_PointerTongwt__UserList:
- return soap_out_PointerTongwt__UserList(soap, tag, id, (ngwt__UserList *const*)ptr, "ngwt:UserList");
- case SOAP_TYPE_PointerTongwt__TimezoneList:
- return soap_out_PointerTongwt__TimezoneList(soap, tag, id, (ngwt__TimezoneList *const*)ptr, "ngwt:TimezoneList");
- case SOAP_TYPE_PointerTongwt__Signatures:
- return soap_out_PointerTongwt__Signatures(soap, tag, id, (ngwt__Signatures *const*)ptr, "ngwt:Signatures");
- case SOAP_TYPE_PointerTongwt__Settings:
- return soap_out_PointerTongwt__Settings(soap, tag, id, (ngwt__Settings *const*)ptr, "ngwt:Settings");
- case SOAP_TYPE_PointerTongwt__RuleList:
- return soap_out_PointerTongwt__RuleList(soap, tag, id, (ngwt__RuleList *const*)ptr, "ngwt:RuleList");
- case SOAP_TYPE_PointerTongwt__ProxyList:
- return soap_out_PointerTongwt__ProxyList(soap, tag, id, (ngwt__ProxyList *const*)ptr, "ngwt:ProxyList");
- case SOAP_TYPE_PointerTongwt__AccessRightList:
- return soap_out_PointerTongwt__AccessRightList(soap, tag, id, (ngwt__AccessRightList *const*)ptr, "ngwt:AccessRightList");
- case SOAP_TYPE_PointerTongwt__LibraryList:
- return soap_out_PointerTongwt__LibraryList(soap, tag, id, (ngwt__LibraryList *const*)ptr, "ngwt:LibraryList");
- case SOAP_TYPE_PointerTongwt__SettingsList:
- return soap_out_PointerTongwt__SettingsList(soap, tag, id, (ngwt__SettingsList *const*)ptr, "ngwt:SettingsList");
- case SOAP_TYPE_PointerTongwt__JunkHandlingList:
- return soap_out_PointerTongwt__JunkHandlingList(soap, tag, id, (ngwt__JunkHandlingList *const*)ptr, "ngwt:JunkHandlingList");
- case SOAP_TYPE_PointerTongwt__FreeBusyInfoList:
- return soap_out_PointerTongwt__FreeBusyInfoList(soap, tag, id, (ngwt__FreeBusyInfoList *const*)ptr, "ngwt:FreeBusyInfoList");
- case SOAP_TYPE_PointerTongwt__FreeBusyStats:
- return soap_out_PointerTongwt__FreeBusyStats(soap, tag, id, (ngwt__FreeBusyStats *const*)ptr, "ngwt:FreeBusyStats");
- case SOAP_TYPE_PointerTongwt__FolderList:
- return soap_out_PointerTongwt__FolderList(soap, tag, id, (ngwt__FolderList *const*)ptr, "ngwt:FolderList");
- case SOAP_TYPE_PointerTongwt__ItemSourceList:
- return soap_out_PointerTongwt__ItemSourceList(soap, tag, id, (enum ngwt__ItemSourceList *const*)ptr, "ngwt:ItemSourceList");
- case SOAP_TYPE_PointerTongwt__MessageTypeList:
- return soap_out_PointerTongwt__MessageTypeList(soap, tag, id, (enum ngwt__MessageTypeList *const*)ptr, "ngwt:MessageTypeList");
- case SOAP_TYPE_PointerTongwt__FolderType:
- return soap_out_PointerTongwt__FolderType(soap, tag, id, (enum ngwt__FolderType *const*)ptr, "ngwt:FolderType");
- case SOAP_TYPE_PointerTongwt__DocumentTypeList:
- return soap_out_PointerTongwt__DocumentTypeList(soap, tag, id, (ngwt__DocumentTypeList *const*)ptr, "ngwt:DocumentTypeList");
- case SOAP_TYPE_PointerTongwt__Items:
- return soap_out_PointerTongwt__Items(soap, tag, id, (ngwt__Items *const*)ptr, "ngwt:Items");
- case SOAP_TYPE_PointerTongwt__DeltaInfo:
- return soap_out_PointerTongwt__DeltaInfo(soap, tag, id, (ngwt__DeltaInfo *const*)ptr, "ngwt:DeltaInfo");
- case SOAP_TYPE_PointerTongwt__CustomList:
- return soap_out_PointerTongwt__CustomList(soap, tag, id, (ngwt__CustomList *const*)ptr, "ngwt:CustomList");
- case SOAP_TYPE_PointerTongwt__CategoryList:
- return soap_out_PointerTongwt__CategoryList(soap, tag, id, (ngwt__CategoryList *const*)ptr, "ngwt:CategoryList");
- case SOAP_TYPE_PointerTongwt__AddressBookList:
- return soap_out_PointerTongwt__AddressBookList(soap, tag, id, (ngwt__AddressBookList *const*)ptr, "ngwt:AddressBookList");
- case SOAP_TYPE_PointerTongwt__Distribution:
- return soap_out_PointerTongwt__Distribution(soap, tag, id, (ngwt__Distribution *const*)ptr, "ngwt:Distribution");
- case SOAP_TYPE_PointerTongwt__View:
- return soap_out_PointerTongwt__View(soap, tag, id, (std::string *const*)ptr, "ngwt:View");
- case SOAP_TYPE_PointerTongwt__Status:
- return soap_out_PointerTongwt__Status(soap, tag, id, (ngwt__Status *const*)ptr, "ngwt:Status");
- case SOAP_TYPE_PointerTongwt__ItemRefList:
- return soap_out_PointerTongwt__ItemRefList(soap, tag, id, (ngwt__ItemRefList *const*)ptr, "ngwt:ItemRefList");
- case SOAP_TYPE_PointerTongwt__UserInfo:
- return soap_out_PointerTongwt__UserInfo(soap, tag, id, (ngwt__UserInfo *const*)ptr, "ngwt:UserInfo");
- case SOAP_TYPE_PointerTongwt__RecipientType:
- return soap_out_PointerTongwt__RecipientType(soap, tag, id, (enum ngwt__RecipientType *const*)ptr, "ngwt:RecipientType");
- case SOAP_TYPE_PointerTongwt__Timezone:
- return soap_out_PointerTongwt__Timezone(soap, tag, id, (ngwt__Timezone *const*)ptr, "ngwt:Timezone");
- case SOAP_TYPE_PointerTongwt__Minute:
- return soap_out_PointerTongwt__Minute(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Minute");
- case SOAP_TYPE_PointerTongwt__Hour:
- return soap_out_PointerTongwt__Hour(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Hour");
- case SOAP_TYPE_PointerTongwt__DayOfWeek:
- return soap_out_PointerTongwt__DayOfWeek(soap, tag, id, (ngwt__DayOfWeek *const*)ptr, "ngwt:DayOfWeek");
- case SOAP_TYPE_PointerTongwt__Day:
- return soap_out_PointerTongwt__Day(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Day");
- case SOAP_TYPE_PointerTongwt__Month:
- return soap_out_PointerTongwt__Month(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Month");
- case SOAP_TYPE_PointerTongwt__TimezoneComponent:
- return soap_out_PointerTongwt__TimezoneComponent(soap, tag, id, (ngwt__TimezoneComponent *const*)ptr, "ngwt:TimezoneComponent");
- case SOAP_TYPE_PointerTongwt__ProblemList:
- return soap_out_PointerTongwt__ProblemList(soap, tag, id, (ngwt__ProblemList *const*)ptr, "ngwt:ProblemList");
- case SOAP_TYPE_PointerTongwt__Signature:
- return soap_out_PointerTongwt__Signature(soap, tag, id, (ngwt__Signature *const*)ptr, "ngwt:Signature");
- case SOAP_TYPE_PointerTongwt__SignatureData:
- return soap_out_PointerTongwt__SignatureData(soap, tag, id, (ngwt__SignatureData *const*)ptr, "ngwt:SignatureData");
- case SOAP_TYPE_PointerTongwt__SettingsGroup:
- return soap_out_PointerTongwt__SettingsGroup(soap, tag, id, (ngwt__SettingsGroup *const*)ptr, "ngwt:SettingsGroup");
- case SOAP_TYPE_PointerTongwt__ReturnNotification:
- return soap_out_PointerTongwt__ReturnNotification(soap, tag, id, (ngwt__ReturnNotification *const*)ptr, "ngwt:ReturnNotification");
- case SOAP_TYPE_PointerTongwt__StatusTracking:
- return soap_out_PointerTongwt__StatusTracking(soap, tag, id, (ngwt__StatusTracking *const*)ptr, "ngwt:StatusTracking");
- case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply:
- return soap_out_PointerTongwt__SendOptionsRequestReply(soap, tag, id, (ngwt__SendOptionsRequestReply *const*)ptr, "ngwt:SendOptionsRequestReply");
- case SOAP_TYPE_PointerTongwt__Rule:
- return soap_out_PointerTongwt__Rule(soap, tag, id, (ngwt__Rule *const*)ptr, "ngwt:Rule");
- case SOAP_TYPE_PointerTongwt__RuleAction:
- return soap_out_PointerTongwt__RuleAction(soap, tag, id, (ngwt__RuleAction *const*)ptr, "ngwt:RuleAction");
- case SOAP_TYPE_PointerTongwt__CategoryRefList:
- return soap_out_PointerTongwt__CategoryRefList(soap, tag, id, (ngwt__CategoryRefList *const*)ptr, "ngwt:CategoryRefList");
- case SOAP_TYPE_PointerTongwt__Mail:
- return soap_out_PointerTongwt__Mail(soap, tag, id, (ngwt__Mail *const*)ptr, "ngwt:Mail");
- case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions:
- return soap_out_PointerTongwt__ReturnNotificationOptions(soap, tag, id, (ngwt__ReturnNotificationOptions *const*)ptr, "ngwt:ReturnNotificationOptions");
- case SOAP_TYPE_PointerTongwt__MonthList:
- return soap_out_PointerTongwt__MonthList(soap, tag, id, (ngwt__MonthList *const*)ptr, "ngwt:MonthList");
- case SOAP_TYPE_PointerTongwt__DayOfYearList:
- return soap_out_PointerTongwt__DayOfYearList(soap, tag, id, (ngwt__DayOfYearList *const*)ptr, "ngwt:DayOfYearList");
- case SOAP_TYPE_PointerTongwt__DayOfMonthList:
- return soap_out_PointerTongwt__DayOfMonthList(soap, tag, id, (ngwt__DayOfMonthList *const*)ptr, "ngwt:DayOfMonthList");
- case SOAP_TYPE_PointerTongwt__DayOfYearWeekList:
- return soap_out_PointerTongwt__DayOfYearWeekList(soap, tag, id, (ngwt__DayOfYearWeekList *const*)ptr, "ngwt:DayOfYearWeekList");
- case SOAP_TYPE_PointerTongwt__Frequency:
- return soap_out_PointerTongwt__Frequency(soap, tag, id, (enum ngwt__Frequency *const*)ptr, "ngwt:Frequency");
- case SOAP_TYPE_PointerTongwt__DelegateeStatus:
- return soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, (ngwt__DelegateeStatus *const*)ptr, "ngwt:DelegateeStatus");
- case SOAP_TYPE_PointerTongwt__DelegatedStatus:
- return soap_out_PointerTongwt__DelegatedStatus(soap, tag, id, (ngwt__DelegatedStatus *const*)ptr, "ngwt:DelegatedStatus");
- case SOAP_TYPE_PointerTongwt__CommentStatus:
- return soap_out_PointerTongwt__CommentStatus(soap, tag, id, (ngwt__CommentStatus *const*)ptr, "ngwt:CommentStatus");
- case SOAP_TYPE_PointerTongwt__TransferFailedStatus:
- return soap_out_PointerTongwt__TransferFailedStatus(soap, tag, id, (ngwt__TransferFailedStatus *const*)ptr, "ngwt:TransferFailedStatus");
- case SOAP_TYPE_PointerTongwt__Recipient:
- return soap_out_PointerTongwt__Recipient(soap, tag, id, (ngwt__Recipient *const*)ptr, "ngwt:Recipient");
- case SOAP_TYPE_PointerTongwt__Filter:
- return soap_out_PointerTongwt__Filter(soap, tag, id, (ngwt__Filter *const*)ptr, "ngwt:Filter");
- case SOAP_TYPE_PointerTongwt__QueryTarget:
- return soap_out_PointerTongwt__QueryTarget(soap, tag, id, (ngwt__QueryTarget *const*)ptr, "ngwt:QueryTarget");
- case SOAP_TYPE_PointerTongwt__ProxyUser:
- return soap_out_PointerTongwt__ProxyUser(soap, tag, id, (ngwt__ProxyUser *const*)ptr, "ngwt:ProxyUser");
- case SOAP_TYPE_PointerTongwt__ProblemEntry:
- return soap_out_PointerTongwt__ProblemEntry(soap, tag, id, (ngwt__ProblemEntry *const*)ptr, "ngwt:ProblemEntry");
- case SOAP_TYPE_PointerTongwt__PostalAddress:
- return soap_out_PointerTongwt__PostalAddress(soap, tag, id, (ngwt__PostalAddress *const*)ptr, "ngwt:PostalAddress");
- case SOAP_TYPE_PointerTongwt__PhoneNumber:
- return soap_out_PointerTongwt__PhoneNumber(soap, tag, id, (ngwt__PhoneNumber *const*)ptr, "ngwt:PhoneNumber");
- case SOAP_TYPE_PointerToxsd__date:
- return soap_out_PointerToxsd__date(soap, tag, id, (std::string *const*)ptr, "xsd:date");
- case SOAP_TYPE_PointerTongwt__ItemRef:
- return soap_out_PointerTongwt__ItemRef(soap, tag, id, (ngwt__ItemRef *const*)ptr, "ngwt:ItemRef");
- case SOAP_TYPE_PointerTongwt__UUID:
- return soap_out_PointerTongwt__UUID(soap, tag, id, (std::string *const*)ptr, "ngwt:UUID");
- case SOAP_TYPE_PointerTongwt__SharedFolderNotification:
- return soap_out_PointerTongwt__SharedFolderNotification(soap, tag, id, (ngwt__SharedFolderNotification *const*)ptr, "ngwt:SharedFolderNotification");
- case SOAP_TYPE_PointerTongwt__MessagePart:
- return soap_out_PointerTongwt__MessagePart(soap, tag, id, (ngwt__MessagePart *const*)ptr, "ngwt:MessagePart");
- case SOAP_TYPE_PointerTongwt__Library:
- return soap_out_PointerTongwt__Library(soap, tag, id, (ngwt__Library *const*)ptr, "ngwt:Library");
- case SOAP_TYPE_PointerTongwt__JunkEntry:
- return soap_out_PointerTongwt__JunkEntry(soap, tag, id, (ngwt__JunkEntry *const*)ptr, "ngwt:JunkEntry");
- case SOAP_TYPE_PointerTongwt__JunkHandlingListType:
- return soap_out_PointerTongwt__JunkHandlingListType(soap, tag, id, (enum ngwt__JunkHandlingListType *const*)ptr, "ngwt:JunkHandlingListType");
- case SOAP_TYPE_PointerTongwt__Item:
- return soap_out_PointerTongwt__Item(soap, tag, id, (ngwt__Item *const*)ptr, "ngwt:Item");
- case SOAP_TYPE_PointerTongwt__ItemChanges:
- return soap_out_PointerTongwt__ItemChanges(soap, tag, id, (ngwt__ItemChanges *const*)ptr, "ngwt:ItemChanges");
- case SOAP_TYPE_PointerTongwt__ImAddress:
- return soap_out_PointerTongwt__ImAddress(soap, tag, id, (ngwt__ImAddress *const*)ptr, "ngwt:ImAddress");
- case SOAP_TYPE_PointerTongwt__GroupMember:
- return soap_out_PointerTongwt__GroupMember(soap, tag, id, (ngwt__GroupMember *const*)ptr, "ngwt:GroupMember");
- case SOAP_TYPE_PointerTongwt__GroupMemberList:
- return soap_out_PointerTongwt__GroupMemberList(soap, tag, id, (ngwt__GroupMemberList *const*)ptr, "ngwt:GroupMemberList");
- case SOAP_TYPE_PointerTongwt__FreeBusyInfo:
- return soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, (ngwt__FreeBusyInfo *const*)ptr, "ngwt:FreeBusyInfo");
- case SOAP_TYPE_PointerTongwt__NameAndEmail:
- return soap_out_PointerTongwt__NameAndEmail(soap, tag, id, (ngwt__NameAndEmail *const*)ptr, "ngwt:NameAndEmail");
- case SOAP_TYPE_PointerTongwt__AcceptLevel:
- return soap_out_PointerTongwt__AcceptLevel(soap, tag, id, (enum ngwt__AcceptLevel *const*)ptr, "ngwt:AcceptLevel");
- case SOAP_TYPE_PointerTongwt__FreeBusyBlock:
- return soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, (ngwt__FreeBusyBlock *const*)ptr, "ngwt:FreeBusyBlock");
- case SOAP_TYPE_PointerTongwt__Folder:
- return soap_out_PointerTongwt__Folder(soap, tag, id, (ngwt__Folder *const*)ptr, "ngwt:Folder");
- case SOAP_TYPE_PointerTongwt__FolderACLEntry:
- return soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, (ngwt__FolderACLEntry *const*)ptr, "ngwt:FolderACLEntry");
- case SOAP_TYPE_PointerTongwt__FilterElement:
- return soap_out_PointerTongwt__FilterElement(soap, tag, id, (ngwt__FilterElement *const*)ptr, "ngwt:FilterElement");
- case SOAP_TYPE_PointerTongwt__DocumentType:
- return soap_out_PointerTongwt__DocumentType(soap, tag, id, (ngwt__DocumentType *const*)ptr, "ngwt:DocumentType");
- case SOAP_TYPE_PointerTongwt__AgeAction:
- return soap_out_PointerTongwt__AgeAction(soap, tag, id, (enum ngwt__AgeAction *const*)ptr, "ngwt:AgeAction");
- case SOAP_TYPE_PointerTongwt__SendOptions:
- return soap_out_PointerTongwt__SendOptions(soap, tag, id, (ngwt__SendOptions *const*)ptr, "ngwt:SendOptions");
- case SOAP_TYPE_PointerTongwt__RecipientList:
- return soap_out_PointerTongwt__RecipientList(soap, tag, id, (ngwt__RecipientList *const*)ptr, "ngwt:RecipientList");
- case SOAP_TYPE_PointerTongwt__From:
- return soap_out_PointerTongwt__From(soap, tag, id, (ngwt__From *const*)ptr, "ngwt:From");
- case SOAP_TYPE_PointerToint:
- return soap_out_PointerToint(soap, tag, id, (int *const*)ptr, "xsd:int");
- case SOAP_TYPE_PointerTongwt__DayOfYearWeek:
- return soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, (ngwt__DayOfYearWeek *const*)ptr, "ngwt:DayOfYearWeek");
- case SOAP_TYPE_PointerTongwt__Custom:
- return soap_out_PointerTongwt__Custom(soap, tag, id, (ngwt__Custom *const*)ptr, "ngwt:Custom");
- case SOAP_TYPE_PointerTongwt__CustomType:
- return soap_out_PointerTongwt__CustomType(soap, tag, id, (enum ngwt__CustomType *const*)ptr, "ngwt:CustomType");
- case SOAP_TYPE_PointerTongwt__uid:
- return soap_out_PointerTongwt__uid(soap, tag, id, (std::string *const*)ptr, "ngwt:uid");
- case SOAP_TYPE_PointerTongwt__Category:
- return soap_out_PointerTongwt__Category(soap, tag, id, (ngwt__Category *const*)ptr, "ngwt:Category");
- case SOAP_TYPE_PointerToxsd__base64Binary:
- return soap_out_PointerToxsd__base64Binary(soap, tag, id, (xsd__base64Binary *const*)ptr, "xsd:base64Binary");
- case SOAP_TYPE_PointerTounsignedLong:
- return soap_out_PointerTounsignedLong(soap, tag, id, (unsigned long *const*)ptr, "xsd:unsignedLong");
- case SOAP_TYPE_PointerTostd__string:
- return soap_out_PointerTostd__string(soap, tag, id, (std::string *const*)ptr, "xsd:string");
- case SOAP_TYPE_PointerTongwt__AttachmentID:
- return soap_out_PointerTongwt__AttachmentID(soap, tag, id, (ngwt__AttachmentID *const*)ptr, "ngwt:AttachmentID");
- case SOAP_TYPE_PointerTongwt__AttachmentItemInfo:
- return soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, (ngwt__AttachmentItemInfo *const*)ptr, "ngwt:AttachmentItemInfo");
- case SOAP_TYPE_PointerTongwt__AddressBook:
- return soap_out_PointerTongwt__AddressBook(soap, tag, id, (ngwt__AddressBook *const*)ptr, "ngwt:AddressBook");
- case SOAP_TYPE_PointerTongwt__AccessRightEntry:
- return soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, (ngwt__AccessRightEntry *const*)ptr, "ngwt:AccessRightEntry");
- case SOAP_TYPE_PointerTobool:
- return soap_out_PointerTobool(soap, tag, id, (bool *const*)ptr, "xsd:boolean");
- case SOAP_TYPE_PointerTongwt__AccessControlListEntry:
- return soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, (ngwt__AccessControlListEntry *const*)ptr, "ngwt:AccessControlListEntry");
- case SOAP_TYPE_PointerTounsignedByte:
- return soap_out_PointerTounsignedByte(soap, tag, id, (unsigned char *const*)ptr, "xsd:unsignedByte");
- case SOAP_TYPE__TQName:
- return soap_out_string(soap, "TQName", id, (char**)&ptr, NULL);
- case SOAP_TYPE_string:
- return soap_out_string(soap, tag, id, (char**)&ptr, "xsd:string");
- }
- return SOAP_OK;
-}
-#endif
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr, int type)
-{
- (void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
- switch (type)
- {
- case SOAP_TYPE_ngwt__UUID:
- soap_serialize_ngwt__UUID(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_ngwt__uid:
- soap_serialize_ngwt__uid(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_ngwt__View:
- soap_serialize_ngwt__View(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE__ngwe__removeEventsResponse:
- ((_ngwe__removeEventsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__removeEventsRequest:
- ((_ngwe__removeEventsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__removeEventConfigurationResponse:
- ((_ngwe__removeEventConfigurationResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__removeEventConfigurationRequest:
- ((_ngwe__removeEventConfigurationRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__getEventsResponse:
- ((_ngwe__getEventsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__getEventsRequest:
- ((_ngwe__getEventsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__getEventConfigurationResponse:
- ((_ngwe__getEventConfigurationResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__getEventConfigurationRequest:
- ((_ngwe__getEventConfigurationRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__configureEventsResponse:
- ((_ngwe__configureEventsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__configureEventsRequest:
- ((_ngwe__configureEventsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__cleanEventConfigurationResponse:
- ((_ngwe__cleanEventConfigurationResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwe__cleanEventConfigurationRequest:
- ((_ngwe__cleanEventConfigurationRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__Notify:
- ((ngwe__Notify *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__EventTypeList:
- ((ngwe__EventTypeList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__EventsList:
- ((ngwe__EventsList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__Events:
- ((ngwe__Events *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__EventList:
- ((ngwe__EventList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__EventDefinition:
- ((ngwe__EventDefinition *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__Event:
- ((ngwe__Event *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwe__ContainerList:
- ((ngwe__ContainerList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__updateVersionStatusResponse:
- ((_ngwm__updateVersionStatusResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__updateVersionStatusRequest:
- ((_ngwm__updateVersionStatusRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__uncompleteResponse:
- ((_ngwm__uncompleteResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__uncompleteRequest:
- ((_ngwm__uncompleteRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__unacceptResponse:
- ((_ngwm__unacceptResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__unacceptRequest:
- ((_ngwm__unacceptRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__startFreeBusySessionResponse:
- ((_ngwm__startFreeBusySessionResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__startFreeBusySessionRequest:
- ((_ngwm__startFreeBusySessionRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__setTimestampResponse:
- ((_ngwm__setTimestampResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__setTimestampRequest:
- ((_ngwm__setTimestampRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__sendItemResponse:
- ((_ngwm__sendItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__sendItemRequest:
- ((_ngwm__sendItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__retractResponse:
- ((_ngwm__retractResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__retractRequest:
- ((_ngwm__retractRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__replyResponse:
- ((_ngwm__replyResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__replyRequest:
- ((_ngwm__replyRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeSignatureResponse:
- ((_ngwm__removeSignatureResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeSignatureRequest:
- ((_ngwm__removeSignatureRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeProxyUserResponse:
- ((_ngwm__removeProxyUserResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeProxyUserRequest:
- ((_ngwm__removeProxyUserRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeProxyAccessResponse:
- ((_ngwm__removeProxyAccessResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeProxyAccessRequest:
- ((_ngwm__removeProxyAccessRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeMembersResponse:
- ((_ngwm__removeMembersResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeMembersRequest:
- ((_ngwm__removeMembersRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeJunkEntryResponse:
- ((_ngwm__removeJunkEntryResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeJunkEntryRequest:
- ((_ngwm__removeJunkEntryRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeItemsResponse:
- ((_ngwm__removeItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeItemsRequest:
- ((_ngwm__removeItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeItemResponse:
- ((_ngwm__removeItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeItemRequest:
- ((_ngwm__removeItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeCustomDefinitionResponse:
- ((_ngwm__removeCustomDefinitionResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__removeCustomDefinitionRequest:
- ((_ngwm__removeCustomDefinitionRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__readCursorResponse:
- ((_ngwm__readCursorResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__readCursorRequest:
- ((_ngwm__readCursorRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__purgeResponse:
- ((_ngwm__purgeResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__purgeRequest:
- ((_ngwm__purgeRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__purgeDeletedItemsResponse:
- ((_ngwm__purgeDeletedItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__purgeDeletedItemsRequest:
- ((_ngwm__purgeDeletedItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__positionCursorResponse:
- ((_ngwm__positionCursorResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__positionCursorRequest:
- ((_ngwm__positionCursorRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__moveItemResponse:
- ((_ngwm__moveItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__moveItemRequest:
- ((_ngwm__moveItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifySignaturesResponse:
- ((_ngwm__modifySignaturesResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifySignaturesRequest:
- ((_ngwm__modifySignaturesRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifySettingsResponse:
- ((_ngwm__modifySettingsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifySettingsRequest:
- ((_ngwm__modifySettingsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyProxyAccessResponse:
- ((_ngwm__modifyProxyAccessResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyProxyAccessRequest:
- ((_ngwm__modifyProxyAccessRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyPasswordResponse:
- ((_ngwm__modifyPasswordResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyPasswordRequest:
- ((_ngwm__modifyPasswordRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse:
- ((_ngwm__modifyJunkMailSettingsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest:
- ((_ngwm__modifyJunkMailSettingsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyJunkEntryResponse:
- ((_ngwm__modifyJunkEntryResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyJunkEntryRequest:
- ((_ngwm__modifyJunkEntryRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyItemsResponse:
- ((_ngwm__modifyItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyItemsRequest:
- ((_ngwm__modifyItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyItemResponse:
- ((_ngwm__modifyItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__modifyItemRequest:
- ((_ngwm__modifyItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markUnReadResponse:
- ((_ngwm__markUnReadResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markUnReadRequest:
- ((_ngwm__markUnReadRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markUnPrivateResponse:
- ((_ngwm__markUnPrivateResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markUnPrivateRequest:
- ((_ngwm__markUnPrivateRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markReadResponse:
- ((_ngwm__markReadResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markReadRequest:
- ((_ngwm__markReadRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markPrivateResponse:
- ((_ngwm__markPrivateResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__markPrivateRequest:
- ((_ngwm__markPrivateRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__logoutResponse:
- ((_ngwm__logoutResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__logoutRequest:
- ((_ngwm__logoutRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__loginResponse:
- ((_ngwm__loginResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__loginRequest:
- ((_ngwm__loginRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getUserListResponse:
- ((_ngwm__getUserListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getUserListRequest:
- ((_ngwm__getUserListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getTimezoneListResponse:
- ((_ngwm__getTimezoneListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getTimezoneListRequest:
- ((_ngwm__getTimezoneListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getTimestampResponse:
- ((_ngwm__getTimestampResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getTimestampRequest:
- ((_ngwm__getTimestampRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getSignaturesResponse:
- ((_ngwm__getSignaturesResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getSignaturesRequest:
- ((_ngwm__getSignaturesRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getSettingsResponse:
- ((_ngwm__getSettingsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getSettingsRequest:
- ((_ngwm__getSettingsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getRuleListResponse:
- ((_ngwm__getRuleListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getRuleListRequest:
- ((_ngwm__getRuleListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getProxyListResponse:
- ((_ngwm__getProxyListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getProxyListRequest:
- ((_ngwm__getProxyListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getProxyAccessListResponse:
- ((_ngwm__getProxyAccessListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getProxyAccessListRequest:
- ((_ngwm__getProxyAccessListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getQuickMessagesResponse:
- ((_ngwm__getQuickMessagesResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getQuickMessagesRequest:
- ((_ngwm__getQuickMessagesRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getLibraryListResponse:
- ((_ngwm__getLibraryListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getLibraryListRequest:
- ((_ngwm__getLibraryListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getLibraryItemResponse:
- ((_ngwm__getLibraryItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getLibraryItemRequest:
- ((_ngwm__getLibraryItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getJunkMailSettingsResponse:
- ((_ngwm__getJunkMailSettingsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getJunkMailSettingsRequest:
- ((_ngwm__getJunkMailSettingsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getJunkEntriesResponse:
- ((_ngwm__getJunkEntriesResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getJunkEntriesRequest:
- ((_ngwm__getJunkEntriesRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getItemsResponse:
- ((_ngwm__getItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getItemsRequest:
- ((_ngwm__getItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getItemResponse:
- ((_ngwm__getItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getItemRequest:
- ((_ngwm__getItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFreeBusyResponse:
- ((_ngwm__getFreeBusyResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFreeBusyRequest:
- ((_ngwm__getFreeBusyRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFolderListResponse:
- ((_ngwm__getFolderListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFolderListRequest:
- ((_ngwm__getFolderListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFolderResponse:
- ((_ngwm__getFolderResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getFolderRequest:
- ((_ngwm__getFolderRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDocumentTypeListResponse:
- ((_ngwm__getDocumentTypeListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDocumentTypeListRequest:
- ((_ngwm__getDocumentTypeListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDeltaInfoResponse:
- ((_ngwm__getDeltaInfoResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDeltaInfoRequest:
- ((_ngwm__getDeltaInfoRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDeltasResponse:
- ((_ngwm__getDeltasResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getDeltasRequest:
- ((_ngwm__getDeltasRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getCustomListResponse:
- ((_ngwm__getCustomListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getCustomListRequest:
- ((_ngwm__getCustomListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getCategoryListResponse:
- ((_ngwm__getCategoryListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getCategoryListRequest:
- ((_ngwm__getCategoryListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getAttachmentResponse:
- ((_ngwm__getAttachmentResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getAttachmentRequest:
- ((_ngwm__getAttachmentRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getAddressBookListResponse:
- ((_ngwm__getAddressBookListResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__getAddressBookListRequest:
- ((_ngwm__getAddressBookListRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__forwardResponse:
- ((_ngwm__forwardResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__forwardRequest:
- ((_ngwm__forwardRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__executeRuleResponse:
- ((_ngwm__executeRuleResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__executeRuleRequest:
- ((_ngwm__executeRuleRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__destroyCursorResponse:
- ((_ngwm__destroyCursorResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__destroyCursorRequest:
- ((_ngwm__destroyCursorRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__delegateResponse:
- ((_ngwm__delegateResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__delegateRequest:
- ((_ngwm__delegateRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__declineResponse:
- ((_ngwm__declineResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__declineRequest:
- ((_ngwm__declineRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createSignatureResponse:
- ((_ngwm__createSignatureResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createSignatureRequest:
- ((_ngwm__createSignatureRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createProxyAccessResponse:
- ((_ngwm__createProxyAccessResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createProxyAccessRequest:
- ((_ngwm__createProxyAccessRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createJunkEntryResponse:
- ((_ngwm__createJunkEntryResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createJunkEntryRequest:
- ((_ngwm__createJunkEntryRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createItemsResponse:
- ((_ngwm__createItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createItemsRequest:
- ((_ngwm__createItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createItemResponse:
- ((_ngwm__createItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createItemRequest:
- ((_ngwm__createItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createCursorResponse:
- ((_ngwm__createCursorResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__createCursorRequest:
- ((_ngwm__createCursorRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__completeResponse:
- ((_ngwm__completeResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__completeRequest:
- ((_ngwm__completeRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__closeFreeBusySessionResponse:
- ((_ngwm__closeFreeBusySessionResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__closeFreeBusySessionRequest:
- ((_ngwm__closeFreeBusySessionRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addMembersResponse:
- ((_ngwm__addMembersResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addMembersRequest:
- ((_ngwm__addMembersRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addItemsResponse:
- ((_ngwm__addItemsResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addItemsRequest:
- ((_ngwm__addItemsRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addItemResponse:
- ((_ngwm__addItemResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__addItemRequest:
- ((_ngwm__addItemRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__acceptShareResponse:
- ((_ngwm__acceptShareResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__acceptShareRequest:
- ((_ngwm__acceptShareRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__acceptResponse:
- ((_ngwm__acceptResponse *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE__ngwm__acceptRequest:
- ((_ngwm__acceptRequest *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__VersionEvent:
- ((ngwt__VersionEvent *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Version:
- ((ngwt__Version *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__UserList:
- ((ngwt__UserList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__UserInfo:
- ((ngwt__UserInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__TrustedApplication:
- ((ngwt__TrustedApplication *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__TransferFailedStatus:
- ((ngwt__TransferFailedStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__TimezoneList:
- ((ngwt__TimezoneList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__TimezoneComponent:
- ((ngwt__TimezoneComponent *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Timezone:
- ((ngwt__Timezone *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Task:
- ((ngwt__Task *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SystemFolder:
- ((ngwt__SystemFolder *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__StatusTracking:
- ((ngwt__StatusTracking *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Status:
- ((ngwt__Status *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SMimeOperation:
- ((ngwt__SMimeOperation *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SignatureData:
- ((ngwt__SignatureData *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Signatures:
- ((ngwt__Signatures *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Signature:
- ((ngwt__Signature *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SharedNotification:
- ((ngwt__SharedNotification *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SharedFolderNotification:
- ((ngwt__SharedFolderNotification *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SharedFolder:
- ((ngwt__SharedFolder *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SettingsList:
- ((ngwt__SettingsList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SettingsGroup:
- ((ngwt__SettingsGroup *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Settings:
- ((ngwt__Settings *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SendOptions:
- ((ngwt__SendOptions *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__SendOptionsRequestReply:
- ((ngwt__SendOptionsRequestReply *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RuleList:
- ((ngwt__RuleList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RuleActionList:
- ((ngwt__RuleActionList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RuleAction:
- ((ngwt__RuleAction *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Rule:
- ((ngwt__Rule *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Rights:
- ((ngwt__Rights *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ReturnNotificationOptions:
- ((ngwt__ReturnNotificationOptions *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ReturnNotification:
- ((ngwt__ReturnNotification *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Resource:
- ((ngwt__Resource *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ReferenceInfo:
- ((ngwt__ReferenceInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RecurrenceRule:
- ((ngwt__RecurrenceRule *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RecurrenceDateType:
- ((ngwt__RecurrenceDateType *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RecipientStatus:
- ((ngwt__RecipientStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__RecipientList:
- ((ngwt__RecipientList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Recipient:
- ((ngwt__Recipient *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__QueryTarget:
- ((ngwt__QueryTarget *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__QueryFolder:
- ((ngwt__QueryFolder *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Query:
- ((ngwt__Query *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ProxyList:
- ((ngwt__ProxyList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ProxyUser:
- ((ngwt__ProxyUser *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Proxy:
- ((ngwt__Proxy *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ProblemList:
- ((ngwt__ProblemList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ProblemEntry:
- ((ngwt__ProblemEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PostalAddressList:
- ((ngwt__PostalAddressList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PostalAddress:
- ((ngwt__PostalAddress *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PlainText:
- ((ngwt__PlainText *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PhoneNumber:
- ((ngwt__PhoneNumber *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PhoneMessage:
- ((ngwt__PhoneMessage *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PhoneList:
- ((ngwt__PhoneList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PhoneFlags:
- ((ngwt__PhoneFlags *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__PersonalInfo:
- ((ngwt__PersonalInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Organization:
- ((ngwt__Organization *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__OfficeInfo:
- ((ngwt__OfficeInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Note:
- ((ngwt__Note *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__NameAndEmail:
- ((ngwt__NameAndEmail *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__MonthList:
- ((ngwt__MonthList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ModifyItem:
- ((ngwt__ModifyItem *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__MessagePart:
- ((ngwt__MessagePart *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__MessageBody:
- ((ngwt__MessageBody *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Mail:
- ((ngwt__Mail *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__LinkInfo:
- ((ngwt__LinkInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__LibraryList:
- ((ngwt__LibraryList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Library:
- ((ngwt__Library *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__JunkHandlingList:
- ((ngwt__JunkHandlingList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__JunkEntry:
- ((ngwt__JunkEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemStatus:
- ((ngwt__ItemStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Items:
- ((ngwt__Items *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemRefList:
- ((ngwt__ItemRefList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemRef:
- ((ngwt__ItemRef *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemOptions:
- ((ngwt__ItemOptions *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemList:
- ((ngwt__ItemList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ItemChanges:
- ((ngwt__ItemChanges *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Item:
- ((ngwt__Item *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ImAddressList:
- ((ngwt__ImAddressList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ImAddress:
- ((ngwt__ImAddress *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Host:
- ((ngwt__Host *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__GroupMemberList:
- ((ngwt__GroupMemberList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__GroupMember:
- ((ngwt__GroupMember *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Group:
- ((ngwt__Group *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FullName:
- ((ngwt__FullName *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__From:
- ((ngwt__From *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyStats:
- ((ngwt__FreeBusyStats *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyInfoList:
- ((ngwt__FreeBusyInfoList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyUserList:
- ((ngwt__FreeBusyUserList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyInfo:
- ((ngwt__FreeBusyInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyBlock:
- ((ngwt__FreeBusyBlock *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FreeBusyBlockList:
- ((ngwt__FreeBusyBlockList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FolderList:
- ((ngwt__FolderList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FolderACLEntry:
- ((ngwt__FolderACLEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FolderACL:
- ((ngwt__FolderACL *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Folder:
- ((ngwt__Folder *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FilterGroup:
- ((ngwt__FilterGroup *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FilterEntry:
- ((ngwt__FilterEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__FilterElement:
- ((ngwt__FilterElement *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Filter:
- ((ngwt__Filter *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__EmailAddressList:
- ((ngwt__EmailAddressList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DocumentTypeList:
- ((ngwt__DocumentTypeList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DocumentType:
- ((ngwt__DocumentType *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DocumentRef:
- ((ngwt__DocumentRef *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Document:
- ((ngwt__Document *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Distribution:
- ((ngwt__Distribution *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DeltaInfo:
- ((ngwt__DeltaInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DelegateeStatus:
- ((ngwt__DelegateeStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DelegatedStatus:
- ((ngwt__DelegatedStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DayOfYearWeekList:
- ((ngwt__DayOfYearWeekList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DayOfYearWeek:
- ((ngwt__DayOfYearWeek *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DayOfYearList:
- ((ngwt__DayOfYearList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DayOfWeek:
- ((ngwt__DayOfWeek *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__DayOfMonthList:
- ((ngwt__DayOfMonthList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CustomList:
- ((ngwt__CustomList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Custom:
- ((ngwt__Custom *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ContainerRef:
- ((ngwt__ContainerRef *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ContainerItem:
- ((ngwt__ContainerItem *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__ContactFolder:
- ((ngwt__ContactFolder *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Contact:
- ((ngwt__Contact *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CommentStatus:
- ((ngwt__CommentStatus *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CategoryRefList:
- ((ngwt__CategoryRefList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CategoryList:
- ((ngwt__CategoryList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Category:
- ((ngwt__Category *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CalendarItem:
- ((ngwt__CalendarItem *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__CalendarFolderAttribute:
- ((ngwt__CalendarFolderAttribute *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__BoxEntry:
- ((ngwt__BoxEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Authentication:
- ((ngwt__Authentication *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AttachmentItemInfo:
- ((ngwt__AttachmentItemInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AttachmentInfo:
- ((ngwt__AttachmentInfo *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AttachmentID:
- ((ngwt__AttachmentID *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Appointment:
- ((ngwt__Appointment *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__Alarm:
- ((ngwt__Alarm *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AddressBookList:
- ((ngwt__AddressBookList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AddressBookItem:
- ((ngwt__AddressBookItem *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AddressBook:
- ((ngwt__AddressBook *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessRightList:
- ((ngwt__AccessRightList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessRightEntry:
- ((ngwt__AccessRightEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessRightChanges:
- ((ngwt__AccessRightChanges *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessRight:
- ((ngwt__AccessRight *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessMiscRight:
- ((ngwt__AccessMiscRight *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessControlList:
- ((ngwt__AccessControlList *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_ngwt__AccessControlListEntry:
- ((ngwt__AccessControlListEntry *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE_xsd__language:
- soap_serialize_xsd__language(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_xsd__duration:
- soap_serialize_xsd__duration(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_xsd__decimal:
- soap_serialize_xsd__decimal(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_xsd__date:
- soap_serialize_xsd__date(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_std__string:
- soap_serialize_std__string(soap, (const std::string *)ptr);
- break;
- case SOAP_TYPE_xsd__base64Binary:
- ((xsd__base64Binary *)ptr)->soap_serialize(soap);
- break;
- case SOAP_TYPE___ngw__removeEventsRequest:
- soap_serialize___ngw__removeEventsRequest(soap, (const struct __ngw__removeEventsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeEventConfigurationRequest:
- soap_serialize___ngw__removeEventConfigurationRequest(soap, (const struct __ngw__removeEventConfigurationRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getEventsRequest:
- soap_serialize___ngw__getEventsRequest(soap, (const struct __ngw__getEventsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getEventConfigurationRequest:
- soap_serialize___ngw__getEventConfigurationRequest(soap, (const struct __ngw__getEventConfigurationRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__configureEventsRequest:
- soap_serialize___ngw__configureEventsRequest(soap, (const struct __ngw__configureEventsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__cleanEventConfigurationRequest:
- soap_serialize___ngw__cleanEventConfigurationRequest(soap, (const struct __ngw__cleanEventConfigurationRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__updateVersionStatusRequest:
- soap_serialize___ngw__updateVersionStatusRequest(soap, (const struct __ngw__updateVersionStatusRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__uncompleteRequest:
- soap_serialize___ngw__uncompleteRequest(soap, (const struct __ngw__uncompleteRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__unacceptRequest:
- soap_serialize___ngw__unacceptRequest(soap, (const struct __ngw__unacceptRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__startFreeBusySessionRequest:
- soap_serialize___ngw__startFreeBusySessionRequest(soap, (const struct __ngw__startFreeBusySessionRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__setTimestampRequest:
- soap_serialize___ngw__setTimestampRequest(soap, (const struct __ngw__setTimestampRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__sendItemRequest:
- soap_serialize___ngw__sendItemRequest(soap, (const struct __ngw__sendItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__retractRequest:
- soap_serialize___ngw__retractRequest(soap, (const struct __ngw__retractRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__replyRequest:
- soap_serialize___ngw__replyRequest(soap, (const struct __ngw__replyRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeSignatureRequest:
- soap_serialize___ngw__removeSignatureRequest(soap, (const struct __ngw__removeSignatureRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeProxyUserRequest:
- soap_serialize___ngw__removeProxyUserRequest(soap, (const struct __ngw__removeProxyUserRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeProxyAccessRequest:
- soap_serialize___ngw__removeProxyAccessRequest(soap, (const struct __ngw__removeProxyAccessRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeMembersRequest:
- soap_serialize___ngw__removeMembersRequest(soap, (const struct __ngw__removeMembersRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeJunkEntryRequest:
- soap_serialize___ngw__removeJunkEntryRequest(soap, (const struct __ngw__removeJunkEntryRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeItemsRequest:
- soap_serialize___ngw__removeItemsRequest(soap, (const struct __ngw__removeItemsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeItemRequest:
- soap_serialize___ngw__removeItemRequest(soap, (const struct __ngw__removeItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__removeCustomDefinitionRequest:
- soap_serialize___ngw__removeCustomDefinitionRequest(soap, (const struct __ngw__removeCustomDefinitionRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__readCursorRequest:
- soap_serialize___ngw__readCursorRequest(soap, (const struct __ngw__readCursorRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__purgeRequest:
- soap_serialize___ngw__purgeRequest(soap, (const struct __ngw__purgeRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__purgeDeletedItemsRequest:
- soap_serialize___ngw__purgeDeletedItemsRequest(soap, (const struct __ngw__purgeDeletedItemsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__positionCursorRequest:
- soap_serialize___ngw__positionCursorRequest(soap, (const struct __ngw__positionCursorRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__moveItemRequest:
- soap_serialize___ngw__moveItemRequest(soap, (const struct __ngw__moveItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifySignaturesRequest:
- soap_serialize___ngw__modifySignaturesRequest(soap, (const struct __ngw__modifySignaturesRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifySettingsRequest:
- soap_serialize___ngw__modifySettingsRequest(soap, (const struct __ngw__modifySettingsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifyProxyAccessRequest:
- soap_serialize___ngw__modifyProxyAccessRequest(soap, (const struct __ngw__modifyProxyAccessRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifyPasswordRequest:
- soap_serialize___ngw__modifyPasswordRequest(soap, (const struct __ngw__modifyPasswordRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifyJunkMailSettingsRequest:
- soap_serialize___ngw__modifyJunkMailSettingsRequest(soap, (const struct __ngw__modifyJunkMailSettingsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifyJunkEntryRequest:
- soap_serialize___ngw__modifyJunkEntryRequest(soap, (const struct __ngw__modifyJunkEntryRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__modifyItemRequest:
- soap_serialize___ngw__modifyItemRequest(soap, (const struct __ngw__modifyItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__markUnReadRequest:
- soap_serialize___ngw__markUnReadRequest(soap, (const struct __ngw__markUnReadRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__markUnPrivateRequest:
- soap_serialize___ngw__markUnPrivateRequest(soap, (const struct __ngw__markUnPrivateRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__markReadRequest:
- soap_serialize___ngw__markReadRequest(soap, (const struct __ngw__markReadRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__markPrivateRequest:
- soap_serialize___ngw__markPrivateRequest(soap, (const struct __ngw__markPrivateRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__logoutRequest:
- soap_serialize___ngw__logoutRequest(soap, (const struct __ngw__logoutRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__loginRequest:
- soap_serialize___ngw__loginRequest(soap, (const struct __ngw__loginRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getUserListRequest:
- soap_serialize___ngw__getUserListRequest(soap, (const struct __ngw__getUserListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getTimezoneListRequest:
- soap_serialize___ngw__getTimezoneListRequest(soap, (const struct __ngw__getTimezoneListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getTimestampRequest:
- soap_serialize___ngw__getTimestampRequest(soap, (const struct __ngw__getTimestampRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getSignaturesRequest:
- soap_serialize___ngw__getSignaturesRequest(soap, (const struct __ngw__getSignaturesRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getSettingsRequest:
- soap_serialize___ngw__getSettingsRequest(soap, (const struct __ngw__getSettingsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getRuleListRequest:
- soap_serialize___ngw__getRuleListRequest(soap, (const struct __ngw__getRuleListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getProxyListRequest:
- soap_serialize___ngw__getProxyListRequest(soap, (const struct __ngw__getProxyListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getProxyAccessListRequest:
- soap_serialize___ngw__getProxyAccessListRequest(soap, (const struct __ngw__getProxyAccessListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getQuickMessagesRequest:
- soap_serialize___ngw__getQuickMessagesRequest(soap, (const struct __ngw__getQuickMessagesRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getLibraryListRequest:
- soap_serialize___ngw__getLibraryListRequest(soap, (const struct __ngw__getLibraryListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getLibraryItemRequest:
- soap_serialize___ngw__getLibraryItemRequest(soap, (const struct __ngw__getLibraryItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getJunkMailSettingsRequest:
- soap_serialize___ngw__getJunkMailSettingsRequest(soap, (const struct __ngw__getJunkMailSettingsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getJunkEntriesRequest:
- soap_serialize___ngw__getJunkEntriesRequest(soap, (const struct __ngw__getJunkEntriesRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getItemsRequest:
- soap_serialize___ngw__getItemsRequest(soap, (const struct __ngw__getItemsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getItemRequest:
- soap_serialize___ngw__getItemRequest(soap, (const struct __ngw__getItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getFreeBusyRequest:
- soap_serialize___ngw__getFreeBusyRequest(soap, (const struct __ngw__getFreeBusyRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getFolderListRequest:
- soap_serialize___ngw__getFolderListRequest(soap, (const struct __ngw__getFolderListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getFolderRequest:
- soap_serialize___ngw__getFolderRequest(soap, (const struct __ngw__getFolderRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getDocumentTypeListRequest:
- soap_serialize___ngw__getDocumentTypeListRequest(soap, (const struct __ngw__getDocumentTypeListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getDeltaInfoRequest:
- soap_serialize___ngw__getDeltaInfoRequest(soap, (const struct __ngw__getDeltaInfoRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getDeltasRequest:
- soap_serialize___ngw__getDeltasRequest(soap, (const struct __ngw__getDeltasRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getCustomListRequest:
- soap_serialize___ngw__getCustomListRequest(soap, (const struct __ngw__getCustomListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getCategoryListRequest:
- soap_serialize___ngw__getCategoryListRequest(soap, (const struct __ngw__getCategoryListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__getAttachmentRequestMessage:
- soap_serialize___ngw__getAttachmentRequestMessage(soap, (const struct __ngw__getAttachmentRequestMessage *)ptr);
- break;
- case SOAP_TYPE___ngw__getAddressBookListRequest:
- soap_serialize___ngw__getAddressBookListRequest(soap, (const struct __ngw__getAddressBookListRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__forwardRequest:
- soap_serialize___ngw__forwardRequest(soap, (const struct __ngw__forwardRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__executeRuleRequest:
- soap_serialize___ngw__executeRuleRequest(soap, (const struct __ngw__executeRuleRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__destroyCursorRequest:
- soap_serialize___ngw__destroyCursorRequest(soap, (const struct __ngw__destroyCursorRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__delegateRequest:
- soap_serialize___ngw__delegateRequest(soap, (const struct __ngw__delegateRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__declineRequest:
- soap_serialize___ngw__declineRequest(soap, (const struct __ngw__declineRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createSignatureRequest:
- soap_serialize___ngw__createSignatureRequest(soap, (const struct __ngw__createSignatureRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createProxyAccessRequest:
- soap_serialize___ngw__createProxyAccessRequest(soap, (const struct __ngw__createProxyAccessRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createJunkEntryRequest:
- soap_serialize___ngw__createJunkEntryRequest(soap, (const struct __ngw__createJunkEntryRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createItemsRequest:
- soap_serialize___ngw__createItemsRequest(soap, (const struct __ngw__createItemsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createItemRequest:
- soap_serialize___ngw__createItemRequest(soap, (const struct __ngw__createItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__createCursorRequest:
- soap_serialize___ngw__createCursorRequest(soap, (const struct __ngw__createCursorRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__completeRequest:
- soap_serialize___ngw__completeRequest(soap, (const struct __ngw__completeRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__closeFreeBusySessionRequest:
- soap_serialize___ngw__closeFreeBusySessionRequest(soap, (const struct __ngw__closeFreeBusySessionRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__addMembersRequest:
- soap_serialize___ngw__addMembersRequest(soap, (const struct __ngw__addMembersRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__addItemsRequest:
- soap_serialize___ngw__addItemsRequest(soap, (const struct __ngw__addItemsRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__addItemRequest:
- soap_serialize___ngw__addItemRequest(soap, (const struct __ngw__addItemRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__acceptShareRequest:
- soap_serialize___ngw__acceptShareRequest(soap, (const struct __ngw__acceptShareRequest *)ptr);
- break;
- case SOAP_TYPE___ngw__acceptRequest:
- soap_serialize___ngw__acceptRequest(soap, (const struct __ngw__acceptRequest *)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse:
- soap_serialize_PointerTo_ngwe__removeEventsResponse(soap, (_ngwe__removeEventsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest:
- soap_serialize_PointerTo_ngwe__removeEventsRequest(soap, (_ngwe__removeEventsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse:
- soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(soap, (_ngwe__removeEventConfigurationResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest:
- soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(soap, (_ngwe__removeEventConfigurationRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__getEventsResponse:
- soap_serialize_PointerTo_ngwe__getEventsResponse(soap, (_ngwe__getEventsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__getEventsRequest:
- soap_serialize_PointerTo_ngwe__getEventsRequest(soap, (_ngwe__getEventsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse:
- soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(soap, (_ngwe__getEventConfigurationResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest:
- soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(soap, (_ngwe__getEventConfigurationRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse:
- soap_serialize_PointerTo_ngwe__configureEventsResponse(soap, (_ngwe__configureEventsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest:
- soap_serialize_PointerTo_ngwe__configureEventsRequest(soap, (_ngwe__configureEventsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse:
- soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(soap, (_ngwe__cleanEventConfigurationResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest:
- soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(soap, (_ngwe__cleanEventConfigurationRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse:
- soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(soap, (_ngwm__updateVersionStatusResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest:
- soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(soap, (_ngwm__updateVersionStatusRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse:
- soap_serialize_PointerTo_ngwm__uncompleteResponse(soap, (_ngwm__uncompleteResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest:
- soap_serialize_PointerTo_ngwm__uncompleteRequest(soap, (_ngwm__uncompleteRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__unacceptResponse:
- soap_serialize_PointerTo_ngwm__unacceptResponse(soap, (_ngwm__unacceptResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__unacceptRequest:
- soap_serialize_PointerTo_ngwm__unacceptRequest(soap, (_ngwm__unacceptRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse:
- soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(soap, (_ngwm__startFreeBusySessionResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest:
- soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(soap, (_ngwm__startFreeBusySessionRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse:
- soap_serialize_PointerTo_ngwm__setTimestampResponse(soap, (_ngwm__setTimestampResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest:
- soap_serialize_PointerTo_ngwm__setTimestampRequest(soap, (_ngwm__setTimestampRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__sendItemResponse:
- soap_serialize_PointerTo_ngwm__sendItemResponse(soap, (_ngwm__sendItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__sendItemRequest:
- soap_serialize_PointerTo_ngwm__sendItemRequest(soap, (_ngwm__sendItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__retractResponse:
- soap_serialize_PointerTo_ngwm__retractResponse(soap, (_ngwm__retractResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__retractRequest:
- soap_serialize_PointerTo_ngwm__retractRequest(soap, (_ngwm__retractRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__replyResponse:
- soap_serialize_PointerTo_ngwm__replyResponse(soap, (_ngwm__replyResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__replyRequest:
- soap_serialize_PointerTo_ngwm__replyRequest(soap, (_ngwm__replyRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse:
- soap_serialize_PointerTo_ngwm__removeSignatureResponse(soap, (_ngwm__removeSignatureResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest:
- soap_serialize_PointerTo_ngwm__removeSignatureRequest(soap, (_ngwm__removeSignatureRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse:
- soap_serialize_PointerTo_ngwm__removeProxyUserResponse(soap, (_ngwm__removeProxyUserResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest:
- soap_serialize_PointerTo_ngwm__removeProxyUserRequest(soap, (_ngwm__removeProxyUserRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse:
- soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(soap, (_ngwm__removeProxyAccessResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest:
- soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(soap, (_ngwm__removeProxyAccessRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse:
- soap_serialize_PointerTo_ngwm__removeMembersResponse(soap, (_ngwm__removeMembersResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest:
- soap_serialize_PointerTo_ngwm__removeMembersRequest(soap, (_ngwm__removeMembersRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse:
- soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(soap, (_ngwm__removeJunkEntryResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest:
- soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(soap, (_ngwm__removeJunkEntryRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse:
- soap_serialize_PointerTo_ngwm__removeItemsResponse(soap, (_ngwm__removeItemsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest:
- soap_serialize_PointerTo_ngwm__removeItemsRequest(soap, (_ngwm__removeItemsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeItemResponse:
- soap_serialize_PointerTo_ngwm__removeItemResponse(soap, (_ngwm__removeItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeItemRequest:
- soap_serialize_PointerTo_ngwm__removeItemRequest(soap, (_ngwm__removeItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse:
- soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(soap, (_ngwm__removeCustomDefinitionResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest:
- soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(soap, (_ngwm__removeCustomDefinitionRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__readCursorResponse:
- soap_serialize_PointerTo_ngwm__readCursorResponse(soap, (_ngwm__readCursorResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__readCursorRequest:
- soap_serialize_PointerTo_ngwm__readCursorRequest(soap, (_ngwm__readCursorRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__purgeResponse:
- soap_serialize_PointerTo_ngwm__purgeResponse(soap, (_ngwm__purgeResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__purgeRequest:
- soap_serialize_PointerTo_ngwm__purgeRequest(soap, (_ngwm__purgeRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse:
- soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(soap, (_ngwm__purgeDeletedItemsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest:
- soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(soap, (_ngwm__purgeDeletedItemsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse:
- soap_serialize_PointerTo_ngwm__positionCursorResponse(soap, (_ngwm__positionCursorResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest:
- soap_serialize_PointerTo_ngwm__positionCursorRequest(soap, (_ngwm__positionCursorRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__moveItemResponse:
- soap_serialize_PointerTo_ngwm__moveItemResponse(soap, (_ngwm__moveItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__moveItemRequest:
- soap_serialize_PointerTo_ngwm__moveItemRequest(soap, (_ngwm__moveItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse:
- soap_serialize_PointerTo_ngwm__modifySignaturesResponse(soap, (_ngwm__modifySignaturesResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest:
- soap_serialize_PointerTo_ngwm__modifySignaturesRequest(soap, (_ngwm__modifySignaturesRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse:
- soap_serialize_PointerTo_ngwm__modifySettingsResponse(soap, (_ngwm__modifySettingsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest:
- soap_serialize_PointerTo_ngwm__modifySettingsRequest(soap, (_ngwm__modifySettingsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse:
- soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(soap, (_ngwm__modifyProxyAccessResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest:
- soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(soap, (_ngwm__modifyProxyAccessRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse:
- soap_serialize_PointerTo_ngwm__modifyPasswordResponse(soap, (_ngwm__modifyPasswordResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest:
- soap_serialize_PointerTo_ngwm__modifyPasswordRequest(soap, (_ngwm__modifyPasswordRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse:
- soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, (_ngwm__modifyJunkMailSettingsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest:
- soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, (_ngwm__modifyJunkMailSettingsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse:
- soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(soap, (_ngwm__modifyJunkEntryResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest:
- soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(soap, (_ngwm__modifyJunkEntryRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse:
- soap_serialize_PointerTo_ngwm__modifyItemResponse(soap, (_ngwm__modifyItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest:
- soap_serialize_PointerTo_ngwm__modifyItemRequest(soap, (_ngwm__modifyItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse:
- soap_serialize_PointerTo_ngwm__markUnReadResponse(soap, (_ngwm__markUnReadResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest:
- soap_serialize_PointerTo_ngwm__markUnReadRequest(soap, (_ngwm__markUnReadRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse:
- soap_serialize_PointerTo_ngwm__markUnPrivateResponse(soap, (_ngwm__markUnPrivateResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest:
- soap_serialize_PointerTo_ngwm__markUnPrivateRequest(soap, (_ngwm__markUnPrivateRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markReadResponse:
- soap_serialize_PointerTo_ngwm__markReadResponse(soap, (_ngwm__markReadResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markReadRequest:
- soap_serialize_PointerTo_ngwm__markReadRequest(soap, (_ngwm__markReadRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse:
- soap_serialize_PointerTo_ngwm__markPrivateResponse(soap, (_ngwm__markPrivateResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest:
- soap_serialize_PointerTo_ngwm__markPrivateRequest(soap, (_ngwm__markPrivateRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__logoutResponse:
- soap_serialize_PointerTo_ngwm__logoutResponse(soap, (_ngwm__logoutResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__logoutRequest:
- soap_serialize_PointerTo_ngwm__logoutRequest(soap, (_ngwm__logoutRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__loginResponse:
- soap_serialize_PointerTo_ngwm__loginResponse(soap, (_ngwm__loginResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__loginRequest:
- soap_serialize_PointerTo_ngwm__loginRequest(soap, (_ngwm__loginRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getUserListResponse:
- soap_serialize_PointerTo_ngwm__getUserListResponse(soap, (_ngwm__getUserListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getUserListRequest:
- soap_serialize_PointerTo_ngwm__getUserListRequest(soap, (_ngwm__getUserListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse:
- soap_serialize_PointerTo_ngwm__getTimezoneListResponse(soap, (_ngwm__getTimezoneListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest:
- soap_serialize_PointerTo_ngwm__getTimezoneListRequest(soap, (_ngwm__getTimezoneListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse:
- soap_serialize_PointerTo_ngwm__getTimestampResponse(soap, (_ngwm__getTimestampResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest:
- soap_serialize_PointerTo_ngwm__getTimestampRequest(soap, (_ngwm__getTimestampRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse:
- soap_serialize_PointerTo_ngwm__getSignaturesResponse(soap, (_ngwm__getSignaturesResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest:
- soap_serialize_PointerTo_ngwm__getSignaturesRequest(soap, (_ngwm__getSignaturesRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse:
- soap_serialize_PointerTo_ngwm__getSettingsResponse(soap, (_ngwm__getSettingsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest:
- soap_serialize_PointerTo_ngwm__getSettingsRequest(soap, (_ngwm__getSettingsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse:
- soap_serialize_PointerTo_ngwm__getRuleListResponse(soap, (_ngwm__getRuleListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest:
- soap_serialize_PointerTo_ngwm__getRuleListRequest(soap, (_ngwm__getRuleListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse:
- soap_serialize_PointerTo_ngwm__getProxyListResponse(soap, (_ngwm__getProxyListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest:
- soap_serialize_PointerTo_ngwm__getProxyListRequest(soap, (_ngwm__getProxyListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse:
- soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(soap, (_ngwm__getProxyAccessListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest:
- soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(soap, (_ngwm__getProxyAccessListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse:
- soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(soap, (_ngwm__getQuickMessagesResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest:
- soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(soap, (_ngwm__getQuickMessagesRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse:
- soap_serialize_PointerTo_ngwm__getLibraryListResponse(soap, (_ngwm__getLibraryListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest:
- soap_serialize_PointerTo_ngwm__getLibraryListRequest(soap, (_ngwm__getLibraryListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse:
- soap_serialize_PointerTo_ngwm__getLibraryItemResponse(soap, (_ngwm__getLibraryItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest:
- soap_serialize_PointerTo_ngwm__getLibraryItemRequest(soap, (_ngwm__getLibraryItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse:
- soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(soap, (_ngwm__getJunkMailSettingsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest:
- soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(soap, (_ngwm__getJunkMailSettingsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse:
- soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(soap, (_ngwm__getJunkEntriesResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest:
- soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(soap, (_ngwm__getJunkEntriesRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getItemsResponse:
- soap_serialize_PointerTo_ngwm__getItemsResponse(soap, (_ngwm__getItemsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getItemsRequest:
- soap_serialize_PointerTo_ngwm__getItemsRequest(soap, (_ngwm__getItemsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getItemResponse:
- soap_serialize_PointerTo_ngwm__getItemResponse(soap, (_ngwm__getItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getItemRequest:
- soap_serialize_PointerTo_ngwm__getItemRequest(soap, (_ngwm__getItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse:
- soap_serialize_PointerTo_ngwm__getFreeBusyResponse(soap, (_ngwm__getFreeBusyResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest:
- soap_serialize_PointerTo_ngwm__getFreeBusyRequest(soap, (_ngwm__getFreeBusyRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse:
- soap_serialize_PointerTo_ngwm__getFolderListResponse(soap, (_ngwm__getFolderListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest:
- soap_serialize_PointerTo_ngwm__getFolderListRequest(soap, (_ngwm__getFolderListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFolderResponse:
- soap_serialize_PointerTo_ngwm__getFolderResponse(soap, (_ngwm__getFolderResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getFolderRequest:
- soap_serialize_PointerTo_ngwm__getFolderRequest(soap, (_ngwm__getFolderRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse:
- soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(soap, (_ngwm__getDocumentTypeListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest:
- soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(soap, (_ngwm__getDocumentTypeListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse:
- soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(soap, (_ngwm__getDeltaInfoResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest:
- soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(soap, (_ngwm__getDeltaInfoRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse:
- soap_serialize_PointerTo_ngwm__getDeltasResponse(soap, (_ngwm__getDeltasResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest:
- soap_serialize_PointerTo_ngwm__getDeltasRequest(soap, (_ngwm__getDeltasRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse:
- soap_serialize_PointerTo_ngwm__getCustomListResponse(soap, (_ngwm__getCustomListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest:
- soap_serialize_PointerTo_ngwm__getCustomListRequest(soap, (_ngwm__getCustomListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse:
- soap_serialize_PointerTo_ngwm__getCategoryListResponse(soap, (_ngwm__getCategoryListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest:
- soap_serialize_PointerTo_ngwm__getCategoryListRequest(soap, (_ngwm__getCategoryListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse:
- soap_serialize_PointerTo_ngwm__getAttachmentResponse(soap, (_ngwm__getAttachmentResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest:
- soap_serialize_PointerTo_ngwm__getAttachmentRequest(soap, (_ngwm__getAttachmentRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse:
- soap_serialize_PointerTo_ngwm__getAddressBookListResponse(soap, (_ngwm__getAddressBookListResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest:
- soap_serialize_PointerTo_ngwm__getAddressBookListRequest(soap, (_ngwm__getAddressBookListRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__forwardResponse:
- soap_serialize_PointerTo_ngwm__forwardResponse(soap, (_ngwm__forwardResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__forwardRequest:
- soap_serialize_PointerTo_ngwm__forwardRequest(soap, (_ngwm__forwardRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse:
- soap_serialize_PointerTo_ngwm__executeRuleResponse(soap, (_ngwm__executeRuleResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest:
- soap_serialize_PointerTo_ngwm__executeRuleRequest(soap, (_ngwm__executeRuleRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse:
- soap_serialize_PointerTo_ngwm__destroyCursorResponse(soap, (_ngwm__destroyCursorResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest:
- soap_serialize_PointerTo_ngwm__destroyCursorRequest(soap, (_ngwm__destroyCursorRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__delegateResponse:
- soap_serialize_PointerTo_ngwm__delegateResponse(soap, (_ngwm__delegateResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__delegateRequest:
- soap_serialize_PointerTo_ngwm__delegateRequest(soap, (_ngwm__delegateRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__declineResponse:
- soap_serialize_PointerTo_ngwm__declineResponse(soap, (_ngwm__declineResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__declineRequest:
- soap_serialize_PointerTo_ngwm__declineRequest(soap, (_ngwm__declineRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse:
- soap_serialize_PointerTo_ngwm__createSignatureResponse(soap, (_ngwm__createSignatureResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest:
- soap_serialize_PointerTo_ngwm__createSignatureRequest(soap, (_ngwm__createSignatureRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse:
- soap_serialize_PointerTo_ngwm__createProxyAccessResponse(soap, (_ngwm__createProxyAccessResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest:
- soap_serialize_PointerTo_ngwm__createProxyAccessRequest(soap, (_ngwm__createProxyAccessRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse:
- soap_serialize_PointerTo_ngwm__createJunkEntryResponse(soap, (_ngwm__createJunkEntryResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest:
- soap_serialize_PointerTo_ngwm__createJunkEntryRequest(soap, (_ngwm__createJunkEntryRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createItemsResponse:
- soap_serialize_PointerTo_ngwm__createItemsResponse(soap, (_ngwm__createItemsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createItemsRequest:
- soap_serialize_PointerTo_ngwm__createItemsRequest(soap, (_ngwm__createItemsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createItemResponse:
- soap_serialize_PointerTo_ngwm__createItemResponse(soap, (_ngwm__createItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createItemRequest:
- soap_serialize_PointerTo_ngwm__createItemRequest(soap, (_ngwm__createItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createCursorResponse:
- soap_serialize_PointerTo_ngwm__createCursorResponse(soap, (_ngwm__createCursorResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__createCursorRequest:
- soap_serialize_PointerTo_ngwm__createCursorRequest(soap, (_ngwm__createCursorRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__completeResponse:
- soap_serialize_PointerTo_ngwm__completeResponse(soap, (_ngwm__completeResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__completeRequest:
- soap_serialize_PointerTo_ngwm__completeRequest(soap, (_ngwm__completeRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse:
- soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(soap, (_ngwm__closeFreeBusySessionResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest:
- soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(soap, (_ngwm__closeFreeBusySessionRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addMembersResponse:
- soap_serialize_PointerTo_ngwm__addMembersResponse(soap, (_ngwm__addMembersResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addMembersRequest:
- soap_serialize_PointerTo_ngwm__addMembersRequest(soap, (_ngwm__addMembersRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addItemsResponse:
- soap_serialize_PointerTo_ngwm__addItemsResponse(soap, (_ngwm__addItemsResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addItemsRequest:
- soap_serialize_PointerTo_ngwm__addItemsRequest(soap, (_ngwm__addItemsRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addItemResponse:
- soap_serialize_PointerTo_ngwm__addItemResponse(soap, (_ngwm__addItemResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__addItemRequest:
- soap_serialize_PointerTo_ngwm__addItemRequest(soap, (_ngwm__addItemRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse:
- soap_serialize_PointerTo_ngwm__acceptShareResponse(soap, (_ngwm__acceptShareResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest:
- soap_serialize_PointerTo_ngwm__acceptShareRequest(soap, (_ngwm__acceptShareRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__acceptResponse:
- soap_serialize_PointerTo_ngwm__acceptResponse(soap, (_ngwm__acceptResponse *const*)ptr);
- break;
- case SOAP_TYPE_PointerTo_ngwm__acceptRequest:
- soap_serialize_PointerTo_ngwm__acceptRequest(soap, (_ngwm__acceptRequest *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Alarm:
- soap_serialize_PointerTongwt__Alarm(soap, (ngwt__Alarm *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PhoneFlags:
- soap_serialize_PointerTongwt__PhoneFlags(soap, (ngwt__PhoneFlags *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RecurrenceRule:
- soap_serialize_PointerTongwt__RecurrenceRule(soap, (ngwt__RecurrenceRule *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RecurrenceDateType:
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, (ngwt__RecurrenceDateType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SMimeOperation:
- soap_serialize_PointerTongwt__SMimeOperation(soap, (ngwt__SMimeOperation *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__LinkInfo:
- soap_serialize_PointerTongwt__LinkInfo(soap, (ngwt__LinkInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemOptions:
- soap_serialize_PointerTongwt__ItemOptions(soap, (ngwt__ItemOptions *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AttachmentInfo:
- soap_serialize_PointerTongwt__AttachmentInfo(soap, (ngwt__AttachmentInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__MessageBody:
- soap_serialize_PointerTongwt__MessageBody(soap, (ngwt__MessageBody *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ReferenceInfo:
- soap_serialize_PointerTongwt__ReferenceInfo(soap, (ngwt__ReferenceInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PersonalInfo:
- soap_serialize_PointerTongwt__PersonalInfo(soap, (ngwt__PersonalInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__OfficeInfo:
- soap_serialize_PointerTongwt__OfficeInfo(soap, (ngwt__OfficeInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PostalAddressList:
- soap_serialize_PointerTongwt__PostalAddressList(soap, (ngwt__PostalAddressList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PhoneList:
- soap_serialize_PointerTongwt__PhoneList(soap, (ngwt__PhoneList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ImAddressList:
- soap_serialize_PointerTongwt__ImAddressList(soap, (ngwt__ImAddressList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__EmailAddressList:
- soap_serialize_PointerTongwt__EmailAddressList(soap, (ngwt__EmailAddressList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FullName:
- soap_serialize_PointerTongwt__FullName(soap, (ngwt__FullName *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__VersionStatus:
- soap_serialize_PointerTongwt__VersionStatus(soap, (enum ngwt__VersionStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FolderACL:
- soap_serialize_PointerTongwt__FolderACL(soap, (ngwt__FolderACL *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RuleActionList:
- soap_serialize_PointerTongwt__RuleActionList(soap, (ngwt__RuleActionList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Execution:
- soap_serialize_PointerTongwt__Execution(soap, (enum ngwt__Execution *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Query:
- soap_serialize_PointerTongwt__Query(soap, (ngwt__Query *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FolderACLStatus:
- soap_serialize_PointerTongwt__FolderACLStatus(soap, (enum ngwt__FolderACLStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessControlList:
- soap_serialize_PointerTongwt__AccessControlList(soap, (ngwt__AccessControlList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__WeekOfYear:
- soap_serialize_PointerTongwt__WeekOfYear(soap, (short *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__OccurrenceType:
- soap_serialize_PointerTongwt__OccurrenceType(soap, (enum ngwt__OccurrenceType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemSecurity:
- soap_serialize_PointerTongwt__ItemSecurity(soap, (enum ngwt__ItemSecurity *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemClass:
- soap_serialize_PointerTongwt__ItemClass(soap, (enum ngwt__ItemClass *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemSource:
- soap_serialize_PointerTongwt__ItemSource(soap, (enum ngwt__ItemSource *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemStatus:
- soap_serialize_PointerTongwt__ItemStatus(soap, (ngwt__ItemStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DeltaSyncType:
- soap_serialize_PointerTongwt__DeltaSyncType(soap, (enum ngwt__DeltaSyncType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RecipientStatus:
- soap_serialize_PointerTongwt__RecipientStatus(soap, (ngwt__RecipientStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyBlockList:
- soap_serialize_PointerTongwt__FreeBusyBlockList(soap, (ngwt__FreeBusyBlockList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute:
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, (ngwt__CalendarFolderAttribute *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FilterDate:
- soap_serialize_PointerTongwt__FilterDate(soap, (enum ngwt__FilterDate *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ContainerRef:
- soap_serialize_PointerTongwt__ContainerRef(soap, (ngwt__ContainerRef *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CategoryType:
- soap_serialize_PointerTongwt__CategoryType(soap, (enum ngwt__CategoryType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessMiscRight:
- soap_serialize_PointerTongwt__AccessMiscRight(soap, (ngwt__AccessMiscRight *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessRight:
- soap_serialize_PointerTongwt__AccessRight(soap, (ngwt__AccessRight *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Rights:
- soap_serialize_PointerTongwt__Rights(soap, (ngwt__Rights *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__EventList:
- soap_serialize_PointerTongwe__EventList(soap, (ngwe__EventList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__EventsList:
- soap_serialize_PointerTongwe__EventsList(soap, (ngwe__EventsList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__Events:
- soap_serialize_PointerTongwe__Events(soap, (ngwe__Events *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__EventDefinition:
- soap_serialize_PointerTongwe__EventDefinition(soap, (ngwe__EventDefinition *const*)ptr);
- break;
- case SOAP_TYPE_PointerToxsd__duration:
- soap_serialize_PointerToxsd__duration(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__Event:
- soap_serialize_PointerTongwe__Event(soap, (ngwe__Event *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__ContainerList:
- soap_serialize_PointerTongwe__ContainerList(soap, (ngwe__ContainerList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__ItemTypeList:
- soap_serialize_PointerTongwe__ItemTypeList(soap, (enum ngwe__ItemTypeList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__EventTypeList:
- soap_serialize_PointerTongwe__EventTypeList(soap, (ngwe__EventTypeList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__ItemType:
- soap_serialize_PointerTongwe__ItemType(soap, (enum ngwe__ItemType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwe__FieldList:
- soap_serialize_PointerTongwe__FieldList(soap, (enum ngwe__FieldList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyUserList:
- soap_serialize_PointerTongwt__FreeBusyUserList(soap, (ngwt__FreeBusyUserList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RetractType:
- soap_serialize_PointerTongwt__RetractType(soap, (enum ngwt__RetractType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemList:
- soap_serialize_PointerTongwt__ItemList(soap, (ngwt__ItemList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CursorSeek:
- soap_serialize_PointerTongwt__CursorSeek(soap, (enum ngwt__CursorSeek *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessRightChanges:
- soap_serialize_PointerTongwt__AccessRightChanges(soap, (ngwt__AccessRightChanges *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ModifyItem:
- soap_serialize_PointerTongwt__ModifyItem(soap, (ngwt__ModifyItem *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Host:
- soap_serialize_PointerTongwt__Host(soap, (ngwt__Host *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Authentication:
- soap_serialize_PointerTongwt__Authentication(soap, (ngwt__Authentication *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__UserList:
- soap_serialize_PointerTongwt__UserList(soap, (ngwt__UserList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__TimezoneList:
- soap_serialize_PointerTongwt__TimezoneList(soap, (ngwt__TimezoneList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Signatures:
- soap_serialize_PointerTongwt__Signatures(soap, (ngwt__Signatures *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Settings:
- soap_serialize_PointerTongwt__Settings(soap, (ngwt__Settings *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RuleList:
- soap_serialize_PointerTongwt__RuleList(soap, (ngwt__RuleList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ProxyList:
- soap_serialize_PointerTongwt__ProxyList(soap, (ngwt__ProxyList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessRightList:
- soap_serialize_PointerTongwt__AccessRightList(soap, (ngwt__AccessRightList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__LibraryList:
- soap_serialize_PointerTongwt__LibraryList(soap, (ngwt__LibraryList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SettingsList:
- soap_serialize_PointerTongwt__SettingsList(soap, (ngwt__SettingsList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__JunkHandlingList:
- soap_serialize_PointerTongwt__JunkHandlingList(soap, (ngwt__JunkHandlingList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyInfoList:
- soap_serialize_PointerTongwt__FreeBusyInfoList(soap, (ngwt__FreeBusyInfoList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyStats:
- soap_serialize_PointerTongwt__FreeBusyStats(soap, (ngwt__FreeBusyStats *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FolderList:
- soap_serialize_PointerTongwt__FolderList(soap, (ngwt__FolderList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemSourceList:
- soap_serialize_PointerTongwt__ItemSourceList(soap, (enum ngwt__ItemSourceList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__MessageTypeList:
- soap_serialize_PointerTongwt__MessageTypeList(soap, (enum ngwt__MessageTypeList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FolderType:
- soap_serialize_PointerTongwt__FolderType(soap, (enum ngwt__FolderType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DocumentTypeList:
- soap_serialize_PointerTongwt__DocumentTypeList(soap, (ngwt__DocumentTypeList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Items:
- soap_serialize_PointerTongwt__Items(soap, (ngwt__Items *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DeltaInfo:
- soap_serialize_PointerTongwt__DeltaInfo(soap, (ngwt__DeltaInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CustomList:
- soap_serialize_PointerTongwt__CustomList(soap, (ngwt__CustomList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CategoryList:
- soap_serialize_PointerTongwt__CategoryList(soap, (ngwt__CategoryList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AddressBookList:
- soap_serialize_PointerTongwt__AddressBookList(soap, (ngwt__AddressBookList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Distribution:
- soap_serialize_PointerTongwt__Distribution(soap, (ngwt__Distribution *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__View:
- soap_serialize_PointerTongwt__View(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Status:
- soap_serialize_PointerTongwt__Status(soap, (ngwt__Status *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemRefList:
- soap_serialize_PointerTongwt__ItemRefList(soap, (ngwt__ItemRefList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__UserInfo:
- soap_serialize_PointerTongwt__UserInfo(soap, (ngwt__UserInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RecipientType:
- soap_serialize_PointerTongwt__RecipientType(soap, (enum ngwt__RecipientType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Timezone:
- soap_serialize_PointerTongwt__Timezone(soap, (ngwt__Timezone *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Minute:
- soap_serialize_PointerTongwt__Minute(soap, (unsigned char *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Hour:
- soap_serialize_PointerTongwt__Hour(soap, (unsigned char *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DayOfWeek:
- soap_serialize_PointerTongwt__DayOfWeek(soap, (ngwt__DayOfWeek *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Day:
- soap_serialize_PointerTongwt__Day(soap, (unsigned char *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Month:
- soap_serialize_PointerTongwt__Month(soap, (unsigned char *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__TimezoneComponent:
- soap_serialize_PointerTongwt__TimezoneComponent(soap, (ngwt__TimezoneComponent *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ProblemList:
- soap_serialize_PointerTongwt__ProblemList(soap, (ngwt__ProblemList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Signature:
- soap_serialize_PointerTongwt__Signature(soap, (ngwt__Signature *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SignatureData:
- soap_serialize_PointerTongwt__SignatureData(soap, (ngwt__SignatureData *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SettingsGroup:
- soap_serialize_PointerTongwt__SettingsGroup(soap, (ngwt__SettingsGroup *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ReturnNotification:
- soap_serialize_PointerTongwt__ReturnNotification(soap, (ngwt__ReturnNotification *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__StatusTracking:
- soap_serialize_PointerTongwt__StatusTracking(soap, (ngwt__StatusTracking *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply:
- soap_serialize_PointerTongwt__SendOptionsRequestReply(soap, (ngwt__SendOptionsRequestReply *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Rule:
- soap_serialize_PointerTongwt__Rule(soap, (ngwt__Rule *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RuleAction:
- soap_serialize_PointerTongwt__RuleAction(soap, (ngwt__RuleAction *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CategoryRefList:
- soap_serialize_PointerTongwt__CategoryRefList(soap, (ngwt__CategoryRefList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Mail:
- soap_serialize_PointerTongwt__Mail(soap, (ngwt__Mail *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions:
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, (ngwt__ReturnNotificationOptions *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__MonthList:
- soap_serialize_PointerTongwt__MonthList(soap, (ngwt__MonthList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DayOfYearList:
- soap_serialize_PointerTongwt__DayOfYearList(soap, (ngwt__DayOfYearList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DayOfMonthList:
- soap_serialize_PointerTongwt__DayOfMonthList(soap, (ngwt__DayOfMonthList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DayOfYearWeekList:
- soap_serialize_PointerTongwt__DayOfYearWeekList(soap, (ngwt__DayOfYearWeekList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Frequency:
- soap_serialize_PointerTongwt__Frequency(soap, (enum ngwt__Frequency *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DelegateeStatus:
- soap_serialize_PointerTongwt__DelegateeStatus(soap, (ngwt__DelegateeStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DelegatedStatus:
- soap_serialize_PointerTongwt__DelegatedStatus(soap, (ngwt__DelegatedStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CommentStatus:
- soap_serialize_PointerTongwt__CommentStatus(soap, (ngwt__CommentStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__TransferFailedStatus:
- soap_serialize_PointerTongwt__TransferFailedStatus(soap, (ngwt__TransferFailedStatus *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Recipient:
- soap_serialize_PointerTongwt__Recipient(soap, (ngwt__Recipient *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Filter:
- soap_serialize_PointerTongwt__Filter(soap, (ngwt__Filter *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__QueryTarget:
- soap_serialize_PointerTongwt__QueryTarget(soap, (ngwt__QueryTarget *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ProxyUser:
- soap_serialize_PointerTongwt__ProxyUser(soap, (ngwt__ProxyUser *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ProblemEntry:
- soap_serialize_PointerTongwt__ProblemEntry(soap, (ngwt__ProblemEntry *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PostalAddress:
- soap_serialize_PointerTongwt__PostalAddress(soap, (ngwt__PostalAddress *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__PhoneNumber:
- soap_serialize_PointerTongwt__PhoneNumber(soap, (ngwt__PhoneNumber *const*)ptr);
- break;
- case SOAP_TYPE_PointerToxsd__date:
- soap_serialize_PointerToxsd__date(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemRef:
- soap_serialize_PointerTongwt__ItemRef(soap, (ngwt__ItemRef *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__UUID:
- soap_serialize_PointerTongwt__UUID(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SharedFolderNotification:
- soap_serialize_PointerTongwt__SharedFolderNotification(soap, (ngwt__SharedFolderNotification *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__MessagePart:
- soap_serialize_PointerTongwt__MessagePart(soap, (ngwt__MessagePart *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Library:
- soap_serialize_PointerTongwt__Library(soap, (ngwt__Library *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__JunkEntry:
- soap_serialize_PointerTongwt__JunkEntry(soap, (ngwt__JunkEntry *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__JunkHandlingListType:
- soap_serialize_PointerTongwt__JunkHandlingListType(soap, (enum ngwt__JunkHandlingListType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Item:
- soap_serialize_PointerTongwt__Item(soap, (ngwt__Item *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ItemChanges:
- soap_serialize_PointerTongwt__ItemChanges(soap, (ngwt__ItemChanges *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__ImAddress:
- soap_serialize_PointerTongwt__ImAddress(soap, (ngwt__ImAddress *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__GroupMember:
- soap_serialize_PointerTongwt__GroupMember(soap, (ngwt__GroupMember *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__GroupMemberList:
- soap_serialize_PointerTongwt__GroupMemberList(soap, (ngwt__GroupMemberList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyInfo:
- soap_serialize_PointerTongwt__FreeBusyInfo(soap, (ngwt__FreeBusyInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__NameAndEmail:
- soap_serialize_PointerTongwt__NameAndEmail(soap, (ngwt__NameAndEmail *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AcceptLevel:
- soap_serialize_PointerTongwt__AcceptLevel(soap, (enum ngwt__AcceptLevel *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FreeBusyBlock:
- soap_serialize_PointerTongwt__FreeBusyBlock(soap, (ngwt__FreeBusyBlock *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Folder:
- soap_serialize_PointerTongwt__Folder(soap, (ngwt__Folder *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FolderACLEntry:
- soap_serialize_PointerTongwt__FolderACLEntry(soap, (ngwt__FolderACLEntry *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__FilterElement:
- soap_serialize_PointerTongwt__FilterElement(soap, (ngwt__FilterElement *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DocumentType:
- soap_serialize_PointerTongwt__DocumentType(soap, (ngwt__DocumentType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AgeAction:
- soap_serialize_PointerTongwt__AgeAction(soap, (enum ngwt__AgeAction *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__SendOptions:
- soap_serialize_PointerTongwt__SendOptions(soap, (ngwt__SendOptions *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__RecipientList:
- soap_serialize_PointerTongwt__RecipientList(soap, (ngwt__RecipientList *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__From:
- soap_serialize_PointerTongwt__From(soap, (ngwt__From *const*)ptr);
- break;
- case SOAP_TYPE_PointerToint:
- soap_serialize_PointerToint(soap, (int *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__DayOfYearWeek:
- soap_serialize_PointerTongwt__DayOfYearWeek(soap, (ngwt__DayOfYearWeek *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Custom:
- soap_serialize_PointerTongwt__Custom(soap, (ngwt__Custom *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__CustomType:
- soap_serialize_PointerTongwt__CustomType(soap, (enum ngwt__CustomType *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__uid:
- soap_serialize_PointerTongwt__uid(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__Category:
- soap_serialize_PointerTongwt__Category(soap, (ngwt__Category *const*)ptr);
- break;
- case SOAP_TYPE_PointerToxsd__base64Binary:
- soap_serialize_PointerToxsd__base64Binary(soap, (xsd__base64Binary *const*)ptr);
- break;
- case SOAP_TYPE_PointerTounsignedLong:
- soap_serialize_PointerTounsignedLong(soap, (unsigned long *const*)ptr);
- break;
- case SOAP_TYPE_PointerTostd__string:
- soap_serialize_PointerTostd__string(soap, (std::string *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AttachmentID:
- soap_serialize_PointerTongwt__AttachmentID(soap, (ngwt__AttachmentID *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AttachmentItemInfo:
- soap_serialize_PointerTongwt__AttachmentItemInfo(soap, (ngwt__AttachmentItemInfo *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AddressBook:
- soap_serialize_PointerTongwt__AddressBook(soap, (ngwt__AddressBook *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessRightEntry:
- soap_serialize_PointerTongwt__AccessRightEntry(soap, (ngwt__AccessRightEntry *const*)ptr);
- break;
- case SOAP_TYPE_PointerTobool:
- soap_serialize_PointerTobool(soap, (bool *const*)ptr);
- break;
- case SOAP_TYPE_PointerTongwt__AccessControlListEntry:
- soap_serialize_PointerTongwt__AccessControlListEntry(soap, (ngwt__AccessControlListEntry *const*)ptr);
- break;
- case SOAP_TYPE_PointerTounsignedByte:
- soap_serialize_PointerTounsignedByte(soap, (unsigned char *const*)ptr);
- break;
- case SOAP_TYPE__TQName:
- soap_serialize_string(soap, (char**)&ptr);
- break;
- case SOAP_TYPE_string:
- soap_serialize_string(soap, (char**)&ptr);
- break;
- }
-}
-#endif
-
-SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n)
-{
- switch (t)
- {
- case SOAP_TYPE_xsd__base64Binary:
- return (void*)soap_instantiate_xsd__base64Binary(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__string:
- return (void*)soap_instantiate_std__string(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessControlList:
- return (void*)soap_instantiate_ngwt__AccessControlList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessMiscRight:
- return (void*)soap_instantiate_ngwt__AccessMiscRight(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessRight:
- return (void*)soap_instantiate_ngwt__AccessRight(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessRightChanges:
- return (void*)soap_instantiate_ngwt__AccessRightChanges(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessRightList:
- return (void*)soap_instantiate_ngwt__AccessRightList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AddressBookList:
- return (void*)soap_instantiate_ngwt__AddressBookList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AttachmentInfo:
- return (void*)soap_instantiate_ngwt__AttachmentInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AttachmentItemInfo:
- return (void*)soap_instantiate_ngwt__AttachmentItemInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Authentication:
- return (void*)soap_instantiate_ngwt__Authentication(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CalendarFolderAttribute:
- return (void*)soap_instantiate_ngwt__CalendarFolderAttribute(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CategoryList:
- return (void*)soap_instantiate_ngwt__CategoryList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CategoryRefList:
- return (void*)soap_instantiate_ngwt__CategoryRefList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Custom:
- return (void*)soap_instantiate_ngwt__Custom(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CustomList:
- return (void*)soap_instantiate_ngwt__CustomList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DayOfMonthList:
- return (void*)soap_instantiate_ngwt__DayOfMonthList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DayOfYearList:
- return (void*)soap_instantiate_ngwt__DayOfYearList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DayOfYearWeekList:
- return (void*)soap_instantiate_ngwt__DayOfYearWeekList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DeltaInfo:
- return (void*)soap_instantiate_ngwt__DeltaInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Distribution:
- return (void*)soap_instantiate_ngwt__Distribution(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DocumentType:
- return (void*)soap_instantiate_ngwt__DocumentType(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DocumentTypeList:
- return (void*)soap_instantiate_ngwt__DocumentTypeList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__EmailAddressList:
- return (void*)soap_instantiate_ngwt__EmailAddressList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Filter:
- return (void*)soap_instantiate_ngwt__Filter(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FilterElement:
- return (void*)soap_instantiate_ngwt__FilterElement(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FolderACL:
- return (void*)soap_instantiate_ngwt__FolderACL(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FolderList:
- return (void*)soap_instantiate_ngwt__FolderList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyBlockList:
- return (void*)soap_instantiate_ngwt__FreeBusyBlockList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyBlock:
- return (void*)soap_instantiate_ngwt__FreeBusyBlock(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyUserList:
- return (void*)soap_instantiate_ngwt__FreeBusyUserList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyInfoList:
- return (void*)soap_instantiate_ngwt__FreeBusyInfoList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyStats:
- return (void*)soap_instantiate_ngwt__FreeBusyStats(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FullName:
- return (void*)soap_instantiate_ngwt__FullName(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__GroupMember:
- return (void*)soap_instantiate_ngwt__GroupMember(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__GroupMemberList:
- return (void*)soap_instantiate_ngwt__GroupMemberList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Host:
- return (void*)soap_instantiate_ngwt__Host(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ImAddress:
- return (void*)soap_instantiate_ngwt__ImAddress(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ImAddressList:
- return (void*)soap_instantiate_ngwt__ImAddressList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Item:
- return (void*)soap_instantiate_ngwt__Item(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemChanges:
- return (void*)soap_instantiate_ngwt__ItemChanges(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemList:
- return (void*)soap_instantiate_ngwt__ItemList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemOptions:
- return (void*)soap_instantiate_ngwt__ItemOptions(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemRefList:
- return (void*)soap_instantiate_ngwt__ItemRefList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Items:
- return (void*)soap_instantiate_ngwt__Items(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemStatus:
- return (void*)soap_instantiate_ngwt__ItemStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__JunkEntry:
- return (void*)soap_instantiate_ngwt__JunkEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__JunkHandlingList:
- return (void*)soap_instantiate_ngwt__JunkHandlingList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__LibraryList:
- return (void*)soap_instantiate_ngwt__LibraryList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__LinkInfo:
- return (void*)soap_instantiate_ngwt__LinkInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__MessageBody:
- return (void*)soap_instantiate_ngwt__MessageBody(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ModifyItem:
- return (void*)soap_instantiate_ngwt__ModifyItem(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__MonthList:
- return (void*)soap_instantiate_ngwt__MonthList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__NameAndEmail:
- return (void*)soap_instantiate_ngwt__NameAndEmail(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__OfficeInfo:
- return (void*)soap_instantiate_ngwt__OfficeInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PersonalInfo:
- return (void*)soap_instantiate_ngwt__PersonalInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PhoneFlags:
- return (void*)soap_instantiate_ngwt__PhoneFlags(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PhoneList:
- return (void*)soap_instantiate_ngwt__PhoneList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PostalAddress:
- return (void*)soap_instantiate_ngwt__PostalAddress(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PostalAddressList:
- return (void*)soap_instantiate_ngwt__PostalAddressList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ProblemEntry:
- return (void*)soap_instantiate_ngwt__ProblemEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ProblemList:
- return (void*)soap_instantiate_ngwt__ProblemList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ProxyList:
- return (void*)soap_instantiate_ngwt__ProxyList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Query:
- return (void*)soap_instantiate_ngwt__Query(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__QueryTarget:
- return (void*)soap_instantiate_ngwt__QueryTarget(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RecipientList:
- return (void*)soap_instantiate_ngwt__RecipientList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RecipientStatus:
- return (void*)soap_instantiate_ngwt__RecipientStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RecurrenceDateType:
- return (void*)soap_instantiate_ngwt__RecurrenceDateType(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RecurrenceRule:
- return (void*)soap_instantiate_ngwt__RecurrenceRule(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ReferenceInfo:
- return (void*)soap_instantiate_ngwt__ReferenceInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ReturnNotification:
- return (void*)soap_instantiate_ngwt__ReturnNotification(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ReturnNotificationOptions:
- return (void*)soap_instantiate_ngwt__ReturnNotificationOptions(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Rights:
- return (void*)soap_instantiate_ngwt__Rights(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RuleAction:
- return (void*)soap_instantiate_ngwt__RuleAction(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RuleActionList:
- return (void*)soap_instantiate_ngwt__RuleActionList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__RuleList:
- return (void*)soap_instantiate_ngwt__RuleList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SendOptionsRequestReply:
- return (void*)soap_instantiate_ngwt__SendOptionsRequestReply(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SendOptions:
- return (void*)soap_instantiate_ngwt__SendOptions(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Settings:
- return (void*)soap_instantiate_ngwt__Settings(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SettingsGroup:
- return (void*)soap_instantiate_ngwt__SettingsGroup(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SettingsList:
- return (void*)soap_instantiate_ngwt__SettingsList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SharedFolderNotification:
- return (void*)soap_instantiate_ngwt__SharedFolderNotification(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Signature:
- return (void*)soap_instantiate_ngwt__Signature(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Signatures:
- return (void*)soap_instantiate_ngwt__Signatures(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SignatureData:
- return (void*)soap_instantiate_ngwt__SignatureData(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SMimeOperation:
- return (void*)soap_instantiate_ngwt__SMimeOperation(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Status:
- return (void*)soap_instantiate_ngwt__Status(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Timezone:
- return (void*)soap_instantiate_ngwt__Timezone(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__TimezoneComponent:
- return (void*)soap_instantiate_ngwt__TimezoneComponent(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__TimezoneList:
- return (void*)soap_instantiate_ngwt__TimezoneList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__UserInfo:
- return (void*)soap_instantiate_ngwt__UserInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__UserList:
- return (void*)soap_instantiate_ngwt__UserList(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__acceptRequest:
- return (void*)soap_instantiate__ngwm__acceptRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__acceptResponse:
- return (void*)soap_instantiate__ngwm__acceptResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__acceptShareRequest:
- return (void*)soap_instantiate__ngwm__acceptShareRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__acceptShareResponse:
- return (void*)soap_instantiate__ngwm__acceptShareResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addItemRequest:
- return (void*)soap_instantiate__ngwm__addItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addItemResponse:
- return (void*)soap_instantiate__ngwm__addItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addItemsRequest:
- return (void*)soap_instantiate__ngwm__addItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addItemsResponse:
- return (void*)soap_instantiate__ngwm__addItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addMembersRequest:
- return (void*)soap_instantiate__ngwm__addMembersRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__addMembersResponse:
- return (void*)soap_instantiate__ngwm__addMembersResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__closeFreeBusySessionRequest:
- return (void*)soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__closeFreeBusySessionResponse:
- return (void*)soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__completeRequest:
- return (void*)soap_instantiate__ngwm__completeRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__completeResponse:
- return (void*)soap_instantiate__ngwm__completeResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createCursorRequest:
- return (void*)soap_instantiate__ngwm__createCursorRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createCursorResponse:
- return (void*)soap_instantiate__ngwm__createCursorResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createItemRequest:
- return (void*)soap_instantiate__ngwm__createItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createItemResponse:
- return (void*)soap_instantiate__ngwm__createItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createItemsRequest:
- return (void*)soap_instantiate__ngwm__createItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createItemsResponse:
- return (void*)soap_instantiate__ngwm__createItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createJunkEntryRequest:
- return (void*)soap_instantiate__ngwm__createJunkEntryRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createJunkEntryResponse:
- return (void*)soap_instantiate__ngwm__createJunkEntryResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createProxyAccessRequest:
- return (void*)soap_instantiate__ngwm__createProxyAccessRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createProxyAccessResponse:
- return (void*)soap_instantiate__ngwm__createProxyAccessResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createSignatureRequest:
- return (void*)soap_instantiate__ngwm__createSignatureRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__createSignatureResponse:
- return (void*)soap_instantiate__ngwm__createSignatureResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__declineRequest:
- return (void*)soap_instantiate__ngwm__declineRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__declineResponse:
- return (void*)soap_instantiate__ngwm__declineResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__delegateRequest:
- return (void*)soap_instantiate__ngwm__delegateRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__delegateResponse:
- return (void*)soap_instantiate__ngwm__delegateResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__destroyCursorRequest:
- return (void*)soap_instantiate__ngwm__destroyCursorRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__destroyCursorResponse:
- return (void*)soap_instantiate__ngwm__destroyCursorResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__executeRuleRequest:
- return (void*)soap_instantiate__ngwm__executeRuleRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__executeRuleResponse:
- return (void*)soap_instantiate__ngwm__executeRuleResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__forwardRequest:
- return (void*)soap_instantiate__ngwm__forwardRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__forwardResponse:
- return (void*)soap_instantiate__ngwm__forwardResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getAddressBookListRequest:
- return (void*)soap_instantiate__ngwm__getAddressBookListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getAddressBookListResponse:
- return (void*)soap_instantiate__ngwm__getAddressBookListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getAttachmentRequest:
- return (void*)soap_instantiate__ngwm__getAttachmentRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getAttachmentResponse:
- return (void*)soap_instantiate__ngwm__getAttachmentResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getCategoryListRequest:
- return (void*)soap_instantiate__ngwm__getCategoryListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getCategoryListResponse:
- return (void*)soap_instantiate__ngwm__getCategoryListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getCustomListRequest:
- return (void*)soap_instantiate__ngwm__getCustomListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getCustomListResponse:
- return (void*)soap_instantiate__ngwm__getCustomListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDeltasRequest:
- return (void*)soap_instantiate__ngwm__getDeltasRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDeltasResponse:
- return (void*)soap_instantiate__ngwm__getDeltasResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDeltaInfoRequest:
- return (void*)soap_instantiate__ngwm__getDeltaInfoRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDeltaInfoResponse:
- return (void*)soap_instantiate__ngwm__getDeltaInfoResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDocumentTypeListRequest:
- return (void*)soap_instantiate__ngwm__getDocumentTypeListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getDocumentTypeListResponse:
- return (void*)soap_instantiate__ngwm__getDocumentTypeListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFolderRequest:
- return (void*)soap_instantiate__ngwm__getFolderRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFolderResponse:
- return (void*)soap_instantiate__ngwm__getFolderResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFolderListRequest:
- return (void*)soap_instantiate__ngwm__getFolderListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFolderListResponse:
- return (void*)soap_instantiate__ngwm__getFolderListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFreeBusyRequest:
- return (void*)soap_instantiate__ngwm__getFreeBusyRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getFreeBusyResponse:
- return (void*)soap_instantiate__ngwm__getFreeBusyResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getItemRequest:
- return (void*)soap_instantiate__ngwm__getItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getItemResponse:
- return (void*)soap_instantiate__ngwm__getItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getItemsRequest:
- return (void*)soap_instantiate__ngwm__getItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getItemsResponse:
- return (void*)soap_instantiate__ngwm__getItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getJunkEntriesRequest:
- return (void*)soap_instantiate__ngwm__getJunkEntriesRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getJunkEntriesResponse:
- return (void*)soap_instantiate__ngwm__getJunkEntriesResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getJunkMailSettingsRequest:
- return (void*)soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getJunkMailSettingsResponse:
- return (void*)soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getLibraryItemRequest:
- return (void*)soap_instantiate__ngwm__getLibraryItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getLibraryItemResponse:
- return (void*)soap_instantiate__ngwm__getLibraryItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getLibraryListRequest:
- return (void*)soap_instantiate__ngwm__getLibraryListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getLibraryListResponse:
- return (void*)soap_instantiate__ngwm__getLibraryListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getQuickMessagesRequest:
- return (void*)soap_instantiate__ngwm__getQuickMessagesRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getQuickMessagesResponse:
- return (void*)soap_instantiate__ngwm__getQuickMessagesResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getProxyAccessListRequest:
- return (void*)soap_instantiate__ngwm__getProxyAccessListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getProxyAccessListResponse:
- return (void*)soap_instantiate__ngwm__getProxyAccessListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getProxyListRequest:
- return (void*)soap_instantiate__ngwm__getProxyListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getProxyListResponse:
- return (void*)soap_instantiate__ngwm__getProxyListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getRuleListRequest:
- return (void*)soap_instantiate__ngwm__getRuleListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getRuleListResponse:
- return (void*)soap_instantiate__ngwm__getRuleListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getSettingsRequest:
- return (void*)soap_instantiate__ngwm__getSettingsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getSettingsResponse:
- return (void*)soap_instantiate__ngwm__getSettingsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getSignaturesRequest:
- return (void*)soap_instantiate__ngwm__getSignaturesRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getSignaturesResponse:
- return (void*)soap_instantiate__ngwm__getSignaturesResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getTimestampRequest:
- return (void*)soap_instantiate__ngwm__getTimestampRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getTimestampResponse:
- return (void*)soap_instantiate__ngwm__getTimestampResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getTimezoneListRequest:
- return (void*)soap_instantiate__ngwm__getTimezoneListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getTimezoneListResponse:
- return (void*)soap_instantiate__ngwm__getTimezoneListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getUserListRequest:
- return (void*)soap_instantiate__ngwm__getUserListRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__getUserListResponse:
- return (void*)soap_instantiate__ngwm__getUserListResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__loginRequest:
- return (void*)soap_instantiate__ngwm__loginRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__loginResponse:
- return (void*)soap_instantiate__ngwm__loginResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__logoutRequest:
- return (void*)soap_instantiate__ngwm__logoutRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__logoutResponse:
- return (void*)soap_instantiate__ngwm__logoutResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markPrivateRequest:
- return (void*)soap_instantiate__ngwm__markPrivateRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markPrivateResponse:
- return (void*)soap_instantiate__ngwm__markPrivateResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markReadRequest:
- return (void*)soap_instantiate__ngwm__markReadRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markReadResponse:
- return (void*)soap_instantiate__ngwm__markReadResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markUnPrivateRequest:
- return (void*)soap_instantiate__ngwm__markUnPrivateRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markUnPrivateResponse:
- return (void*)soap_instantiate__ngwm__markUnPrivateResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markUnReadRequest:
- return (void*)soap_instantiate__ngwm__markUnReadRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__markUnReadResponse:
- return (void*)soap_instantiate__ngwm__markUnReadResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyItemRequest:
- return (void*)soap_instantiate__ngwm__modifyItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyItemResponse:
- return (void*)soap_instantiate__ngwm__modifyItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyItemsRequest:
- return (void*)soap_instantiate__ngwm__modifyItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyItemsResponse:
- return (void*)soap_instantiate__ngwm__modifyItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyJunkEntryRequest:
- return (void*)soap_instantiate__ngwm__modifyJunkEntryRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyJunkEntryResponse:
- return (void*)soap_instantiate__ngwm__modifyJunkEntryResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest:
- return (void*)soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse:
- return (void*)soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyPasswordRequest:
- return (void*)soap_instantiate__ngwm__modifyPasswordRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyPasswordResponse:
- return (void*)soap_instantiate__ngwm__modifyPasswordResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyProxyAccessRequest:
- return (void*)soap_instantiate__ngwm__modifyProxyAccessRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifyProxyAccessResponse:
- return (void*)soap_instantiate__ngwm__modifyProxyAccessResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifySettingsRequest:
- return (void*)soap_instantiate__ngwm__modifySettingsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifySettingsResponse:
- return (void*)soap_instantiate__ngwm__modifySettingsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifySignaturesRequest:
- return (void*)soap_instantiate__ngwm__modifySignaturesRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__modifySignaturesResponse:
- return (void*)soap_instantiate__ngwm__modifySignaturesResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__moveItemRequest:
- return (void*)soap_instantiate__ngwm__moveItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__moveItemResponse:
- return (void*)soap_instantiate__ngwm__moveItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__positionCursorRequest:
- return (void*)soap_instantiate__ngwm__positionCursorRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__positionCursorResponse:
- return (void*)soap_instantiate__ngwm__positionCursorResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__purgeDeletedItemsRequest:
- return (void*)soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__purgeDeletedItemsResponse:
- return (void*)soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__purgeRequest:
- return (void*)soap_instantiate__ngwm__purgeRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__purgeResponse:
- return (void*)soap_instantiate__ngwm__purgeResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__readCursorRequest:
- return (void*)soap_instantiate__ngwm__readCursorRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__readCursorResponse:
- return (void*)soap_instantiate__ngwm__readCursorResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeCustomDefinitionRequest:
- return (void*)soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeCustomDefinitionResponse:
- return (void*)soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeItemRequest:
- return (void*)soap_instantiate__ngwm__removeItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeItemResponse:
- return (void*)soap_instantiate__ngwm__removeItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeItemsRequest:
- return (void*)soap_instantiate__ngwm__removeItemsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeItemsResponse:
- return (void*)soap_instantiate__ngwm__removeItemsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeJunkEntryRequest:
- return (void*)soap_instantiate__ngwm__removeJunkEntryRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeJunkEntryResponse:
- return (void*)soap_instantiate__ngwm__removeJunkEntryResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeMembersRequest:
- return (void*)soap_instantiate__ngwm__removeMembersRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeMembersResponse:
- return (void*)soap_instantiate__ngwm__removeMembersResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeProxyAccessRequest:
- return (void*)soap_instantiate__ngwm__removeProxyAccessRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeProxyAccessResponse:
- return (void*)soap_instantiate__ngwm__removeProxyAccessResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeProxyUserRequest:
- return (void*)soap_instantiate__ngwm__removeProxyUserRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeProxyUserResponse:
- return (void*)soap_instantiate__ngwm__removeProxyUserResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeSignatureRequest:
- return (void*)soap_instantiate__ngwm__removeSignatureRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__removeSignatureResponse:
- return (void*)soap_instantiate__ngwm__removeSignatureResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__replyRequest:
- return (void*)soap_instantiate__ngwm__replyRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__replyResponse:
- return (void*)soap_instantiate__ngwm__replyResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__retractRequest:
- return (void*)soap_instantiate__ngwm__retractRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__retractResponse:
- return (void*)soap_instantiate__ngwm__retractResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__sendItemRequest:
- return (void*)soap_instantiate__ngwm__sendItemRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__sendItemResponse:
- return (void*)soap_instantiate__ngwm__sendItemResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__setTimestampRequest:
- return (void*)soap_instantiate__ngwm__setTimestampRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__setTimestampResponse:
- return (void*)soap_instantiate__ngwm__setTimestampResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__startFreeBusySessionRequest:
- return (void*)soap_instantiate__ngwm__startFreeBusySessionRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__startFreeBusySessionResponse:
- return (void*)soap_instantiate__ngwm__startFreeBusySessionResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__unacceptRequest:
- return (void*)soap_instantiate__ngwm__unacceptRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__unacceptResponse:
- return (void*)soap_instantiate__ngwm__unacceptResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__uncompleteRequest:
- return (void*)soap_instantiate__ngwm__uncompleteRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__uncompleteResponse:
- return (void*)soap_instantiate__ngwm__uncompleteResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__updateVersionStatusRequest:
- return (void*)soap_instantiate__ngwm__updateVersionStatusRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwm__updateVersionStatusResponse:
- return (void*)soap_instantiate__ngwm__updateVersionStatusResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__ContainerList:
- return (void*)soap_instantiate_ngwe__ContainerList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__Event:
- return (void*)soap_instantiate_ngwe__Event(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__EventDefinition:
- return (void*)soap_instantiate_ngwe__EventDefinition(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__EventList:
- return (void*)soap_instantiate_ngwe__EventList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__Events:
- return (void*)soap_instantiate_ngwe__Events(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__EventsList:
- return (void*)soap_instantiate_ngwe__EventsList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__EventTypeList:
- return (void*)soap_instantiate_ngwe__EventTypeList(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwe__Notify:
- return (void*)soap_instantiate_ngwe__Notify(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__cleanEventConfigurationRequest:
- return (void*)soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__cleanEventConfigurationResponse:
- return (void*)soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__configureEventsRequest:
- return (void*)soap_instantiate__ngwe__configureEventsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__configureEventsResponse:
- return (void*)soap_instantiate__ngwe__configureEventsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__getEventConfigurationRequest:
- return (void*)soap_instantiate__ngwe__getEventConfigurationRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__getEventConfigurationResponse:
- return (void*)soap_instantiate__ngwe__getEventConfigurationResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__getEventsRequest:
- return (void*)soap_instantiate__ngwe__getEventsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__getEventsResponse:
- return (void*)soap_instantiate__ngwe__getEventsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__removeEventConfigurationRequest:
- return (void*)soap_instantiate__ngwe__removeEventConfigurationRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__removeEventConfigurationResponse:
- return (void*)soap_instantiate__ngwe__removeEventConfigurationResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__removeEventsRequest:
- return (void*)soap_instantiate__ngwe__removeEventsRequest(soap, -1, type, arrayType, n);
- case SOAP_TYPE__ngwe__removeEventsResponse:
- return (void*)soap_instantiate__ngwe__removeEventsResponse(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessControlListEntry:
- return (void*)soap_instantiate_ngwt__AccessControlListEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AccessRightEntry:
- return (void*)soap_instantiate_ngwt__AccessRightEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AddressBook:
- return (void*)soap_instantiate_ngwt__AddressBook(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Alarm:
- return (void*)soap_instantiate_ngwt__Alarm(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Category:
- return (void*)soap_instantiate_ngwt__Category(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CommentStatus:
- return (void*)soap_instantiate_ngwt__CommentStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ContainerItem:
- return (void*)soap_instantiate_ngwt__ContainerItem(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ContainerRef:
- return (void*)soap_instantiate_ngwt__ContainerRef(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DelegatedStatus:
- return (void*)soap_instantiate_ngwt__DelegatedStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DelegateeStatus:
- return (void*)soap_instantiate_ngwt__DelegateeStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FilterEntry:
- return (void*)soap_instantiate_ngwt__FilterEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FilterGroup:
- return (void*)soap_instantiate_ngwt__FilterGroup(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Folder:
- return (void*)soap_instantiate_ngwt__Folder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FreeBusyInfo:
- return (void*)soap_instantiate_ngwt__FreeBusyInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__From:
- return (void*)soap_instantiate_ngwt__From(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ItemRef:
- return (void*)soap_instantiate_ngwt__ItemRef(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Library:
- return (void*)soap_instantiate_ngwt__Library(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__MessagePart:
- return (void*)soap_instantiate_ngwt__MessagePart(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PhoneNumber:
- return (void*)soap_instantiate_ngwt__PhoneNumber(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PlainText:
- return (void*)soap_instantiate_ngwt__PlainText(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Proxy:
- return (void*)soap_instantiate_ngwt__Proxy(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ProxyUser:
- return (void*)soap_instantiate_ngwt__ProxyUser(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Recipient:
- return (void*)soap_instantiate_ngwt__Recipient(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__TransferFailedStatus:
- return (void*)soap_instantiate_ngwt__TransferFailedStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__TrustedApplication:
- return (void*)soap_instantiate_ngwt__TrustedApplication(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AddressBookItem:
- return (void*)soap_instantiate_ngwt__AddressBookItem(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__AttachmentID:
- return (void*)soap_instantiate_ngwt__AttachmentID(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__BoxEntry:
- return (void*)soap_instantiate_ngwt__BoxEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DayOfWeek:
- return (void*)soap_instantiate_ngwt__DayOfWeek(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DayOfYearWeek:
- return (void*)soap_instantiate_ngwt__DayOfYearWeek(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Document:
- return (void*)soap_instantiate_ngwt__Document(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__FolderACLEntry:
- return (void*)soap_instantiate_ngwt__FolderACLEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__QueryFolder:
- return (void*)soap_instantiate_ngwt__QueryFolder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Rule:
- return (void*)soap_instantiate_ngwt__Rule(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SharedFolder:
- return (void*)soap_instantiate_ngwt__SharedFolder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__StatusTracking:
- return (void*)soap_instantiate_ngwt__StatusTracking(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SystemFolder:
- return (void*)soap_instantiate_ngwt__SystemFolder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Version:
- return (void*)soap_instantiate_ngwt__Version(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__VersionEvent:
- return (void*)soap_instantiate_ngwt__VersionEvent(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Contact:
- return (void*)soap_instantiate_ngwt__Contact(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__ContactFolder:
- return (void*)soap_instantiate_ngwt__ContactFolder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Group:
- return (void*)soap_instantiate_ngwt__Group(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Mail:
- return (void*)soap_instantiate_ngwt__Mail(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Organization:
- return (void*)soap_instantiate_ngwt__Organization(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Resource:
- return (void*)soap_instantiate_ngwt__Resource(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__CalendarItem:
- return (void*)soap_instantiate_ngwt__CalendarItem(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__DocumentRef:
- return (void*)soap_instantiate_ngwt__DocumentRef(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__PhoneMessage:
- return (void*)soap_instantiate_ngwt__PhoneMessage(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__SharedNotification:
- return (void*)soap_instantiate_ngwt__SharedNotification(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Appointment:
- return (void*)soap_instantiate_ngwt__Appointment(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Note:
- return (void*)soap_instantiate_ngwt__Note(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__Task:
- return (void*)soap_instantiate_ngwt__Task(soap, -1, type, arrayType, n);
- case SOAP_TYPE_SOAP_ENV__Header:
- return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n);
- case SOAP_TYPE_xsd__date:
- return (void*)soap_instantiate_xsd__date(soap, -1, type, arrayType, n);
- case SOAP_TYPE_xsd__decimal:
- return (void*)soap_instantiate_xsd__decimal(soap, -1, type, arrayType, n);
- case SOAP_TYPE_xsd__duration:
- return (void*)soap_instantiate_xsd__duration(soap, -1, type, arrayType, n);
- case SOAP_TYPE_xsd__language:
- return (void*)soap_instantiate_xsd__language(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__View:
- return (void*)soap_instantiate_ngwt__View(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__uid:
- return (void*)soap_instantiate_ngwt__uid(soap, -1, type, arrayType, n);
- case SOAP_TYPE_ngwt__UUID:
- return (void*)soap_instantiate_ngwt__UUID(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwe__EventType:
- return (void*)soap_instantiate_std__vectorTemplateOfngwe__EventType(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfstring:
- return (void*)soap_instantiate_std__vectorTemplateOfstring(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfxsd__date:
- return (void*)soap_instantiate_std__vectorTemplateOfxsd__date(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwt__Month:
- return (void*)soap_instantiate_std__vectorTemplateOfngwt__Month(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfstd__string:
- return (void*)soap_instantiate_std__vectorTemplateOfstd__string(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear:
- return (void*)soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth:
- return (void*)soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwt__uid:
- return (void*)soap_instantiate_std__vectorTemplateOfngwt__uid(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags:
- return (void*)soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, -1, type, arrayType, n);
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry:
- return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, -1, type, arrayType, n);
- }
- return NULL;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
-{ switch (p->type)
- {
- case SOAP_TYPE_xsd__base64Binary:
- if (p->size < 0)
- delete (xsd__base64Binary*)p->ptr;
- else
- delete[] (xsd__base64Binary*)p->ptr;
- break;
- case SOAP_TYPE_std__string:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessControlList:
- if (p->size < 0)
- delete (ngwt__AccessControlList*)p->ptr;
- else
- delete[] (ngwt__AccessControlList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessMiscRight:
- if (p->size < 0)
- delete (ngwt__AccessMiscRight*)p->ptr;
- else
- delete[] (ngwt__AccessMiscRight*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessRight:
- if (p->size < 0)
- delete (ngwt__AccessRight*)p->ptr;
- else
- delete[] (ngwt__AccessRight*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessRightChanges:
- if (p->size < 0)
- delete (ngwt__AccessRightChanges*)p->ptr;
- else
- delete[] (ngwt__AccessRightChanges*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessRightList:
- if (p->size < 0)
- delete (ngwt__AccessRightList*)p->ptr;
- else
- delete[] (ngwt__AccessRightList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AddressBookList:
- if (p->size < 0)
- delete (ngwt__AddressBookList*)p->ptr;
- else
- delete[] (ngwt__AddressBookList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AttachmentInfo:
- if (p->size < 0)
- delete (ngwt__AttachmentInfo*)p->ptr;
- else
- delete[] (ngwt__AttachmentInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AttachmentItemInfo:
- if (p->size < 0)
- delete (ngwt__AttachmentItemInfo*)p->ptr;
- else
- delete[] (ngwt__AttachmentItemInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Authentication:
- if (p->size < 0)
- delete (ngwt__Authentication*)p->ptr;
- else
- delete[] (ngwt__Authentication*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CalendarFolderAttribute:
- if (p->size < 0)
- delete (ngwt__CalendarFolderAttribute*)p->ptr;
- else
- delete[] (ngwt__CalendarFolderAttribute*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CategoryList:
- if (p->size < 0)
- delete (ngwt__CategoryList*)p->ptr;
- else
- delete[] (ngwt__CategoryList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CategoryRefList:
- if (p->size < 0)
- delete (ngwt__CategoryRefList*)p->ptr;
- else
- delete[] (ngwt__CategoryRefList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Custom:
- if (p->size < 0)
- delete (ngwt__Custom*)p->ptr;
- else
- delete[] (ngwt__Custom*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CustomList:
- if (p->size < 0)
- delete (ngwt__CustomList*)p->ptr;
- else
- delete[] (ngwt__CustomList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DayOfMonthList:
- if (p->size < 0)
- delete (ngwt__DayOfMonthList*)p->ptr;
- else
- delete[] (ngwt__DayOfMonthList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DayOfYearList:
- if (p->size < 0)
- delete (ngwt__DayOfYearList*)p->ptr;
- else
- delete[] (ngwt__DayOfYearList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DayOfYearWeekList:
- if (p->size < 0)
- delete (ngwt__DayOfYearWeekList*)p->ptr;
- else
- delete[] (ngwt__DayOfYearWeekList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DeltaInfo:
- if (p->size < 0)
- delete (ngwt__DeltaInfo*)p->ptr;
- else
- delete[] (ngwt__DeltaInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Distribution:
- if (p->size < 0)
- delete (ngwt__Distribution*)p->ptr;
- else
- delete[] (ngwt__Distribution*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DocumentType:
- if (p->size < 0)
- delete (ngwt__DocumentType*)p->ptr;
- else
- delete[] (ngwt__DocumentType*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DocumentTypeList:
- if (p->size < 0)
- delete (ngwt__DocumentTypeList*)p->ptr;
- else
- delete[] (ngwt__DocumentTypeList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__EmailAddressList:
- if (p->size < 0)
- delete (ngwt__EmailAddressList*)p->ptr;
- else
- delete[] (ngwt__EmailAddressList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Filter:
- if (p->size < 0)
- delete (ngwt__Filter*)p->ptr;
- else
- delete[] (ngwt__Filter*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FilterElement:
- if (p->size < 0)
- delete (ngwt__FilterElement*)p->ptr;
- else
- delete[] (ngwt__FilterElement*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FolderACL:
- if (p->size < 0)
- delete (ngwt__FolderACL*)p->ptr;
- else
- delete[] (ngwt__FolderACL*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FolderList:
- if (p->size < 0)
- delete (ngwt__FolderList*)p->ptr;
- else
- delete[] (ngwt__FolderList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyBlockList:
- if (p->size < 0)
- delete (ngwt__FreeBusyBlockList*)p->ptr;
- else
- delete[] (ngwt__FreeBusyBlockList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyBlock:
- if (p->size < 0)
- delete (ngwt__FreeBusyBlock*)p->ptr;
- else
- delete[] (ngwt__FreeBusyBlock*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyUserList:
- if (p->size < 0)
- delete (ngwt__FreeBusyUserList*)p->ptr;
- else
- delete[] (ngwt__FreeBusyUserList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyInfoList:
- if (p->size < 0)
- delete (ngwt__FreeBusyInfoList*)p->ptr;
- else
- delete[] (ngwt__FreeBusyInfoList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyStats:
- if (p->size < 0)
- delete (ngwt__FreeBusyStats*)p->ptr;
- else
- delete[] (ngwt__FreeBusyStats*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FullName:
- if (p->size < 0)
- delete (ngwt__FullName*)p->ptr;
- else
- delete[] (ngwt__FullName*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__GroupMember:
- if (p->size < 0)
- delete (ngwt__GroupMember*)p->ptr;
- else
- delete[] (ngwt__GroupMember*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__GroupMemberList:
- if (p->size < 0)
- delete (ngwt__GroupMemberList*)p->ptr;
- else
- delete[] (ngwt__GroupMemberList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Host:
- if (p->size < 0)
- delete (ngwt__Host*)p->ptr;
- else
- delete[] (ngwt__Host*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ImAddress:
- if (p->size < 0)
- delete (ngwt__ImAddress*)p->ptr;
- else
- delete[] (ngwt__ImAddress*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ImAddressList:
- if (p->size < 0)
- delete (ngwt__ImAddressList*)p->ptr;
- else
- delete[] (ngwt__ImAddressList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Item:
- if (p->size < 0)
- delete (ngwt__Item*)p->ptr;
- else
- delete[] (ngwt__Item*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemChanges:
- if (p->size < 0)
- delete (ngwt__ItemChanges*)p->ptr;
- else
- delete[] (ngwt__ItemChanges*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemList:
- if (p->size < 0)
- delete (ngwt__ItemList*)p->ptr;
- else
- delete[] (ngwt__ItemList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemOptions:
- if (p->size < 0)
- delete (ngwt__ItemOptions*)p->ptr;
- else
- delete[] (ngwt__ItemOptions*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemRefList:
- if (p->size < 0)
- delete (ngwt__ItemRefList*)p->ptr;
- else
- delete[] (ngwt__ItemRefList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Items:
- if (p->size < 0)
- delete (ngwt__Items*)p->ptr;
- else
- delete[] (ngwt__Items*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemStatus:
- if (p->size < 0)
- delete (ngwt__ItemStatus*)p->ptr;
- else
- delete[] (ngwt__ItemStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__JunkEntry:
- if (p->size < 0)
- delete (ngwt__JunkEntry*)p->ptr;
- else
- delete[] (ngwt__JunkEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__JunkHandlingList:
- if (p->size < 0)
- delete (ngwt__JunkHandlingList*)p->ptr;
- else
- delete[] (ngwt__JunkHandlingList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__LibraryList:
- if (p->size < 0)
- delete (ngwt__LibraryList*)p->ptr;
- else
- delete[] (ngwt__LibraryList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__LinkInfo:
- if (p->size < 0)
- delete (ngwt__LinkInfo*)p->ptr;
- else
- delete[] (ngwt__LinkInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__MessageBody:
- if (p->size < 0)
- delete (ngwt__MessageBody*)p->ptr;
- else
- delete[] (ngwt__MessageBody*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ModifyItem:
- if (p->size < 0)
- delete (ngwt__ModifyItem*)p->ptr;
- else
- delete[] (ngwt__ModifyItem*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__MonthList:
- if (p->size < 0)
- delete (ngwt__MonthList*)p->ptr;
- else
- delete[] (ngwt__MonthList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__NameAndEmail:
- if (p->size < 0)
- delete (ngwt__NameAndEmail*)p->ptr;
- else
- delete[] (ngwt__NameAndEmail*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__OfficeInfo:
- if (p->size < 0)
- delete (ngwt__OfficeInfo*)p->ptr;
- else
- delete[] (ngwt__OfficeInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PersonalInfo:
- if (p->size < 0)
- delete (ngwt__PersonalInfo*)p->ptr;
- else
- delete[] (ngwt__PersonalInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PhoneFlags:
- if (p->size < 0)
- delete (ngwt__PhoneFlags*)p->ptr;
- else
- delete[] (ngwt__PhoneFlags*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PhoneList:
- if (p->size < 0)
- delete (ngwt__PhoneList*)p->ptr;
- else
- delete[] (ngwt__PhoneList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PostalAddress:
- if (p->size < 0)
- delete (ngwt__PostalAddress*)p->ptr;
- else
- delete[] (ngwt__PostalAddress*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PostalAddressList:
- if (p->size < 0)
- delete (ngwt__PostalAddressList*)p->ptr;
- else
- delete[] (ngwt__PostalAddressList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ProblemEntry:
- if (p->size < 0)
- delete (ngwt__ProblemEntry*)p->ptr;
- else
- delete[] (ngwt__ProblemEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ProblemList:
- if (p->size < 0)
- delete (ngwt__ProblemList*)p->ptr;
- else
- delete[] (ngwt__ProblemList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ProxyList:
- if (p->size < 0)
- delete (ngwt__ProxyList*)p->ptr;
- else
- delete[] (ngwt__ProxyList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Query:
- if (p->size < 0)
- delete (ngwt__Query*)p->ptr;
- else
- delete[] (ngwt__Query*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__QueryTarget:
- if (p->size < 0)
- delete (ngwt__QueryTarget*)p->ptr;
- else
- delete[] (ngwt__QueryTarget*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RecipientList:
- if (p->size < 0)
- delete (ngwt__RecipientList*)p->ptr;
- else
- delete[] (ngwt__RecipientList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RecipientStatus:
- if (p->size < 0)
- delete (ngwt__RecipientStatus*)p->ptr;
- else
- delete[] (ngwt__RecipientStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RecurrenceDateType:
- if (p->size < 0)
- delete (ngwt__RecurrenceDateType*)p->ptr;
- else
- delete[] (ngwt__RecurrenceDateType*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RecurrenceRule:
- if (p->size < 0)
- delete (ngwt__RecurrenceRule*)p->ptr;
- else
- delete[] (ngwt__RecurrenceRule*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ReferenceInfo:
- if (p->size < 0)
- delete (ngwt__ReferenceInfo*)p->ptr;
- else
- delete[] (ngwt__ReferenceInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ReturnNotification:
- if (p->size < 0)
- delete (ngwt__ReturnNotification*)p->ptr;
- else
- delete[] (ngwt__ReturnNotification*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ReturnNotificationOptions:
- if (p->size < 0)
- delete (ngwt__ReturnNotificationOptions*)p->ptr;
- else
- delete[] (ngwt__ReturnNotificationOptions*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Rights:
- if (p->size < 0)
- delete (ngwt__Rights*)p->ptr;
- else
- delete[] (ngwt__Rights*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RuleAction:
- if (p->size < 0)
- delete (ngwt__RuleAction*)p->ptr;
- else
- delete[] (ngwt__RuleAction*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RuleActionList:
- if (p->size < 0)
- delete (ngwt__RuleActionList*)p->ptr;
- else
- delete[] (ngwt__RuleActionList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__RuleList:
- if (p->size < 0)
- delete (ngwt__RuleList*)p->ptr;
- else
- delete[] (ngwt__RuleList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SendOptionsRequestReply:
- if (p->size < 0)
- delete (ngwt__SendOptionsRequestReply*)p->ptr;
- else
- delete[] (ngwt__SendOptionsRequestReply*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SendOptions:
- if (p->size < 0)
- delete (ngwt__SendOptions*)p->ptr;
- else
- delete[] (ngwt__SendOptions*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Settings:
- if (p->size < 0)
- delete (ngwt__Settings*)p->ptr;
- else
- delete[] (ngwt__Settings*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SettingsGroup:
- if (p->size < 0)
- delete (ngwt__SettingsGroup*)p->ptr;
- else
- delete[] (ngwt__SettingsGroup*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SettingsList:
- if (p->size < 0)
- delete (ngwt__SettingsList*)p->ptr;
- else
- delete[] (ngwt__SettingsList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SharedFolderNotification:
- if (p->size < 0)
- delete (ngwt__SharedFolderNotification*)p->ptr;
- else
- delete[] (ngwt__SharedFolderNotification*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Signature:
- if (p->size < 0)
- delete (ngwt__Signature*)p->ptr;
- else
- delete[] (ngwt__Signature*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Signatures:
- if (p->size < 0)
- delete (ngwt__Signatures*)p->ptr;
- else
- delete[] (ngwt__Signatures*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SignatureData:
- if (p->size < 0)
- delete (ngwt__SignatureData*)p->ptr;
- else
- delete[] (ngwt__SignatureData*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SMimeOperation:
- if (p->size < 0)
- delete (ngwt__SMimeOperation*)p->ptr;
- else
- delete[] (ngwt__SMimeOperation*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Status:
- if (p->size < 0)
- delete (ngwt__Status*)p->ptr;
- else
- delete[] (ngwt__Status*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Timezone:
- if (p->size < 0)
- delete (ngwt__Timezone*)p->ptr;
- else
- delete[] (ngwt__Timezone*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__TimezoneComponent:
- if (p->size < 0)
- delete (ngwt__TimezoneComponent*)p->ptr;
- else
- delete[] (ngwt__TimezoneComponent*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__TimezoneList:
- if (p->size < 0)
- delete (ngwt__TimezoneList*)p->ptr;
- else
- delete[] (ngwt__TimezoneList*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__UserInfo:
- if (p->size < 0)
- delete (ngwt__UserInfo*)p->ptr;
- else
- delete[] (ngwt__UserInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__UserList:
- if (p->size < 0)
- delete (ngwt__UserList*)p->ptr;
- else
- delete[] (ngwt__UserList*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__acceptRequest:
- if (p->size < 0)
- delete (_ngwm__acceptRequest*)p->ptr;
- else
- delete[] (_ngwm__acceptRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__acceptResponse:
- if (p->size < 0)
- delete (_ngwm__acceptResponse*)p->ptr;
- else
- delete[] (_ngwm__acceptResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__acceptShareRequest:
- if (p->size < 0)
- delete (_ngwm__acceptShareRequest*)p->ptr;
- else
- delete[] (_ngwm__acceptShareRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__acceptShareResponse:
- if (p->size < 0)
- delete (_ngwm__acceptShareResponse*)p->ptr;
- else
- delete[] (_ngwm__acceptShareResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addItemRequest:
- if (p->size < 0)
- delete (_ngwm__addItemRequest*)p->ptr;
- else
- delete[] (_ngwm__addItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addItemResponse:
- if (p->size < 0)
- delete (_ngwm__addItemResponse*)p->ptr;
- else
- delete[] (_ngwm__addItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addItemsRequest:
- if (p->size < 0)
- delete (_ngwm__addItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__addItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addItemsResponse:
- if (p->size < 0)
- delete (_ngwm__addItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__addItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addMembersRequest:
- if (p->size < 0)
- delete (_ngwm__addMembersRequest*)p->ptr;
- else
- delete[] (_ngwm__addMembersRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__addMembersResponse:
- if (p->size < 0)
- delete (_ngwm__addMembersResponse*)p->ptr;
- else
- delete[] (_ngwm__addMembersResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__closeFreeBusySessionRequest:
- if (p->size < 0)
- delete (_ngwm__closeFreeBusySessionRequest*)p->ptr;
- else
- delete[] (_ngwm__closeFreeBusySessionRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__closeFreeBusySessionResponse:
- if (p->size < 0)
- delete (_ngwm__closeFreeBusySessionResponse*)p->ptr;
- else
- delete[] (_ngwm__closeFreeBusySessionResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__completeRequest:
- if (p->size < 0)
- delete (_ngwm__completeRequest*)p->ptr;
- else
- delete[] (_ngwm__completeRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__completeResponse:
- if (p->size < 0)
- delete (_ngwm__completeResponse*)p->ptr;
- else
- delete[] (_ngwm__completeResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createCursorRequest:
- if (p->size < 0)
- delete (_ngwm__createCursorRequest*)p->ptr;
- else
- delete[] (_ngwm__createCursorRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createCursorResponse:
- if (p->size < 0)
- delete (_ngwm__createCursorResponse*)p->ptr;
- else
- delete[] (_ngwm__createCursorResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createItemRequest:
- if (p->size < 0)
- delete (_ngwm__createItemRequest*)p->ptr;
- else
- delete[] (_ngwm__createItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createItemResponse:
- if (p->size < 0)
- delete (_ngwm__createItemResponse*)p->ptr;
- else
- delete[] (_ngwm__createItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createItemsRequest:
- if (p->size < 0)
- delete (_ngwm__createItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__createItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createItemsResponse:
- if (p->size < 0)
- delete (_ngwm__createItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__createItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createJunkEntryRequest:
- if (p->size < 0)
- delete (_ngwm__createJunkEntryRequest*)p->ptr;
- else
- delete[] (_ngwm__createJunkEntryRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createJunkEntryResponse:
- if (p->size < 0)
- delete (_ngwm__createJunkEntryResponse*)p->ptr;
- else
- delete[] (_ngwm__createJunkEntryResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createProxyAccessRequest:
- if (p->size < 0)
- delete (_ngwm__createProxyAccessRequest*)p->ptr;
- else
- delete[] (_ngwm__createProxyAccessRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createProxyAccessResponse:
- if (p->size < 0)
- delete (_ngwm__createProxyAccessResponse*)p->ptr;
- else
- delete[] (_ngwm__createProxyAccessResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createSignatureRequest:
- if (p->size < 0)
- delete (_ngwm__createSignatureRequest*)p->ptr;
- else
- delete[] (_ngwm__createSignatureRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__createSignatureResponse:
- if (p->size < 0)
- delete (_ngwm__createSignatureResponse*)p->ptr;
- else
- delete[] (_ngwm__createSignatureResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__declineRequest:
- if (p->size < 0)
- delete (_ngwm__declineRequest*)p->ptr;
- else
- delete[] (_ngwm__declineRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__declineResponse:
- if (p->size < 0)
- delete (_ngwm__declineResponse*)p->ptr;
- else
- delete[] (_ngwm__declineResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__delegateRequest:
- if (p->size < 0)
- delete (_ngwm__delegateRequest*)p->ptr;
- else
- delete[] (_ngwm__delegateRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__delegateResponse:
- if (p->size < 0)
- delete (_ngwm__delegateResponse*)p->ptr;
- else
- delete[] (_ngwm__delegateResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__destroyCursorRequest:
- if (p->size < 0)
- delete (_ngwm__destroyCursorRequest*)p->ptr;
- else
- delete[] (_ngwm__destroyCursorRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__destroyCursorResponse:
- if (p->size < 0)
- delete (_ngwm__destroyCursorResponse*)p->ptr;
- else
- delete[] (_ngwm__destroyCursorResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__executeRuleRequest:
- if (p->size < 0)
- delete (_ngwm__executeRuleRequest*)p->ptr;
- else
- delete[] (_ngwm__executeRuleRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__executeRuleResponse:
- if (p->size < 0)
- delete (_ngwm__executeRuleResponse*)p->ptr;
- else
- delete[] (_ngwm__executeRuleResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__forwardRequest:
- if (p->size < 0)
- delete (_ngwm__forwardRequest*)p->ptr;
- else
- delete[] (_ngwm__forwardRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__forwardResponse:
- if (p->size < 0)
- delete (_ngwm__forwardResponse*)p->ptr;
- else
- delete[] (_ngwm__forwardResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getAddressBookListRequest:
- if (p->size < 0)
- delete (_ngwm__getAddressBookListRequest*)p->ptr;
- else
- delete[] (_ngwm__getAddressBookListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getAddressBookListResponse:
- if (p->size < 0)
- delete (_ngwm__getAddressBookListResponse*)p->ptr;
- else
- delete[] (_ngwm__getAddressBookListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getAttachmentRequest:
- if (p->size < 0)
- delete (_ngwm__getAttachmentRequest*)p->ptr;
- else
- delete[] (_ngwm__getAttachmentRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getAttachmentResponse:
- if (p->size < 0)
- delete (_ngwm__getAttachmentResponse*)p->ptr;
- else
- delete[] (_ngwm__getAttachmentResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getCategoryListRequest:
- if (p->size < 0)
- delete (_ngwm__getCategoryListRequest*)p->ptr;
- else
- delete[] (_ngwm__getCategoryListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getCategoryListResponse:
- if (p->size < 0)
- delete (_ngwm__getCategoryListResponse*)p->ptr;
- else
- delete[] (_ngwm__getCategoryListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getCustomListRequest:
- if (p->size < 0)
- delete (_ngwm__getCustomListRequest*)p->ptr;
- else
- delete[] (_ngwm__getCustomListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getCustomListResponse:
- if (p->size < 0)
- delete (_ngwm__getCustomListResponse*)p->ptr;
- else
- delete[] (_ngwm__getCustomListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDeltasRequest:
- if (p->size < 0)
- delete (_ngwm__getDeltasRequest*)p->ptr;
- else
- delete[] (_ngwm__getDeltasRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDeltasResponse:
- if (p->size < 0)
- delete (_ngwm__getDeltasResponse*)p->ptr;
- else
- delete[] (_ngwm__getDeltasResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDeltaInfoRequest:
- if (p->size < 0)
- delete (_ngwm__getDeltaInfoRequest*)p->ptr;
- else
- delete[] (_ngwm__getDeltaInfoRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDeltaInfoResponse:
- if (p->size < 0)
- delete (_ngwm__getDeltaInfoResponse*)p->ptr;
- else
- delete[] (_ngwm__getDeltaInfoResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDocumentTypeListRequest:
- if (p->size < 0)
- delete (_ngwm__getDocumentTypeListRequest*)p->ptr;
- else
- delete[] (_ngwm__getDocumentTypeListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getDocumentTypeListResponse:
- if (p->size < 0)
- delete (_ngwm__getDocumentTypeListResponse*)p->ptr;
- else
- delete[] (_ngwm__getDocumentTypeListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFolderRequest:
- if (p->size < 0)
- delete (_ngwm__getFolderRequest*)p->ptr;
- else
- delete[] (_ngwm__getFolderRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFolderResponse:
- if (p->size < 0)
- delete (_ngwm__getFolderResponse*)p->ptr;
- else
- delete[] (_ngwm__getFolderResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFolderListRequest:
- if (p->size < 0)
- delete (_ngwm__getFolderListRequest*)p->ptr;
- else
- delete[] (_ngwm__getFolderListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFolderListResponse:
- if (p->size < 0)
- delete (_ngwm__getFolderListResponse*)p->ptr;
- else
- delete[] (_ngwm__getFolderListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFreeBusyRequest:
- if (p->size < 0)
- delete (_ngwm__getFreeBusyRequest*)p->ptr;
- else
- delete[] (_ngwm__getFreeBusyRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getFreeBusyResponse:
- if (p->size < 0)
- delete (_ngwm__getFreeBusyResponse*)p->ptr;
- else
- delete[] (_ngwm__getFreeBusyResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getItemRequest:
- if (p->size < 0)
- delete (_ngwm__getItemRequest*)p->ptr;
- else
- delete[] (_ngwm__getItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getItemResponse:
- if (p->size < 0)
- delete (_ngwm__getItemResponse*)p->ptr;
- else
- delete[] (_ngwm__getItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getItemsRequest:
- if (p->size < 0)
- delete (_ngwm__getItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__getItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getItemsResponse:
- if (p->size < 0)
- delete (_ngwm__getItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__getItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getJunkEntriesRequest:
- if (p->size < 0)
- delete (_ngwm__getJunkEntriesRequest*)p->ptr;
- else
- delete[] (_ngwm__getJunkEntriesRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getJunkEntriesResponse:
- if (p->size < 0)
- delete (_ngwm__getJunkEntriesResponse*)p->ptr;
- else
- delete[] (_ngwm__getJunkEntriesResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getJunkMailSettingsRequest:
- if (p->size < 0)
- delete (_ngwm__getJunkMailSettingsRequest*)p->ptr;
- else
- delete[] (_ngwm__getJunkMailSettingsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getJunkMailSettingsResponse:
- if (p->size < 0)
- delete (_ngwm__getJunkMailSettingsResponse*)p->ptr;
- else
- delete[] (_ngwm__getJunkMailSettingsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getLibraryItemRequest:
- if (p->size < 0)
- delete (_ngwm__getLibraryItemRequest*)p->ptr;
- else
- delete[] (_ngwm__getLibraryItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getLibraryItemResponse:
- if (p->size < 0)
- delete (_ngwm__getLibraryItemResponse*)p->ptr;
- else
- delete[] (_ngwm__getLibraryItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getLibraryListRequest:
- if (p->size < 0)
- delete (_ngwm__getLibraryListRequest*)p->ptr;
- else
- delete[] (_ngwm__getLibraryListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getLibraryListResponse:
- if (p->size < 0)
- delete (_ngwm__getLibraryListResponse*)p->ptr;
- else
- delete[] (_ngwm__getLibraryListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getQuickMessagesRequest:
- if (p->size < 0)
- delete (_ngwm__getQuickMessagesRequest*)p->ptr;
- else
- delete[] (_ngwm__getQuickMessagesRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getQuickMessagesResponse:
- if (p->size < 0)
- delete (_ngwm__getQuickMessagesResponse*)p->ptr;
- else
- delete[] (_ngwm__getQuickMessagesResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getProxyAccessListRequest:
- if (p->size < 0)
- delete (_ngwm__getProxyAccessListRequest*)p->ptr;
- else
- delete[] (_ngwm__getProxyAccessListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getProxyAccessListResponse:
- if (p->size < 0)
- delete (_ngwm__getProxyAccessListResponse*)p->ptr;
- else
- delete[] (_ngwm__getProxyAccessListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getProxyListRequest:
- if (p->size < 0)
- delete (_ngwm__getProxyListRequest*)p->ptr;
- else
- delete[] (_ngwm__getProxyListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getProxyListResponse:
- if (p->size < 0)
- delete (_ngwm__getProxyListResponse*)p->ptr;
- else
- delete[] (_ngwm__getProxyListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getRuleListRequest:
- if (p->size < 0)
- delete (_ngwm__getRuleListRequest*)p->ptr;
- else
- delete[] (_ngwm__getRuleListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getRuleListResponse:
- if (p->size < 0)
- delete (_ngwm__getRuleListResponse*)p->ptr;
- else
- delete[] (_ngwm__getRuleListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getSettingsRequest:
- if (p->size < 0)
- delete (_ngwm__getSettingsRequest*)p->ptr;
- else
- delete[] (_ngwm__getSettingsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getSettingsResponse:
- if (p->size < 0)
- delete (_ngwm__getSettingsResponse*)p->ptr;
- else
- delete[] (_ngwm__getSettingsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getSignaturesRequest:
- if (p->size < 0)
- delete (_ngwm__getSignaturesRequest*)p->ptr;
- else
- delete[] (_ngwm__getSignaturesRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getSignaturesResponse:
- if (p->size < 0)
- delete (_ngwm__getSignaturesResponse*)p->ptr;
- else
- delete[] (_ngwm__getSignaturesResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getTimestampRequest:
- if (p->size < 0)
- delete (_ngwm__getTimestampRequest*)p->ptr;
- else
- delete[] (_ngwm__getTimestampRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getTimestampResponse:
- if (p->size < 0)
- delete (_ngwm__getTimestampResponse*)p->ptr;
- else
- delete[] (_ngwm__getTimestampResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getTimezoneListRequest:
- if (p->size < 0)
- delete (_ngwm__getTimezoneListRequest*)p->ptr;
- else
- delete[] (_ngwm__getTimezoneListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getTimezoneListResponse:
- if (p->size < 0)
- delete (_ngwm__getTimezoneListResponse*)p->ptr;
- else
- delete[] (_ngwm__getTimezoneListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getUserListRequest:
- if (p->size < 0)
- delete (_ngwm__getUserListRequest*)p->ptr;
- else
- delete[] (_ngwm__getUserListRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__getUserListResponse:
- if (p->size < 0)
- delete (_ngwm__getUserListResponse*)p->ptr;
- else
- delete[] (_ngwm__getUserListResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__loginRequest:
- if (p->size < 0)
- delete (_ngwm__loginRequest*)p->ptr;
- else
- delete[] (_ngwm__loginRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__loginResponse:
- if (p->size < 0)
- delete (_ngwm__loginResponse*)p->ptr;
- else
- delete[] (_ngwm__loginResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__logoutRequest:
- if (p->size < 0)
- delete (_ngwm__logoutRequest*)p->ptr;
- else
- delete[] (_ngwm__logoutRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__logoutResponse:
- if (p->size < 0)
- delete (_ngwm__logoutResponse*)p->ptr;
- else
- delete[] (_ngwm__logoutResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markPrivateRequest:
- if (p->size < 0)
- delete (_ngwm__markPrivateRequest*)p->ptr;
- else
- delete[] (_ngwm__markPrivateRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markPrivateResponse:
- if (p->size < 0)
- delete (_ngwm__markPrivateResponse*)p->ptr;
- else
- delete[] (_ngwm__markPrivateResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markReadRequest:
- if (p->size < 0)
- delete (_ngwm__markReadRequest*)p->ptr;
- else
- delete[] (_ngwm__markReadRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markReadResponse:
- if (p->size < 0)
- delete (_ngwm__markReadResponse*)p->ptr;
- else
- delete[] (_ngwm__markReadResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markUnPrivateRequest:
- if (p->size < 0)
- delete (_ngwm__markUnPrivateRequest*)p->ptr;
- else
- delete[] (_ngwm__markUnPrivateRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markUnPrivateResponse:
- if (p->size < 0)
- delete (_ngwm__markUnPrivateResponse*)p->ptr;
- else
- delete[] (_ngwm__markUnPrivateResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markUnReadRequest:
- if (p->size < 0)
- delete (_ngwm__markUnReadRequest*)p->ptr;
- else
- delete[] (_ngwm__markUnReadRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__markUnReadResponse:
- if (p->size < 0)
- delete (_ngwm__markUnReadResponse*)p->ptr;
- else
- delete[] (_ngwm__markUnReadResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyItemRequest:
- if (p->size < 0)
- delete (_ngwm__modifyItemRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyItemResponse:
- if (p->size < 0)
- delete (_ngwm__modifyItemResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyItemsRequest:
- if (p->size < 0)
- delete (_ngwm__modifyItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyItemsResponse:
- if (p->size < 0)
- delete (_ngwm__modifyItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyJunkEntryRequest:
- if (p->size < 0)
- delete (_ngwm__modifyJunkEntryRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyJunkEntryRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyJunkEntryResponse:
- if (p->size < 0)
- delete (_ngwm__modifyJunkEntryResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyJunkEntryResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest:
- if (p->size < 0)
- delete (_ngwm__modifyJunkMailSettingsRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyJunkMailSettingsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse:
- if (p->size < 0)
- delete (_ngwm__modifyJunkMailSettingsResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyJunkMailSettingsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyPasswordRequest:
- if (p->size < 0)
- delete (_ngwm__modifyPasswordRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyPasswordRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyPasswordResponse:
- if (p->size < 0)
- delete (_ngwm__modifyPasswordResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyPasswordResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyProxyAccessRequest:
- if (p->size < 0)
- delete (_ngwm__modifyProxyAccessRequest*)p->ptr;
- else
- delete[] (_ngwm__modifyProxyAccessRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifyProxyAccessResponse:
- if (p->size < 0)
- delete (_ngwm__modifyProxyAccessResponse*)p->ptr;
- else
- delete[] (_ngwm__modifyProxyAccessResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifySettingsRequest:
- if (p->size < 0)
- delete (_ngwm__modifySettingsRequest*)p->ptr;
- else
- delete[] (_ngwm__modifySettingsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifySettingsResponse:
- if (p->size < 0)
- delete (_ngwm__modifySettingsResponse*)p->ptr;
- else
- delete[] (_ngwm__modifySettingsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifySignaturesRequest:
- if (p->size < 0)
- delete (_ngwm__modifySignaturesRequest*)p->ptr;
- else
- delete[] (_ngwm__modifySignaturesRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__modifySignaturesResponse:
- if (p->size < 0)
- delete (_ngwm__modifySignaturesResponse*)p->ptr;
- else
- delete[] (_ngwm__modifySignaturesResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__moveItemRequest:
- if (p->size < 0)
- delete (_ngwm__moveItemRequest*)p->ptr;
- else
- delete[] (_ngwm__moveItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__moveItemResponse:
- if (p->size < 0)
- delete (_ngwm__moveItemResponse*)p->ptr;
- else
- delete[] (_ngwm__moveItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__positionCursorRequest:
- if (p->size < 0)
- delete (_ngwm__positionCursorRequest*)p->ptr;
- else
- delete[] (_ngwm__positionCursorRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__positionCursorResponse:
- if (p->size < 0)
- delete (_ngwm__positionCursorResponse*)p->ptr;
- else
- delete[] (_ngwm__positionCursorResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__purgeDeletedItemsRequest:
- if (p->size < 0)
- delete (_ngwm__purgeDeletedItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__purgeDeletedItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__purgeDeletedItemsResponse:
- if (p->size < 0)
- delete (_ngwm__purgeDeletedItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__purgeDeletedItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__purgeRequest:
- if (p->size < 0)
- delete (_ngwm__purgeRequest*)p->ptr;
- else
- delete[] (_ngwm__purgeRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__purgeResponse:
- if (p->size < 0)
- delete (_ngwm__purgeResponse*)p->ptr;
- else
- delete[] (_ngwm__purgeResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__readCursorRequest:
- if (p->size < 0)
- delete (_ngwm__readCursorRequest*)p->ptr;
- else
- delete[] (_ngwm__readCursorRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__readCursorResponse:
- if (p->size < 0)
- delete (_ngwm__readCursorResponse*)p->ptr;
- else
- delete[] (_ngwm__readCursorResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeCustomDefinitionRequest:
- if (p->size < 0)
- delete (_ngwm__removeCustomDefinitionRequest*)p->ptr;
- else
- delete[] (_ngwm__removeCustomDefinitionRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeCustomDefinitionResponse:
- if (p->size < 0)
- delete (_ngwm__removeCustomDefinitionResponse*)p->ptr;
- else
- delete[] (_ngwm__removeCustomDefinitionResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeItemRequest:
- if (p->size < 0)
- delete (_ngwm__removeItemRequest*)p->ptr;
- else
- delete[] (_ngwm__removeItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeItemResponse:
- if (p->size < 0)
- delete (_ngwm__removeItemResponse*)p->ptr;
- else
- delete[] (_ngwm__removeItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeItemsRequest:
- if (p->size < 0)
- delete (_ngwm__removeItemsRequest*)p->ptr;
- else
- delete[] (_ngwm__removeItemsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeItemsResponse:
- if (p->size < 0)
- delete (_ngwm__removeItemsResponse*)p->ptr;
- else
- delete[] (_ngwm__removeItemsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeJunkEntryRequest:
- if (p->size < 0)
- delete (_ngwm__removeJunkEntryRequest*)p->ptr;
- else
- delete[] (_ngwm__removeJunkEntryRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeJunkEntryResponse:
- if (p->size < 0)
- delete (_ngwm__removeJunkEntryResponse*)p->ptr;
- else
- delete[] (_ngwm__removeJunkEntryResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeMembersRequest:
- if (p->size < 0)
- delete (_ngwm__removeMembersRequest*)p->ptr;
- else
- delete[] (_ngwm__removeMembersRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeMembersResponse:
- if (p->size < 0)
- delete (_ngwm__removeMembersResponse*)p->ptr;
- else
- delete[] (_ngwm__removeMembersResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeProxyAccessRequest:
- if (p->size < 0)
- delete (_ngwm__removeProxyAccessRequest*)p->ptr;
- else
- delete[] (_ngwm__removeProxyAccessRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeProxyAccessResponse:
- if (p->size < 0)
- delete (_ngwm__removeProxyAccessResponse*)p->ptr;
- else
- delete[] (_ngwm__removeProxyAccessResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeProxyUserRequest:
- if (p->size < 0)
- delete (_ngwm__removeProxyUserRequest*)p->ptr;
- else
- delete[] (_ngwm__removeProxyUserRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeProxyUserResponse:
- if (p->size < 0)
- delete (_ngwm__removeProxyUserResponse*)p->ptr;
- else
- delete[] (_ngwm__removeProxyUserResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeSignatureRequest:
- if (p->size < 0)
- delete (_ngwm__removeSignatureRequest*)p->ptr;
- else
- delete[] (_ngwm__removeSignatureRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__removeSignatureResponse:
- if (p->size < 0)
- delete (_ngwm__removeSignatureResponse*)p->ptr;
- else
- delete[] (_ngwm__removeSignatureResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__replyRequest:
- if (p->size < 0)
- delete (_ngwm__replyRequest*)p->ptr;
- else
- delete[] (_ngwm__replyRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__replyResponse:
- if (p->size < 0)
- delete (_ngwm__replyResponse*)p->ptr;
- else
- delete[] (_ngwm__replyResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__retractRequest:
- if (p->size < 0)
- delete (_ngwm__retractRequest*)p->ptr;
- else
- delete[] (_ngwm__retractRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__retractResponse:
- if (p->size < 0)
- delete (_ngwm__retractResponse*)p->ptr;
- else
- delete[] (_ngwm__retractResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__sendItemRequest:
- if (p->size < 0)
- delete (_ngwm__sendItemRequest*)p->ptr;
- else
- delete[] (_ngwm__sendItemRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__sendItemResponse:
- if (p->size < 0)
- delete (_ngwm__sendItemResponse*)p->ptr;
- else
- delete[] (_ngwm__sendItemResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__setTimestampRequest:
- if (p->size < 0)
- delete (_ngwm__setTimestampRequest*)p->ptr;
- else
- delete[] (_ngwm__setTimestampRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__setTimestampResponse:
- if (p->size < 0)
- delete (_ngwm__setTimestampResponse*)p->ptr;
- else
- delete[] (_ngwm__setTimestampResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__startFreeBusySessionRequest:
- if (p->size < 0)
- delete (_ngwm__startFreeBusySessionRequest*)p->ptr;
- else
- delete[] (_ngwm__startFreeBusySessionRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__startFreeBusySessionResponse:
- if (p->size < 0)
- delete (_ngwm__startFreeBusySessionResponse*)p->ptr;
- else
- delete[] (_ngwm__startFreeBusySessionResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__unacceptRequest:
- if (p->size < 0)
- delete (_ngwm__unacceptRequest*)p->ptr;
- else
- delete[] (_ngwm__unacceptRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__unacceptResponse:
- if (p->size < 0)
- delete (_ngwm__unacceptResponse*)p->ptr;
- else
- delete[] (_ngwm__unacceptResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__uncompleteRequest:
- if (p->size < 0)
- delete (_ngwm__uncompleteRequest*)p->ptr;
- else
- delete[] (_ngwm__uncompleteRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__uncompleteResponse:
- if (p->size < 0)
- delete (_ngwm__uncompleteResponse*)p->ptr;
- else
- delete[] (_ngwm__uncompleteResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__updateVersionStatusRequest:
- if (p->size < 0)
- delete (_ngwm__updateVersionStatusRequest*)p->ptr;
- else
- delete[] (_ngwm__updateVersionStatusRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwm__updateVersionStatusResponse:
- if (p->size < 0)
- delete (_ngwm__updateVersionStatusResponse*)p->ptr;
- else
- delete[] (_ngwm__updateVersionStatusResponse*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__ContainerList:
- if (p->size < 0)
- delete (ngwe__ContainerList*)p->ptr;
- else
- delete[] (ngwe__ContainerList*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__Event:
- if (p->size < 0)
- delete (ngwe__Event*)p->ptr;
- else
- delete[] (ngwe__Event*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__EventDefinition:
- if (p->size < 0)
- delete (ngwe__EventDefinition*)p->ptr;
- else
- delete[] (ngwe__EventDefinition*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__EventList:
- if (p->size < 0)
- delete (ngwe__EventList*)p->ptr;
- else
- delete[] (ngwe__EventList*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__Events:
- if (p->size < 0)
- delete (ngwe__Events*)p->ptr;
- else
- delete[] (ngwe__Events*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__EventsList:
- if (p->size < 0)
- delete (ngwe__EventsList*)p->ptr;
- else
- delete[] (ngwe__EventsList*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__EventTypeList:
- if (p->size < 0)
- delete (ngwe__EventTypeList*)p->ptr;
- else
- delete[] (ngwe__EventTypeList*)p->ptr;
- break;
- case SOAP_TYPE_ngwe__Notify:
- if (p->size < 0)
- delete (ngwe__Notify*)p->ptr;
- else
- delete[] (ngwe__Notify*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__cleanEventConfigurationRequest:
- if (p->size < 0)
- delete (_ngwe__cleanEventConfigurationRequest*)p->ptr;
- else
- delete[] (_ngwe__cleanEventConfigurationRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__cleanEventConfigurationResponse:
- if (p->size < 0)
- delete (_ngwe__cleanEventConfigurationResponse*)p->ptr;
- else
- delete[] (_ngwe__cleanEventConfigurationResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__configureEventsRequest:
- if (p->size < 0)
- delete (_ngwe__configureEventsRequest*)p->ptr;
- else
- delete[] (_ngwe__configureEventsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__configureEventsResponse:
- if (p->size < 0)
- delete (_ngwe__configureEventsResponse*)p->ptr;
- else
- delete[] (_ngwe__configureEventsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__getEventConfigurationRequest:
- if (p->size < 0)
- delete (_ngwe__getEventConfigurationRequest*)p->ptr;
- else
- delete[] (_ngwe__getEventConfigurationRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__getEventConfigurationResponse:
- if (p->size < 0)
- delete (_ngwe__getEventConfigurationResponse*)p->ptr;
- else
- delete[] (_ngwe__getEventConfigurationResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__getEventsRequest:
- if (p->size < 0)
- delete (_ngwe__getEventsRequest*)p->ptr;
- else
- delete[] (_ngwe__getEventsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__getEventsResponse:
- if (p->size < 0)
- delete (_ngwe__getEventsResponse*)p->ptr;
- else
- delete[] (_ngwe__getEventsResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__removeEventConfigurationRequest:
- if (p->size < 0)
- delete (_ngwe__removeEventConfigurationRequest*)p->ptr;
- else
- delete[] (_ngwe__removeEventConfigurationRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__removeEventConfigurationResponse:
- if (p->size < 0)
- delete (_ngwe__removeEventConfigurationResponse*)p->ptr;
- else
- delete[] (_ngwe__removeEventConfigurationResponse*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__removeEventsRequest:
- if (p->size < 0)
- delete (_ngwe__removeEventsRequest*)p->ptr;
- else
- delete[] (_ngwe__removeEventsRequest*)p->ptr;
- break;
- case SOAP_TYPE__ngwe__removeEventsResponse:
- if (p->size < 0)
- delete (_ngwe__removeEventsResponse*)p->ptr;
- else
- delete[] (_ngwe__removeEventsResponse*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessControlListEntry:
- if (p->size < 0)
- delete (ngwt__AccessControlListEntry*)p->ptr;
- else
- delete[] (ngwt__AccessControlListEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AccessRightEntry:
- if (p->size < 0)
- delete (ngwt__AccessRightEntry*)p->ptr;
- else
- delete[] (ngwt__AccessRightEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AddressBook:
- if (p->size < 0)
- delete (ngwt__AddressBook*)p->ptr;
- else
- delete[] (ngwt__AddressBook*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Alarm:
- if (p->size < 0)
- delete (ngwt__Alarm*)p->ptr;
- else
- delete[] (ngwt__Alarm*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Category:
- if (p->size < 0)
- delete (ngwt__Category*)p->ptr;
- else
- delete[] (ngwt__Category*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CommentStatus:
- if (p->size < 0)
- delete (ngwt__CommentStatus*)p->ptr;
- else
- delete[] (ngwt__CommentStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ContainerItem:
- if (p->size < 0)
- delete (ngwt__ContainerItem*)p->ptr;
- else
- delete[] (ngwt__ContainerItem*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ContainerRef:
- if (p->size < 0)
- delete (ngwt__ContainerRef*)p->ptr;
- else
- delete[] (ngwt__ContainerRef*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DelegatedStatus:
- if (p->size < 0)
- delete (ngwt__DelegatedStatus*)p->ptr;
- else
- delete[] (ngwt__DelegatedStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DelegateeStatus:
- if (p->size < 0)
- delete (ngwt__DelegateeStatus*)p->ptr;
- else
- delete[] (ngwt__DelegateeStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FilterEntry:
- if (p->size < 0)
- delete (ngwt__FilterEntry*)p->ptr;
- else
- delete[] (ngwt__FilterEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FilterGroup:
- if (p->size < 0)
- delete (ngwt__FilterGroup*)p->ptr;
- else
- delete[] (ngwt__FilterGroup*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Folder:
- if (p->size < 0)
- delete (ngwt__Folder*)p->ptr;
- else
- delete[] (ngwt__Folder*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FreeBusyInfo:
- if (p->size < 0)
- delete (ngwt__FreeBusyInfo*)p->ptr;
- else
- delete[] (ngwt__FreeBusyInfo*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__From:
- if (p->size < 0)
- delete (ngwt__From*)p->ptr;
- else
- delete[] (ngwt__From*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ItemRef:
- if (p->size < 0)
- delete (ngwt__ItemRef*)p->ptr;
- else
- delete[] (ngwt__ItemRef*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Library:
- if (p->size < 0)
- delete (ngwt__Library*)p->ptr;
- else
- delete[] (ngwt__Library*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__MessagePart:
- if (p->size < 0)
- delete (ngwt__MessagePart*)p->ptr;
- else
- delete[] (ngwt__MessagePart*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PhoneNumber:
- if (p->size < 0)
- delete (ngwt__PhoneNumber*)p->ptr;
- else
- delete[] (ngwt__PhoneNumber*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PlainText:
- if (p->size < 0)
- delete (ngwt__PlainText*)p->ptr;
- else
- delete[] (ngwt__PlainText*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Proxy:
- if (p->size < 0)
- delete (ngwt__Proxy*)p->ptr;
- else
- delete[] (ngwt__Proxy*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ProxyUser:
- if (p->size < 0)
- delete (ngwt__ProxyUser*)p->ptr;
- else
- delete[] (ngwt__ProxyUser*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Recipient:
- if (p->size < 0)
- delete (ngwt__Recipient*)p->ptr;
- else
- delete[] (ngwt__Recipient*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__TransferFailedStatus:
- if (p->size < 0)
- delete (ngwt__TransferFailedStatus*)p->ptr;
- else
- delete[] (ngwt__TransferFailedStatus*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__TrustedApplication:
- if (p->size < 0)
- delete (ngwt__TrustedApplication*)p->ptr;
- else
- delete[] (ngwt__TrustedApplication*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AddressBookItem:
- if (p->size < 0)
- delete (ngwt__AddressBookItem*)p->ptr;
- else
- delete[] (ngwt__AddressBookItem*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__AttachmentID:
- if (p->size < 0)
- delete (ngwt__AttachmentID*)p->ptr;
- else
- delete[] (ngwt__AttachmentID*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__BoxEntry:
- if (p->size < 0)
- delete (ngwt__BoxEntry*)p->ptr;
- else
- delete[] (ngwt__BoxEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DayOfWeek:
- if (p->size < 0)
- delete (ngwt__DayOfWeek*)p->ptr;
- else
- delete[] (ngwt__DayOfWeek*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DayOfYearWeek:
- if (p->size < 0)
- delete (ngwt__DayOfYearWeek*)p->ptr;
- else
- delete[] (ngwt__DayOfYearWeek*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Document:
- if (p->size < 0)
- delete (ngwt__Document*)p->ptr;
- else
- delete[] (ngwt__Document*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__FolderACLEntry:
- if (p->size < 0)
- delete (ngwt__FolderACLEntry*)p->ptr;
- else
- delete[] (ngwt__FolderACLEntry*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__QueryFolder:
- if (p->size < 0)
- delete (ngwt__QueryFolder*)p->ptr;
- else
- delete[] (ngwt__QueryFolder*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Rule:
- if (p->size < 0)
- delete (ngwt__Rule*)p->ptr;
- else
- delete[] (ngwt__Rule*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SharedFolder:
- if (p->size < 0)
- delete (ngwt__SharedFolder*)p->ptr;
- else
- delete[] (ngwt__SharedFolder*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__StatusTracking:
- if (p->size < 0)
- delete (ngwt__StatusTracking*)p->ptr;
- else
- delete[] (ngwt__StatusTracking*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SystemFolder:
- if (p->size < 0)
- delete (ngwt__SystemFolder*)p->ptr;
- else
- delete[] (ngwt__SystemFolder*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Version:
- if (p->size < 0)
- delete (ngwt__Version*)p->ptr;
- else
- delete[] (ngwt__Version*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__VersionEvent:
- if (p->size < 0)
- delete (ngwt__VersionEvent*)p->ptr;
- else
- delete[] (ngwt__VersionEvent*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Contact:
- if (p->size < 0)
- delete (ngwt__Contact*)p->ptr;
- else
- delete[] (ngwt__Contact*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__ContactFolder:
- if (p->size < 0)
- delete (ngwt__ContactFolder*)p->ptr;
- else
- delete[] (ngwt__ContactFolder*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Group:
- if (p->size < 0)
- delete (ngwt__Group*)p->ptr;
- else
- delete[] (ngwt__Group*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Mail:
- if (p->size < 0)
- delete (ngwt__Mail*)p->ptr;
- else
- delete[] (ngwt__Mail*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Organization:
- if (p->size < 0)
- delete (ngwt__Organization*)p->ptr;
- else
- delete[] (ngwt__Organization*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Resource:
- if (p->size < 0)
- delete (ngwt__Resource*)p->ptr;
- else
- delete[] (ngwt__Resource*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__CalendarItem:
- if (p->size < 0)
- delete (ngwt__CalendarItem*)p->ptr;
- else
- delete[] (ngwt__CalendarItem*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__DocumentRef:
- if (p->size < 0)
- delete (ngwt__DocumentRef*)p->ptr;
- else
- delete[] (ngwt__DocumentRef*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__PhoneMessage:
- if (p->size < 0)
- delete (ngwt__PhoneMessage*)p->ptr;
- else
- delete[] (ngwt__PhoneMessage*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__SharedNotification:
- if (p->size < 0)
- delete (ngwt__SharedNotification*)p->ptr;
- else
- delete[] (ngwt__SharedNotification*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Appointment:
- if (p->size < 0)
- delete (ngwt__Appointment*)p->ptr;
- else
- delete[] (ngwt__Appointment*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Note:
- if (p->size < 0)
- delete (ngwt__Note*)p->ptr;
- else
- delete[] (ngwt__Note*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__Task:
- if (p->size < 0)
- delete (ngwt__Task*)p->ptr;
- else
- delete[] (ngwt__Task*)p->ptr;
- break;
- case SOAP_TYPE_SOAP_ENV__Header:
- if (p->size < 0)
- delete (struct SOAP_ENV__Header*)p->ptr;
- else
- delete[] (struct SOAP_ENV__Header*)p->ptr;
- break;
- case SOAP_TYPE_xsd__date:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_xsd__decimal:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_xsd__duration:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_xsd__language:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__View:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__uid:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_ngwt__UUID:
- if (p->size < 0)
- delete (std::string*)p->ptr;
- else
- delete[] (std::string*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement:
- if (p->size < 0)
- delete (std::vector<ngwt__FilterElement * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__FilterElement * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef:
- if (p->size < 0)
- delete (std::vector<ngwt__ContainerRef * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__ContainerRef * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwe__EventType:
- if (p->size < 0)
- delete (std::vector<enum ngwe__EventType >*)p->ptr;
- else
- delete[] (std::vector<enum ngwe__EventType >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events:
- if (p->size < 0)
- delete (std::vector<ngwe__Events * >*)p->ptr;
- else
- delete[] (std::vector<ngwe__Events * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event:
- if (p->size < 0)
- delete (std::vector<ngwe__Event * >*)p->ptr;
- else
- delete[] (std::vector<ngwe__Event * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfstring:
- if (p->size < 0)
- delete (std::vector<char * >*)p->ptr;
- else
- delete[] (std::vector<char * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem:
- if (p->size < 0)
- delete (std::vector<ngwt__ModifyItem * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__ModifyItem * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host:
- if (p->size < 0)
- delete (std::vector<ngwt__Host * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Host * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo:
- if (p->size < 0)
- delete (std::vector<ngwt__UserInfo * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__UserInfo * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone:
- if (p->size < 0)
- delete (std::vector<ngwt__Timezone * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Timezone * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature:
- if (p->size < 0)
- delete (std::vector<ngwt__Signature * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Signature * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup:
- if (p->size < 0)
- delete (std::vector<ngwt__SettingsGroup * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__SettingsGroup * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule:
- if (p->size < 0)
- delete (std::vector<ngwt__Rule * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Rule * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction:
- if (p->size < 0)
- delete (std::vector<ngwt__RuleAction * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__RuleAction * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfxsd__date:
- if (p->size < 0)
- delete (std::vector<std::string >*)p->ptr;
- else
- delete[] (std::vector<std::string >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus:
- if (p->size < 0)
- delete (std::vector<ngwt__DelegateeStatus * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__DelegateeStatus * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient:
- if (p->size < 0)
- delete (std::vector<ngwt__Recipient * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Recipient * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser:
- if (p->size < 0)
- delete (std::vector<ngwt__ProxyUser * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__ProxyUser * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry:
- if (p->size < 0)
- delete (std::vector<ngwt__ProblemEntry * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__ProblemEntry * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress:
- if (p->size < 0)
- delete (std::vector<ngwt__PostalAddress * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__PostalAddress * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber:
- if (p->size < 0)
- delete (std::vector<ngwt__PhoneNumber * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__PhoneNumber * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__Month:
- if (p->size < 0)
- delete (std::vector<unsigned char >*)p->ptr;
- else
- delete[] (std::vector<unsigned char >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart:
- if (p->size < 0)
- delete (std::vector<ngwt__MessagePart * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__MessagePart * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library:
- if (p->size < 0)
- delete (std::vector<ngwt__Library * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Library * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry:
- if (p->size < 0)
- delete (std::vector<ngwt__JunkEntry * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__JunkEntry * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item:
- if (p->size < 0)
- delete (std::vector<ngwt__Item * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Item * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress:
- if (p->size < 0)
- delete (std::vector<ngwt__ImAddress * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__ImAddress * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember:
- if (p->size < 0)
- delete (std::vector<ngwt__GroupMember * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__GroupMember * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo:
- if (p->size < 0)
- delete (std::vector<ngwt__FreeBusyInfo * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__FreeBusyInfo * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail:
- if (p->size < 0)
- delete (std::vector<ngwt__NameAndEmail * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__NameAndEmail * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock:
- if (p->size < 0)
- delete (std::vector<ngwt__FreeBusyBlock * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__FreeBusyBlock * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder:
- if (p->size < 0)
- delete (std::vector<ngwt__Folder * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Folder * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry:
- if (p->size < 0)
- delete (std::vector<ngwt__FolderACLEntry * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__FolderACLEntry * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfstd__string:
- if (p->size < 0)
- delete (std::vector<std::string >*)p->ptr;
- else
- delete[] (std::vector<std::string >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType:
- if (p->size < 0)
- delete (std::vector<ngwt__DocumentType * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__DocumentType * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek:
- if (p->size < 0)
- delete (std::vector<ngwt__DayOfYearWeek * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__DayOfYearWeek * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear:
- if (p->size < 0)
- delete (std::vector<short >*)p->ptr;
- else
- delete[] (std::vector<short >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth:
- if (p->size < 0)
- delete (std::vector<char >*)p->ptr;
- else
- delete[] (std::vector<char >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom:
- if (p->size < 0)
- delete (std::vector<ngwt__Custom * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Custom * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__uid:
- if (p->size < 0)
- delete (std::vector<std::string >*)p->ptr;
- else
- delete[] (std::vector<std::string >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category:
- if (p->size < 0)
- delete (std::vector<ngwt__Category * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__Category * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags:
- if (p->size < 0)
- delete (std::vector<enum ngwt__CalendarFolderFlags >*)p->ptr;
- else
- delete[] (std::vector<enum ngwt__CalendarFolderFlags >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo:
- if (p->size < 0)
- delete (std::vector<ngwt__AttachmentItemInfo * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__AttachmentItemInfo * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook:
- if (p->size < 0)
- delete (std::vector<ngwt__AddressBook * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__AddressBook * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry:
- if (p->size < 0)
- delete (std::vector<ngwt__AccessRightEntry * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__AccessRightEntry * >*)p->ptr;
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry:
- if (p->size < 0)
- delete (std::vector<ngwt__AccessControlListEntry * >*)p->ptr;
- else
- delete[] (std::vector<ngwt__AccessControlListEntry * >*)p->ptr;
- break;
- }
-}
-
-SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, const char *type, const char *arrayType)
-{ return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, soap_instantiate);
-}
-
-SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap *soap, const char *href, void *p, int st, int tt, size_t n, unsigned int k)
-{ return soap_id_forward(soap, href, p, st, tt, n, k, soap_container_insert);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{ switch (tt)
- {
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__FilterElement * >*)p)->insert(((std::vector<ngwt__FilterElement * >*)p)->end(), *(ngwt__FilterElement **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__ContainerRef * >*)p)->insert(((std::vector<ngwt__ContainerRef * >*)p)->end(), *(ngwt__ContainerRef **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwe__EventType:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<enum ngwe__EventType >*)p)->insert(((std::vector<enum ngwe__EventType >*)p)->end(), *(enum ngwe__EventType *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwe__Events * >*)p)->insert(((std::vector<ngwe__Events * >*)p)->end(), *(ngwe__Events **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwe__Event * >*)p)->insert(((std::vector<ngwe__Event * >*)p)->end(), *(ngwe__Event **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfstring:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<char * >*)p)->insert(((std::vector<char * >*)p)->end(), *(char **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__ModifyItem * >*)p)->insert(((std::vector<ngwt__ModifyItem * >*)p)->end(), *(ngwt__ModifyItem **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Host * >*)p)->insert(((std::vector<ngwt__Host * >*)p)->end(), *(ngwt__Host **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__UserInfo * >*)p)->insert(((std::vector<ngwt__UserInfo * >*)p)->end(), *(ngwt__UserInfo **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Timezone * >*)p)->insert(((std::vector<ngwt__Timezone * >*)p)->end(), *(ngwt__Timezone **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Signature * >*)p)->insert(((std::vector<ngwt__Signature * >*)p)->end(), *(ngwt__Signature **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__SettingsGroup * >*)p)->insert(((std::vector<ngwt__SettingsGroup * >*)p)->end(), *(ngwt__SettingsGroup **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Rule * >*)p)->insert(((std::vector<ngwt__Rule * >*)p)->end(), *(ngwt__Rule **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__RuleAction * >*)p)->insert(((std::vector<ngwt__RuleAction * >*)p)->end(), *(ngwt__RuleAction **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfxsd__date:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<std::string >*)p)->insert(((std::vector<std::string >*)p)->end(), *(std::string *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__DelegateeStatus * >*)p)->insert(((std::vector<ngwt__DelegateeStatus * >*)p)->end(), *(ngwt__DelegateeStatus **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Recipient * >*)p)->insert(((std::vector<ngwt__Recipient * >*)p)->end(), *(ngwt__Recipient **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__ProxyUser * >*)p)->insert(((std::vector<ngwt__ProxyUser * >*)p)->end(), *(ngwt__ProxyUser **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__ProblemEntry * >*)p)->insert(((std::vector<ngwt__ProblemEntry * >*)p)->end(), *(ngwt__ProblemEntry **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__PostalAddress * >*)p)->insert(((std::vector<ngwt__PostalAddress * >*)p)->end(), *(ngwt__PostalAddress **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__PhoneNumber * >*)p)->insert(((std::vector<ngwt__PhoneNumber * >*)p)->end(), *(ngwt__PhoneNumber **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__Month:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<unsigned char >*)p)->insert(((std::vector<unsigned char >*)p)->end(), *(unsigned char *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__MessagePart * >*)p)->insert(((std::vector<ngwt__MessagePart * >*)p)->end(), *(ngwt__MessagePart **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Library * >*)p)->insert(((std::vector<ngwt__Library * >*)p)->end(), *(ngwt__Library **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__JunkEntry * >*)p)->insert(((std::vector<ngwt__JunkEntry * >*)p)->end(), *(ngwt__JunkEntry **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Item * >*)p)->insert(((std::vector<ngwt__Item * >*)p)->end(), *(ngwt__Item **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__ImAddress * >*)p)->insert(((std::vector<ngwt__ImAddress * >*)p)->end(), *(ngwt__ImAddress **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__GroupMember * >*)p)->insert(((std::vector<ngwt__GroupMember * >*)p)->end(), *(ngwt__GroupMember **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__FreeBusyInfo * >*)p)->insert(((std::vector<ngwt__FreeBusyInfo * >*)p)->end(), *(ngwt__FreeBusyInfo **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__NameAndEmail * >*)p)->insert(((std::vector<ngwt__NameAndEmail * >*)p)->end(), *(ngwt__NameAndEmail **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__FreeBusyBlock * >*)p)->insert(((std::vector<ngwt__FreeBusyBlock * >*)p)->end(), *(ngwt__FreeBusyBlock **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Folder * >*)p)->insert(((std::vector<ngwt__Folder * >*)p)->end(), *(ngwt__Folder **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__FolderACLEntry * >*)p)->insert(((std::vector<ngwt__FolderACLEntry * >*)p)->end(), *(ngwt__FolderACLEntry **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfstd__string:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<std::string >*)p)->insert(((std::vector<std::string >*)p)->end(), *(std::string *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__DocumentType * >*)p)->insert(((std::vector<ngwt__DocumentType * >*)p)->end(), *(ngwt__DocumentType **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__DayOfYearWeek * >*)p)->insert(((std::vector<ngwt__DayOfYearWeek * >*)p)->end(), *(ngwt__DayOfYearWeek **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<short >*)p)->insert(((std::vector<short >*)p)->end(), *(short *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<char >*)p)->insert(((std::vector<char >*)p)->end(), *(char *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Custom * >*)p)->insert(((std::vector<ngwt__Custom * >*)p)->end(), *(ngwt__Custom **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__uid:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<std::string >*)p)->insert(((std::vector<std::string >*)p)->end(), *(std::string *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__Category * >*)p)->insert(((std::vector<ngwt__Category * >*)p)->end(), *(ngwt__Category **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<enum ngwt__CalendarFolderFlags >*)p)->insert(((std::vector<enum ngwt__CalendarFolderFlags >*)p)->end(), *(enum ngwt__CalendarFolderFlags *)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__AttachmentItemInfo * >*)p)->insert(((std::vector<ngwt__AttachmentItemInfo * >*)p)->end(), *(ngwt__AttachmentItemInfo **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__AddressBook * >*)p)->insert(((std::vector<ngwt__AddressBook * >*)p)->end(), *(ngwt__AddressBook **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__AccessRightEntry * >*)p)->insert(((std::vector<ngwt__AccessRightEntry * >*)p)->end(), *(ngwt__AccessRightEntry **)q);
- break;
- case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q));
- ((std::vector<ngwt__AccessControlListEntry * >*)p)->insert(((std::vector<ngwt__AccessControlListEntry * >*)p)->end(), *(ngwt__AccessControlListEntry **)q);
- break;
- default:
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not insert type=%d in %d\n", st, tt));
- }
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfMonth(struct soap *soap, char *a)
-{ soap_default_byte(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfMonth(struct soap *soap, const char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfMonth);
- if (soap_out_ngwt__DayOfMonth(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonth(struct soap *soap, const char *tag, int id, const char *a, const char *type)
-{
- return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_ngwt__DayOfMonth);
-}
-
-SOAP_FMAC3 char * SOAP_FMAC4 soap_get_ngwt__DayOfMonth(struct soap *soap, char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfMonth(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 char * SOAP_FMAC4 soap_in_ngwt__DayOfMonth(struct soap *soap, const char *tag, char *a, const char *type)
-{
- return soap_inbyte(soap, tag, a, type, SOAP_TYPE_ngwt__DayOfMonth);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_byte
- *a = SOAP_DEFAULT_byte;
-#else
- *a = (char)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_byte);
- if (soap_out_byte(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type)
-{
- return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_byte);
-}
-
-SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_byte(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, char *a, const char *type)
-{
- return soap_inbyte(soap, tag, a, type, SOAP_TYPE_byte);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekOfYear(struct soap *soap, short *a)
-{ soap_default_short(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekOfYear(struct soap *soap, const short *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__WeekOfYear);
- if (soap_out_ngwt__WeekOfYear(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekOfYear(struct soap *soap, const char *tag, int id, const short *a, const char *type)
-{
- return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_ngwt__WeekOfYear);
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__WeekOfYear(struct soap *soap, short *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__WeekOfYear(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__WeekOfYear(struct soap *soap, const char *tag, short *a, const char *type)
-{
- return soap_inshort(soap, tag, a, type, SOAP_TYPE_ngwt__WeekOfYear);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfYear(struct soap *soap, short *a)
-{ soap_default_short(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfYear(struct soap *soap, const short *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYear);
- if (soap_out_ngwt__DayOfYear(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYear(struct soap *soap, const char *tag, int id, const short *a, const char *type)
-{
- return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_ngwt__DayOfYear);
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__DayOfYear(struct soap *soap, short *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfYear(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__DayOfYear(struct soap *soap, const char *tag, short *a, const char *type)
-{
- return soap_inshort(soap, tag, a, type, SOAP_TYPE_ngwt__DayOfYear);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_short(struct soap *soap, short *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_short
- *a = SOAP_DEFAULT_short;
-#else
- *a = (short)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_short(struct soap *soap, const short *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_short);
- if (soap_out_short(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_short(struct soap *soap, const char *tag, int id, const short *a, const char *type)
-{
- return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_short);
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_short(struct soap *soap, short *p, const char *tag, const char *type)
-{
- if ((p = soap_in_short(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_short(struct soap *soap, const char *tag, short *a, const char *type)
-{
- return soap_inshort(soap, tag, a, type, SOAP_TYPE_short);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__GMTOffset(struct soap *soap, int *a)
-{ soap_default_int(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__GMTOffset(struct soap *soap, const int *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__GMTOffset);
- if (soap_out_ngwt__GMTOffset(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GMTOffset(struct soap *soap, const char *tag, int id, const int *a, const char *type)
-{
- return soap_outint(soap, tag, id, a, type, SOAP_TYPE_ngwt__GMTOffset);
-}
-
-SOAP_FMAC3 int * SOAP_FMAC4 soap_get_ngwt__GMTOffset(struct soap *soap, int *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__GMTOffset(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 int * SOAP_FMAC4 soap_in_ngwt__GMTOffset(struct soap *soap, const char *tag, int *a, const char *type)
-{
- return soap_inint(soap, tag, a, type, SOAP_TYPE_ngwt__GMTOffset);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_int
- *a = SOAP_DEFAULT_int;
-#else
- *a = (int)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_int);
- if (soap_out_int(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type)
-{
- return soap_outint(soap, tag, id, a, type, SOAP_TYPE_int);
-}
-
-SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap *soap, int *p, const char *tag, const char *type)
-{
- if ((p = soap_in_int(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int *a, const char *type)
-{
- return soap_inint(soap, tag, a, type, SOAP_TYPE_int);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_long(struct soap *soap, long *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_long
- *a = SOAP_DEFAULT_long;
-#else
- *a = (long)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_long(struct soap *soap, const long *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_long);
- if (soap_out_long(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_long(struct soap *soap, const char *tag, int id, const long *a, const char *type)
-{
- return soap_outlong(soap, tag, id, a, type, SOAP_TYPE_long);
-}
-
-SOAP_FMAC3 long * SOAP_FMAC4 soap_get_long(struct soap *soap, long *p, const char *tag, const char *type)
-{
- if ((p = soap_in_long(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 long * SOAP_FMAC4 soap_in_long(struct soap *soap, const char *tag, long *a, const char *type)
-{
- return soap_inlong(soap, tag, a, type, SOAP_TYPE_long);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Month(struct soap *soap, unsigned char *a)
-{ soap_default_unsignedByte(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Month(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Month);
- if (soap_out_ngwt__Month(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Month(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
-{
- return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Month);
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Month(struct soap *soap, unsigned char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Month(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Month(struct soap *soap, const char *tag, unsigned char *a, const char *type)
-{
- return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Month);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Minute(struct soap *soap, unsigned char *a)
-{ soap_default_unsignedByte(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Minute(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Minute);
- if (soap_out_ngwt__Minute(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Minute(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
-{
- return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Minute);
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Minute(struct soap *soap, unsigned char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Minute(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Minute(struct soap *soap, const char *tag, unsigned char *a, const char *type)
-{
- return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Minute);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Hour(struct soap *soap, unsigned char *a)
-{ soap_default_unsignedByte(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Hour(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Hour);
- if (soap_out_ngwt__Hour(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Hour(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
-{
- return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Hour);
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Hour(struct soap *soap, unsigned char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Hour(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Hour(struct soap *soap, const char *tag, unsigned char *a, const char *type)
-{
- return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Hour);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Day(struct soap *soap, unsigned char *a)
-{ soap_default_unsignedByte(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Day(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Day);
- if (soap_out_ngwt__Day(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Day(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
-{
- return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Day);
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Day(struct soap *soap, unsigned char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Day(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Day(struct soap *soap, const char *tag, unsigned char *a, const char *type)
-{
- return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Day);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap *soap, unsigned char *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_unsignedByte
- *a = SOAP_DEFAULT_unsignedByte;
-#else
- *a = (unsigned char)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedByte);
- if (soap_out_unsignedByte(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
-{
- return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_unsignedByte);
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap *soap, unsigned char *p, const char *tag, const char *type)
-{
- if ((p = soap_in_unsignedByte(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap *soap, const char *tag, unsigned char *a, const char *type)
-{
- return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_unsignedByte);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap *soap, unsigned int *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_unsignedInt
- *a = SOAP_DEFAULT_unsignedInt;
-#else
- *a = (unsigned int)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap *soap, const unsigned int *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedInt);
- if (soap_out_unsignedInt(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *a, const char *type)
-{
- return soap_outunsignedInt(soap, tag, id, a, type, SOAP_TYPE_unsignedInt);
-}
-
-SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap *soap, unsigned int *p, const char *tag, const char *type)
-{
- if ((p = soap_in_unsignedInt(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap *soap, const char *tag, unsigned int *a, const char *type)
-{
- return soap_inunsignedInt(soap, tag, a, type, SOAP_TYPE_unsignedInt);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedLong(struct soap *soap, unsigned long *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_unsignedLong
- *a = SOAP_DEFAULT_unsignedLong;
-#else
- *a = (unsigned long)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedLong(struct soap *soap, const unsigned long *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedLong);
- if (soap_out_unsignedLong(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedLong(struct soap *soap, const char *tag, int id, const unsigned long *a, const char *type)
-{
- return soap_outunsignedLong(soap, tag, id, a, type, SOAP_TYPE_unsignedLong);
-}
-
-SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_get_unsignedLong(struct soap *soap, unsigned long *p, const char *tag, const char *type)
-{
- if ((p = soap_in_unsignedLong(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_in_unsignedLong(struct soap *soap, const char *tag, unsigned long *a, const char *type)
-{
- return soap_inunsignedLong(soap, tag, a, type, SOAP_TYPE_unsignedLong);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap *soap, bool *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_bool
- *a = SOAP_DEFAULT_bool;
-#else
- *a = (bool)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap *soap, const bool *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_bool);
- if (soap_out_bool(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_bool[] =
-{ { (long)false, "false" },
- { (long)true, "true" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap *soap, bool n)
-{ const char *s = soap_str_code(soap_codes_bool, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap *soap, const char *tag, int id, const bool *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_bool), type);
- soap_send(soap, soap_bool2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap *soap, bool *p, const char *tag, const char *type)
-{
- if ((p = soap_in_bool(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap *soap, const char *s, bool *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_bool, s);
- if (map)
- *a = (bool)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (bool)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap *soap, const char *tag, bool *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_bool, sizeof(bool), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2bool(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (bool *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_bool, 0, sizeof(bool), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemType(struct soap *soap, enum ngwe__ItemType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwe__ItemType
- *a = SOAP_DEFAULT_ngwe__ItemType;
-#else
- *a = (enum ngwe__ItemType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemType(struct soap *soap, const enum ngwe__ItemType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__ItemType);
- if (soap_out_ngwe__ItemType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwe__ItemType[] =
-{ { (long)AddressBookItem_, "AddressBookItem" },
- { (long)Appointment___, "Appointment" },
- { (long)CalendarItem___, "CalendarItem" },
- { (long)Contact____, "Contact" },
- { (long)Group__, "Group" },
- { (long)Mail___, "Mail" },
- { (long)Note___, "Note" },
- { (long)Organization____, "Organization" },
- { (long)PhoneMessage___, "PhoneMessage" },
- { (long)Resource___, "Resource" },
- { (long)Task___, "Task" },
- { (long)DocumentRef_, "DocumentRef" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__ItemType2s(struct soap *soap, enum ngwe__ItemType n)
-{ const char *s = soap_str_code(soap_codes_ngwe__ItemType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemType(struct soap *soap, const char *tag, int id, const enum ngwe__ItemType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ItemType), type);
- soap_send(soap, soap_ngwe__ItemType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_get_ngwe__ItemType(struct soap *soap, enum ngwe__ItemType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__ItemType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__ItemType(struct soap *soap, const char *s, enum ngwe__ItemType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwe__ItemType, s);
- if (map)
- *a = (enum ngwe__ItemType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwe__ItemType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_in_ngwe__ItemType(struct soap *soap, const char *tag, enum ngwe__ItemType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwe__ItemType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ItemType, sizeof(enum ngwe__ItemType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwe__ItemType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwe__ItemType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemType, 0, sizeof(enum ngwe__ItemType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__Field(struct soap *soap, enum ngwe__Field *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwe__Field
- *a = SOAP_DEFAULT_ngwe__Field;
-#else
- *a = (enum ngwe__Field)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__Field(struct soap *soap, const enum ngwe__Field *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__Field);
- if (soap_out_ngwe__Field(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwe__Field[] =
-{ { (long)AcceptLevel_, "AcceptLevel" },
- { (long)Alarm_, "Alarm" },
- { (long)AllDayEvent_, "AllDayEvent" },
- { (long)Attachment_, "Attachment" },
- { (long)Category__, "Category" },
- { (long)Classification_, "Classification" },
- { (long)Contact___, "Contact" },
- { (long)DueDate_, "DueDate" },
- { (long)Duration_, "Duration" },
- { (long)EmailAddress_, "EmailAddress" },
- { (long)ExpirationDate_, "ExpirationDate" },
- { (long)Hidden_, "Hidden" },
- { (long)IMAddress_, "IMAddress" },
- { (long)MessageBody_, "MessageBody" },
- { (long)Name_, "Name" },
- { (long)Organization___, "Organization" },
- { (long)Owner_, "Owner" },
- { (long)PersonalSubject_, "PersonalSubject" },
- { (long)PhoneNumber_, "PhoneNumber" },
- { (long)Place_, "Place" },
- { (long)PostalAddress_, "PostalAddress" },
- { (long)RecipientStatus_, "RecipientStatus" },
- { (long)Rights_, "Rights" },
- { (long)Security_, "Security" },
- { (long)SendPriority_, "SendPriority" },
- { (long)StartDate_, "StartDate" },
- { (long)Subject_, "Subject" },
- { (long)TaskCategory_, "TaskCategory" },
- { (long)TaskPriority_, "TaskPriority" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__Field2s(struct soap *soap, enum ngwe__Field n)
-{ const char *s = soap_str_code(soap_codes_ngwe__Field, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Field(struct soap *soap, const char *tag, int id, const enum ngwe__Field *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Field), type);
- soap_send(soap, soap_ngwe__Field2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_get_ngwe__Field(struct soap *soap, enum ngwe__Field *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__Field(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__Field(struct soap *soap, const char *s, enum ngwe__Field *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwe__Field, s);
- if (map)
- *a = (enum ngwe__Field)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwe__Field)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_in_ngwe__Field(struct soap *soap, const char *tag, enum ngwe__Field *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwe__Field *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Field, sizeof(enum ngwe__Field), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwe__Field(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwe__Field *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Field, 0, sizeof(enum ngwe__Field), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__EventType(struct soap *soap, enum ngwe__EventType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwe__EventType
- *a = SOAP_DEFAULT_ngwe__EventType;
-#else
- *a = (enum ngwe__EventType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__EventType(struct soap *soap, const enum ngwe__EventType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__EventType);
- if (soap_out_ngwe__EventType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwe__EventType[] =
-{ { (long)AddressBookAdd, "AddressBookAdd" },
- { (long)AddressBookDelete, "AddressBookDelete" },
- { (long)AddressBookModify, "AddressBookModify" },
- { (long)AddressBookItemAdd, "AddressBookItemAdd" },
- { (long)AddressBookItemDelete, "AddressBookItemDelete" },
- { (long)AddressBookItemModify, "AddressBookItemModify" },
- { (long)FolderAccept, "FolderAccept" },
- { (long)FolderAdd, "FolderAdd" },
- { (long)FolderDelete, "FolderDelete" },
- { (long)FolderItemAdd, "FolderItemAdd" },
- { (long)FolderItemDelete, "FolderItemDelete" },
- { (long)FolderItemMove, "FolderItemMove" },
- { (long)FolderModify, "FolderModify" },
- { (long)ItemAccept, "ItemAccept" },
- { (long)ItemArchive, "ItemArchive" },
- { (long)ItemComplete, "ItemComplete" },
- { (long)ItemDecline, "ItemDecline" },
- { (long)ItemDelete, "ItemDelete" },
- { (long)ItemMarkPrivate, "ItemMarkPrivate" },
- { (long)ItemMarkRead, "ItemMarkRead" },
- { (long)ItemMarkUnread, "ItemMarkUnread" },
- { (long)ItemModify, "ItemModify" },
- { (long)ItemPurge, "ItemPurge" },
- { (long)ItemUnarchive, "ItemUnarchive" },
- { (long)ItemUndelete, "ItemUndelete" },
- { (long)Login, "Login" },
- { (long)Logout, "Logout" },
- { (long)ProxyAccessAdd, "ProxyAccessAdd" },
- { (long)ProxyAccessModify, "ProxyAccessModify" },
- { (long)ProxyAccessDelete, "ProxyAccessDelete" },
- { (long)ProxyLogin, "ProxyLogin" },
- { (long)SessionTimedOut, "SessionTimedOut" },
- { (long)TrustedApplicationLogin, "TrustedApplicationLogin" },
- { (long)ItemMarkUnprivate, "ItemMarkUnprivate" },
- { (long)ItemUnaccept, "ItemUnaccept" },
- { (long)ItemUncomplete, "ItemUncomplete" },
- { (long)PersonalGroupItemAdd, "PersonalGroupItemAdd" },
- { (long)PersonalGroupItemDelete, "PersonalGroupItemDelete" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__EventType2s(struct soap *soap, enum ngwe__EventType n)
-{ const char *s = soap_str_code(soap_codes_ngwe__EventType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventType(struct soap *soap, const char *tag, int id, const enum ngwe__EventType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventType), type);
- soap_send(soap, soap_ngwe__EventType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_get_ngwe__EventType(struct soap *soap, enum ngwe__EventType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__EventType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__EventType(struct soap *soap, const char *s, enum ngwe__EventType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwe__EventType, s);
- if (map)
- *a = (enum ngwe__EventType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwe__EventType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_in_ngwe__EventType(struct soap *soap, const char *tag, enum ngwe__EventType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwe__EventType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventType, sizeof(enum ngwe__EventType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwe__EventType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwe__EventType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventType, 0, sizeof(enum ngwe__EventType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekDay(struct soap *soap, enum ngwt__WeekDay *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__WeekDay
- *a = SOAP_DEFAULT_ngwt__WeekDay;
-#else
- *a = (enum ngwt__WeekDay)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekDay(struct soap *soap, const enum ngwt__WeekDay *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__WeekDay);
- if (soap_out_ngwt__WeekDay(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__WeekDay[] =
-{ { (long)Sunday, "Sunday" },
- { (long)Monday, "Monday" },
- { (long)Tuesday, "Tuesday" },
- { (long)Wednesday, "Wednesday" },
- { (long)Thursday, "Thursday" },
- { (long)Friday, "Friday" },
- { (long)Saturday, "Saturday" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__WeekDay2s(struct soap *soap, enum ngwt__WeekDay n)
-{ const char *s = soap_str_code(soap_codes_ngwt__WeekDay, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekDay(struct soap *soap, const char *tag, int id, const enum ngwt__WeekDay *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__WeekDay), type);
- soap_send(soap, soap_ngwt__WeekDay2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_get_ngwt__WeekDay(struct soap *soap, enum ngwt__WeekDay *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__WeekDay(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__WeekDay(struct soap *soap, const char *s, enum ngwt__WeekDay *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__WeekDay, s);
- if (map)
- *a = (enum ngwt__WeekDay)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__WeekDay)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_in_ngwt__WeekDay(struct soap *soap, const char *tag, enum ngwt__WeekDay *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__WeekDay *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__WeekDay, sizeof(enum ngwt__WeekDay), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__WeekDay(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__WeekDay *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__WeekDay, 0, sizeof(enum ngwt__WeekDay), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__VersionStatus
- *a = SOAP_DEFAULT_ngwt__VersionStatus;
-#else
- *a = (enum ngwt__VersionStatus)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionStatus(struct soap *soap, const enum ngwt__VersionStatus *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__VersionStatus);
- if (soap_out_ngwt__VersionStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__VersionStatus[] =
-{ { (long)available, "available" },
- { (long)checkedOut, "checkedOut" },
- { (long)inUse, "inUse" },
- { (long)deleted_, "deleted" },
- { (long)archived, "archived" },
- { (long)massInUse, "massInUse" },
- { (long)unavailable, "unavailable" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionStatus2s(struct soap *soap, enum ngwt__VersionStatus n)
-{ const char *s = soap_str_code(soap_codes_ngwt__VersionStatus, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionStatus(struct soap *soap, const char *tag, int id, const enum ngwt__VersionStatus *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionStatus), type);
- soap_send(soap, soap_ngwt__VersionStatus2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_get_ngwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__VersionStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionStatus(struct soap *soap, const char *s, enum ngwt__VersionStatus *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__VersionStatus, s);
- if (map)
- *a = (enum ngwt__VersionStatus)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__VersionStatus)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_in_ngwt__VersionStatus(struct soap *soap, const char *tag, enum ngwt__VersionStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__VersionStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionStatus, sizeof(enum ngwt__VersionStatus), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__VersionStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__VersionStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionStatus, 0, sizeof(enum ngwt__VersionStatus), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionEventType(struct soap *soap, enum ngwt__VersionEventType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__VersionEventType
- *a = SOAP_DEFAULT_ngwt__VersionEventType;
-#else
- *a = (enum ngwt__VersionEventType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionEventType(struct soap *soap, const enum ngwt__VersionEventType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__VersionEventType);
- if (soap_out_ngwt__VersionEventType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__VersionEventType[] =
-{ { (long)archive_, "archive" },
- { (long)checkIn, "checkIn" },
- { (long)checkOut, "checkOut" },
- { (long)copyIn, "copyIn" },
- { (long)copyOut, "copyOut" },
- { (long)copyVersion, "copyVersion" },
- { (long)created, "created" },
- { (long)deleteVersion, "deleteVersion" },
- { (long)endAccess, "endAccess" },
- { (long)resetStatus, "resetStatus" },
- { (long)restore, "restore" },
- { (long)retrieve, "retrieve" },
- { (long)securityModified, "securityModified" },
- { (long)versionDownloaded, "versionDownloaded" },
- { (long)viewed, "viewed" },
- { (long)unknown, "unknown" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionEventType2s(struct soap *soap, enum ngwt__VersionEventType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__VersionEventType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEventType(struct soap *soap, const char *tag, int id, const enum ngwt__VersionEventType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionEventType), type);
- soap_send(soap, soap_ngwt__VersionEventType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_get_ngwt__VersionEventType(struct soap *soap, enum ngwt__VersionEventType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__VersionEventType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionEventType(struct soap *soap, const char *s, enum ngwt__VersionEventType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__VersionEventType, s);
- if (map)
- *a = (enum ngwt__VersionEventType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__VersionEventType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_in_ngwt__VersionEventType(struct soap *soap, const char *tag, enum ngwt__VersionEventType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__VersionEventType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionEventType, sizeof(enum ngwt__VersionEventType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__VersionEventType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__VersionEventType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionEventType, 0, sizeof(enum ngwt__VersionEventType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__StatusTrackingOptions(struct soap *soap, enum ngwt__StatusTrackingOptions *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__StatusTrackingOptions
- *a = SOAP_DEFAULT_ngwt__StatusTrackingOptions;
-#else
- *a = (enum ngwt__StatusTrackingOptions)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__StatusTrackingOptions(struct soap *soap, const enum ngwt__StatusTrackingOptions *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__StatusTrackingOptions);
- if (soap_out_ngwt__StatusTrackingOptions(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__StatusTrackingOptions[] =
-{ { (long)None, "None" },
- { (long)Delivered, "Delivered" },
- { (long)DeliveredAndOpened, "DeliveredAndOpened" },
- { (long)All_, "All" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__StatusTrackingOptions2s(struct soap *soap, enum ngwt__StatusTrackingOptions n)
-{ const char *s = soap_str_code(soap_codes_ngwt__StatusTrackingOptions, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTrackingOptions(struct soap *soap, const char *tag, int id, const enum ngwt__StatusTrackingOptions *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__StatusTrackingOptions), type);
- soap_send(soap, soap_ngwt__StatusTrackingOptions2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_get_ngwt__StatusTrackingOptions(struct soap *soap, enum ngwt__StatusTrackingOptions *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__StatusTrackingOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__StatusTrackingOptions(struct soap *soap, const char *s, enum ngwt__StatusTrackingOptions *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__StatusTrackingOptions, s);
- if (map)
- *a = (enum ngwt__StatusTrackingOptions)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__StatusTrackingOptions)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_in_ngwt__StatusTrackingOptions(struct soap *soap, const char *tag, enum ngwt__StatusTrackingOptions *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__StatusTrackingOptions *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__StatusTrackingOptions, sizeof(enum ngwt__StatusTrackingOptions), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__StatusTrackingOptions(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__StatusTrackingOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__StatusTrackingOptions, 0, sizeof(enum ngwt__StatusTrackingOptions), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RuleActionType(struct soap *soap, enum ngwt__RuleActionType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__RuleActionType
- *a = SOAP_DEFAULT_ngwt__RuleActionType;
-#else
- *a = (enum ngwt__RuleActionType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RuleActionType(struct soap *soap, const enum ngwt__RuleActionType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RuleActionType);
- if (soap_out_ngwt__RuleActionType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__RuleActionType[] =
-{ { (long)Accept, "Accept" },
- { (long)Archive, "Archive" },
- { (long)Category_, "Category" },
- { (long)Delegate, "Delegate" },
- { (long)Delete, "Delete" },
- { (long)Forward, "Forward" },
- { (long)Link, "Link" },
- { (long)MarkPrivate, "MarkPrivate" },
- { (long)MarkRead, "MarkRead" },
- { (long)MarkUnread, "MarkUnread" },
- { (long)Move, "Move" },
- { (long)Purge, "Purge" },
- { (long)Reply, "Reply" },
- { (long)Send, "Send" },
- { (long)StopRules, "StopRules" },
- { (long)Unknown, "Unknown" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RuleActionType2s(struct soap *soap, enum ngwt__RuleActionType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__RuleActionType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionType(struct soap *soap, const char *tag, int id, const enum ngwt__RuleActionType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleActionType), type);
- soap_send(soap, soap_ngwt__RuleActionType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_get_ngwt__RuleActionType(struct soap *soap, enum ngwt__RuleActionType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RuleActionType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RuleActionType(struct soap *soap, const char *s, enum ngwt__RuleActionType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__RuleActionType, s);
- if (map)
- *a = (enum ngwt__RuleActionType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__RuleActionType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_in_ngwt__RuleActionType(struct soap *soap, const char *tag, enum ngwt__RuleActionType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__RuleActionType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleActionType, sizeof(enum ngwt__RuleActionType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__RuleActionType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__RuleActionType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionType, 0, sizeof(enum ngwt__RuleActionType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RetractType(struct soap *soap, enum ngwt__RetractType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__RetractType
- *a = SOAP_DEFAULT_ngwt__RetractType;
-#else
- *a = (enum ngwt__RetractType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RetractType(struct soap *soap, const enum ngwt__RetractType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RetractType);
- if (soap_out_ngwt__RetractType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__RetractType[] =
-{ { (long)myMailbox, "myMailbox" },
- { (long)recipientMailboxes, "recipientMailboxes" },
- { (long)allMailboxes, "allMailboxes" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RetractType2s(struct soap *soap, enum ngwt__RetractType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__RetractType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RetractType(struct soap *soap, const char *tag, int id, const enum ngwt__RetractType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RetractType), type);
- soap_send(soap, soap_ngwt__RetractType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_get_ngwt__RetractType(struct soap *soap, enum ngwt__RetractType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RetractType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RetractType(struct soap *soap, const char *s, enum ngwt__RetractType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__RetractType, s);
- if (map)
- *a = (enum ngwt__RetractType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__RetractType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_in_ngwt__RetractType(struct soap *soap, const char *tag, enum ngwt__RetractType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__RetractType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RetractType, sizeof(enum ngwt__RetractType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__RetractType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__RetractType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RetractType, 0, sizeof(enum ngwt__RetractType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__RecipientType
- *a = SOAP_DEFAULT_ngwt__RecipientType;
-#else
- *a = (enum ngwt__RecipientType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RecipientType(struct soap *soap, const enum ngwt__RecipientType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientType);
- if (soap_out_ngwt__RecipientType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__RecipientType[] =
-{ { (long)User_, "User" },
- { (long)Resource__, "Resource" },
- { (long)PersonalGroup, "PersonalGroup" },
- { (long)SystemGroup, "SystemGroup" },
- { (long)PersonalGroupMember, "PersonalGroupMember" },
- { (long)SystemGroupMember, "SystemGroupMember" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RecipientType2s(struct soap *soap, enum ngwt__RecipientType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__RecipientType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientType(struct soap *soap, const char *tag, int id, const enum ngwt__RecipientType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientType), type);
- soap_send(soap, soap_ngwt__RecipientType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_get_ngwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RecipientType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RecipientType(struct soap *soap, const char *s, enum ngwt__RecipientType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__RecipientType, s);
- if (map)
- *a = (enum ngwt__RecipientType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__RecipientType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_in_ngwt__RecipientType(struct soap *soap, const char *tag, enum ngwt__RecipientType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__RecipientType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientType, sizeof(enum ngwt__RecipientType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__RecipientType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__RecipientType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientType, 0, sizeof(enum ngwt__RecipientType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PostalAddressType(struct soap *soap, enum ngwt__PostalAddressType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__PostalAddressType
- *a = SOAP_DEFAULT_ngwt__PostalAddressType;
-#else
- *a = (enum ngwt__PostalAddressType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PostalAddressType(struct soap *soap, const enum ngwt__PostalAddressType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddressType);
- if (soap_out_ngwt__PostalAddressType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__PostalAddressType[] =
-{ { (long)Home_, "Home" },
- { (long)Office_, "Office" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PostalAddressType2s(struct soap *soap, enum ngwt__PostalAddressType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__PostalAddressType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressType(struct soap *soap, const char *tag, int id, const enum ngwt__PostalAddressType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddressType), type);
- soap_send(soap, soap_ngwt__PostalAddressType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_get_ngwt__PostalAddressType(struct soap *soap, enum ngwt__PostalAddressType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PostalAddressType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PostalAddressType(struct soap *soap, const char *s, enum ngwt__PostalAddressType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__PostalAddressType, s);
- if (map)
- *a = (enum ngwt__PostalAddressType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__PostalAddressType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_in_ngwt__PostalAddressType(struct soap *soap, const char *tag, enum ngwt__PostalAddressType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__PostalAddressType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddressType, sizeof(enum ngwt__PostalAddressType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__PostalAddressType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__PostalAddressType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressType, 0, sizeof(enum ngwt__PostalAddressType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PhoneNumberType(struct soap *soap, enum ngwt__PhoneNumberType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__PhoneNumberType
- *a = SOAP_DEFAULT_ngwt__PhoneNumberType;
-#else
- *a = (enum ngwt__PhoneNumberType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PhoneNumberType(struct soap *soap, const enum ngwt__PhoneNumberType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneNumberType);
- if (soap_out_ngwt__PhoneNumberType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__PhoneNumberType[] =
-{ { (long)Fax, "Fax" },
- { (long)Home, "Home" },
- { (long)Mobile, "Mobile" },
- { (long)Office, "Office" },
- { (long)Pager, "Pager" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PhoneNumberType2s(struct soap *soap, enum ngwt__PhoneNumberType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__PhoneNumberType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumberType(struct soap *soap, const char *tag, int id, const enum ngwt__PhoneNumberType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneNumberType), type);
- soap_send(soap, soap_ngwt__PhoneNumberType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_get_ngwt__PhoneNumberType(struct soap *soap, enum ngwt__PhoneNumberType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PhoneNumberType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PhoneNumberType(struct soap *soap, const char *s, enum ngwt__PhoneNumberType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__PhoneNumberType, s);
- if (map)
- *a = (enum ngwt__PhoneNumberType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__PhoneNumberType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_in_ngwt__PhoneNumberType(struct soap *soap, const char *tag, enum ngwt__PhoneNumberType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__PhoneNumberType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneNumberType, sizeof(enum ngwt__PhoneNumberType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__PhoneNumberType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__PhoneNumberType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneNumberType, 0, sizeof(enum ngwt__PhoneNumberType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__OccurrenceType
- *a = SOAP_DEFAULT_ngwt__OccurrenceType;
-#else
- *a = (enum ngwt__OccurrenceType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__OccurrenceType(struct soap *soap, const enum ngwt__OccurrenceType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__OccurrenceType);
- if (soap_out_ngwt__OccurrenceType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__OccurrenceType[] =
-{ { (long)First, "First" },
- { (long)Second, "Second" },
- { (long)Third, "Third" },
- { (long)Fourth, "Fourth" },
- { (long)Fifth, "Fifth" },
- { (long)Last, "Last" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__OccurrenceType2s(struct soap *soap, enum ngwt__OccurrenceType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__OccurrenceType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OccurrenceType(struct soap *soap, const char *tag, int id, const enum ngwt__OccurrenceType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__OccurrenceType), type);
- soap_send(soap, soap_ngwt__OccurrenceType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_get_ngwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__OccurrenceType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__OccurrenceType(struct soap *soap, const char *s, enum ngwt__OccurrenceType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__OccurrenceType, s);
- if (map)
- *a = (enum ngwt__OccurrenceType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__OccurrenceType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_in_ngwt__OccurrenceType(struct soap *soap, const char *tag, enum ngwt__OccurrenceType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__OccurrenceType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__OccurrenceType, sizeof(enum ngwt__OccurrenceType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__OccurrenceType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__OccurrenceType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OccurrenceType, 0, sizeof(enum ngwt__OccurrenceType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__NotificationType(struct soap *soap, enum ngwt__NotificationType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__NotificationType
- *a = SOAP_DEFAULT_ngwt__NotificationType;
-#else
- *a = (enum ngwt__NotificationType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__NotificationType(struct soap *soap, const enum ngwt__NotificationType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__NotificationType);
- if (soap_out_ngwt__NotificationType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__NotificationType[] =
-{ { (long)SharedAddressBook, "SharedAddressBook" },
- { (long)SharedFolder, "SharedFolder" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__NotificationType2s(struct soap *soap, enum ngwt__NotificationType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__NotificationType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NotificationType(struct soap *soap, const char *tag, int id, const enum ngwt__NotificationType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__NotificationType), type);
- soap_send(soap, soap_ngwt__NotificationType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_get_ngwt__NotificationType(struct soap *soap, enum ngwt__NotificationType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__NotificationType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__NotificationType(struct soap *soap, const char *s, enum ngwt__NotificationType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__NotificationType, s);
- if (map)
- *a = (enum ngwt__NotificationType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__NotificationType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_in_ngwt__NotificationType(struct soap *soap, const char *tag, enum ngwt__NotificationType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__NotificationType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__NotificationType, sizeof(enum ngwt__NotificationType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__NotificationType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__NotificationType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NotificationType, 0, sizeof(enum ngwt__NotificationType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageType(struct soap *soap, enum ngwt__MessageType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__MessageType
- *a = SOAP_DEFAULT_ngwt__MessageType;
-#else
- *a = (enum ngwt__MessageType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageType(struct soap *soap, const enum ngwt__MessageType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageType);
- if (soap_out_ngwt__MessageType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__MessageType[] =
-{ { (long)Appointment__, "Appointment" },
- { (long)CalendarItem__, "CalendarItem" },
- { (long)DocumentReference_, "DocumentReference" },
- { (long)Mail__, "Mail" },
- { (long)Note__, "Note" },
- { (long)PhoneMessage__, "PhoneMessage" },
- { (long)Task__, "Task" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageType2s(struct soap *soap, enum ngwt__MessageType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__MessageType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageType(struct soap *soap, const char *tag, int id, const enum ngwt__MessageType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageType), type);
- soap_send(soap, soap_ngwt__MessageType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_get_ngwt__MessageType(struct soap *soap, enum ngwt__MessageType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MessageType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageType(struct soap *soap, const char *s, enum ngwt__MessageType *a)
-{
- const struct soap_code_map *map;
- char *t;
- if (!s)
- return SOAP_OK;
- soap_s2TQName(soap, s, &t);
- map = soap_code(soap_codes_ngwt__MessageType, t);
- if (map)
- *a = (enum ngwt__MessageType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__MessageType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_in_ngwt__MessageType(struct soap *soap, const char *tag, enum ngwt__MessageType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__MessageType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageType, sizeof(enum ngwt__MessageType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__MessageType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__MessageType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageType, 0, sizeof(enum ngwt__MessageType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageList(struct soap *soap, enum ngwt__MessageList *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__MessageList
- *a = SOAP_DEFAULT_ngwt__MessageList;
-#else
- *a = (enum ngwt__MessageList)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageList(struct soap *soap, const enum ngwt__MessageList *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageList);
- if (soap_out_ngwt__MessageList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__MessageList[] =
-{ { (long)All, "All" },
- { (long)Modified, "Modified" },
- { (long)New_, "New" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageList2s(struct soap *soap, enum ngwt__MessageList n)
-{ const char *s = soap_str_code(soap_codes_ngwt__MessageList, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageList(struct soap *soap, const char *tag, int id, const enum ngwt__MessageList *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageList), type);
- soap_send(soap, soap_ngwt__MessageList2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_get_ngwt__MessageList(struct soap *soap, enum ngwt__MessageList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MessageList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageList(struct soap *soap, const char *s, enum ngwt__MessageList *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__MessageList, s);
- if (map)
- *a = (enum ngwt__MessageList)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__MessageList)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_in_ngwt__MessageList(struct soap *soap, const char *tag, enum ngwt__MessageList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__MessageList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageList, sizeof(enum ngwt__MessageList), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__MessageList(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__MessageList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageList, 0, sizeof(enum ngwt__MessageList), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__LinkType(struct soap *soap, enum ngwt__LinkType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__LinkType
- *a = SOAP_DEFAULT_ngwt__LinkType;
-#else
- *a = (enum ngwt__LinkType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__LinkType(struct soap *soap, const enum ngwt__LinkType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__LinkType);
- if (soap_out_ngwt__LinkType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__LinkType[] =
-{ { (long)forward, "forward" },
- { (long)reply, "reply" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__LinkType2s(struct soap *soap, enum ngwt__LinkType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__LinkType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkType(struct soap *soap, const char *tag, int id, const enum ngwt__LinkType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LinkType), type);
- soap_send(soap, soap_ngwt__LinkType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_get_ngwt__LinkType(struct soap *soap, enum ngwt__LinkType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__LinkType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__LinkType(struct soap *soap, const char *s, enum ngwt__LinkType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__LinkType, s);
- if (map)
- *a = (enum ngwt__LinkType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__LinkType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_in_ngwt__LinkType(struct soap *soap, const char *tag, enum ngwt__LinkType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__LinkType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LinkType, sizeof(enum ngwt__LinkType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__LinkType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__LinkType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkType, 0, sizeof(enum ngwt__LinkType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkMatchType(struct soap *soap, enum ngwt__JunkMatchType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__JunkMatchType
- *a = SOAP_DEFAULT_ngwt__JunkMatchType;
-#else
- *a = (enum ngwt__JunkMatchType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkMatchType(struct soap *soap, const enum ngwt__JunkMatchType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__JunkMatchType);
- if (soap_out_ngwt__JunkMatchType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__JunkMatchType[] =
-{ { (long)email, "email" },
- { (long)domain, "domain" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkMatchType2s(struct soap *soap, enum ngwt__JunkMatchType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__JunkMatchType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkMatchType(struct soap *soap, const char *tag, int id, const enum ngwt__JunkMatchType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkMatchType), type);
- soap_send(soap, soap_ngwt__JunkMatchType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_get_ngwt__JunkMatchType(struct soap *soap, enum ngwt__JunkMatchType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__JunkMatchType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkMatchType(struct soap *soap, const char *s, enum ngwt__JunkMatchType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__JunkMatchType, s);
- if (map)
- *a = (enum ngwt__JunkMatchType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__JunkMatchType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_in_ngwt__JunkMatchType(struct soap *soap, const char *tag, enum ngwt__JunkMatchType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__JunkMatchType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkMatchType, sizeof(enum ngwt__JunkMatchType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__JunkMatchType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__JunkMatchType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkMatchType, 0, sizeof(enum ngwt__JunkMatchType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__JunkHandlingListType
- *a = SOAP_DEFAULT_ngwt__JunkHandlingListType;
-#else
- *a = (enum ngwt__JunkHandlingListType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkHandlingListType(struct soap *soap, const enum ngwt__JunkHandlingListType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__JunkHandlingListType);
- if (soap_out_ngwt__JunkHandlingListType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__JunkHandlingListType[] =
-{ { (long)junk, "junk" },
- { (long)block, "block" },
- { (long)trust, "trust" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkHandlingListType2s(struct soap *soap, enum ngwt__JunkHandlingListType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__JunkHandlingListType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingListType(struct soap *soap, const char *tag, int id, const enum ngwt__JunkHandlingListType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkHandlingListType), type);
- soap_send(soap, soap_ngwt__JunkHandlingListType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_get_ngwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__JunkHandlingListType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkHandlingListType(struct soap *soap, const char *s, enum ngwt__JunkHandlingListType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__JunkHandlingListType, s);
- if (map)
- *a = (enum ngwt__JunkHandlingListType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__JunkHandlingListType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_in_ngwt__JunkHandlingListType(struct soap *soap, const char *tag, enum ngwt__JunkHandlingListType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__JunkHandlingListType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkHandlingListType, sizeof(enum ngwt__JunkHandlingListType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__JunkHandlingListType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__JunkHandlingListType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingListType, 0, sizeof(enum ngwt__JunkHandlingListType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ItemSource
- *a = SOAP_DEFAULT_ngwt__ItemSource;
-#else
- *a = (enum ngwt__ItemSource)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSource(struct soap *soap, const enum ngwt__ItemSource *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSource);
- if (soap_out_ngwt__ItemSource(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ItemSource[] =
-{ { (long)received_, "received" },
- { (long)sent_, "sent" },
- { (long)draft_, "draft" },
- { (long)personal_, "personal" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSource2s(struct soap *soap, enum ngwt__ItemSource n)
-{ const char *s = soap_str_code(soap_codes_ngwt__ItemSource, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSource(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSource *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSource), type);
- soap_send(soap, soap_ngwt__ItemSource2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_get_ngwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemSource(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSource(struct soap *soap, const char *s, enum ngwt__ItemSource *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__ItemSource, s);
- if (map)
- *a = (enum ngwt__ItemSource)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__ItemSource)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_in_ngwt__ItemSource(struct soap *soap, const char *tag, enum ngwt__ItemSource *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ItemSource *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSource, sizeof(enum ngwt__ItemSource), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__ItemSource(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSource *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSource, 0, sizeof(enum ngwt__ItemSource), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ItemSecurity
- *a = SOAP_DEFAULT_ngwt__ItemSecurity;
-#else
- *a = (enum ngwt__ItemSecurity)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSecurity(struct soap *soap, const enum ngwt__ItemSecurity *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSecurity);
- if (soap_out_ngwt__ItemSecurity(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ItemSecurity[] =
-{ { (long)Normal__, "Normal" },
- { (long)Proprietary, "Proprietary" },
- { (long)Confidential, "Confidential" },
- { (long)Secret, "Secret" },
- { (long)TopSecret, "TopSecret" },
- { (long)ForYourEyesOnly, "ForYourEyesOnly" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSecurity2s(struct soap *soap, enum ngwt__ItemSecurity n)
-{ const char *s = soap_str_code(soap_codes_ngwt__ItemSecurity, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSecurity(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSecurity *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSecurity), type);
- soap_send(soap, soap_ngwt__ItemSecurity2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_get_ngwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemSecurity(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSecurity(struct soap *soap, const char *s, enum ngwt__ItemSecurity *a)
-{
- const struct soap_code_map *map;
- char *t;
- if (!s)
- return SOAP_OK;
- //soap_s2TQName(soap, s, &t);
- map = soap_code(soap_codes_ngwt__ItemSecurity, s);
- if (map)
- *a = (enum ngwt__ItemSecurity)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__ItemSecurity)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_in_ngwt__ItemSecurity(struct soap *soap, const char *tag, enum ngwt__ItemSecurity *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ItemSecurity *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSecurity, sizeof(enum ngwt__ItemSecurity), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__ItemSecurity(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSecurity *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSecurity, 0, sizeof(enum ngwt__ItemSecurity), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemOptionsPriority(struct soap *soap, enum ngwt__ItemOptionsPriority *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ItemOptionsPriority
- *a = SOAP_DEFAULT_ngwt__ItemOptionsPriority;
-#else
- *a = (enum ngwt__ItemOptionsPriority)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemOptionsPriority(struct soap *soap, const enum ngwt__ItemOptionsPriority *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemOptionsPriority);
- if (soap_out_ngwt__ItemOptionsPriority(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ItemOptionsPriority[] =
-{ { (long)High, "High" },
- { (long)Standard, "Standard" },
- { (long)Low, "Low" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemOptionsPriority2s(struct soap *soap, enum ngwt__ItemOptionsPriority n)
-{ const char *s = soap_str_code(soap_codes_ngwt__ItemOptionsPriority, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptionsPriority(struct soap *soap, const char *tag, int id, const enum ngwt__ItemOptionsPriority *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemOptionsPriority), type);
- soap_send(soap, soap_ngwt__ItemOptionsPriority2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_get_ngwt__ItemOptionsPriority(struct soap *soap, enum ngwt__ItemOptionsPriority *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemOptionsPriority(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemOptionsPriority(struct soap *soap, const char *s, enum ngwt__ItemOptionsPriority *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__ItemOptionsPriority, s);
- if (map)
- *a = (enum ngwt__ItemOptionsPriority)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__ItemOptionsPriority)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_in_ngwt__ItemOptionsPriority(struct soap *soap, const char *tag, enum ngwt__ItemOptionsPriority *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ItemOptionsPriority *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemOptionsPriority, sizeof(enum ngwt__ItemOptionsPriority), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__ItemOptionsPriority(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemOptionsPriority *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptionsPriority, 0, sizeof(enum ngwt__ItemOptionsPriority), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ItemClass
- *a = SOAP_DEFAULT_ngwt__ItemClass;
-#else
- *a = (enum ngwt__ItemClass)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemClass(struct soap *soap, const enum ngwt__ItemClass *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemClass);
- if (soap_out_ngwt__ItemClass(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ItemClass[] =
-{ { (long)Public, "Public" },
- { (long)Private, "Private" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemClass2s(struct soap *soap, enum ngwt__ItemClass n)
-{ const char *s = soap_str_code(soap_codes_ngwt__ItemClass, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemClass(struct soap *soap, const char *tag, int id, const enum ngwt__ItemClass *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemClass), type);
- soap_send(soap, soap_ngwt__ItemClass2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_get_ngwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemClass(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemClass(struct soap *soap, const char *s, enum ngwt__ItemClass *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__ItemClass, s);
- if (map)
- *a = (enum ngwt__ItemClass)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__ItemClass)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_in_ngwt__ItemClass(struct soap *soap, const char *tag, enum ngwt__ItemClass *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ItemClass *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemClass, sizeof(enum ngwt__ItemClass), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__ItemClass(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemClass *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemClass, 0, sizeof(enum ngwt__ItemClass), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Frequency(struct soap *soap, enum ngwt__Frequency *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__Frequency
- *a = SOAP_DEFAULT_ngwt__Frequency;
-#else
- *a = (enum ngwt__Frequency)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Frequency(struct soap *soap, const enum ngwt__Frequency *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Frequency);
- if (soap_out_ngwt__Frequency(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__Frequency[] =
-{ { (long)Daily, "Daily" },
- { (long)Weekly, "Weekly" },
- { (long)Monthly, "Monthly" },
- { (long)Yearly, "Yearly" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Frequency2s(struct soap *soap, enum ngwt__Frequency n)
-{ const char *s = soap_str_code(soap_codes_ngwt__Frequency, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Frequency(struct soap *soap, const char *tag, int id, const enum ngwt__Frequency *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Frequency), type);
- soap_send(soap, soap_ngwt__Frequency2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_get_ngwt__Frequency(struct soap *soap, enum ngwt__Frequency *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Frequency(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Frequency(struct soap *soap, const char *s, enum ngwt__Frequency *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__Frequency, s);
- if (map)
- *a = (enum ngwt__Frequency)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__Frequency)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_in_ngwt__Frequency(struct soap *soap, const char *tag, enum ngwt__Frequency *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__Frequency *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Frequency, sizeof(enum ngwt__Frequency), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__Frequency(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__Frequency *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Frequency, 0, sizeof(enum ngwt__Frequency), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderType(struct soap *soap, enum ngwt__FolderType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__FolderType
- *a = SOAP_DEFAULT_ngwt__FolderType;
-#else
- *a = (enum ngwt__FolderType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderType(struct soap *soap, const enum ngwt__FolderType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FolderType);
- if (soap_out_ngwt__FolderType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__FolderType[] =
-{ { (long)Mailbox, "Mailbox" },
- { (long)SentItems, "SentItems" },
- { (long)Draft, "Draft" },
- { (long)Trash, "Trash" },
- { (long)Calendar, "Calendar" },
- { (long)Contacts, "Contacts" },
- { (long)Documents, "Documents" },
- { (long)Checklist, "Checklist" },
- { (long)Cabinet, "Cabinet" },
- { (long)Normal_, "Normal" },
- { (long)NNTPServer, "NNTPServer" },
- { (long)NNTPNewsGroup, "NNTPNewsGroup" },
- { (long)IMAP, "IMAP" },
- { (long)Query, "Query" },
- { (long)Root, "Root" },
- { (long)JunkMail, "JunkMail" },
- { (long)Notes, "Notes" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderType2s(struct soap *soap, enum ngwt__FolderType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__FolderType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderType(struct soap *soap, const char *tag, int id, const enum ngwt__FolderType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderType), type);
- soap_send(soap, soap_ngwt__FolderType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_get_ngwt__FolderType(struct soap *soap, enum ngwt__FolderType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FolderType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderType(struct soap *soap, const char *s, enum ngwt__FolderType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__FolderType, s);
- if (map)
- *a = (enum ngwt__FolderType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__FolderType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_in_ngwt__FolderType(struct soap *soap, const char *tag, enum ngwt__FolderType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__FolderType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderType, sizeof(enum ngwt__FolderType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__FolderType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__FolderType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderType, 0, sizeof(enum ngwt__FolderType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__FolderACLStatus
- *a = SOAP_DEFAULT_ngwt__FolderACLStatus;
-#else
- *a = (enum ngwt__FolderACLStatus)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderACLStatus(struct soap *soap, const enum ngwt__FolderACLStatus *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACLStatus);
- if (soap_out_ngwt__FolderACLStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__FolderACLStatus[] =
-{ { (long)pending, "pending" },
- { (long)accepted, "accepted" },
- { (long)deleted, "deleted" },
- { (long)opened, "opened" },
- { (long)owner, "owner" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderACLStatus2s(struct soap *soap, enum ngwt__FolderACLStatus n)
-{ const char *s = soap_str_code(soap_codes_ngwt__FolderACLStatus, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLStatus(struct soap *soap, const char *tag, int id, const enum ngwt__FolderACLStatus *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACLStatus), type);
- soap_send(soap, soap_ngwt__FolderACLStatus2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_get_ngwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FolderACLStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderACLStatus(struct soap *soap, const char *s, enum ngwt__FolderACLStatus *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__FolderACLStatus, s);
- if (map)
- *a = (enum ngwt__FolderACLStatus)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__FolderACLStatus)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_in_ngwt__FolderACLStatus(struct soap *soap, const char *tag, enum ngwt__FolderACLStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__FolderACLStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACLStatus, sizeof(enum ngwt__FolderACLStatus), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__FolderACLStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__FolderACLStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLStatus, 0, sizeof(enum ngwt__FolderACLStatus), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterOp(struct soap *soap, enum ngwt__FilterOp *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__FilterOp
- *a = SOAP_DEFAULT_ngwt__FilterOp;
-#else
- *a = (enum ngwt__FilterOp)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterOp(struct soap *soap, const enum ngwt__FilterOp *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FilterOp);
- if (soap_out_ngwt__FilterOp(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__FilterOp[] =
-{ { (long)and_, "and" },
- { (long)or_, "or" },
- { (long)not_, "not" },
- { (long)eq, "eq" },
- { (long)ne, "ne" },
- { (long)gt, "gt" },
- { (long)lt, "lt" },
- { (long)gte, "gte" },
- { (long)lte, "lte" },
- { (long)contains, "contains" },
- { (long)containsWord, "containsWord" },
- { (long)begins, "begins" },
- { (long)exists, "exists" },
- { (long)notExist, "notExist" },
- { (long)isOf, "isOf" },
- { (long)isNotOf, "isNotOf" },
- { (long)fieldEqual, "fieldEqual" },
- { (long)fieldGTE, "fieldGTE" },
- { (long)fieldGT, "fieldGT" },
- { (long)fieldLTE, "fieldLTE" },
- { (long)fieldLT, "fieldLT" },
- { (long)fieldNE, "fieldNE" },
- { (long)fieldDateEqual, "fieldDateEqual" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterOp2s(struct soap *soap, enum ngwt__FilterOp n)
-{ const char *s = soap_str_code(soap_codes_ngwt__FilterOp, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterOp(struct soap *soap, const char *tag, int id, const enum ngwt__FilterOp *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterOp), type);
- soap_send(soap, soap_ngwt__FilterOp2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_get_ngwt__FilterOp(struct soap *soap, enum ngwt__FilterOp *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FilterOp(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterOp(struct soap *soap, const char *s, enum ngwt__FilterOp *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__FilterOp, s);
- if (map)
- *a = (enum ngwt__FilterOp)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__FilterOp)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_in_ngwt__FilterOp(struct soap *soap, const char *tag, enum ngwt__FilterOp *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__FilterOp *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterOp, sizeof(enum ngwt__FilterOp), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__FilterOp(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__FilterOp *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterOp, 0, sizeof(enum ngwt__FilterOp), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__FilterDate
- *a = SOAP_DEFAULT_ngwt__FilterDate;
-#else
- *a = (enum ngwt__FilterDate)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterDate(struct soap *soap, const enum ngwt__FilterDate *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FilterDate);
- if (soap_out_ngwt__FilterDate(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__FilterDate[] =
-{ { (long)Today, "Today" },
- { (long)Tomorrow, "Tomorrow" },
- { (long)ThisMonth, "ThisMonth" },
- { (long)ThisWeek, "ThisWeek" },
- { (long)ThisYear, "ThisYear" },
- { (long)Yesterday, "Yesterday" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterDate2s(struct soap *soap, enum ngwt__FilterDate n)
-{ const char *s = soap_str_code(soap_codes_ngwt__FilterDate, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterDate(struct soap *soap, const char *tag, int id, const enum ngwt__FilterDate *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterDate), type);
- soap_send(soap, soap_ngwt__FilterDate2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_get_ngwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FilterDate(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterDate(struct soap *soap, const char *s, enum ngwt__FilterDate *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__FilterDate, s);
- if (map)
- *a = (enum ngwt__FilterDate)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__FilterDate)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_in_ngwt__FilterDate(struct soap *soap, const char *tag, enum ngwt__FilterDate *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__FilterDate *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterDate, sizeof(enum ngwt__FilterDate), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__FilterDate(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__FilterDate *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterDate, 0, sizeof(enum ngwt__FilterDate), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Execution(struct soap *soap, enum ngwt__Execution *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__Execution
- *a = SOAP_DEFAULT_ngwt__Execution;
-#else
- *a = (enum ngwt__Execution)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Execution(struct soap *soap, const enum ngwt__Execution *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Execution);
- if (soap_out_ngwt__Execution(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__Execution[] =
-{ { (long)Startup, "Startup" },
- { (long)Exit, "Exit" },
- { (long)New, "New" },
- { (long)FolderOpen, "FolderOpen" },
- { (long)FolderClose, "FolderClose" },
- { (long)FolderNew, "FolderNew" },
- { (long)User, "User" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Execution2s(struct soap *soap, enum ngwt__Execution n)
-{ const char *s = soap_str_code(soap_codes_ngwt__Execution, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Execution(struct soap *soap, const char *tag, int id, const enum ngwt__Execution *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Execution), type);
- soap_send(soap, soap_ngwt__Execution2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_get_ngwt__Execution(struct soap *soap, enum ngwt__Execution *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Execution(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Execution(struct soap *soap, const char *s, enum ngwt__Execution *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__Execution, s);
- if (map)
- *a = (enum ngwt__Execution)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__Execution)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_in_ngwt__Execution(struct soap *soap, const char *tag, enum ngwt__Execution *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__Execution *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Execution, sizeof(enum ngwt__Execution), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__Execution(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__Execution *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Execution, 0, sizeof(enum ngwt__Execution), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DistributionType(struct soap *soap, enum ngwt__DistributionType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__DistributionType
- *a = SOAP_DEFAULT_ngwt__DistributionType;
-#else
- *a = (enum ngwt__DistributionType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DistributionType(struct soap *soap, const enum ngwt__DistributionType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DistributionType);
- if (soap_out_ngwt__DistributionType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__DistributionType[] =
-{ { (long)TO, "TO" },
- { (long)CC, "CC" },
- { (long)BC, "BC" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DistributionType2s(struct soap *soap, enum ngwt__DistributionType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__DistributionType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DistributionType(struct soap *soap, const char *tag, int id, const enum ngwt__DistributionType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DistributionType), type);
- soap_send(soap, soap_ngwt__DistributionType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_get_ngwt__DistributionType(struct soap *soap, enum ngwt__DistributionType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DistributionType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DistributionType(struct soap *soap, const char *s, enum ngwt__DistributionType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__DistributionType, s);
- if (map)
- *a = (enum ngwt__DistributionType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__DistributionType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_in_ngwt__DistributionType(struct soap *soap, const char *tag, enum ngwt__DistributionType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__DistributionType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DistributionType, sizeof(enum ngwt__DistributionType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__DistributionType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__DistributionType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DistributionType, 0, sizeof(enum ngwt__DistributionType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__DeltaSyncType
- *a = SOAP_DEFAULT_ngwt__DeltaSyncType;
-#else
- *a = (enum ngwt__DeltaSyncType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DeltaSyncType(struct soap *soap, const enum ngwt__DeltaSyncType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DeltaSyncType);
- if (soap_out_ngwt__DeltaSyncType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__DeltaSyncType[] =
-{ { (long)add, "add" },
- { (long)delete_, "delete" },
- { (long)update, "update" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DeltaSyncType2s(struct soap *soap, enum ngwt__DeltaSyncType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__DeltaSyncType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaSyncType(struct soap *soap, const char *tag, int id, const enum ngwt__DeltaSyncType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DeltaSyncType), type);
- soap_send(soap, soap_ngwt__DeltaSyncType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_get_ngwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DeltaSyncType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DeltaSyncType(struct soap *soap, const char *s, enum ngwt__DeltaSyncType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__DeltaSyncType, s);
- if (map)
- *a = (enum ngwt__DeltaSyncType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__DeltaSyncType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_in_ngwt__DeltaSyncType(struct soap *soap, const char *tag, enum ngwt__DeltaSyncType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__DeltaSyncType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DeltaSyncType, sizeof(enum ngwt__DeltaSyncType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__DeltaSyncType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__DeltaSyncType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaSyncType, 0, sizeof(enum ngwt__DeltaSyncType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CustomType(struct soap *soap, enum ngwt__CustomType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__CustomType
- *a = SOAP_DEFAULT_ngwt__CustomType;
-#else
- *a = (enum ngwt__CustomType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CustomType(struct soap *soap, const enum ngwt__CustomType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CustomType);
- if (soap_out_ngwt__CustomType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__CustomType[] =
-{ { (long)String, "String" },
- { (long)Numeric, "Numeric" },
- { (long)Date, "Date" },
- { (long)Binary, "Binary" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CustomType2s(struct soap *soap, enum ngwt__CustomType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__CustomType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomType(struct soap *soap, const char *tag, int id, const enum ngwt__CustomType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CustomType), type);
- soap_send(soap, soap_ngwt__CustomType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_get_ngwt__CustomType(struct soap *soap, enum ngwt__CustomType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CustomType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CustomType(struct soap *soap, const char *s, enum ngwt__CustomType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__CustomType, s);
- if (map)
- *a = (enum ngwt__CustomType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__CustomType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_in_ngwt__CustomType(struct soap *soap, const char *tag, enum ngwt__CustomType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__CustomType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CustomType, sizeof(enum ngwt__CustomType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__CustomType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__CustomType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomType, 0, sizeof(enum ngwt__CustomType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__CursorSeek
- *a = SOAP_DEFAULT_ngwt__CursorSeek;
-#else
- *a = (enum ngwt__CursorSeek)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CursorSeek(struct soap *soap, const enum ngwt__CursorSeek *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CursorSeek);
- if (soap_out_ngwt__CursorSeek(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__CursorSeek[] =
-{ { (long)current, "current" },
- { (long)start, "start" },
- { (long)end, "end" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CursorSeek2s(struct soap *soap, enum ngwt__CursorSeek n)
-{ const char *s = soap_str_code(soap_codes_ngwt__CursorSeek, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CursorSeek(struct soap *soap, const char *tag, int id, const enum ngwt__CursorSeek *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CursorSeek), type);
- soap_send(soap, soap_ngwt__CursorSeek2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_get_ngwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CursorSeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CursorSeek(struct soap *soap, const char *s, enum ngwt__CursorSeek *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__CursorSeek, s);
- if (map)
- *a = (enum ngwt__CursorSeek)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__CursorSeek)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_in_ngwt__CursorSeek(struct soap *soap, const char *tag, enum ngwt__CursorSeek *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__CursorSeek *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CursorSeek, sizeof(enum ngwt__CursorSeek), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__CursorSeek(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__CursorSeek *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CursorSeek, 0, sizeof(enum ngwt__CursorSeek), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ContactType(struct soap *soap, enum ngwt__ContactType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ContactType
- *a = SOAP_DEFAULT_ngwt__ContactType;
-#else
- *a = (enum ngwt__ContactType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ContactType(struct soap *soap, const enum ngwt__ContactType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ContactType);
- if (soap_out_ngwt__ContactType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ContactType[] =
-{ { (long)Contact__, "Contact" },
- { (long)Group_, "Group" },
- { (long)Resource_, "Resource" },
- { (long)Organization__, "Organization" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ContactType2s(struct soap *soap, enum ngwt__ContactType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__ContactType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactType(struct soap *soap, const char *tag, int id, const enum ngwt__ContactType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContactType), type);
- soap_send(soap, soap_ngwt__ContactType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_get_ngwt__ContactType(struct soap *soap, enum ngwt__ContactType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ContactType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ContactType(struct soap *soap, const char *s, enum ngwt__ContactType *a)
-{
- const struct soap_code_map *map;
- char *t;
- if (!s)
- return SOAP_OK;
- soap_s2TQName(soap, s, &t);
- map = soap_code(soap_codes_ngwt__ContactType, t);
- if (map)
- *a = (enum ngwt__ContactType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__ContactType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_in_ngwt__ContactType(struct soap *soap, const char *tag, enum ngwt__ContactType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ContactType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContactType, sizeof(enum ngwt__ContactType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__ContactType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ContactType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContactType, 0, sizeof(enum ngwt__ContactType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__CategoryType
- *a = SOAP_DEFAULT_ngwt__CategoryType;
-#else
- *a = (enum ngwt__CategoryType)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CategoryType(struct soap *soap, const enum ngwt__CategoryType *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryType);
- if (soap_out_ngwt__CategoryType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__CategoryType[] =
-{ { (long)Normal, "Normal" },
- { (long)Personal, "Personal" },
- { (long)FollowUp, "FollowUp" },
- { (long)Urgent, "Urgent" },
- { (long)LowPriority, "LowPriority" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CategoryType2s(struct soap *soap, enum ngwt__CategoryType n)
-{ const char *s = soap_str_code(soap_codes_ngwt__CategoryType, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryType(struct soap *soap, const char *tag, int id, const enum ngwt__CategoryType *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryType), type);
- soap_send(soap, soap_ngwt__CategoryType2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_get_ngwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CategoryType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CategoryType(struct soap *soap, const char *s, enum ngwt__CategoryType *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__CategoryType, s);
- if (map)
- *a = (enum ngwt__CategoryType)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__CategoryType)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_in_ngwt__CategoryType(struct soap *soap, const char *tag, enum ngwt__CategoryType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__CategoryType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryType, sizeof(enum ngwt__CategoryType), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__CategoryType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__CategoryType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryType, 0, sizeof(enum ngwt__CategoryType), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CalendarFolderFlags(struct soap *soap, enum ngwt__CalendarFolderFlags *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__CalendarFolderFlags
- *a = SOAP_DEFAULT_ngwt__CalendarFolderFlags;
-#else
- *a = (enum ngwt__CalendarFolderFlags)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CalendarFolderFlags(struct soap *soap, const enum ngwt__CalendarFolderFlags *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarFolderFlags);
- if (soap_out_ngwt__CalendarFolderFlags(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__CalendarFolderFlags[] =
-{ { (long)ShowInList, "ShowInList" },
- { (long)DontIncludeContent, "DontIncludeContent" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CalendarFolderFlags2s(struct soap *soap, enum ngwt__CalendarFolderFlags n)
-{ const char *s = soap_str_code(soap_codes_ngwt__CalendarFolderFlags, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderFlags(struct soap *soap, const char *tag, int id, const enum ngwt__CalendarFolderFlags *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarFolderFlags), type);
- soap_send(soap, soap_ngwt__CalendarFolderFlags2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_get_ngwt__CalendarFolderFlags(struct soap *soap, enum ngwt__CalendarFolderFlags *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CalendarFolderFlags(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CalendarFolderFlags(struct soap *soap, const char *s, enum ngwt__CalendarFolderFlags *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__CalendarFolderFlags, s);
- if (map)
- *a = (enum ngwt__CalendarFolderFlags)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__CalendarFolderFlags)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_in_ngwt__CalendarFolderFlags(struct soap *soap, const char *tag, enum ngwt__CalendarFolderFlags *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__CalendarFolderFlags *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarFolderFlags, sizeof(enum ngwt__CalendarFolderFlags), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__CalendarFolderFlags(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__CalendarFolderFlags *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderFlags, 0, sizeof(enum ngwt__CalendarFolderFlags), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AppointmentConflict(struct soap *soap, enum ngwt__AppointmentConflict *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__AppointmentConflict
- *a = SOAP_DEFAULT_ngwt__AppointmentConflict;
-#else
- *a = (enum ngwt__AppointmentConflict)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AppointmentConflict(struct soap *soap, const enum ngwt__AppointmentConflict *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AppointmentConflict);
- if (soap_out_ngwt__AppointmentConflict(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__AppointmentConflict[] =
-{ { (long)Yes, "Yes" },
- { (long)No, "No" },
- { (long)Ignore, "Ignore" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AppointmentConflict2s(struct soap *soap, enum ngwt__AppointmentConflict n)
-{ const char *s = soap_str_code(soap_codes_ngwt__AppointmentConflict, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AppointmentConflict(struct soap *soap, const char *tag, int id, const enum ngwt__AppointmentConflict *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AppointmentConflict), type);
- soap_send(soap, soap_ngwt__AppointmentConflict2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_get_ngwt__AppointmentConflict(struct soap *soap, enum ngwt__AppointmentConflict *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AppointmentConflict(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AppointmentConflict(struct soap *soap, const char *s, enum ngwt__AppointmentConflict *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__AppointmentConflict, s);
- if (map)
- *a = (enum ngwt__AppointmentConflict)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__AppointmentConflict)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_in_ngwt__AppointmentConflict(struct soap *soap, const char *tag, enum ngwt__AppointmentConflict *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__AppointmentConflict *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AppointmentConflict, sizeof(enum ngwt__AppointmentConflict), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__AppointmentConflict(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__AppointmentConflict *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AppointmentConflict, 0, sizeof(enum ngwt__AppointmentConflict), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__AgeAction
- *a = SOAP_DEFAULT_ngwt__AgeAction;
-#else
- *a = (enum ngwt__AgeAction)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AgeAction(struct soap *soap, const enum ngwt__AgeAction *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AgeAction);
- if (soap_out_ngwt__AgeAction(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__AgeAction[] =
-{ { (long)archive, "archive" },
- { (long)delete__, "delete" },
- { (long)retain, "retain" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AgeAction2s(struct soap *soap, enum ngwt__AgeAction n)
-{ const char *s = soap_str_code(soap_codes_ngwt__AgeAction, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AgeAction(struct soap *soap, const char *tag, int id, const enum ngwt__AgeAction *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AgeAction), type);
- soap_send(soap, soap_ngwt__AgeAction2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_get_ngwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AgeAction(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AgeAction(struct soap *soap, const char *s, enum ngwt__AgeAction *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__AgeAction, s);
- if (map)
- *a = (enum ngwt__AgeAction)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__AgeAction)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_in_ngwt__AgeAction(struct soap *soap, const char *tag, enum ngwt__AgeAction *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__AgeAction *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AgeAction, sizeof(enum ngwt__AgeAction), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__AgeAction(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__AgeAction *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AgeAction, 0, sizeof(enum ngwt__AgeAction), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__AcceptLevel
- *a = SOAP_DEFAULT_ngwt__AcceptLevel;
-#else
- *a = (enum ngwt__AcceptLevel)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AcceptLevel(struct soap *soap, const enum ngwt__AcceptLevel *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AcceptLevel);
- if (soap_out_ngwt__AcceptLevel(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__AcceptLevel[] =
-{ { (long)Free, "Free" },
- { (long)Tentative, "Tentative" },
- { (long)Busy, "Busy" },
- { (long)OutOfOffice, "OutOfOffice" },
- { 0, NULL }
-};
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AcceptLevel2s(struct soap *soap, enum ngwt__AcceptLevel n)
-{ const char *s = soap_str_code(soap_codes_ngwt__AcceptLevel, (long)n);
- if (s)
- return s;
- return soap_long2s(soap, (long)n);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AcceptLevel(struct soap *soap, const char *tag, int id, const enum ngwt__AcceptLevel *a, const char *type)
-{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AcceptLevel), type);
- soap_send(soap, soap_ngwt__AcceptLevel2s(soap, *a));
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_get_ngwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AcceptLevel(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AcceptLevel(struct soap *soap, const char *s, enum ngwt__AcceptLevel *a)
-{
- const struct soap_code_map *map;
- if (!s)
- return SOAP_OK;
- map = soap_code(soap_codes_ngwt__AcceptLevel, s);
- if (map)
- *a = (enum ngwt__AcceptLevel)map->code;
- else
- { long n;
- if (soap_s2long(soap, s, &n))
- return soap->error;
- *a = (enum ngwt__AcceptLevel)n;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_in_ngwt__AcceptLevel(struct soap *soap, const char *tag, enum ngwt__AcceptLevel *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__AcceptLevel *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AcceptLevel, sizeof(enum ngwt__AcceptLevel), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { if (!a || soap_s2ngwt__AcceptLevel(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__AcceptLevel *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AcceptLevel, 0, sizeof(enum ngwt__AcceptLevel), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwe__ItemTypeList
- *a = SOAP_DEFAULT_ngwe__ItemTypeList;
-#else
- *a = (enum ngwe__ItemTypeList)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemTypeList(struct soap *soap, const enum ngwe__ItemTypeList *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__ItemTypeList);
- if (soap_out_ngwe__ItemTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwe__ItemTypeList[] =
-{ { (long)AddressBookItem, "AddressBookItem" },
- { (long)Appointment_, "Appointment" },
- { (long)CalendarItem_, "CalendarItem" },
- { (long)Contact_, "Contact" },
- { (long)Group, "Group" },
- { (long)Mail_, "Mail" },
- { (long)Note_, "Note" },
- { (long)Organization_, "Organization" },
- { (long)PhoneMessage_, "PhoneMessage" },
- { (long)Resource, "Resource" },
- { (long)Task_, "Task" },
- { (long)DocumentRef, "DocumentRef" },
- { 0, NULL }
-};
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemTypeList(struct soap *soap, const char *tag, int id, const enum ngwe__ItemTypeList *a, const char *type)
-{ long i;
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ItemTypeList), type);
- for (i = 1; i; i <<= 1)
- switch ((long)*a & i)
- {
- case 1: soap_send(soap, "AddressBookItem "); break;
- case 2: soap_send(soap, "Appointment "); break;
- case 4: soap_send(soap, "CalendarItem "); break;
- case 8: soap_send(soap, "Contact "); break;
- case 16: soap_send(soap, "Group "); break;
- case 32: soap_send(soap, "Mail "); break;
- case 64: soap_send(soap, "Note "); break;
- case 128: soap_send(soap, "Organization "); break;
- case 256: soap_send(soap, "PhoneMessage "); break;
- case 512: soap_send(soap, "Resource "); break;
- case 1024: soap_send(soap, "Task "); break;
- case 2048: soap_send(soap, "DocumentRef "); break;
- }
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_get_ngwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__ItemTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_in_ngwe__ItemTypeList(struct soap *soap, const char *tag, enum ngwe__ItemTypeList *a, const char *type)
-{
- const char *s;
- LONG64 i;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwe__ItemTypeList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ItemTypeList, sizeof(enum ngwe__ItemTypeList), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { i = 0;
- while (*(s = soap_token(soap)))
- if (!strcmp(s, "AddressBookItem"))
- i |= (LONG64)AddressBookItem;
- else if (!strcmp(s, "Appointment"))
- i |= (LONG64)Appointment_;
- else if (!strcmp(s, "CalendarItem"))
- i |= (LONG64)CalendarItem_;
- else if (!strcmp(s, "Contact"))
- i |= (LONG64)Contact_;
- else if (!strcmp(s, "Group"))
- i |= (LONG64)Group;
- else if (!strcmp(s, "Mail"))
- i |= (LONG64)Mail_;
- else if (!strcmp(s, "Note"))
- i |= (LONG64)Note_;
- else if (!strcmp(s, "Organization"))
- i |= (LONG64)Organization_;
- else if (!strcmp(s, "PhoneMessage"))
- i |= (LONG64)PhoneMessage_;
- else if (!strcmp(s, "Resource"))
- i |= (LONG64)Resource;
- else if (!strcmp(s, "Task"))
- i |= (LONG64)Task_;
- else if (!strcmp(s, "DocumentRef"))
- i |= (LONG64)DocumentRef;
- else
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- *a = (enum ngwe__ItemTypeList)i;
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwe__ItemTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemTypeList, 0, sizeof(enum ngwe__ItemTypeList), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__FieldList(struct soap *soap, enum ngwe__FieldList *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwe__FieldList
- *a = SOAP_DEFAULT_ngwe__FieldList;
-#else
- *a = (enum ngwe__FieldList)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__FieldList(struct soap *soap, const enum ngwe__FieldList *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__FieldList);
- if (soap_out_ngwe__FieldList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwe__FieldList[] =
-{ { (long)AcceptLevel, "AcceptLevel" },
- { (long)Alarm, "Alarm" },
- { (long)AllDayEvent, "AllDayEvent" },
- { (long)Attachment, "Attachment" },
- { (long)Category, "Category" },
- { (long)Classification, "Classification" },
- { (long)Contact, "Contact" },
- { (long)DueDate, "DueDate" },
- { (long)Duration, "Duration" },
- { (long)EmailAddress, "EmailAddress" },
- { (long)ExpirationDate, "ExpirationDate" },
- { (long)Hidden, "Hidden" },
- { (long)IMAddress, "IMAddress" },
- { (long)MessageBody, "MessageBody" },
- { (long)Name, "Name" },
- { (long)Organization, "Organization" },
- { (long)Owner, "Owner" },
- { (long)PersonalSubject, "PersonalSubject" },
- { (long)PhoneNumber, "PhoneNumber" },
- { (long)Place, "Place" },
- { (long)PostalAddress, "PostalAddress" },
- { (long)RecipientStatus, "RecipientStatus" },
- { (long)Rights, "Rights" },
- { (long)Security, "Security" },
- { (long)SendPriority, "SendPriority" },
- { (long)StartDate, "StartDate" },
- { (long)Subject, "Subject" },
- { (long)TaskCategory, "TaskCategory" },
- { (long)TaskPriority, "TaskPriority" },
- { 0, NULL }
-};
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__FieldList(struct soap *soap, const char *tag, int id, const enum ngwe__FieldList *a, const char *type)
-{ long i;
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__FieldList), type);
- for (i = 1; i; i <<= 1)
- switch ((long)*a & i)
- {
- case 1: soap_send(soap, "AcceptLevel "); break;
- case 2: soap_send(soap, "Alarm "); break;
- case 4: soap_send(soap, "AllDayEvent "); break;
- case 8: soap_send(soap, "Attachment "); break;
- case 16: soap_send(soap, "Category "); break;
- case 32: soap_send(soap, "Classification "); break;
- case 64: soap_send(soap, "Contact "); break;
- case 128: soap_send(soap, "DueDate "); break;
- case 256: soap_send(soap, "Duration "); break;
- case 512: soap_send(soap, "EmailAddress "); break;
- case 1024: soap_send(soap, "ExpirationDate "); break;
- case 2048: soap_send(soap, "Hidden "); break;
- case 4096: soap_send(soap, "IMAddress "); break;
- case 8192: soap_send(soap, "MessageBody "); break;
- case 16384: soap_send(soap, "Name "); break;
- case 32768: soap_send(soap, "Organization "); break;
- case 65536: soap_send(soap, "Owner "); break;
- case 131072: soap_send(soap, "PersonalSubject "); break;
- case 262144: soap_send(soap, "PhoneNumber "); break;
- case 524288: soap_send(soap, "Place "); break;
- case 1048576: soap_send(soap, "PostalAddress "); break;
- case 2097152: soap_send(soap, "RecipientStatus "); break;
- case 4194304: soap_send(soap, "Rights "); break;
- case 8388608: soap_send(soap, "Security "); break;
- case 16777216: soap_send(soap, "SendPriority "); break;
- case 33554432: soap_send(soap, "StartDate "); break;
- case 67108864: soap_send(soap, "Subject "); break;
- case 134217728: soap_send(soap, "TaskCategory "); break;
- case 268435456: soap_send(soap, "TaskPriority "); break;
- }
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_get_ngwe__FieldList(struct soap *soap, enum ngwe__FieldList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__FieldList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_in_ngwe__FieldList(struct soap *soap, const char *tag, enum ngwe__FieldList *a, const char *type)
-{
- const char *s;
- LONG64 i;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwe__FieldList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__FieldList, sizeof(enum ngwe__FieldList), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { i = 0;
- while (*(s = soap_token(soap)))
- if (!strcmp(s, "AcceptLevel"))
- i |= (LONG64)AcceptLevel;
- else if (!strcmp(s, "Alarm"))
- i |= (LONG64)Alarm;
- else if (!strcmp(s, "AllDayEvent"))
- i |= (LONG64)AllDayEvent;
- else if (!strcmp(s, "Attachment"))
- i |= (LONG64)Attachment;
- else if (!strcmp(s, "Category"))
- i |= (LONG64)Category;
- else if (!strcmp(s, "Classification"))
- i |= (LONG64)Classification;
- else if (!strcmp(s, "Contact"))
- i |= (LONG64)Contact;
- else if (!strcmp(s, "DueDate"))
- i |= (LONG64)DueDate;
- else if (!strcmp(s, "Duration"))
- i |= (LONG64)Duration;
- else if (!strcmp(s, "EmailAddress"))
- i |= (LONG64)EmailAddress;
- else if (!strcmp(s, "ExpirationDate"))
- i |= (LONG64)ExpirationDate;
- else if (!strcmp(s, "Hidden"))
- i |= (LONG64)Hidden;
- else if (!strcmp(s, "IMAddress"))
- i |= (LONG64)IMAddress;
- else if (!strcmp(s, "MessageBody"))
- i |= (LONG64)MessageBody;
- else if (!strcmp(s, "Name"))
- i |= (LONG64)Name;
- else if (!strcmp(s, "Organization"))
- i |= (LONG64)Organization;
- else if (!strcmp(s, "Owner"))
- i |= (LONG64)Owner;
- else if (!strcmp(s, "PersonalSubject"))
- i |= (LONG64)PersonalSubject;
- else if (!strcmp(s, "PhoneNumber"))
- i |= (LONG64)PhoneNumber;
- else if (!strcmp(s, "Place"))
- i |= (LONG64)Place;
- else if (!strcmp(s, "PostalAddress"))
- i |= (LONG64)PostalAddress;
- else if (!strcmp(s, "RecipientStatus"))
- i |= (LONG64)RecipientStatus;
- else if (!strcmp(s, "Rights"))
- i |= (LONG64)Rights;
- else if (!strcmp(s, "Security"))
- i |= (LONG64)Security;
- else if (!strcmp(s, "SendPriority"))
- i |= (LONG64)SendPriority;
- else if (!strcmp(s, "StartDate"))
- i |= (LONG64)StartDate;
- else if (!strcmp(s, "Subject"))
- i |= (LONG64)Subject;
- else if (!strcmp(s, "TaskCategory"))
- i |= (LONG64)TaskCategory;
- else if (!strcmp(s, "TaskPriority"))
- i |= (LONG64)TaskPriority;
- else
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- *a = (enum ngwe__FieldList)i;
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwe__FieldList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__FieldList, 0, sizeof(enum ngwe__FieldList), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__MessageTypeList
- *a = SOAP_DEFAULT_ngwt__MessageTypeList;
-#else
- *a = (enum ngwt__MessageTypeList)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageTypeList(struct soap *soap, const enum ngwt__MessageTypeList *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageTypeList);
- if (soap_out_ngwt__MessageTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__MessageTypeList[] =
-{ { (long)Appointment, "Appointment" },
- { (long)CalendarItem, "CalendarItem" },
- { (long)DocumentReference, "DocumentReference" },
- { (long)Mail, "Mail" },
- { (long)Note, "Note" },
- { (long)PhoneMessage, "PhoneMessage" },
- { (long)Task, "Task" },
- { 0, NULL }
-};
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageTypeList(struct soap *soap, const char *tag, int id, const enum ngwt__MessageTypeList *a, const char *type)
-{ long i;
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageTypeList), type);
- for (i = 1; i; i <<= 1)
- switch ((long)*a & i)
- {
- case 1: soap_send(soap, "Appointment "); break;
- case 2: soap_send(soap, "CalendarItem "); break;
- case 4: soap_send(soap, "DocumentReference "); break;
- case 8: soap_send(soap, "Mail "); break;
- case 16: soap_send(soap, "Note "); break;
- case 32: soap_send(soap, "PhoneMessage "); break;
- case 64: soap_send(soap, "Task "); break;
- }
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_get_ngwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MessageTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_in_ngwt__MessageTypeList(struct soap *soap, const char *tag, enum ngwt__MessageTypeList *a, const char *type)
-{
- const char *s;
- LONG64 i;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__MessageTypeList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageTypeList, sizeof(enum ngwt__MessageTypeList), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { i = 0;
- while (*(s = soap_token(soap)))
- if (!strcmp(s, "Appointment"))
- i |= (LONG64)Appointment;
- else if (!strcmp(s, "CalendarItem"))
- i |= (LONG64)CalendarItem;
- else if (!strcmp(s, "DocumentReference"))
- i |= (LONG64)DocumentReference;
- else if (!strcmp(s, "Mail"))
- i |= (LONG64)Mail;
- else if (!strcmp(s, "Note"))
- i |= (LONG64)Note;
- else if (!strcmp(s, "PhoneMessage"))
- i |= (LONG64)PhoneMessage;
- else if (!strcmp(s, "Task"))
- i |= (LONG64)Task;
- else
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- *a = (enum ngwt__MessageTypeList)i;
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__MessageTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageTypeList, 0, sizeof(enum ngwt__MessageTypeList), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_ngwt__ItemSourceList
- *a = SOAP_DEFAULT_ngwt__ItemSourceList;
-#else
- *a = (enum ngwt__ItemSourceList)0;
-#endif
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSourceList(struct soap *soap, const enum ngwt__ItemSourceList *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSourceList);
- if (soap_out_ngwt__ItemSourceList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-static const struct soap_code_map soap_codes_ngwt__ItemSourceList[] =
-{ { (long)received, "received" },
- { (long)sent, "sent" },
- { (long)draft, "draft" },
- { (long)personal, "personal" },
- { 0, NULL }
-};
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSourceList(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSourceList *a, const char *type)
-{ long i;
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSourceList), type);
- for (i = 1; i; i <<= 1)
- switch ((long)*a & i)
- {
- case 1: soap_send(soap, "received "); break;
- case 2: soap_send(soap, "sent "); break;
- case 4: soap_send(soap, "draft "); break;
- case 8: soap_send(soap, "personal "); break;
- }
- return soap_element_end_out(soap, tag);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_get_ngwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemSourceList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_in_ngwt__ItemSourceList(struct soap *soap, const char *tag, enum ngwt__ItemSourceList *a, const char *type)
-{
- const char *s;
- LONG64 i;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (enum ngwt__ItemSourceList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSourceList, sizeof(enum ngwt__ItemSourceList), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- if (soap->body && !*soap->href)
- { i = 0;
- while (*(s = soap_token(soap)))
- if (!strcmp(s, "received"))
- i |= (LONG64)received;
- else if (!strcmp(s, "sent"))
- i |= (LONG64)sent;
- else if (!strcmp(s, "draft"))
- i |= (LONG64)draft;
- else if (!strcmp(s, "personal"))
- i |= (LONG64)personal;
- else
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- *a = (enum ngwt__ItemSourceList)i;
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSourceList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSourceList, 0, sizeof(enum ngwt__ItemSourceList), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__UUID(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__UUID(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__UUID(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__UUID);
- if (soap_out_ngwt__UUID(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UUID(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__UUID), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__UUID(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__UUID(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__UUID(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__UUID, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__UUID, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__UUID, 0, sizeof(std::string), 0, soap_copy_ngwt__UUID);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__UUID(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__UUID(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UUID(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__UUID(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UUID(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UUID, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UUID(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__uid(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__uid(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__uid(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__uid);
- if (soap_out_ngwt__uid(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__uid(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__uid), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__uid(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__uid(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__uid(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__uid, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__uid, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__uid, 0, sizeof(std::string), 0, soap_copy_ngwt__uid);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__uid(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__uid(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__uid(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__uid(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__uid(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__uid, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__uid(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__View(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__View(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__View(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__View);
- if (soap_out_ngwt__View(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__View(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__View), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__View(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__View(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__View(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__View, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__View, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__View, 0, sizeof(std::string), 0, soap_copy_ngwt__View);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__View(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__View(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__View(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__View(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__View(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__View, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__View(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-void _ngwe__removeEventsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__removeEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__removeEventsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__removeEventsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__removeEventsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__removeEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__removeEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__removeEventsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__removeEventsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__removeEventsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__removeEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__removeEventsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_get__ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__removeEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__removeEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__removeEventsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_in__ngwe__removeEventsResponse(struct soap *soap, const char *tag, _ngwe__removeEventsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__removeEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventsResponse, sizeof(_ngwe__removeEventsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__removeEventsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__removeEventsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__removeEventsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsResponse, 0, sizeof(_ngwe__removeEventsResponse), 0, soap_copy__ngwe__removeEventsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_new__ngwe__removeEventsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__removeEventsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__removeEventsResponse;
- if (size)
- *size = sizeof(_ngwe__removeEventsResponse);
- ((_ngwe__removeEventsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__removeEventsResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__removeEventsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__removeEventsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__removeEventsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventsResponse %p -> %p\n", q, p));
- *(_ngwe__removeEventsResponse*)p = *(_ngwe__removeEventsResponse*)q;
-}
-
-void _ngwe__removeEventsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((_ngwe__removeEventsRequest*)this)->key);
- soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->from, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwe__removeEventsRequest*)this)->from);
- soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->until, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwe__removeEventsRequest*)this)->until);
- /* transient soap skipped */
-}
-
-void _ngwe__removeEventsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((_ngwe__removeEventsRequest*)this)->key);
- soap_default_string(soap, &((_ngwe__removeEventsRequest*)this)->from);
- soap_default_string(soap, &((_ngwe__removeEventsRequest*)this)->until);
- /* transient soap skipped */
-}
-
-int _ngwe__removeEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__removeEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__removeEventsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__removeEventsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventsRequest), type);
- soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__removeEventsRequest*)a)->key), "");
- soap_out_string(soap, "ngwe:from", -1, &(((_ngwe__removeEventsRequest*)a)->from), "");
- soap_out_string(soap, "ngwe:until", -1, &(((_ngwe__removeEventsRequest*)a)->until), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__removeEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__removeEventsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_get__ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__removeEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__removeEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__removeEventsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_in__ngwe__removeEventsRequest(struct soap *soap, const char *tag, _ngwe__removeEventsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__removeEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventsRequest, sizeof(_ngwe__removeEventsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__removeEventsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__removeEventsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_key1 = 1, soap_flag_from1 = 1, soap_flag_until1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__removeEventsRequest*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwe:from", &(((_ngwe__removeEventsRequest*)a)->from), ""))
- { soap_flag_from1 = 0;
- continue;
- }
- if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwe:until", &(((_ngwe__removeEventsRequest*)a)->until), ""))
- { soap_flag_until1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsRequest, 0, sizeof(_ngwe__removeEventsRequest), 0, soap_copy__ngwe__removeEventsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_new__ngwe__removeEventsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__removeEventsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__removeEventsRequest;
- if (size)
- *size = sizeof(_ngwe__removeEventsRequest);
- ((_ngwe__removeEventsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__removeEventsRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__removeEventsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__removeEventsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__removeEventsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventsRequest %p -> %p\n", q, p));
- *(_ngwe__removeEventsRequest*)p = *(_ngwe__removeEventsRequest*)q;
-}
-
-void _ngwe__removeEventConfigurationResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__removeEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__removeEventConfigurationResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__removeEventConfigurationResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__removeEventConfigurationResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__removeEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventConfigurationResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__removeEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__removeEventConfigurationResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__removeEventConfigurationResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventConfigurationResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__removeEventConfigurationResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__removeEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__removeEventConfigurationResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__removeEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__removeEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__removeEventConfigurationResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__removeEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, sizeof(_ngwe__removeEventConfigurationResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__removeEventConfigurationResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__removeEventConfigurationResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__removeEventConfigurationResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, 0, sizeof(_ngwe__removeEventConfigurationResponse), 0, soap_copy__ngwe__removeEventConfigurationResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__removeEventConfigurationResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventConfigurationResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__removeEventConfigurationResponse;
- if (size)
- *size = sizeof(_ngwe__removeEventConfigurationResponse);
- ((_ngwe__removeEventConfigurationResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__removeEventConfigurationResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__removeEventConfigurationResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__removeEventConfigurationResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__removeEventConfigurationResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventConfigurationResponse %p -> %p\n", q, p));
- *(_ngwe__removeEventConfigurationResponse*)p = *(_ngwe__removeEventConfigurationResponse*)q;
-}
-
-void _ngwe__removeEventConfigurationRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key);
- /* transient soap skipped */
-}
-
-void _ngwe__removeEventConfigurationRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key);
- /* transient soap skipped */
-}
-
-int _ngwe__removeEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventConfigurationRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__removeEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__removeEventConfigurationRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__removeEventConfigurationRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventConfigurationRequest), type);
- soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__removeEventConfigurationRequest*)a)->key), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__removeEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__removeEventConfigurationRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__removeEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__removeEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__removeEventConfigurationRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__removeEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, sizeof(_ngwe__removeEventConfigurationRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__removeEventConfigurationRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__removeEventConfigurationRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_key1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__removeEventConfigurationRequest*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, 0, sizeof(_ngwe__removeEventConfigurationRequest), 0, soap_copy__ngwe__removeEventConfigurationRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__removeEventConfigurationRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventConfigurationRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__removeEventConfigurationRequest;
- if (size)
- *size = sizeof(_ngwe__removeEventConfigurationRequest);
- ((_ngwe__removeEventConfigurationRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__removeEventConfigurationRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__removeEventConfigurationRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__removeEventConfigurationRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__removeEventConfigurationRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventConfigurationRequest %p -> %p\n", q, p));
- *(_ngwe__removeEventConfigurationRequest*)p = *(_ngwe__removeEventConfigurationRequest*)q;
-}
-
-void _ngwe__getEventsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__getEventsResponse*)this)->events, SOAP_TYPE_PointerTongwe__EventList);
- soap_serialize_PointerTongwe__EventList(soap, &((_ngwe__getEventsResponse*)this)->events);
- soap_embedded(soap, &((_ngwe__getEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__getEventsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__getEventsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__getEventsResponse*)this)->events = NULL;
- ((_ngwe__getEventsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__getEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__getEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__getEventsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__getEventsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventsResponse), type);
- soap_out_PointerTongwe__EventList(soap, "ngwe:events", -1, &(((_ngwe__getEventsResponse*)a)->events), "");
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__getEventsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__getEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__getEventsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_get__ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__getEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__getEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__getEventsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_in__ngwe__getEventsResponse(struct soap *soap, const char *tag, _ngwe__getEventsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__getEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventsResponse, sizeof(_ngwe__getEventsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__getEventsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__getEventsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_events1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__EventList(soap, "ngwe:events", &(((_ngwe__getEventsResponse*)a)->events), "ngwe:EventList"))
- { soap_flag_events1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__getEventsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__getEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsResponse, 0, sizeof(_ngwe__getEventsResponse), 0, soap_copy__ngwe__getEventsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_new__ngwe__getEventsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__getEventsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__getEventsResponse;
- if (size)
- *size = sizeof(_ngwe__getEventsResponse);
- ((_ngwe__getEventsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__getEventsResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__getEventsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__getEventsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__getEventsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventsResponse %p -> %p\n", q, p));
- *(_ngwe__getEventsResponse*)p = *(_ngwe__getEventsResponse*)q;
-}
-
-void _ngwe__getEventsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((_ngwe__getEventsRequest*)this)->key);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->from, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwe__getEventsRequest*)this)->from);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->until, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwe__getEventsRequest*)this)->until);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->uid, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((_ngwe__getEventsRequest*)this)->uid);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->count, SOAP_TYPE_int);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->remove, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->notify, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwe__getEventsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((_ngwe__getEventsRequest*)this)->key);
- soap_default_string(soap, &((_ngwe__getEventsRequest*)this)->from);
- soap_default_string(soap, &((_ngwe__getEventsRequest*)this)->until);
- ((_ngwe__getEventsRequest*)this)->uid = NULL;
- ((_ngwe__getEventsRequest*)this)->count = -1;
- ((_ngwe__getEventsRequest*)this)->remove = (bool)0;
- ((_ngwe__getEventsRequest*)this)->notify = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwe__getEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__getEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__getEventsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__getEventsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventsRequest), type);
- soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__getEventsRequest*)a)->key), "");
- soap_out_string(soap, "ngwe:from", -1, &(((_ngwe__getEventsRequest*)a)->from), "");
- soap_out_string(soap, "ngwe:until", -1, &(((_ngwe__getEventsRequest*)a)->until), "");
- soap_out_PointerTounsignedLong(soap, "ngwe:uid", -1, &(((_ngwe__getEventsRequest*)a)->uid), "");
- soap_out_int(soap, "ngwe:count", -1, &(((_ngwe__getEventsRequest*)a)->count), "");
- soap_out_bool(soap, "ngwe:remove", -1, &(((_ngwe__getEventsRequest*)a)->remove), "");
- soap_out_bool(soap, "ngwe:notify", -1, &(((_ngwe__getEventsRequest*)a)->notify), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__getEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__getEventsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_get__ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__getEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__getEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__getEventsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_in__ngwe__getEventsRequest(struct soap *soap, const char *tag, _ngwe__getEventsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__getEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventsRequest, sizeof(_ngwe__getEventsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__getEventsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__getEventsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_key1 = 1, soap_flag_from1 = 1, soap_flag_until1 = 1, soap_flag_uid1 = 1, soap_flag_count1 = 1, soap_flag_remove1 = 1, soap_flag_notify1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__getEventsRequest*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwe:from", &(((_ngwe__getEventsRequest*)a)->from), ""))
- { soap_flag_from1 = 0;
- continue;
- }
- if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwe:until", &(((_ngwe__getEventsRequest*)a)->until), ""))
- { soap_flag_until1 = 0;
- continue;
- }
- if (soap_flag_uid1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwe:uid", &(((_ngwe__getEventsRequest*)a)->uid), ""))
- { soap_flag_uid1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwe:count", &(((_ngwe__getEventsRequest*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- if (soap_flag_remove1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwe:remove", &(((_ngwe__getEventsRequest*)a)->remove), ""))
- { soap_flag_remove1 = 0;
- continue;
- }
- if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwe:notify", &(((_ngwe__getEventsRequest*)a)->notify), ""))
- { soap_flag_notify1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__getEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsRequest, 0, sizeof(_ngwe__getEventsRequest), 0, soap_copy__ngwe__getEventsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_new__ngwe__getEventsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__getEventsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__getEventsRequest;
- if (size)
- *size = sizeof(_ngwe__getEventsRequest);
- ((_ngwe__getEventsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__getEventsRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__getEventsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__getEventsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__getEventsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventsRequest %p -> %p\n", q, p));
- *(_ngwe__getEventsRequest*)p = *(_ngwe__getEventsRequest*)q;
-}
-
-void _ngwe__getEventConfigurationResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__getEventConfigurationResponse*)this)->events, SOAP_TYPE_PointerTongwe__EventsList);
- soap_serialize_PointerTongwe__EventsList(soap, &((_ngwe__getEventConfigurationResponse*)this)->events);
- soap_embedded(soap, &((_ngwe__getEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__getEventConfigurationResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__getEventConfigurationResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__getEventConfigurationResponse*)this)->events = NULL;
- ((_ngwe__getEventConfigurationResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__getEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventConfigurationResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__getEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__getEventConfigurationResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__getEventConfigurationResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventConfigurationResponse), type);
- soap_out_PointerTongwe__EventsList(soap, "ngwe:events", -1, &(((_ngwe__getEventConfigurationResponse*)a)->events), "");
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__getEventConfigurationResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__getEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__getEventConfigurationResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__getEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__getEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__getEventConfigurationResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__getEventConfigurationResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__getEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventConfigurationResponse, sizeof(_ngwe__getEventConfigurationResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__getEventConfigurationResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__getEventConfigurationResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_events1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__EventsList(soap, "ngwe:events", &(((_ngwe__getEventConfigurationResponse*)a)->events), "ngwe:EventsList"))
- { soap_flag_events1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__getEventConfigurationResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__getEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationResponse, 0, sizeof(_ngwe__getEventConfigurationResponse), 0, soap_copy__ngwe__getEventConfigurationResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__getEventConfigurationResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventConfigurationResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__getEventConfigurationResponse;
- if (size)
- *size = sizeof(_ngwe__getEventConfigurationResponse);
- ((_ngwe__getEventConfigurationResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__getEventConfigurationResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__getEventConfigurationResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__getEventConfigurationResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__getEventConfigurationResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventConfigurationResponse %p -> %p\n", q, p));
- *(_ngwe__getEventConfigurationResponse*)p = *(_ngwe__getEventConfigurationResponse*)q;
-}
-
-void _ngwe__getEventConfigurationRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__getEventConfigurationRequest*)this)->key, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwe__getEventConfigurationRequest*)this)->key);
- /* transient soap skipped */
-}
-
-void _ngwe__getEventConfigurationRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__getEventConfigurationRequest*)this)->key = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__getEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventConfigurationRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__getEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__getEventConfigurationRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__getEventConfigurationRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventConfigurationRequest), type);
- soap_out_PointerTostd__string(soap, "ngwe:key", -1, &(((_ngwe__getEventConfigurationRequest*)a)->key), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__getEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__getEventConfigurationRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__getEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__getEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__getEventConfigurationRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__getEventConfigurationRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__getEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventConfigurationRequest, sizeof(_ngwe__getEventConfigurationRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__getEventConfigurationRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__getEventConfigurationRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_key1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwe:key", &(((_ngwe__getEventConfigurationRequest*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__getEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationRequest, 0, sizeof(_ngwe__getEventConfigurationRequest), 0, soap_copy__ngwe__getEventConfigurationRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__getEventConfigurationRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventConfigurationRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__getEventConfigurationRequest;
- if (size)
- *size = sizeof(_ngwe__getEventConfigurationRequest);
- ((_ngwe__getEventConfigurationRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__getEventConfigurationRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__getEventConfigurationRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__getEventConfigurationRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__getEventConfigurationRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventConfigurationRequest %p -> %p\n", q, p));
- *(_ngwe__getEventConfigurationRequest*)p = *(_ngwe__getEventConfigurationRequest*)q;
-}
-
-void _ngwe__configureEventsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__configureEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__configureEventsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__configureEventsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__configureEventsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__configureEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__configureEventsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__configureEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__configureEventsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__configureEventsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__configureEventsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__configureEventsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__configureEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__configureEventsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_get__ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__configureEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__configureEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__configureEventsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_in__ngwe__configureEventsResponse(struct soap *soap, const char *tag, _ngwe__configureEventsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__configureEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__configureEventsResponse, sizeof(_ngwe__configureEventsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__configureEventsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__configureEventsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__configureEventsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__configureEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsResponse, 0, sizeof(_ngwe__configureEventsResponse), 0, soap_copy__ngwe__configureEventsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_new__ngwe__configureEventsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__configureEventsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__configureEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__configureEventsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__configureEventsResponse;
- if (size)
- *size = sizeof(_ngwe__configureEventsResponse);
- ((_ngwe__configureEventsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__configureEventsResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__configureEventsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__configureEventsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__configureEventsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__configureEventsResponse %p -> %p\n", q, p));
- *(_ngwe__configureEventsResponse*)p = *(_ngwe__configureEventsResponse*)q;
-}
-
-void _ngwe__configureEventsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__configureEventsRequest*)this)->events, SOAP_TYPE_PointerTongwe__Events);
- soap_serialize_PointerTongwe__Events(soap, &((_ngwe__configureEventsRequest*)this)->events);
- /* transient soap skipped */
-}
-
-void _ngwe__configureEventsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__configureEventsRequest*)this)->events = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__configureEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__configureEventsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__configureEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__configureEventsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__configureEventsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__configureEventsRequest), type);
- soap_out_PointerTongwe__Events(soap, "ngwe:events", -1, &(((_ngwe__configureEventsRequest*)a)->events), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__configureEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__configureEventsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_get__ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__configureEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__configureEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__configureEventsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_in__ngwe__configureEventsRequest(struct soap *soap, const char *tag, _ngwe__configureEventsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__configureEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__configureEventsRequest, sizeof(_ngwe__configureEventsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__configureEventsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__configureEventsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_events1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__Events(soap, "ngwe:events", &(((_ngwe__configureEventsRequest*)a)->events), "ngwe:Events"))
- { soap_flag_events1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__configureEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsRequest, 0, sizeof(_ngwe__configureEventsRequest), 0, soap_copy__ngwe__configureEventsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_new__ngwe__configureEventsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__configureEventsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__configureEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__configureEventsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__configureEventsRequest;
- if (size)
- *size = sizeof(_ngwe__configureEventsRequest);
- ((_ngwe__configureEventsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__configureEventsRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__configureEventsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__configureEventsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__configureEventsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__configureEventsRequest %p -> %p\n", q, p));
- *(_ngwe__configureEventsRequest*)p = *(_ngwe__configureEventsRequest*)q;
-}
-
-void _ngwe__cleanEventConfigurationResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__cleanEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwe__cleanEventConfigurationResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwe__cleanEventConfigurationResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__cleanEventConfigurationResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwe__cleanEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__cleanEventConfigurationResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__cleanEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__cleanEventConfigurationResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__cleanEventConfigurationResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__cleanEventConfigurationResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__cleanEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__cleanEventConfigurationResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__cleanEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__cleanEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__cleanEventConfigurationResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__cleanEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, sizeof(_ngwe__cleanEventConfigurationResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__cleanEventConfigurationResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__cleanEventConfigurationResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__cleanEventConfigurationResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__cleanEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, 0, sizeof(_ngwe__cleanEventConfigurationResponse), 0, soap_copy__ngwe__cleanEventConfigurationResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__cleanEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__cleanEventConfigurationResponse;
- if (size)
- *size = sizeof(_ngwe__cleanEventConfigurationResponse);
- ((_ngwe__cleanEventConfigurationResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__cleanEventConfigurationResponse[n];
- if (size)
- *size = n * sizeof(_ngwe__cleanEventConfigurationResponse);
- for (int i = 0; i < n; i++)
- ((_ngwe__cleanEventConfigurationResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__cleanEventConfigurationResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__cleanEventConfigurationResponse %p -> %p\n", q, p));
- *(_ngwe__cleanEventConfigurationResponse*)p = *(_ngwe__cleanEventConfigurationResponse*)q;
-}
-
-void _ngwe__cleanEventConfigurationRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwe__cleanEventConfigurationRequest*)this)->all, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwe__cleanEventConfigurationRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwe__cleanEventConfigurationRequest*)this)->all = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwe__cleanEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__cleanEventConfigurationRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwe__cleanEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwe__cleanEventConfigurationRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__cleanEventConfigurationRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest), type);
- soap_out_bool(soap, "ngwe:all", -1, &(((_ngwe__cleanEventConfigurationRequest*)a)->all), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwe__cleanEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwe__cleanEventConfigurationRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwe__cleanEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwe__cleanEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwe__cleanEventConfigurationRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwe__cleanEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, sizeof(_ngwe__cleanEventConfigurationRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwe__cleanEventConfigurationRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwe__cleanEventConfigurationRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_all1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_all1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwe:all", &(((_ngwe__cleanEventConfigurationRequest*)a)->all), ""))
- { soap_flag_all1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwe__cleanEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, 0, sizeof(_ngwe__cleanEventConfigurationRequest), 0, soap_copy__ngwe__cleanEventConfigurationRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__cleanEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwe__cleanEventConfigurationRequest;
- if (size)
- *size = sizeof(_ngwe__cleanEventConfigurationRequest);
- ((_ngwe__cleanEventConfigurationRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwe__cleanEventConfigurationRequest[n];
- if (size)
- *size = n * sizeof(_ngwe__cleanEventConfigurationRequest);
- for (int i = 0; i < n; i++)
- ((_ngwe__cleanEventConfigurationRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwe__cleanEventConfigurationRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__cleanEventConfigurationRequest %p -> %p\n", q, p));
- *(_ngwe__cleanEventConfigurationRequest*)p = *(_ngwe__cleanEventConfigurationRequest*)q;
-}
-
-void ngwe__Notify::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwe__Notify*)this)->userid, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwe__Notify*)this)->userid);
- soap_embedded(soap, &((ngwe__Notify*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwe__Notify*)this)->key);
- /* transient soap skipped */
-}
-
-void ngwe__Notify::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwe__Notify*)this)->userid);
- soap_default_std__string(soap, &((ngwe__Notify*)this)->key);
- /* transient soap skipped */
-}
-
-int ngwe__Notify::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Notify);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__Notify::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__Notify(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Notify(struct soap *soap, const char *tag, int id, const ngwe__Notify *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Notify), type);
- soap_out_std__string(soap, "ngwe:userid", -1, &(((ngwe__Notify*)a)->userid), "");
- soap_out_std__string(soap, "ngwe:key", -1, &(((ngwe__Notify*)a)->key), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__Notify::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__Notify(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_get_ngwe__Notify(struct soap *soap, ngwe__Notify *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__Notify(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__Notify::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__Notify(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_in_ngwe__Notify(struct soap *soap, const char *tag, ngwe__Notify *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__Notify *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Notify, sizeof(ngwe__Notify), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__Notify)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__Notify *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_userid1 = 1, soap_flag_key1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:userid", &(((ngwe__Notify*)a)->userid), ""))
- { soap_flag_userid1 = 0;
- continue;
- }
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:key", &(((ngwe__Notify*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_userid1 || soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__Notify *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Notify, 0, sizeof(ngwe__Notify), 0, soap_copy_ngwe__Notify);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_new_ngwe__Notify(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__Notify(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Notify(struct soap *soap, ngwe__Notify *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_instantiate_ngwe__Notify(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Notify(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Notify, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__Notify;
- if (size)
- *size = sizeof(ngwe__Notify);
- ((ngwe__Notify*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__Notify[n];
- if (size)
- *size = n * sizeof(ngwe__Notify);
- for (int i = 0; i < n; i++)
- ((ngwe__Notify*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__Notify*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Notify(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Notify %p -> %p\n", q, p));
- *(ngwe__Notify*)p = *(ngwe__Notify*)q;
-}
-
-void ngwe__EventTypeList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwe__EventType(soap, &((ngwe__EventTypeList*)this)->event);
- /* transient soap skipped */
-}
-
-void ngwe__EventTypeList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwe__EventType(soap, &((ngwe__EventTypeList*)this)->event);
- /* transient soap skipped */
-}
-
-int ngwe__EventTypeList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventTypeList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__EventTypeList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__EventTypeList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventTypeList(struct soap *soap, const char *tag, int id, const ngwe__EventTypeList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventTypeList), type);
- soap_out_std__vectorTemplateOfngwe__EventType(soap, "ngwe:event", -1, &(((ngwe__EventTypeList*)a)->event), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__EventTypeList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__EventTypeList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_get_ngwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__EventTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__EventTypeList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__EventTypeList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_in_ngwe__EventTypeList(struct soap *soap, const char *tag, ngwe__EventTypeList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__EventTypeList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventTypeList, sizeof(ngwe__EventTypeList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__EventTypeList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__EventTypeList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwe__EventType(soap, "ngwe:event", &(((ngwe__EventTypeList*)a)->event), ""))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (((ngwe__EventTypeList*)a)->event.size() > 36))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__EventTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventTypeList, 0, sizeof(ngwe__EventTypeList), 0, soap_copy_ngwe__EventTypeList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_new_ngwe__EventTypeList(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__EventTypeList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_instantiate_ngwe__EventTypeList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventTypeList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventTypeList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__EventTypeList;
- if (size)
- *size = sizeof(ngwe__EventTypeList);
- ((ngwe__EventTypeList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__EventTypeList[n];
- if (size)
- *size = n * sizeof(ngwe__EventTypeList);
- for (int i = 0; i < n; i++)
- ((ngwe__EventTypeList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__EventTypeList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventTypeList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventTypeList %p -> %p\n", q, p));
- *(ngwe__EventTypeList*)p = *(ngwe__EventTypeList*)q;
-}
-
-void ngwe__EventsList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwe__Events(soap, &((ngwe__EventsList*)this)->event);
- /* transient soap skipped */
-}
-
-void ngwe__EventsList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwe__Events(soap, &((ngwe__EventsList*)this)->event);
- /* transient soap skipped */
-}
-
-int ngwe__EventsList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventsList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__EventsList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__EventsList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventsList(struct soap *soap, const char *tag, int id, const ngwe__EventsList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventsList), type);
- soap_out_std__vectorTemplateOfPointerTongwe__Events(soap, "ngwe:event", -1, &(((ngwe__EventsList*)a)->event), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__EventsList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__EventsList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_get_ngwe__EventsList(struct soap *soap, ngwe__EventsList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__EventsList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__EventsList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__EventsList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_in_ngwe__EventsList(struct soap *soap, const char *tag, ngwe__EventsList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__EventsList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventsList, sizeof(ngwe__EventsList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__EventsList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__EventsList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwe__Events(soap, "ngwe:event", &(((ngwe__EventsList*)a)->event), "ngwe:Events"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__EventsList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventsList, 0, sizeof(ngwe__EventsList), 0, soap_copy_ngwe__EventsList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_new_ngwe__EventsList(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__EventsList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventsList(struct soap *soap, ngwe__EventsList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_instantiate_ngwe__EventsList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventsList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventsList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__EventsList;
- if (size)
- *size = sizeof(ngwe__EventsList);
- ((ngwe__EventsList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__EventsList[n];
- if (size)
- *size = n * sizeof(ngwe__EventsList);
- for (int i = 0; i < n; i++)
- ((ngwe__EventsList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__EventsList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventsList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventsList %p -> %p\n", q, p));
- *(ngwe__EventsList*)p = *(ngwe__EventsList*)q;
-}
-
-void ngwe__Events::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwe__Events*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwe__Events*)this)->key);
- soap_embedded(soap, &((ngwe__Events*)this)->persistence, SOAP_TYPE_PointerToxsd__duration);
- soap_serialize_PointerToxsd__duration(soap, &((ngwe__Events*)this)->persistence);
- soap_embedded(soap, &((ngwe__Events*)this)->ipAddress, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwe__Events*)this)->ipAddress);
- soap_embedded(soap, &((ngwe__Events*)this)->port, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwe__Events*)this)->port);
- soap_embedded(soap, &((ngwe__Events*)this)->http, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwe__Events*)this)->definition, SOAP_TYPE_PointerTongwe__EventDefinition);
- soap_serialize_PointerTongwe__EventDefinition(soap, &((ngwe__Events*)this)->definition);
- /* transient soap skipped */
-}
-
-void ngwe__Events::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwe__Events*)this)->key);
- ((ngwe__Events*)this)->persistence = NULL;
- ((ngwe__Events*)this)->ipAddress = NULL;
- ((ngwe__Events*)this)->port = NULL;
- ((ngwe__Events*)this)->http = (bool)0;
- ((ngwe__Events*)this)->definition = NULL;
- ((ngwe__Events*)this)->enabled = NULL;
- /* transient soap skipped */
-}
-
-int ngwe__Events::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Events);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__Events::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__Events(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Events(struct soap *soap, const char *tag, int id, const ngwe__Events *a, const char *type)
-{
- if (((ngwe__Events *)a)->enabled)
- soap_set_attr(soap, "enabled", soap_bool2s(soap, *((ngwe__Events *)a)->enabled));
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Events), type);
- soap_out_std__string(soap, "ngwe:key", -1, &(((ngwe__Events*)a)->key), "");
- soap_out_PointerToxsd__duration(soap, "ngwe:persistence", -1, &(((ngwe__Events*)a)->persistence), "");
- soap_out_PointerTostd__string(soap, "ngwe:ipAddress", -1, &(((ngwe__Events*)a)->ipAddress), "");
- soap_out_PointerToint(soap, "ngwe:port", -1, &(((ngwe__Events*)a)->port), "");
- soap_out_bool(soap, "ngwe:http", -1, &(((ngwe__Events*)a)->http), "");
- soap_out_PointerTongwe__EventDefinition(soap, "ngwe:definition", -1, &(((ngwe__Events*)a)->definition), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__Events::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__Events(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_get_ngwe__Events(struct soap *soap, ngwe__Events *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__Events(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__Events::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__Events(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_in_ngwe__Events(struct soap *soap, const char *tag, ngwe__Events *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__Events *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Events, sizeof(ngwe__Events), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__Events)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__Events *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "enabled", 0);
- if (t)
- { if (!(((ngwe__Events *)a)->enabled = (bool *)soap_malloc(soap, sizeof(bool))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2bool(soap, t, ((ngwe__Events *)a)->enabled))
- return NULL;
- }
- }
- short soap_flag_key1 = 1, soap_flag_persistence1 = 1, soap_flag_ipAddress1 = 1, soap_flag_port1 = 1, soap_flag_http1 = 1, soap_flag_definition1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwe:key", &(((ngwe__Events*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- if (soap_flag_persistence1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__duration(soap, "ngwe:persistence", &(((ngwe__Events*)a)->persistence), "xsd:duration"))
- { soap_flag_persistence1 = 0;
- continue;
- }
- if (soap_flag_ipAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwe:ipAddress", &(((ngwe__Events*)a)->ipAddress), ""))
- { soap_flag_ipAddress1 = 0;
- continue;
- }
- if (soap_flag_port1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwe:port", &(((ngwe__Events*)a)->port), ""))
- { soap_flag_port1 = 0;
- continue;
- }
- if (soap_flag_http1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwe:http", &(((ngwe__Events*)a)->http), ""))
- { soap_flag_http1 = 0;
- continue;
- }
- if (soap_flag_definition1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__EventDefinition(soap, "ngwe:definition", &(((ngwe__Events*)a)->definition), "ngwe:EventDefinition"))
- { soap_flag_definition1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__Events *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Events, 0, sizeof(ngwe__Events), 0, soap_copy_ngwe__Events);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_new_ngwe__Events(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__Events(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Events(struct soap *soap, ngwe__Events *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_instantiate_ngwe__Events(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Events(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Events, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__Events;
- if (size)
- *size = sizeof(ngwe__Events);
- ((ngwe__Events*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__Events[n];
- if (size)
- *size = n * sizeof(ngwe__Events);
- for (int i = 0; i < n; i++)
- ((ngwe__Events*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__Events*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Events(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Events %p -> %p\n", q, p));
- *(ngwe__Events*)p = *(ngwe__Events*)q;
-}
-
-void ngwe__EventList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwe__Event(soap, &((ngwe__EventList*)this)->event);
- /* transient soap skipped */
-}
-
-void ngwe__EventList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwe__Event(soap, &((ngwe__EventList*)this)->event);
- /* transient soap skipped */
-}
-
-int ngwe__EventList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__EventList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__EventList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventList(struct soap *soap, const char *tag, int id, const ngwe__EventList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventList), type);
- soap_out_std__vectorTemplateOfPointerTongwe__Event(soap, "ngwe:event", -1, &(((ngwe__EventList*)a)->event), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__EventList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__EventList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_get_ngwe__EventList(struct soap *soap, ngwe__EventList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__EventList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__EventList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__EventList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_in_ngwe__EventList(struct soap *soap, const char *tag, ngwe__EventList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__EventList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventList, sizeof(ngwe__EventList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__EventList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__EventList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwe__Event(soap, "ngwe:event", &(((ngwe__EventList*)a)->event), "ngwe:Event"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__EventList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventList, 0, sizeof(ngwe__EventList), 0, soap_copy_ngwe__EventList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_new_ngwe__EventList(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__EventList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventList(struct soap *soap, ngwe__EventList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_instantiate_ngwe__EventList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__EventList;
- if (size)
- *size = sizeof(ngwe__EventList);
- ((ngwe__EventList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__EventList[n];
- if (size)
- *size = n * sizeof(ngwe__EventList);
- for (int i = 0; i < n; i++)
- ((ngwe__EventList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__EventList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventList %p -> %p\n", q, p));
- *(ngwe__EventList*)p = *(ngwe__EventList*)q;
-}
-
-void ngwe__EventDefinition::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwe__EventDefinition*)this)->events, SOAP_TYPE_PointerTongwe__EventTypeList);
- soap_serialize_PointerTongwe__EventTypeList(soap, &((ngwe__EventDefinition*)this)->events);
- soap_embedded(soap, &((ngwe__EventDefinition*)this)->type, SOAP_TYPE_PointerTongwe__ItemTypeList);
- soap_serialize_PointerTongwe__ItemTypeList(soap, &((ngwe__EventDefinition*)this)->type);
- soap_embedded(soap, &((ngwe__EventDefinition*)this)->field, SOAP_TYPE_PointerTongwe__FieldList);
- soap_serialize_PointerTongwe__FieldList(soap, &((ngwe__EventDefinition*)this)->field);
- soap_embedded(soap, &((ngwe__EventDefinition*)this)->containers, SOAP_TYPE_PointerTongwe__ContainerList);
- soap_serialize_PointerTongwe__ContainerList(soap, &((ngwe__EventDefinition*)this)->containers);
- soap_embedded(soap, &((ngwe__EventDefinition*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwe__EventDefinition*)this)->subType);
- /* transient soap skipped */
-}
-
-void ngwe__EventDefinition::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwe__EventDefinition*)this)->events = NULL;
- ((ngwe__EventDefinition*)this)->type = NULL;
- ((ngwe__EventDefinition*)this)->field = NULL;
- ((ngwe__EventDefinition*)this)->containers = NULL;
- ((ngwe__EventDefinition*)this)->subType = NULL;
- /* transient soap skipped */
-}
-
-int ngwe__EventDefinition::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventDefinition);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__EventDefinition::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__EventDefinition(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventDefinition(struct soap *soap, const char *tag, int id, const ngwe__EventDefinition *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventDefinition), type);
- soap_out_PointerTongwe__EventTypeList(soap, "ngwe:events", -1, &(((ngwe__EventDefinition*)a)->events), "");
- soap_out_PointerTongwe__ItemTypeList(soap, "ngwe:type", -1, &(((ngwe__EventDefinition*)a)->type), "");
- soap_out_PointerTongwe__FieldList(soap, "ngwe:field", -1, &(((ngwe__EventDefinition*)a)->field), "");
- soap_out_PointerTongwe__ContainerList(soap, "ngwe:containers", -1, &(((ngwe__EventDefinition*)a)->containers), "");
- soap_out_PointerTostd__string(soap, "ngwe:subType", -1, &(((ngwe__EventDefinition*)a)->subType), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__EventDefinition::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__EventDefinition(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_get_ngwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__EventDefinition(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__EventDefinition::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__EventDefinition(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_in_ngwe__EventDefinition(struct soap *soap, const char *tag, ngwe__EventDefinition *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__EventDefinition *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventDefinition, sizeof(ngwe__EventDefinition), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__EventDefinition)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__EventDefinition *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_events1 = 1, soap_flag_type1 = 1, soap_flag_field1 = 1, soap_flag_containers1 = 1, soap_flag_subType1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__EventTypeList(soap, "ngwe:events", &(((ngwe__EventDefinition*)a)->events), "ngwe:EventTypeList"))
- { soap_flag_events1 = 0;
- continue;
- }
- if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__ItemTypeList(soap, "ngwe:type", &(((ngwe__EventDefinition*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- if (soap_flag_field1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__FieldList(soap, "ngwe:field", &(((ngwe__EventDefinition*)a)->field), ""))
- { soap_flag_field1 = 0;
- continue;
- }
- if (soap_flag_containers1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__ContainerList(soap, "ngwe:containers", &(((ngwe__EventDefinition*)a)->containers), "ngwe:ContainerList"))
- { soap_flag_containers1 = 0;
- continue;
- }
- if (soap_flag_subType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwe:subType", &(((ngwe__EventDefinition*)a)->subType), ""))
- { soap_flag_subType1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_events1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__EventDefinition *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventDefinition, 0, sizeof(ngwe__EventDefinition), 0, soap_copy_ngwe__EventDefinition);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_new_ngwe__EventDefinition(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__EventDefinition(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_instantiate_ngwe__EventDefinition(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventDefinition(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventDefinition, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__EventDefinition;
- if (size)
- *size = sizeof(ngwe__EventDefinition);
- ((ngwe__EventDefinition*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__EventDefinition[n];
- if (size)
- *size = n * sizeof(ngwe__EventDefinition);
- for (int i = 0; i < n; i++)
- ((ngwe__EventDefinition*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__EventDefinition*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventDefinition(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventDefinition %p -> %p\n", q, p));
- *(ngwe__EventDefinition*)p = *(ngwe__EventDefinition*)q;
-}
-
-void ngwe__Event::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwe__Event*)this)->event, SOAP_TYPE_ngwe__EventType);
- soap_embedded(soap, &((ngwe__Event*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->id);
- soap_embedded(soap, &((ngwe__Event*)this)->timeStamp, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwe__Event*)this)->timeStamp);
- soap_embedded(soap, &((ngwe__Event*)this)->field, SOAP_TYPE_PointerTongwe__FieldList);
- soap_serialize_PointerTongwe__FieldList(soap, &((ngwe__Event*)this)->field);
- soap_embedded(soap, &((ngwe__Event*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->container);
- soap_embedded(soap, &((ngwe__Event*)this)->from, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->from);
- soap_embedded(soap, &((ngwe__Event*)this)->key, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwe__Event*)this)->key);
- soap_embedded(soap, &((ngwe__Event*)this)->uid, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwe__Event*)this)->uid);
- soap_embedded(soap, &((ngwe__Event*)this)->type, SOAP_TYPE_PointerTongwe__ItemType);
- soap_serialize_PointerTongwe__ItemType(soap, &((ngwe__Event*)this)->type);
- /* transient soap skipped */
-}
-
-void ngwe__Event::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwe__EventType(soap, &((ngwe__Event*)this)->event);
- ((ngwe__Event*)this)->id = NULL;
- soap_default_string(soap, &((ngwe__Event*)this)->timeStamp);
- ((ngwe__Event*)this)->field = NULL;
- ((ngwe__Event*)this)->container = NULL;
- ((ngwe__Event*)this)->from = NULL;
- ((ngwe__Event*)this)->key = NULL;
- ((ngwe__Event*)this)->uid = NULL;
- ((ngwe__Event*)this)->type = NULL;
- /* transient soap skipped */
-}
-
-int ngwe__Event::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Event);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__Event::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__Event(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Event(struct soap *soap, const char *tag, int id, const ngwe__Event *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Event), type);
- soap_out_ngwe__EventType(soap, "ngwe:event", -1, &(((ngwe__Event*)a)->event), "");
- soap_out_PointerTongwt__uid(soap, "ngwe:id", -1, &(((ngwe__Event*)a)->id), "");
- soap_out_string(soap, "ngwe:timeStamp", -1, &(((ngwe__Event*)a)->timeStamp), "");
- soap_out_PointerTongwe__FieldList(soap, "ngwe:field", -1, &(((ngwe__Event*)a)->field), "");
- soap_out_PointerTongwt__uid(soap, "ngwe:container", -1, &(((ngwe__Event*)a)->container), "");
- soap_out_PointerTongwt__uid(soap, "ngwe:from", -1, &(((ngwe__Event*)a)->from), "");
- soap_out_PointerTostd__string(soap, "ngwe:key", -1, &(((ngwe__Event*)a)->key), "");
- soap_out_PointerTounsignedLong(soap, "ngwe:uid", -1, &(((ngwe__Event*)a)->uid), "");
- soap_out_PointerTongwe__ItemType(soap, "ngwe:type", -1, &(((ngwe__Event*)a)->type), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__Event::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__Event(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_get_ngwe__Event(struct soap *soap, ngwe__Event *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__Event(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__Event::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__Event(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_in_ngwe__Event(struct soap *soap, const char *tag, ngwe__Event *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__Event *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Event, sizeof(ngwe__Event), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__Event)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__Event *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_event1 = 1, soap_flag_id1 = 1, soap_flag_timeStamp1 = 1, soap_flag_field1 = 1, soap_flag_container1 = 1, soap_flag_from1 = 1, soap_flag_key1 = 1, soap_flag_uid1 = 1, soap_flag_type1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwe__EventType(soap, "ngwe:event", &(((ngwe__Event*)a)->event), ""))
- { soap_flag_event1 = 0;
- continue;
- }
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwe:id", &(((ngwe__Event*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_timeStamp1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwe:timeStamp", &(((ngwe__Event*)a)->timeStamp), ""))
- { soap_flag_timeStamp1 = 0;
- continue;
- }
- if (soap_flag_field1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__FieldList(soap, "ngwe:field", &(((ngwe__Event*)a)->field), ""))
- { soap_flag_field1 = 0;
- continue;
- }
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwe:container", &(((ngwe__Event*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwe:from", &(((ngwe__Event*)a)->from), "ngwt:uid"))
- { soap_flag_from1 = 0;
- continue;
- }
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwe:key", &(((ngwe__Event*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- if (soap_flag_uid1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwe:uid", &(((ngwe__Event*)a)->uid), ""))
- { soap_flag_uid1 = 0;
- continue;
- }
- if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwe__ItemType(soap, "ngwe:type", &(((ngwe__Event*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_event1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__Event *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Event, 0, sizeof(ngwe__Event), 0, soap_copy_ngwe__Event);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_new_ngwe__Event(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__Event(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Event(struct soap *soap, ngwe__Event *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_instantiate_ngwe__Event(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Event(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Event, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__Event;
- if (size)
- *size = sizeof(ngwe__Event);
- ((ngwe__Event*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__Event[n];
- if (size)
- *size = n * sizeof(ngwe__Event);
- for (int i = 0; i < n; i++)
- ((ngwe__Event*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__Event*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Event(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Event %p -> %p\n", q, p));
- *(ngwe__Event*)p = *(ngwe__Event*)q;
-}
-
-void ngwe__ContainerList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwe__ContainerList*)this)->container);
- /* transient soap skipped */
-}
-
-void ngwe__ContainerList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwe__ContainerList*)this)->container);
- ((ngwe__ContainerList*)this)->not_ = NULL;
- /* transient soap skipped */
-}
-
-int ngwe__ContainerList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__ContainerList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwe__ContainerList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwe__ContainerList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ContainerList(struct soap *soap, const char *tag, int id, const ngwe__ContainerList *a, const char *type)
-{
- if (((ngwe__ContainerList *)a)->not_)
- soap_set_attr(soap, "not", soap_bool2s(soap, *((ngwe__ContainerList *)a)->not_));
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ContainerList), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwe:container", -1, &(((ngwe__ContainerList*)a)->container), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwe__ContainerList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwe__ContainerList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_get_ngwe__ContainerList(struct soap *soap, ngwe__ContainerList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwe__ContainerList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwe__ContainerList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwe__ContainerList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_in_ngwe__ContainerList(struct soap *soap, const char *tag, ngwe__ContainerList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwe__ContainerList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ContainerList, sizeof(ngwe__ContainerList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwe__ContainerList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwe__ContainerList *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "not", 0);
- if (t)
- { if (!(((ngwe__ContainerList *)a)->not_ = (bool *)soap_malloc(soap, sizeof(bool))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2bool(soap, t, ((ngwe__ContainerList *)a)->not_))
- return NULL;
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwe:container", &(((ngwe__ContainerList*)a)->container), "ngwt:uid"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwe__ContainerList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ContainerList, 0, sizeof(ngwe__ContainerList), 0, soap_copy_ngwe__ContainerList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_new_ngwe__ContainerList(struct soap *soap, int n)
-{ return soap_instantiate_ngwe__ContainerList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__ContainerList(struct soap *soap, ngwe__ContainerList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_instantiate_ngwe__ContainerList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__ContainerList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__ContainerList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwe__ContainerList;
- if (size)
- *size = sizeof(ngwe__ContainerList);
- ((ngwe__ContainerList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwe__ContainerList[n];
- if (size)
- *size = n * sizeof(ngwe__ContainerList);
- for (int i = 0; i < n; i++)
- ((ngwe__ContainerList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwe__ContainerList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__ContainerList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__ContainerList %p -> %p\n", q, p));
- *(ngwe__ContainerList*)p = *(ngwe__ContainerList*)q;
-}
-
-void _ngwm__updateVersionStatusResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__updateVersionStatusResponse*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData);
- soap_serialize_PointerTongwt__SignatureData(soap, &((_ngwm__updateVersionStatusResponse*)this)->part);
- soap_embedded(soap, &((_ngwm__updateVersionStatusResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__updateVersionStatusResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__updateVersionStatusResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__updateVersionStatusResponse*)this)->part = NULL;
- ((_ngwm__updateVersionStatusResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__updateVersionStatusResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__updateVersionStatusResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__updateVersionStatusResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__updateVersionStatusResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, int id, const _ngwm__updateVersionStatusResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__updateVersionStatusResponse), type);
- soap_out_PointerTongwt__SignatureData(soap, "ngwm:part", -1, &(((_ngwm__updateVersionStatusResponse*)a)->part), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__updateVersionStatusResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__updateVersionStatusResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__updateVersionStatusResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__updateVersionStatusResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__updateVersionStatusResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__updateVersionStatusResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, _ngwm__updateVersionStatusResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__updateVersionStatusResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__updateVersionStatusResponse, sizeof(_ngwm__updateVersionStatusResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__updateVersionStatusResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__updateVersionStatusResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_part1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SignatureData(soap, "ngwm:part", &(((_ngwm__updateVersionStatusResponse*)a)->part), "ngwt:SignatureData"))
- { soap_flag_part1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__updateVersionStatusResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__updateVersionStatusResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusResponse, 0, sizeof(_ngwm__updateVersionStatusResponse), 0, soap_copy__ngwm__updateVersionStatusResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__updateVersionStatusResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__updateVersionStatusResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__updateVersionStatusResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__updateVersionStatusResponse;
- if (size)
- *size = sizeof(_ngwm__updateVersionStatusResponse);
- ((_ngwm__updateVersionStatusResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__updateVersionStatusResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__updateVersionStatusResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__updateVersionStatusResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__updateVersionStatusResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__updateVersionStatusResponse %p -> %p\n", q, p));
- *(_ngwm__updateVersionStatusResponse*)p = *(_ngwm__updateVersionStatusResponse*)q;
-}
-
-void _ngwm__updateVersionStatusRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__updateVersionStatusRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->event, SOAP_TYPE_ngwt__VersionEventType);
- soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData);
- soap_serialize_PointerTongwt__SignatureData(soap, &((_ngwm__updateVersionStatusRequest*)this)->part);
- /* transient soap skipped */
-}
-
-void _ngwm__updateVersionStatusRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__updateVersionStatusRequest*)this)->id);
- soap_default_ngwt__VersionEventType(soap, &((_ngwm__updateVersionStatusRequest*)this)->event);
- ((_ngwm__updateVersionStatusRequest*)this)->part = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__updateVersionStatusRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__updateVersionStatusRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__updateVersionStatusRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__updateVersionStatusRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, const _ngwm__updateVersionStatusRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__updateVersionStatusRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__updateVersionStatusRequest*)a)->id), "");
- soap_out_ngwt__VersionEventType(soap, "ngwm:event", -1, &(((_ngwm__updateVersionStatusRequest*)a)->event), "");
- soap_out_PointerTongwt__SignatureData(soap, "ngwm:part", -1, &(((_ngwm__updateVersionStatusRequest*)a)->part), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__updateVersionStatusRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__updateVersionStatusRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__updateVersionStatusRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__updateVersionStatusRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__updateVersionStatusRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, _ngwm__updateVersionStatusRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__updateVersionStatusRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__updateVersionStatusRequest, sizeof(_ngwm__updateVersionStatusRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__updateVersionStatusRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__updateVersionStatusRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_event1 = 1, soap_flag_part1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__updateVersionStatusRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__VersionEventType(soap, "ngwm:event", &(((_ngwm__updateVersionStatusRequest*)a)->event), ""))
- { soap_flag_event1 = 0;
- continue;
- }
- if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SignatureData(soap, "ngwm:part", &(((_ngwm__updateVersionStatusRequest*)a)->part), "ngwt:SignatureData"))
- { soap_flag_part1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_event1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__updateVersionStatusRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusRequest, 0, sizeof(_ngwm__updateVersionStatusRequest), 0, soap_copy__ngwm__updateVersionStatusRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__updateVersionStatusRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__updateVersionStatusRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__updateVersionStatusRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__updateVersionStatusRequest;
- if (size)
- *size = sizeof(_ngwm__updateVersionStatusRequest);
- ((_ngwm__updateVersionStatusRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__updateVersionStatusRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__updateVersionStatusRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__updateVersionStatusRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__updateVersionStatusRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__updateVersionStatusRequest %p -> %p\n", q, p));
- *(_ngwm__updateVersionStatusRequest*)p = *(_ngwm__updateVersionStatusRequest*)q;
-}
-
-void _ngwm__uncompleteResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__uncompleteResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__uncompleteResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__uncompleteResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__uncompleteResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__uncompleteResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__uncompleteResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__uncompleteResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__uncompleteResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteResponse(struct soap *soap, const char *tag, int id, const _ngwm__uncompleteResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__uncompleteResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__uncompleteResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__uncompleteResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__uncompleteResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_get__ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__uncompleteResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__uncompleteResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__uncompleteResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_in__ngwm__uncompleteResponse(struct soap *soap, const char *tag, _ngwm__uncompleteResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__uncompleteResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__uncompleteResponse, sizeof(_ngwm__uncompleteResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__uncompleteResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__uncompleteResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__uncompleteResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__uncompleteResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteResponse, 0, sizeof(_ngwm__uncompleteResponse), 0, soap_copy__ngwm__uncompleteResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_new__ngwm__uncompleteResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__uncompleteResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__uncompleteResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__uncompleteResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__uncompleteResponse;
- if (size)
- *size = sizeof(_ngwm__uncompleteResponse);
- ((_ngwm__uncompleteResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__uncompleteResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__uncompleteResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__uncompleteResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__uncompleteResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__uncompleteResponse %p -> %p\n", q, p));
- *(_ngwm__uncompleteResponse*)p = *(_ngwm__uncompleteResponse*)q;
-}
-
-void _ngwm__uncompleteRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__uncompleteRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__uncompleteRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__uncompleteRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__uncompleteRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__uncompleteRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__uncompleteRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__uncompleteRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__uncompleteRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteRequest(struct soap *soap, const char *tag, int id, const _ngwm__uncompleteRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__uncompleteRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__uncompleteRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__uncompleteRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__uncompleteRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_get__ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__uncompleteRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__uncompleteRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__uncompleteRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_in__ngwm__uncompleteRequest(struct soap *soap, const char *tag, _ngwm__uncompleteRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__uncompleteRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__uncompleteRequest, sizeof(_ngwm__uncompleteRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__uncompleteRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__uncompleteRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__uncompleteRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__uncompleteRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteRequest, 0, sizeof(_ngwm__uncompleteRequest), 0, soap_copy__ngwm__uncompleteRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_new__ngwm__uncompleteRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__uncompleteRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__uncompleteRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__uncompleteRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__uncompleteRequest;
- if (size)
- *size = sizeof(_ngwm__uncompleteRequest);
- ((_ngwm__uncompleteRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__uncompleteRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__uncompleteRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__uncompleteRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__uncompleteRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__uncompleteRequest %p -> %p\n", q, p));
- *(_ngwm__uncompleteRequest*)p = *(_ngwm__uncompleteRequest*)q;
-}
-
-void _ngwm__unacceptResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__unacceptResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__unacceptResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__unacceptResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__unacceptResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__unacceptResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__unacceptResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__unacceptResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__unacceptResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptResponse(struct soap *soap, const char *tag, int id, const _ngwm__unacceptResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__unacceptResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__unacceptResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__unacceptResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__unacceptResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_get__ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__unacceptResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__unacceptResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__unacceptResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_in__ngwm__unacceptResponse(struct soap *soap, const char *tag, _ngwm__unacceptResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__unacceptResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__unacceptResponse, sizeof(_ngwm__unacceptResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__unacceptResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__unacceptResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__unacceptResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__unacceptResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptResponse, 0, sizeof(_ngwm__unacceptResponse), 0, soap_copy__ngwm__unacceptResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_new__ngwm__unacceptResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__unacceptResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__unacceptResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__unacceptResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__unacceptResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__unacceptResponse;
- if (size)
- *size = sizeof(_ngwm__unacceptResponse);
- ((_ngwm__unacceptResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__unacceptResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__unacceptResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__unacceptResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__unacceptResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__unacceptResponse %p -> %p\n", q, p));
- *(_ngwm__unacceptResponse*)p = *(_ngwm__unacceptResponse*)q;
-}
-
-void _ngwm__unacceptRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__unacceptRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__unacceptRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__unacceptRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__unacceptRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__unacceptRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__unacceptRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__unacceptRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__unacceptRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptRequest(struct soap *soap, const char *tag, int id, const _ngwm__unacceptRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__unacceptRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__unacceptRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__unacceptRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__unacceptRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_get__ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__unacceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__unacceptRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__unacceptRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_in__ngwm__unacceptRequest(struct soap *soap, const char *tag, _ngwm__unacceptRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__unacceptRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__unacceptRequest, sizeof(_ngwm__unacceptRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__unacceptRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__unacceptRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__unacceptRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__unacceptRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptRequest, 0, sizeof(_ngwm__unacceptRequest), 0, soap_copy__ngwm__unacceptRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_new__ngwm__unacceptRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__unacceptRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__unacceptRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__unacceptRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__unacceptRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__unacceptRequest;
- if (size)
- *size = sizeof(_ngwm__unacceptRequest);
- ((_ngwm__unacceptRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__unacceptRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__unacceptRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__unacceptRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__unacceptRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__unacceptRequest %p -> %p\n", q, p));
- *(_ngwm__unacceptRequest*)p = *(_ngwm__unacceptRequest*)q;
-}
-
-void _ngwm__startFreeBusySessionResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId);
- soap_embedded(soap, &((_ngwm__startFreeBusySessionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__startFreeBusySessionResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__startFreeBusySessionResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId = NULL;
- ((_ngwm__startFreeBusySessionResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__startFreeBusySessionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__startFreeBusySessionResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__startFreeBusySessionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__startFreeBusySessionResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, int id, const _ngwm__startFreeBusySessionResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__startFreeBusySessionResponse), type);
- soap_out_PointerToint(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__startFreeBusySessionResponse*)a)->freeBusySessionId), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__startFreeBusySessionResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__startFreeBusySessionResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__startFreeBusySessionResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__startFreeBusySessionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__startFreeBusySessionResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__startFreeBusySessionResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__startFreeBusySessionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, sizeof(_ngwm__startFreeBusySessionResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__startFreeBusySessionResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__startFreeBusySessionResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_freeBusySessionId1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_freeBusySessionId1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwm:freeBusySessionId", &(((_ngwm__startFreeBusySessionResponse*)a)->freeBusySessionId), ""))
- { soap_flag_freeBusySessionId1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__startFreeBusySessionResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__startFreeBusySessionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, 0, sizeof(_ngwm__startFreeBusySessionResponse), 0, soap_copy__ngwm__startFreeBusySessionResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__startFreeBusySessionResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__startFreeBusySessionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__startFreeBusySessionResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__startFreeBusySessionResponse;
- if (size)
- *size = sizeof(_ngwm__startFreeBusySessionResponse);
- ((_ngwm__startFreeBusySessionResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__startFreeBusySessionResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__startFreeBusySessionResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__startFreeBusySessionResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__startFreeBusySessionResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__startFreeBusySessionResponse %p -> %p\n", q, p));
- *(_ngwm__startFreeBusySessionResponse*)p = *(_ngwm__startFreeBusySessionResponse*)q;
-}
-
-void _ngwm__startFreeBusySessionRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->users, SOAP_TYPE_PointerTongwt__FreeBusyUserList);
- soap_serialize_PointerTongwt__FreeBusyUserList(soap, &((_ngwm__startFreeBusySessionRequest*)this)->users);
- soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate);
- soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate);
- /* transient soap skipped */
-}
-
-void _ngwm__startFreeBusySessionRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__startFreeBusySessionRequest*)this)->users = NULL;
- soap_default_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate);
- soap_default_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate);
- /* transient soap skipped */
-}
-
-int _ngwm__startFreeBusySessionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__startFreeBusySessionRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__startFreeBusySessionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__startFreeBusySessionRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const _ngwm__startFreeBusySessionRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__startFreeBusySessionRequest), type);
- soap_out_PointerTongwt__FreeBusyUserList(soap, "ngwm:users", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->users), "");
- soap_out_string(soap, "ngwm:startDate", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->startDate), "");
- soap_out_string(soap, "ngwm:endDate", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->endDate), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__startFreeBusySessionRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__startFreeBusySessionRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__startFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__startFreeBusySessionRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__startFreeBusySessionRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__startFreeBusySessionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, sizeof(_ngwm__startFreeBusySessionRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__startFreeBusySessionRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__startFreeBusySessionRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_users1 = 1, soap_flag_startDate1 = 1, soap_flag_endDate1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_users1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FreeBusyUserList(soap, "ngwm:users", &(((_ngwm__startFreeBusySessionRequest*)a)->users), "ngwt:FreeBusyUserList"))
- { soap_flag_users1 = 0;
- continue;
- }
- if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:startDate", &(((_ngwm__startFreeBusySessionRequest*)a)->startDate), ""))
- { soap_flag_startDate1 = 0;
- continue;
- }
- if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:endDate", &(((_ngwm__startFreeBusySessionRequest*)a)->endDate), ""))
- { soap_flag_endDate1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_users1 || soap_flag_startDate1 || soap_flag_endDate1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__startFreeBusySessionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, 0, sizeof(_ngwm__startFreeBusySessionRequest), 0, soap_copy__ngwm__startFreeBusySessionRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__startFreeBusySessionRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__startFreeBusySessionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__startFreeBusySessionRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__startFreeBusySessionRequest;
- if (size)
- *size = sizeof(_ngwm__startFreeBusySessionRequest);
- ((_ngwm__startFreeBusySessionRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__startFreeBusySessionRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__startFreeBusySessionRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__startFreeBusySessionRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__startFreeBusySessionRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__startFreeBusySessionRequest %p -> %p\n", q, p));
- *(_ngwm__startFreeBusySessionRequest*)p = *(_ngwm__startFreeBusySessionRequest*)q;
-}
-
-void _ngwm__setTimestampResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__setTimestampResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__setTimestampResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__setTimestampResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__setTimestampResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__setTimestampResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__setTimestampResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__setTimestampResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__setTimestampResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampResponse(struct soap *soap, const char *tag, int id, const _ngwm__setTimestampResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__setTimestampResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__setTimestampResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__setTimestampResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__setTimestampResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_get__ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__setTimestampResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__setTimestampResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__setTimestampResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_in__ngwm__setTimestampResponse(struct soap *soap, const char *tag, _ngwm__setTimestampResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__setTimestampResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__setTimestampResponse, sizeof(_ngwm__setTimestampResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__setTimestampResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__setTimestampResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__setTimestampResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__setTimestampResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampResponse, 0, sizeof(_ngwm__setTimestampResponse), 0, soap_copy__ngwm__setTimestampResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_new__ngwm__setTimestampResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__setTimestampResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__setTimestampResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__setTimestampResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__setTimestampResponse;
- if (size)
- *size = sizeof(_ngwm__setTimestampResponse);
- ((_ngwm__setTimestampResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__setTimestampResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__setTimestampResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__setTimestampResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__setTimestampResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__setTimestampResponse %p -> %p\n", q, p));
- *(_ngwm__setTimestampResponse*)p = *(_ngwm__setTimestampResponse*)q;
-}
-
-void _ngwm__setTimestampRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__setTimestampRequest*)this)->backup, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__setTimestampRequest*)this)->backup);
- soap_embedded(soap, &((_ngwm__setTimestampRequest*)this)->retention, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__setTimestampRequest*)this)->retention);
- /* transient soap skipped */
-}
-
-void _ngwm__setTimestampRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((_ngwm__setTimestampRequest*)this)->backup);
- soap_default_string(soap, &((_ngwm__setTimestampRequest*)this)->retention);
- /* transient soap skipped */
-}
-
-int _ngwm__setTimestampRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__setTimestampRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__setTimestampRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__setTimestampRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampRequest(struct soap *soap, const char *tag, int id, const _ngwm__setTimestampRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__setTimestampRequest), type);
- soap_out_string(soap, "ngwm:backup", -1, &(((_ngwm__setTimestampRequest*)a)->backup), "");
- soap_out_string(soap, "ngwm:retention", -1, &(((_ngwm__setTimestampRequest*)a)->retention), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__setTimestampRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__setTimestampRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_get__ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__setTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__setTimestampRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__setTimestampRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_in__ngwm__setTimestampRequest(struct soap *soap, const char *tag, _ngwm__setTimestampRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__setTimestampRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__setTimestampRequest, sizeof(_ngwm__setTimestampRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__setTimestampRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__setTimestampRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_backup1 = 1, soap_flag_retention1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_backup1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:backup", &(((_ngwm__setTimestampRequest*)a)->backup), ""))
- { soap_flag_backup1 = 0;
- continue;
- }
- if (soap_flag_retention1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:retention", &(((_ngwm__setTimestampRequest*)a)->retention), ""))
- { soap_flag_retention1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__setTimestampRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampRequest, 0, sizeof(_ngwm__setTimestampRequest), 0, soap_copy__ngwm__setTimestampRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_new__ngwm__setTimestampRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__setTimestampRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__setTimestampRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__setTimestampRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__setTimestampRequest;
- if (size)
- *size = sizeof(_ngwm__setTimestampRequest);
- ((_ngwm__setTimestampRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__setTimestampRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__setTimestampRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__setTimestampRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__setTimestampRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__setTimestampRequest %p -> %p\n", q, p));
- *(_ngwm__setTimestampRequest*)p = *(_ngwm__setTimestampRequest*)q;
-}
-
-void _ngwm__sendItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__sendItemResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__sendItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__sendItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__sendItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__sendItemResponse*)this)->id);
- ((_ngwm__sendItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__sendItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__sendItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__sendItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__sendItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__sendItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__sendItemResponse), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__sendItemResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__sendItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__sendItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__sendItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_get__ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__sendItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__sendItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__sendItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_in__ngwm__sendItemResponse(struct soap *soap, const char *tag, _ngwm__sendItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__sendItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__sendItemResponse, sizeof(_ngwm__sendItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__sendItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__sendItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__sendItemResponse*)a)->id), "ngwt:uid"))
- continue;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__sendItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__sendItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemResponse, 0, sizeof(_ngwm__sendItemResponse), 0, soap_copy__ngwm__sendItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_new__ngwm__sendItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__sendItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__sendItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__sendItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__sendItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__sendItemResponse;
- if (size)
- *size = sizeof(_ngwm__sendItemResponse);
- ((_ngwm__sendItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__sendItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__sendItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__sendItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__sendItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__sendItemResponse %p -> %p\n", q, p));
- *(_ngwm__sendItemResponse*)p = *(_ngwm__sendItemResponse*)q;
-}
-
-void _ngwm__sendItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__sendItemRequest*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__sendItemRequest*)this)->item);
- /* transient soap skipped */
-}
-
-void _ngwm__sendItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__sendItemRequest*)this)->item = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__sendItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__sendItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__sendItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__sendItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__sendItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__sendItemRequest), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__sendItemRequest*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__sendItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__sendItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_get__ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__sendItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__sendItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__sendItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_in__ngwm__sendItemRequest(struct soap *soap, const char *tag, _ngwm__sendItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__sendItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__sendItemRequest, sizeof(_ngwm__sendItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__sendItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__sendItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__sendItemRequest*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_item1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__sendItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemRequest, 0, sizeof(_ngwm__sendItemRequest), 0, soap_copy__ngwm__sendItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_new__ngwm__sendItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__sendItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__sendItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__sendItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__sendItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__sendItemRequest;
- if (size)
- *size = sizeof(_ngwm__sendItemRequest);
- ((_ngwm__sendItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__sendItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__sendItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__sendItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__sendItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__sendItemRequest %p -> %p\n", q, p));
- *(_ngwm__sendItemRequest*)p = *(_ngwm__sendItemRequest*)q;
-}
-
-void _ngwm__retractResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__retractResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__retractResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__retractResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__retractResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__retractResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__retractResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__retractResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__retractResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractResponse(struct soap *soap, const char *tag, int id, const _ngwm__retractResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__retractResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__retractResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__retractResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__retractResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_get__ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__retractResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__retractResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__retractResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_in__ngwm__retractResponse(struct soap *soap, const char *tag, _ngwm__retractResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__retractResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__retractResponse, sizeof(_ngwm__retractResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__retractResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__retractResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__retractResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__retractResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractResponse, 0, sizeof(_ngwm__retractResponse), 0, soap_copy__ngwm__retractResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_new__ngwm__retractResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__retractResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_instantiate__ngwm__retractResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__retractResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__retractResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__retractResponse;
- if (size)
- *size = sizeof(_ngwm__retractResponse);
- ((_ngwm__retractResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__retractResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__retractResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__retractResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__retractResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__retractResponse %p -> %p\n", q, p));
- *(_ngwm__retractResponse*)p = *(_ngwm__retractResponse*)q;
-}
-
-void _ngwm__retractRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__retractRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__retractRequest*)this)->items);
- soap_embedded(soap, &((_ngwm__retractRequest*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__retractRequest*)this)->comment);
- soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractingAllInstances, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractCausedByResend, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractType, SOAP_TYPE_PointerTongwt__RetractType);
- soap_serialize_PointerTongwt__RetractType(soap, &((_ngwm__retractRequest*)this)->retractType);
- /* transient soap skipped */
-}
-
-void _ngwm__retractRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__retractRequest*)this)->items = NULL;
- ((_ngwm__retractRequest*)this)->comment = NULL;
- ((_ngwm__retractRequest*)this)->retractingAllInstances = (bool)0;
- ((_ngwm__retractRequest*)this)->retractCausedByResend = (bool)0;
- ((_ngwm__retractRequest*)this)->retractType = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__retractRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__retractRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__retractRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__retractRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractRequest(struct soap *soap, const char *tag, int id, const _ngwm__retractRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__retractRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__retractRequest*)a)->items), "");
- soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__retractRequest*)a)->comment), "");
- soap_out_bool(soap, "ngwm:retractingAllInstances", -1, &(((_ngwm__retractRequest*)a)->retractingAllInstances), "");
- soap_out_bool(soap, "ngwm:retractCausedByResend", -1, &(((_ngwm__retractRequest*)a)->retractCausedByResend), "");
- soap_out_PointerTongwt__RetractType(soap, "ngwm:retractType", -1, &(((_ngwm__retractRequest*)a)->retractType), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__retractRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__retractRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_get__ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__retractRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__retractRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__retractRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_in__ngwm__retractRequest(struct soap *soap, const char *tag, _ngwm__retractRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__retractRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__retractRequest, sizeof(_ngwm__retractRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__retractRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__retractRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_retractingAllInstances1 = 1, soap_flag_retractCausedByResend1 = 1, soap_flag_retractType1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__retractRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__retractRequest*)a)->comment), ""))
- { soap_flag_comment1 = 0;
- continue;
- }
- if (soap_flag_retractingAllInstances1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:retractingAllInstances", &(((_ngwm__retractRequest*)a)->retractingAllInstances), ""))
- { soap_flag_retractingAllInstances1 = 0;
- continue;
- }
- if (soap_flag_retractCausedByResend1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:retractCausedByResend", &(((_ngwm__retractRequest*)a)->retractCausedByResend), ""))
- { soap_flag_retractCausedByResend1 = 0;
- continue;
- }
- if (soap_flag_retractType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RetractType(soap, "ngwm:retractType", &(((_ngwm__retractRequest*)a)->retractType), ""))
- { soap_flag_retractType1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__retractRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractRequest, 0, sizeof(_ngwm__retractRequest), 0, soap_copy__ngwm__retractRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_new__ngwm__retractRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__retractRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_instantiate__ngwm__retractRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__retractRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__retractRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__retractRequest;
- if (size)
- *size = sizeof(_ngwm__retractRequest);
- ((_ngwm__retractRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__retractRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__retractRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__retractRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__retractRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__retractRequest %p -> %p\n", q, p));
- *(_ngwm__retractRequest*)p = *(_ngwm__retractRequest*)q;
-}
-
-void _ngwm__replyResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__replyResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__replyResponse*)this)->item);
- soap_embedded(soap, &((_ngwm__replyResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__replyResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__replyResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__replyResponse*)this)->item = NULL;
- ((_ngwm__replyResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__replyResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__replyResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__replyResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__replyResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyResponse(struct soap *soap, const char *tag, int id, const _ngwm__replyResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__replyResponse), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__replyResponse*)a)->item), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__replyResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__replyResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__replyResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_get__ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__replyResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__replyResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__replyResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_in__ngwm__replyResponse(struct soap *soap, const char *tag, _ngwm__replyResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__replyResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__replyResponse, sizeof(_ngwm__replyResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__replyResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__replyResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__replyResponse*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__replyResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__replyResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyResponse, 0, sizeof(_ngwm__replyResponse), 0, soap_copy__ngwm__replyResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_new__ngwm__replyResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__replyResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_instantiate__ngwm__replyResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__replyResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__replyResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__replyResponse;
- if (size)
- *size = sizeof(_ngwm__replyResponse);
- ((_ngwm__replyResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__replyResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__replyResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__replyResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__replyResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__replyResponse %p -> %p\n", q, p));
- *(_ngwm__replyResponse*)p = *(_ngwm__replyResponse*)q;
-}
-
-void _ngwm__replyRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__replyRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__replyRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__replyRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__replyRequest*)this)->view);
- /* transient soap skipped */
-}
-
-void _ngwm__replyRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__replyRequest*)this)->id);
- ((_ngwm__replyRequest*)this)->view = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__replyRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__replyRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__replyRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__replyRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyRequest(struct soap *soap, const char *tag, int id, const _ngwm__replyRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__replyRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__replyRequest*)a)->id), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__replyRequest*)a)->view), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__replyRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__replyRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_get__ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__replyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__replyRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__replyRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_in__ngwm__replyRequest(struct soap *soap, const char *tag, _ngwm__replyRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__replyRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__replyRequest, sizeof(_ngwm__replyRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__replyRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__replyRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_view1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__replyRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__replyRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__replyRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyRequest, 0, sizeof(_ngwm__replyRequest), 0, soap_copy__ngwm__replyRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_new__ngwm__replyRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__replyRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_instantiate__ngwm__replyRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__replyRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__replyRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__replyRequest;
- if (size)
- *size = sizeof(_ngwm__replyRequest);
- ((_ngwm__replyRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__replyRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__replyRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__replyRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__replyRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__replyRequest %p -> %p\n", q, p));
- *(_ngwm__replyRequest*)p = *(_ngwm__replyRequest*)q;
-}
-
-void _ngwm__removeSignatureResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeSignatureResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeSignatureResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeSignatureResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeSignatureResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeSignatureResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeSignatureResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeSignatureResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeSignatureResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeSignatureResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeSignatureResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeSignatureResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeSignatureResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeSignatureResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_get__ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeSignatureResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeSignatureResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeSignatureResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_in__ngwm__removeSignatureResponse(struct soap *soap, const char *tag, _ngwm__removeSignatureResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeSignatureResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeSignatureResponse, sizeof(_ngwm__removeSignatureResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeSignatureResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeSignatureResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeSignatureResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeSignatureResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureResponse, 0, sizeof(_ngwm__removeSignatureResponse), 0, soap_copy__ngwm__removeSignatureResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_new__ngwm__removeSignatureResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeSignatureResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeSignatureResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeSignatureResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeSignatureResponse;
- if (size)
- *size = sizeof(_ngwm__removeSignatureResponse);
- ((_ngwm__removeSignatureResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeSignatureResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeSignatureResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeSignatureResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeSignatureResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeSignatureResponse %p -> %p\n", q, p));
- *(_ngwm__removeSignatureResponse*)p = *(_ngwm__removeSignatureResponse*)q;
-}
-
-void _ngwm__removeSignatureRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__removeSignatureRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->all, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((_ngwm__removeSignatureRequest*)this)->all);
- soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->global, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwm__removeSignatureRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeSignatureRequest*)this)->id = NULL;
- ((_ngwm__removeSignatureRequest*)this)->all = NULL;
- ((_ngwm__removeSignatureRequest*)this)->global = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwm__removeSignatureRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeSignatureRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeSignatureRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeSignatureRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeSignatureRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeSignatureRequest), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeSignatureRequest*)a)->id), "");
- soap_out_PointerTobool(soap, "ngwm:all", -1, &(((_ngwm__removeSignatureRequest*)a)->all), "");
- soap_out_bool(soap, "ngwm:global", -1, &(((_ngwm__removeSignatureRequest*)a)->global), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeSignatureRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeSignatureRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_get__ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeSignatureRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeSignatureRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_in__ngwm__removeSignatureRequest(struct soap *soap, const char *tag, _ngwm__removeSignatureRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeSignatureRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeSignatureRequest, sizeof(_ngwm__removeSignatureRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeSignatureRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeSignatureRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_all1 = 1, soap_flag_global1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__removeSignatureRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_all1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwm:all", &(((_ngwm__removeSignatureRequest*)a)->all), ""))
- { soap_flag_all1 = 0;
- continue;
- }
- if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:global", &(((_ngwm__removeSignatureRequest*)a)->global), ""))
- { soap_flag_global1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeSignatureRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureRequest, 0, sizeof(_ngwm__removeSignatureRequest), 0, soap_copy__ngwm__removeSignatureRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_new__ngwm__removeSignatureRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeSignatureRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeSignatureRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeSignatureRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeSignatureRequest;
- if (size)
- *size = sizeof(_ngwm__removeSignatureRequest);
- ((_ngwm__removeSignatureRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeSignatureRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeSignatureRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeSignatureRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeSignatureRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeSignatureRequest %p -> %p\n", q, p));
- *(_ngwm__removeSignatureRequest*)p = *(_ngwm__removeSignatureRequest*)q;
-}
-
-void _ngwm__removeProxyUserResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeProxyUserResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeProxyUserResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeProxyUserResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeProxyUserResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeProxyUserResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyUserResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeProxyUserResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeProxyUserResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyUserResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyUserResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeProxyUserResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeProxyUserResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeProxyUserResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeProxyUserResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeProxyUserResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeProxyUserResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, _ngwm__removeProxyUserResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeProxyUserResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyUserResponse, sizeof(_ngwm__removeProxyUserResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyUserResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeProxyUserResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeProxyUserResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyUserResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserResponse, 0, sizeof(_ngwm__removeProxyUserResponse), 0, soap_copy__ngwm__removeProxyUserResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyUserResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeProxyUserResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyUserResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyUserResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeProxyUserResponse;
- if (size)
- *size = sizeof(_ngwm__removeProxyUserResponse);
- ((_ngwm__removeProxyUserResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeProxyUserResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeProxyUserResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeProxyUserResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeProxyUserResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyUserResponse %p -> %p\n", q, p));
- *(_ngwm__removeProxyUserResponse*)p = *(_ngwm__removeProxyUserResponse*)q;
-}
-
-void _ngwm__removeProxyUserRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeProxyUserRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeProxyUserRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__removeProxyUserRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__removeProxyUserRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__removeProxyUserRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyUserRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeProxyUserRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeProxyUserRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyUserRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyUserRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeProxyUserRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeProxyUserRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeProxyUserRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeProxyUserRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeProxyUserRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeProxyUserRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, _ngwm__removeProxyUserRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeProxyUserRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyUserRequest, sizeof(_ngwm__removeProxyUserRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyUserRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeProxyUserRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeProxyUserRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyUserRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserRequest, 0, sizeof(_ngwm__removeProxyUserRequest), 0, soap_copy__ngwm__removeProxyUserRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyUserRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeProxyUserRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyUserRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyUserRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeProxyUserRequest;
- if (size)
- *size = sizeof(_ngwm__removeProxyUserRequest);
- ((_ngwm__removeProxyUserRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeProxyUserRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeProxyUserRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeProxyUserRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeProxyUserRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyUserRequest %p -> %p\n", q, p));
- *(_ngwm__removeProxyUserRequest*)p = *(_ngwm__removeProxyUserRequest*)q;
-}
-
-void _ngwm__removeProxyAccessResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeProxyAccessResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeProxyAccessResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeProxyAccessResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyAccessResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeProxyAccessResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyAccessResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyAccessResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeProxyAccessResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeProxyAccessResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeProxyAccessResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__removeProxyAccessResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyAccessResponse, sizeof(_ngwm__removeProxyAccessResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyAccessResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeProxyAccessResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeProxyAccessResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessResponse, 0, sizeof(_ngwm__removeProxyAccessResponse), 0, soap_copy__ngwm__removeProxyAccessResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeProxyAccessResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyAccessResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeProxyAccessResponse;
- if (size)
- *size = sizeof(_ngwm__removeProxyAccessResponse);
- ((_ngwm__removeProxyAccessResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeProxyAccessResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeProxyAccessResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeProxyAccessResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeProxyAccessResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyAccessResponse %p -> %p\n", q, p));
- *(_ngwm__removeProxyAccessResponse*)p = *(_ngwm__removeProxyAccessResponse*)q;
-}
-
-void _ngwm__removeProxyAccessRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeProxyAccessRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeProxyAccessRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__removeProxyAccessRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__removeProxyAccessRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__removeProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyAccessRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeProxyAccessRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyAccessRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyAccessRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeProxyAccessRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeProxyAccessRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeProxyAccessRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__removeProxyAccessRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyAccessRequest, sizeof(_ngwm__removeProxyAccessRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyAccessRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeProxyAccessRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeProxyAccessRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessRequest, 0, sizeof(_ngwm__removeProxyAccessRequest), 0, soap_copy__ngwm__removeProxyAccessRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeProxyAccessRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyAccessRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeProxyAccessRequest;
- if (size)
- *size = sizeof(_ngwm__removeProxyAccessRequest);
- ((_ngwm__removeProxyAccessRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeProxyAccessRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeProxyAccessRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeProxyAccessRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeProxyAccessRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyAccessRequest %p -> %p\n", q, p));
- *(_ngwm__removeProxyAccessRequest*)p = *(_ngwm__removeProxyAccessRequest*)q;
-}
-
-void _ngwm__removeMembersResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeMembersResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeMembersResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeMembersResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeMembersResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeMembersResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeMembersResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeMembersResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeMembersResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeMembersResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeMembersResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeMembersResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeMembersResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeMembersResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_get__ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeMembersResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeMembersResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeMembersResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_in__ngwm__removeMembersResponse(struct soap *soap, const char *tag, _ngwm__removeMembersResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeMembersResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeMembersResponse, sizeof(_ngwm__removeMembersResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeMembersResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeMembersResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeMembersResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeMembersResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersResponse, 0, sizeof(_ngwm__removeMembersResponse), 0, soap_copy__ngwm__removeMembersResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_new__ngwm__removeMembersResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeMembersResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeMembersResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeMembersResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeMembersResponse;
- if (size)
- *size = sizeof(_ngwm__removeMembersResponse);
- ((_ngwm__removeMembersResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeMembersResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeMembersResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeMembersResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeMembersResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeMembersResponse %p -> %p\n", q, p));
- *(_ngwm__removeMembersResponse*)p = *(_ngwm__removeMembersResponse*)q;
-}
-
-void _ngwm__removeMembersRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeMembersRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeMembersRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__removeMembersRequest*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList);
- soap_serialize_PointerTongwt__GroupMemberList(soap, &((_ngwm__removeMembersRequest*)this)->members);
- /* transient soap skipped */
-}
-
-void _ngwm__removeMembersRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__removeMembersRequest*)this)->container);
- ((_ngwm__removeMembersRequest*)this)->members = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeMembersRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeMembersRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeMembersRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeMembersRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeMembersRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeMembersRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeMembersRequest*)a)->container), "");
- soap_out_PointerTongwt__GroupMemberList(soap, "ngwm:members", -1, &(((_ngwm__removeMembersRequest*)a)->members), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeMembersRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeMembersRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_get__ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeMembersRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeMembersRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_in__ngwm__removeMembersRequest(struct soap *soap, const char *tag, _ngwm__removeMembersRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeMembersRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeMembersRequest, sizeof(_ngwm__removeMembersRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeMembersRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeMembersRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_members1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__removeMembersRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwm:members", &(((_ngwm__removeMembersRequest*)a)->members), "ngwt:GroupMemberList"))
- { soap_flag_members1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_members1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeMembersRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersRequest, 0, sizeof(_ngwm__removeMembersRequest), 0, soap_copy__ngwm__removeMembersRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_new__ngwm__removeMembersRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeMembersRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeMembersRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeMembersRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeMembersRequest;
- if (size)
- *size = sizeof(_ngwm__removeMembersRequest);
- ((_ngwm__removeMembersRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeMembersRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeMembersRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeMembersRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeMembersRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeMembersRequest %p -> %p\n", q, p));
- *(_ngwm__removeMembersRequest*)p = *(_ngwm__removeMembersRequest*)q;
-}
-
-void _ngwm__removeJunkEntryResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeJunkEntryResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeJunkEntryResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeJunkEntryResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeJunkEntryResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeJunkEntryResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeJunkEntryResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeJunkEntryResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeJunkEntryResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeJunkEntryResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeJunkEntryResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__removeJunkEntryResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeJunkEntryResponse, sizeof(_ngwm__removeJunkEntryResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeJunkEntryResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeJunkEntryResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeJunkEntryResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryResponse, 0, sizeof(_ngwm__removeJunkEntryResponse), 0, soap_copy__ngwm__removeJunkEntryResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeJunkEntryResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeJunkEntryResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeJunkEntryResponse;
- if (size)
- *size = sizeof(_ngwm__removeJunkEntryResponse);
- ((_ngwm__removeJunkEntryResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeJunkEntryResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeJunkEntryResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeJunkEntryResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeJunkEntryResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeJunkEntryResponse %p -> %p\n", q, p));
- *(_ngwm__removeJunkEntryResponse*)p = *(_ngwm__removeJunkEntryResponse*)q;
-}
-
-void _ngwm__removeJunkEntryRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeJunkEntryRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeJunkEntryRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__removeJunkEntryRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__removeJunkEntryRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__removeJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeJunkEntryRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeJunkEntryRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeJunkEntryRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeJunkEntryRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeJunkEntryRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeJunkEntryRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeJunkEntryRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__removeJunkEntryRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeJunkEntryRequest, sizeof(_ngwm__removeJunkEntryRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeJunkEntryRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeJunkEntryRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeJunkEntryRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryRequest, 0, sizeof(_ngwm__removeJunkEntryRequest), 0, soap_copy__ngwm__removeJunkEntryRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeJunkEntryRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeJunkEntryRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeJunkEntryRequest;
- if (size)
- *size = sizeof(_ngwm__removeJunkEntryRequest);
- ((_ngwm__removeJunkEntryRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeJunkEntryRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeJunkEntryRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeJunkEntryRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeJunkEntryRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeJunkEntryRequest %p -> %p\n", q, p));
- *(_ngwm__removeJunkEntryRequest*)p = *(_ngwm__removeJunkEntryRequest*)q;
-}
-
-void _ngwm__removeItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_get__ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_in__ngwm__removeItemsResponse(struct soap *soap, const char *tag, _ngwm__removeItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemsResponse, sizeof(_ngwm__removeItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsResponse, 0, sizeof(_ngwm__removeItemsResponse), 0, soap_copy__ngwm__removeItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_new__ngwm__removeItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeItemsResponse;
- if (size)
- *size = sizeof(_ngwm__removeItemsResponse);
- ((_ngwm__removeItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemsResponse %p -> %p\n", q, p));
- *(_ngwm__removeItemsResponse*)p = *(_ngwm__removeItemsResponse*)q;
-}
-
-void _ngwm__removeItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeItemsRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeItemsRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__removeItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__removeItemsRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__removeItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__removeItemsRequest*)this)->container);
- ((_ngwm__removeItemsRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemsRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeItemsRequest*)a)->container), "");
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__removeItemsRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_get__ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_in__ngwm__removeItemsRequest(struct soap *soap, const char *tag, _ngwm__removeItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemsRequest, sizeof(_ngwm__removeItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeItemsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__removeItemsRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__removeItemsRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsRequest, 0, sizeof(_ngwm__removeItemsRequest), 0, soap_copy__ngwm__removeItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_new__ngwm__removeItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeItemsRequest;
- if (size)
- *size = sizeof(_ngwm__removeItemsRequest);
- ((_ngwm__removeItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemsRequest %p -> %p\n", q, p));
- *(_ngwm__removeItemsRequest*)p = *(_ngwm__removeItemsRequest*)q;
-}
-
-void _ngwm__removeItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_get__ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_in__ngwm__removeItemResponse(struct soap *soap, const char *tag, _ngwm__removeItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemResponse, sizeof(_ngwm__removeItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemResponse, 0, sizeof(_ngwm__removeItemResponse), 0, soap_copy__ngwm__removeItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_new__ngwm__removeItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeItemResponse;
- if (size)
- *size = sizeof(_ngwm__removeItemResponse);
- ((_ngwm__removeItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemResponse %p -> %p\n", q, p));
- *(_ngwm__removeItemResponse*)p = *(_ngwm__removeItemResponse*)q;
-}
-
-void _ngwm__removeItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeItemRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__removeItemRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__removeItemRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__removeItemRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__removeItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeItemRequest*)this)->container = NULL;
- soap_default_ngwt__uid(soap, &((_ngwm__removeItemRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__removeItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemRequest), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeItemRequest*)a)->container), "");
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeItemRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_get__ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_in__ngwm__removeItemRequest(struct soap *soap, const char *tag, _ngwm__removeItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemRequest, sizeof(_ngwm__removeItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__removeItemRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeItemRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemRequest, 0, sizeof(_ngwm__removeItemRequest), 0, soap_copy__ngwm__removeItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_new__ngwm__removeItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeItemRequest;
- if (size)
- *size = sizeof(_ngwm__removeItemRequest);
- ((_ngwm__removeItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemRequest %p -> %p\n", q, p));
- *(_ngwm__removeItemRequest*)p = *(_ngwm__removeItemRequest*)q;
-}
-
-void _ngwm__removeCustomDefinitionResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeCustomDefinitionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeCustomDefinitionResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__removeCustomDefinitionResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeCustomDefinitionResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__removeCustomDefinitionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeCustomDefinitionResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeCustomDefinitionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeCustomDefinitionResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeCustomDefinitionResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeCustomDefinitionResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeCustomDefinitionResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeCustomDefinitionResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeCustomDefinitionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeCustomDefinitionResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeCustomDefinitionResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeCustomDefinitionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, sizeof(_ngwm__removeCustomDefinitionResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeCustomDefinitionResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeCustomDefinitionResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeCustomDefinitionResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeCustomDefinitionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, 0, sizeof(_ngwm__removeCustomDefinitionResponse), 0, soap_copy__ngwm__removeCustomDefinitionResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeCustomDefinitionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeCustomDefinitionResponse;
- if (size)
- *size = sizeof(_ngwm__removeCustomDefinitionResponse);
- ((_ngwm__removeCustomDefinitionResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeCustomDefinitionResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__removeCustomDefinitionResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeCustomDefinitionResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeCustomDefinitionResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeCustomDefinitionResponse %p -> %p\n", q, p));
- *(_ngwm__removeCustomDefinitionResponse*)p = *(_ngwm__removeCustomDefinitionResponse*)q;
-}
-
-void _ngwm__removeCustomDefinitionRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->customs);
- soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->books, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->doAsynchronous, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwm__removeCustomDefinitionRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__removeCustomDefinitionRequest*)this)->customs = NULL;
- ((_ngwm__removeCustomDefinitionRequest*)this)->books = (bool)0;
- ((_ngwm__removeCustomDefinitionRequest*)this)->doAsynchronous = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwm__removeCustomDefinitionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeCustomDefinitionRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__removeCustomDefinitionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__removeCustomDefinitionRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeCustomDefinitionRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest), type);
- soap_out_PointerTongwt__CustomList(soap, "ngwm:customs", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->customs), "");
- soap_out_bool(soap, "ngwm:books", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->books), "");
- soap_out_bool(soap, "ngwm:doAsynchronous", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->doAsynchronous), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__removeCustomDefinitionRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__removeCustomDefinitionRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__removeCustomDefinitionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__removeCustomDefinitionRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__removeCustomDefinitionRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__removeCustomDefinitionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, sizeof(_ngwm__removeCustomDefinitionRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__removeCustomDefinitionRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__removeCustomDefinitionRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_customs1 = 1, soap_flag_books1 = 1, soap_flag_doAsynchronous1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwm:customs", &(((_ngwm__removeCustomDefinitionRequest*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs1 = 0;
- continue;
- }
- if (soap_flag_books1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:books", &(((_ngwm__removeCustomDefinitionRequest*)a)->books), ""))
- { soap_flag_books1 = 0;
- continue;
- }
- if (soap_flag_doAsynchronous1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:doAsynchronous", &(((_ngwm__removeCustomDefinitionRequest*)a)->doAsynchronous), ""))
- { soap_flag_doAsynchronous1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__removeCustomDefinitionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, 0, sizeof(_ngwm__removeCustomDefinitionRequest), 0, soap_copy__ngwm__removeCustomDefinitionRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeCustomDefinitionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__removeCustomDefinitionRequest;
- if (size)
- *size = sizeof(_ngwm__removeCustomDefinitionRequest);
- ((_ngwm__removeCustomDefinitionRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__removeCustomDefinitionRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__removeCustomDefinitionRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__removeCustomDefinitionRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__removeCustomDefinitionRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeCustomDefinitionRequest %p -> %p\n", q, p));
- *(_ngwm__removeCustomDefinitionRequest*)p = *(_ngwm__removeCustomDefinitionRequest*)q;
-}
-
-void _ngwm__readCursorResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__readCursorResponse*)this)->items, SOAP_TYPE_PointerTongwt__ItemList);
- soap_serialize_PointerTongwt__ItemList(soap, &((_ngwm__readCursorResponse*)this)->items);
- soap_embedded(soap, &((_ngwm__readCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__readCursorResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__readCursorResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__readCursorResponse*)this)->items = NULL;
- ((_ngwm__readCursorResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__readCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__readCursorResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__readCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__readCursorResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__readCursorResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__readCursorResponse), type);
- soap_out_PointerTongwt__ItemList(soap, "ngwm:items", -1, &(((_ngwm__readCursorResponse*)a)->items), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__readCursorResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__readCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__readCursorResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_get__ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__readCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__readCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__readCursorResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_in__ngwm__readCursorResponse(struct soap *soap, const char *tag, _ngwm__readCursorResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__readCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__readCursorResponse, sizeof(_ngwm__readCursorResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__readCursorResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__readCursorResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemList(soap, "ngwm:items", &(((_ngwm__readCursorResponse*)a)->items), "ngwt:ItemList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__readCursorResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__readCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorResponse, 0, sizeof(_ngwm__readCursorResponse), 0, soap_copy__ngwm__readCursorResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_new__ngwm__readCursorResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__readCursorResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__readCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__readCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__readCursorResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__readCursorResponse;
- if (size)
- *size = sizeof(_ngwm__readCursorResponse);
- ((_ngwm__readCursorResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__readCursorResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__readCursorResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__readCursorResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__readCursorResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__readCursorResponse %p -> %p\n", q, p));
- *(_ngwm__readCursorResponse*)p = *(_ngwm__readCursorResponse*)q;
-}
-
-void _ngwm__readCursorRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__readCursorRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->cursor, SOAP_TYPE_int);
- soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->forward, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->position, SOAP_TYPE_PointerTongwt__CursorSeek);
- soap_serialize_PointerTongwt__CursorSeek(soap, &((_ngwm__readCursorRequest*)this)->position);
- soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((_ngwm__readCursorRequest*)this)->count);
- /* transient soap skipped */
-}
-
-void _ngwm__readCursorRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__readCursorRequest*)this)->container);
- soap_default_int(soap, &((_ngwm__readCursorRequest*)this)->cursor);
- ((_ngwm__readCursorRequest*)this)->forward = (bool)1;
- ((_ngwm__readCursorRequest*)this)->position = NULL;
- ((_ngwm__readCursorRequest*)this)->count = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__readCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__readCursorRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__readCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__readCursorRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__readCursorRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__readCursorRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__readCursorRequest*)a)->container), "");
- soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__readCursorRequest*)a)->cursor), "");
- soap_out_bool(soap, "ngwm:forward", -1, &(((_ngwm__readCursorRequest*)a)->forward), "");
- soap_out_PointerTongwt__CursorSeek(soap, "ngwm:position", -1, &(((_ngwm__readCursorRequest*)a)->position), "");
- soap_out_PointerToint(soap, "ngwm:count", -1, &(((_ngwm__readCursorRequest*)a)->count), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__readCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__readCursorRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_get__ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__readCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__readCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__readCursorRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_in__ngwm__readCursorRequest(struct soap *soap, const char *tag, _ngwm__readCursorRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__readCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__readCursorRequest, sizeof(_ngwm__readCursorRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__readCursorRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__readCursorRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_cursor1 = 1, soap_flag_forward1 = 1, soap_flag_position1 = 1, soap_flag_count1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__readCursorRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__readCursorRequest*)a)->cursor), ""))
- { soap_flag_cursor1 = 0;
- continue;
- }
- if (soap_flag_forward1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:forward", &(((_ngwm__readCursorRequest*)a)->forward), ""))
- { soap_flag_forward1 = 0;
- continue;
- }
- if (soap_flag_position1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CursorSeek(soap, "ngwm:position", &(((_ngwm__readCursorRequest*)a)->position), ""))
- { soap_flag_position1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwm:count", &(((_ngwm__readCursorRequest*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__readCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorRequest, 0, sizeof(_ngwm__readCursorRequest), 0, soap_copy__ngwm__readCursorRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_new__ngwm__readCursorRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__readCursorRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__readCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__readCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__readCursorRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__readCursorRequest;
- if (size)
- *size = sizeof(_ngwm__readCursorRequest);
- ((_ngwm__readCursorRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__readCursorRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__readCursorRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__readCursorRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__readCursorRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__readCursorRequest %p -> %p\n", q, p));
- *(_ngwm__readCursorRequest*)p = *(_ngwm__readCursorRequest*)q;
-}
-
-void _ngwm__purgeResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__purgeResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__purgeResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__purgeResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__purgeResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__purgeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__purgeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__purgeResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeResponse(struct soap *soap, const char *tag, int id, const _ngwm__purgeResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__purgeResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__purgeResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__purgeResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_get__ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__purgeResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__purgeResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__purgeResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_in__ngwm__purgeResponse(struct soap *soap, const char *tag, _ngwm__purgeResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__purgeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeResponse, sizeof(_ngwm__purgeResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__purgeResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__purgeResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__purgeResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__purgeResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeResponse, 0, sizeof(_ngwm__purgeResponse), 0, soap_copy__ngwm__purgeResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_new__ngwm__purgeResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__purgeResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__purgeResponse;
- if (size)
- *size = sizeof(_ngwm__purgeResponse);
- ((_ngwm__purgeResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__purgeResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__purgeResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__purgeResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__purgeResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeResponse %p -> %p\n", q, p));
- *(_ngwm__purgeResponse*)p = *(_ngwm__purgeResponse*)q;
-}
-
-void _ngwm__purgeRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__purgeRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__purgeRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__purgeRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__purgeRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__purgeRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__purgeRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__purgeRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeRequest(struct soap *soap, const char *tag, int id, const _ngwm__purgeRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__purgeRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__purgeRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__purgeRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_get__ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__purgeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__purgeRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__purgeRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_in__ngwm__purgeRequest(struct soap *soap, const char *tag, _ngwm__purgeRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__purgeRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeRequest, sizeof(_ngwm__purgeRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__purgeRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__purgeRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__purgeRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__purgeRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeRequest, 0, sizeof(_ngwm__purgeRequest), 0, soap_copy__ngwm__purgeRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_new__ngwm__purgeRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__purgeRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__purgeRequest;
- if (size)
- *size = sizeof(_ngwm__purgeRequest);
- ((_ngwm__purgeRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__purgeRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__purgeRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__purgeRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__purgeRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeRequest %p -> %p\n", q, p));
- *(_ngwm__purgeRequest*)p = *(_ngwm__purgeRequest*)q;
-}
-
-void _ngwm__purgeDeletedItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__purgeDeletedItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__purgeDeletedItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__purgeDeletedItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__purgeDeletedItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__purgeDeletedItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeDeletedItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__purgeDeletedItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__purgeDeletedItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__purgeDeletedItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__purgeDeletedItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__purgeDeletedItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__purgeDeletedItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__purgeDeletedItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__purgeDeletedItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__purgeDeletedItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__purgeDeletedItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, sizeof(_ngwm__purgeDeletedItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__purgeDeletedItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__purgeDeletedItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__purgeDeletedItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__purgeDeletedItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, 0, sizeof(_ngwm__purgeDeletedItemsResponse), 0, soap_copy__ngwm__purgeDeletedItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeDeletedItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__purgeDeletedItemsResponse;
- if (size)
- *size = sizeof(_ngwm__purgeDeletedItemsResponse);
- ((_ngwm__purgeDeletedItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__purgeDeletedItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__purgeDeletedItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__purgeDeletedItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__purgeDeletedItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeDeletedItemsResponse %p -> %p\n", q, p));
- *(_ngwm__purgeDeletedItemsResponse*)p = *(_ngwm__purgeDeletedItemsResponse*)q;
-}
-
-void _ngwm__purgeDeletedItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__purgeDeletedItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__purgeDeletedItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeDeletedItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__purgeDeletedItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__purgeDeletedItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__purgeDeletedItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__purgeDeletedItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__purgeDeletedItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__purgeDeletedItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__purgeDeletedItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__purgeDeletedItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__purgeDeletedItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, sizeof(_ngwm__purgeDeletedItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__purgeDeletedItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__purgeDeletedItemsRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__purgeDeletedItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, 0, sizeof(_ngwm__purgeDeletedItemsRequest), 0, soap_copy__ngwm__purgeDeletedItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeDeletedItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__purgeDeletedItemsRequest;
- if (size)
- *size = sizeof(_ngwm__purgeDeletedItemsRequest);
- ((_ngwm__purgeDeletedItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__purgeDeletedItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__purgeDeletedItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__purgeDeletedItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__purgeDeletedItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeDeletedItemsRequest %p -> %p\n", q, p));
- *(_ngwm__purgeDeletedItemsRequest*)p = *(_ngwm__purgeDeletedItemsRequest*)q;
-}
-
-void _ngwm__positionCursorResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__positionCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__positionCursorResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__positionCursorResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__positionCursorResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__positionCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__positionCursorResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__positionCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__positionCursorResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__positionCursorResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__positionCursorResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__positionCursorResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__positionCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__positionCursorResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_get__ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__positionCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__positionCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__positionCursorResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_in__ngwm__positionCursorResponse(struct soap *soap, const char *tag, _ngwm__positionCursorResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__positionCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__positionCursorResponse, sizeof(_ngwm__positionCursorResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__positionCursorResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__positionCursorResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__positionCursorResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__positionCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorResponse, 0, sizeof(_ngwm__positionCursorResponse), 0, soap_copy__ngwm__positionCursorResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_new__ngwm__positionCursorResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__positionCursorResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__positionCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__positionCursorResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__positionCursorResponse;
- if (size)
- *size = sizeof(_ngwm__positionCursorResponse);
- ((_ngwm__positionCursorResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__positionCursorResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__positionCursorResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__positionCursorResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__positionCursorResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__positionCursorResponse %p -> %p\n", q, p));
- *(_ngwm__positionCursorResponse*)p = *(_ngwm__positionCursorResponse*)q;
-}
-
-void _ngwm__positionCursorRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__positionCursorRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->cursor, SOAP_TYPE_int);
- soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->seek, SOAP_TYPE_ngwt__CursorSeek);
- soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->offset, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__positionCursorRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__positionCursorRequest*)this)->container);
- soap_default_int(soap, &((_ngwm__positionCursorRequest*)this)->cursor);
- soap_default_ngwt__CursorSeek(soap, &((_ngwm__positionCursorRequest*)this)->seek);
- soap_default_int(soap, &((_ngwm__positionCursorRequest*)this)->offset);
- /* transient soap skipped */
-}
-
-int _ngwm__positionCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__positionCursorRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__positionCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__positionCursorRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__positionCursorRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__positionCursorRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__positionCursorRequest*)a)->container), "");
- soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__positionCursorRequest*)a)->cursor), "");
- soap_out_ngwt__CursorSeek(soap, "ngwm:seek", -1, &(((_ngwm__positionCursorRequest*)a)->seek), "");
- soap_out_int(soap, "ngwm:offset", -1, &(((_ngwm__positionCursorRequest*)a)->offset), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__positionCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__positionCursorRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_get__ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__positionCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__positionCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__positionCursorRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_in__ngwm__positionCursorRequest(struct soap *soap, const char *tag, _ngwm__positionCursorRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__positionCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__positionCursorRequest, sizeof(_ngwm__positionCursorRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__positionCursorRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__positionCursorRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_cursor1 = 1, soap_flag_seek1 = 1, soap_flag_offset1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__positionCursorRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__positionCursorRequest*)a)->cursor), ""))
- { soap_flag_cursor1 = 0;
- continue;
- }
- if (soap_flag_seek1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__CursorSeek(soap, "ngwm:seek", &(((_ngwm__positionCursorRequest*)a)->seek), ""))
- { soap_flag_seek1 = 0;
- continue;
- }
- if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:offset", &(((_ngwm__positionCursorRequest*)a)->offset), ""))
- { soap_flag_offset1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1 || soap_flag_seek1 || soap_flag_offset1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__positionCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorRequest, 0, sizeof(_ngwm__positionCursorRequest), 0, soap_copy__ngwm__positionCursorRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_new__ngwm__positionCursorRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__positionCursorRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__positionCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__positionCursorRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__positionCursorRequest;
- if (size)
- *size = sizeof(_ngwm__positionCursorRequest);
- ((_ngwm__positionCursorRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__positionCursorRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__positionCursorRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__positionCursorRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__positionCursorRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__positionCursorRequest %p -> %p\n", q, p));
- *(_ngwm__positionCursorRequest*)p = *(_ngwm__positionCursorRequest*)q;
-}
-
-void _ngwm__moveItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__moveItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__moveItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__moveItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__moveItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__moveItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__moveItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__moveItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__moveItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__moveItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__moveItemResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__moveItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__moveItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__moveItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_get__ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__moveItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__moveItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__moveItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_in__ngwm__moveItemResponse(struct soap *soap, const char *tag, _ngwm__moveItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__moveItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__moveItemResponse, sizeof(_ngwm__moveItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__moveItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__moveItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__moveItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__moveItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemResponse, 0, sizeof(_ngwm__moveItemResponse), 0, soap_copy__ngwm__moveItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_new__ngwm__moveItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__moveItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__moveItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__moveItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__moveItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__moveItemResponse;
- if (size)
- *size = sizeof(_ngwm__moveItemResponse);
- ((_ngwm__moveItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__moveItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__moveItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__moveItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__moveItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__moveItemResponse %p -> %p\n", q, p));
- *(_ngwm__moveItemResponse*)p = *(_ngwm__moveItemResponse*)q;
-}
-
-void _ngwm__moveItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->from, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__moveItemRequest*)this)->from);
- /* transient soap skipped */
-}
-
-void _ngwm__moveItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->id);
- soap_default_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->container);
- ((_ngwm__moveItemRequest*)this)->from = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__moveItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__moveItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__moveItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__moveItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__moveItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__moveItemRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__moveItemRequest*)a)->id), "");
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__moveItemRequest*)a)->container), "");
- soap_out_PointerTongwt__uid(soap, "ngwm:from", -1, &(((_ngwm__moveItemRequest*)a)->from), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__moveItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__moveItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_get__ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__moveItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__moveItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__moveItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_in__ngwm__moveItemRequest(struct soap *soap, const char *tag, _ngwm__moveItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__moveItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__moveItemRequest, sizeof(_ngwm__moveItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__moveItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__moveItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_container1 = 1, soap_flag_from1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__moveItemRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__moveItemRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:from", &(((_ngwm__moveItemRequest*)a)->from), "ngwt:uid"))
- { soap_flag_from1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_container1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__moveItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemRequest, 0, sizeof(_ngwm__moveItemRequest), 0, soap_copy__ngwm__moveItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_new__ngwm__moveItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__moveItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__moveItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__moveItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__moveItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__moveItemRequest;
- if (size)
- *size = sizeof(_ngwm__moveItemRequest);
- ((_ngwm__moveItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__moveItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__moveItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__moveItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__moveItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__moveItemRequest %p -> %p\n", q, p));
- *(_ngwm__moveItemRequest*)p = *(_ngwm__moveItemRequest*)q;
-}
-
-void _ngwm__modifySignaturesResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifySignaturesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifySignaturesResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifySignaturesResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifySignaturesResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifySignaturesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySignaturesResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifySignaturesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifySignaturesResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifySignaturesResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySignaturesResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifySignaturesResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifySignaturesResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifySignaturesResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_get__ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifySignaturesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifySignaturesResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifySignaturesResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_in__ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, _ngwm__modifySignaturesResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifySignaturesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySignaturesResponse, sizeof(_ngwm__modifySignaturesResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifySignaturesResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifySignaturesResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifySignaturesResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifySignaturesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesResponse, 0, sizeof(_ngwm__modifySignaturesResponse), 0, soap_copy__ngwm__modifySignaturesResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_new__ngwm__modifySignaturesResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifySignaturesResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySignaturesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySignaturesResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifySignaturesResponse;
- if (size)
- *size = sizeof(_ngwm__modifySignaturesResponse);
- ((_ngwm__modifySignaturesResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifySignaturesResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifySignaturesResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifySignaturesResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifySignaturesResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySignaturesResponse %p -> %p\n", q, p));
- *(_ngwm__modifySignaturesResponse*)p = *(_ngwm__modifySignaturesResponse*)q;
-}
-
-void _ngwm__modifySignaturesRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifySignaturesRequest*)this)->updates, SOAP_TYPE_PointerTongwt__Signatures);
- soap_serialize_PointerTongwt__Signatures(soap, &((_ngwm__modifySignaturesRequest*)this)->updates);
- /* transient soap skipped */
-}
-
-void _ngwm__modifySignaturesRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifySignaturesRequest*)this)->updates = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifySignaturesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySignaturesRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifySignaturesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifySignaturesRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifySignaturesRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySignaturesRequest), type);
- soap_out_PointerTongwt__Signatures(soap, "ngwm:updates", -1, &(((_ngwm__modifySignaturesRequest*)a)->updates), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifySignaturesRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifySignaturesRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_get__ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifySignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifySignaturesRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifySignaturesRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_in__ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, _ngwm__modifySignaturesRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifySignaturesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySignaturesRequest, sizeof(_ngwm__modifySignaturesRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifySignaturesRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifySignaturesRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_updates1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Signatures(soap, "ngwm:updates", &(((_ngwm__modifySignaturesRequest*)a)->updates), "ngwt:Signatures"))
- { soap_flag_updates1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_updates1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifySignaturesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesRequest, 0, sizeof(_ngwm__modifySignaturesRequest), 0, soap_copy__ngwm__modifySignaturesRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_new__ngwm__modifySignaturesRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifySignaturesRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySignaturesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySignaturesRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifySignaturesRequest;
- if (size)
- *size = sizeof(_ngwm__modifySignaturesRequest);
- ((_ngwm__modifySignaturesRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifySignaturesRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifySignaturesRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifySignaturesRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifySignaturesRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySignaturesRequest %p -> %p\n", q, p));
- *(_ngwm__modifySignaturesRequest*)p = *(_ngwm__modifySignaturesRequest*)q;
-}
-
-void _ngwm__modifySettingsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifySettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifySettingsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifySettingsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifySettingsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifySettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySettingsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifySettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifySettingsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifySettingsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySettingsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifySettingsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifySettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifySettingsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifySettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifySettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifySettingsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifySettingsResponse(struct soap *soap, const char *tag, _ngwm__modifySettingsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifySettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySettingsResponse, sizeof(_ngwm__modifySettingsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifySettingsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifySettingsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifySettingsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifySettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsResponse, 0, sizeof(_ngwm__modifySettingsResponse), 0, soap_copy__ngwm__modifySettingsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifySettingsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifySettingsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySettingsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifySettingsResponse;
- if (size)
- *size = sizeof(_ngwm__modifySettingsResponse);
- ((_ngwm__modifySettingsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifySettingsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifySettingsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifySettingsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifySettingsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySettingsResponse %p -> %p\n", q, p));
- *(_ngwm__modifySettingsResponse*)p = *(_ngwm__modifySettingsResponse*)q;
-}
-
-void _ngwm__modifySettingsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifySettingsRequest*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList);
- soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__modifySettingsRequest*)this)->settings);
- /* transient soap skipped */
-}
-
-void _ngwm__modifySettingsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifySettingsRequest*)this)->settings = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifySettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySettingsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifySettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifySettingsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifySettingsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySettingsRequest), type);
- soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__modifySettingsRequest*)a)->settings), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifySettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifySettingsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifySettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifySettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifySettingsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifySettingsRequest(struct soap *soap, const char *tag, _ngwm__modifySettingsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifySettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySettingsRequest, sizeof(_ngwm__modifySettingsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifySettingsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifySettingsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_settings1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__modifySettingsRequest*)a)->settings), "ngwt:SettingsList"))
- { soap_flag_settings1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_settings1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifySettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsRequest, 0, sizeof(_ngwm__modifySettingsRequest), 0, soap_copy__ngwm__modifySettingsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifySettingsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifySettingsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySettingsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifySettingsRequest;
- if (size)
- *size = sizeof(_ngwm__modifySettingsRequest);
- ((_ngwm__modifySettingsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifySettingsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifySettingsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifySettingsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifySettingsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySettingsRequest %p -> %p\n", q, p));
- *(_ngwm__modifySettingsRequest*)p = *(_ngwm__modifySettingsRequest*)q;
-}
-
-void _ngwm__modifyProxyAccessResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyProxyAccessResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyProxyAccessResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyProxyAccessResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyProxyAccessResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyProxyAccessResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyProxyAccessResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyProxyAccessResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyProxyAccessResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyProxyAccessResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyProxyAccessResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, sizeof(_ngwm__modifyProxyAccessResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyProxyAccessResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyProxyAccessResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyProxyAccessResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, 0, sizeof(_ngwm__modifyProxyAccessResponse), 0, soap_copy__ngwm__modifyProxyAccessResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyProxyAccessResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyProxyAccessResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyProxyAccessResponse;
- if (size)
- *size = sizeof(_ngwm__modifyProxyAccessResponse);
- ((_ngwm__modifyProxyAccessResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyProxyAccessResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyProxyAccessResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyProxyAccessResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyProxyAccessResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyProxyAccessResponse %p -> %p\n", q, p));
- *(_ngwm__modifyProxyAccessResponse*)p = *(_ngwm__modifyProxyAccessResponse*)q;
-}
-
-void _ngwm__modifyProxyAccessRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__modifyProxyAccessRequest*)this)->updates, SOAP_TYPE_PointerTongwt__AccessRightChanges);
- soap_serialize_PointerTongwt__AccessRightChanges(soap, &((_ngwm__modifyProxyAccessRequest*)this)->updates);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyProxyAccessRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id);
- ((_ngwm__modifyProxyAccessRequest*)this)->updates = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyProxyAccessRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyProxyAccessRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyProxyAccessRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyProxyAccessRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyProxyAccessRequest*)a)->id), "");
- soap_out_PointerTongwt__AccessRightChanges(soap, "ngwm:updates", -1, &(((_ngwm__modifyProxyAccessRequest*)a)->updates), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyProxyAccessRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyProxyAccessRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, sizeof(_ngwm__modifyProxyAccessRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyProxyAccessRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyProxyAccessRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_updates1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyProxyAccessRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightChanges(soap, "ngwm:updates", &(((_ngwm__modifyProxyAccessRequest*)a)->updates), "ngwt:AccessRightChanges"))
- { soap_flag_updates1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, 0, sizeof(_ngwm__modifyProxyAccessRequest), 0, soap_copy__ngwm__modifyProxyAccessRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyProxyAccessRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyProxyAccessRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyProxyAccessRequest;
- if (size)
- *size = sizeof(_ngwm__modifyProxyAccessRequest);
- ((_ngwm__modifyProxyAccessRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyProxyAccessRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyProxyAccessRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyProxyAccessRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyProxyAccessRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyProxyAccessRequest %p -> %p\n", q, p));
- *(_ngwm__modifyProxyAccessRequest*)p = *(_ngwm__modifyProxyAccessRequest*)q;
-}
-
-void _ngwm__modifyPasswordResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyPasswordResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyPasswordResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyPasswordResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyPasswordResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyPasswordResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyPasswordResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyPasswordResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyPasswordResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyPasswordResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyPasswordResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyPasswordResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyPasswordResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyPasswordResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_get__ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyPasswordResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyPasswordResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyPasswordResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_in__ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, _ngwm__modifyPasswordResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyPasswordResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyPasswordResponse, sizeof(_ngwm__modifyPasswordResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyPasswordResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyPasswordResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyPasswordResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyPasswordResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordResponse, 0, sizeof(_ngwm__modifyPasswordResponse), 0, soap_copy__ngwm__modifyPasswordResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_new__ngwm__modifyPasswordResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyPasswordResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyPasswordResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyPasswordResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyPasswordResponse;
- if (size)
- *size = sizeof(_ngwm__modifyPasswordResponse);
- ((_ngwm__modifyPasswordResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyPasswordResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyPasswordResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyPasswordResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyPasswordResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyPasswordResponse %p -> %p\n", q, p));
- *(_ngwm__modifyPasswordResponse*)p = *(_ngwm__modifyPasswordResponse*)q;
-}
-
-void _ngwm__modifyPasswordRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyPasswordRequest*)this)->old, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__modifyPasswordRequest*)this)->old);
- soap_embedded(soap, &((_ngwm__modifyPasswordRequest*)this)->_new, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__modifyPasswordRequest*)this)->_new);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyPasswordRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyPasswordRequest*)this)->old = NULL;
- ((_ngwm__modifyPasswordRequest*)this)->_new = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyPasswordRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyPasswordRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyPasswordRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyPasswordRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyPasswordRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyPasswordRequest), type);
- soap_out_PointerTostd__string(soap, "ngwm:old", -1, &(((_ngwm__modifyPasswordRequest*)a)->old), "");
- soap_out_PointerTostd__string(soap, "ngwm:new", -1, &(((_ngwm__modifyPasswordRequest*)a)->_new), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyPasswordRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyPasswordRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_get__ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyPasswordRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyPasswordRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyPasswordRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_in__ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, _ngwm__modifyPasswordRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyPasswordRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyPasswordRequest, sizeof(_ngwm__modifyPasswordRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyPasswordRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyPasswordRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_old1 = 1, soap_flag_new1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_old1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:old", &(((_ngwm__modifyPasswordRequest*)a)->old), ""))
- { soap_flag_old1 = 0;
- continue;
- }
- if (soap_flag_new1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:new", &(((_ngwm__modifyPasswordRequest*)a)->_new), ""))
- { soap_flag_new1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyPasswordRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordRequest, 0, sizeof(_ngwm__modifyPasswordRequest), 0, soap_copy__ngwm__modifyPasswordRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_new__ngwm__modifyPasswordRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyPasswordRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyPasswordRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyPasswordRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyPasswordRequest;
- if (size)
- *size = sizeof(_ngwm__modifyPasswordRequest);
- ((_ngwm__modifyPasswordRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyPasswordRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyPasswordRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyPasswordRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyPasswordRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyPasswordRequest %p -> %p\n", q, p));
- *(_ngwm__modifyPasswordRequest*)p = *(_ngwm__modifyPasswordRequest*)q;
-}
-
-void _ngwm__modifyJunkMailSettingsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyJunkMailSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyJunkMailSettingsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyJunkMailSettingsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyJunkMailSettingsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyJunkMailSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyJunkMailSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyJunkMailSettingsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkMailSettingsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyJunkMailSettingsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyJunkMailSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyJunkMailSettingsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyJunkMailSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyJunkMailSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyJunkMailSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, sizeof(_ngwm__modifyJunkMailSettingsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyJunkMailSettingsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyJunkMailSettingsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkMailSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, 0, sizeof(_ngwm__modifyJunkMailSettingsResponse), 0, soap_copy__ngwm__modifyJunkMailSettingsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkMailSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsResponse;
- if (size)
- *size = sizeof(_ngwm__modifyJunkMailSettingsResponse);
- ((_ngwm__modifyJunkMailSettingsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyJunkMailSettingsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyJunkMailSettingsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyJunkMailSettingsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkMailSettingsResponse %p -> %p\n", q, p));
- *(_ngwm__modifyJunkMailSettingsResponse*)p = *(_ngwm__modifyJunkMailSettingsResponse*)q;
-}
-
-void _ngwm__modifyJunkMailSettingsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyJunkMailSettingsRequest*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList);
- soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__modifyJunkMailSettingsRequest*)this)->settings);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyJunkMailSettingsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyJunkMailSettingsRequest*)this)->settings = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyJunkMailSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyJunkMailSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyJunkMailSettingsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkMailSettingsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest), type);
- soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__modifyJunkMailSettingsRequest*)a)->settings), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyJunkMailSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyJunkMailSettingsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyJunkMailSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyJunkMailSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, sizeof(_ngwm__modifyJunkMailSettingsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyJunkMailSettingsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_settings1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__modifyJunkMailSettingsRequest*)a)->settings), "ngwt:SettingsList"))
- { soap_flag_settings1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_settings1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkMailSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, 0, sizeof(_ngwm__modifyJunkMailSettingsRequest), 0, soap_copy__ngwm__modifyJunkMailSettingsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkMailSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsRequest;
- if (size)
- *size = sizeof(_ngwm__modifyJunkMailSettingsRequest);
- ((_ngwm__modifyJunkMailSettingsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyJunkMailSettingsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyJunkMailSettingsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyJunkMailSettingsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkMailSettingsRequest %p -> %p\n", q, p));
- *(_ngwm__modifyJunkMailSettingsRequest*)p = *(_ngwm__modifyJunkMailSettingsRequest*)q;
-}
-
-void _ngwm__modifyJunkEntryResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyJunkEntryResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyJunkEntryResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyJunkEntryResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkEntryResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyJunkEntryResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkEntryResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkEntryResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyJunkEntryResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyJunkEntryResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyJunkEntryResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, sizeof(_ngwm__modifyJunkEntryResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkEntryResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyJunkEntryResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyJunkEntryResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, 0, sizeof(_ngwm__modifyJunkEntryResponse), 0, soap_copy__ngwm__modifyJunkEntryResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyJunkEntryResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkEntryResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyJunkEntryResponse;
- if (size)
- *size = sizeof(_ngwm__modifyJunkEntryResponse);
- ((_ngwm__modifyJunkEntryResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyJunkEntryResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyJunkEntryResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyJunkEntryResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyJunkEntryResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkEntryResponse %p -> %p\n", q, p));
- *(_ngwm__modifyJunkEntryResponse*)p = *(_ngwm__modifyJunkEntryResponse*)q;
-}
-
-void _ngwm__modifyJunkEntryRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyJunkEntryRequest*)this)->entry, SOAP_TYPE_PointerTongwt__JunkEntry);
- soap_serialize_PointerTongwt__JunkEntry(soap, &((_ngwm__modifyJunkEntryRequest*)this)->entry);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyJunkEntryRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__modifyJunkEntryRequest*)this)->entry = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkEntryRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyJunkEntryRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkEntryRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkEntryRequest), type);
- soap_out_PointerTongwt__JunkEntry(soap, "ngwm:entry", -1, &(((_ngwm__modifyJunkEntryRequest*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyJunkEntryRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyJunkEntryRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, sizeof(_ngwm__modifyJunkEntryRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkEntryRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyJunkEntryRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_entry1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkEntry(soap, "ngwm:entry", &(((_ngwm__modifyJunkEntryRequest*)a)->entry), "ngwt:JunkEntry"))
- { soap_flag_entry1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, 0, sizeof(_ngwm__modifyJunkEntryRequest), 0, soap_copy__ngwm__modifyJunkEntryRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyJunkEntryRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkEntryRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyJunkEntryRequest;
- if (size)
- *size = sizeof(_ngwm__modifyJunkEntryRequest);
- ((_ngwm__modifyJunkEntryRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyJunkEntryRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyJunkEntryRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyJunkEntryRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyJunkEntryRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkEntryRequest %p -> %p\n", q, p));
- *(_ngwm__modifyJunkEntryRequest*)p = *(_ngwm__modifyJunkEntryRequest*)q;
-}
-
-void _ngwm__modifyItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfstring(soap, &((_ngwm__modifyItemsResponse*)this)->ngwt__modified);
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemsResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__modifyItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfstring(soap, &((_ngwm__modifyItemsResponse*)this)->ngwt__modified);
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemsResponse*)this)->id);
- ((_ngwm__modifyItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemsResponse), type);
- soap_out_std__vectorTemplateOfstring(soap, "ngwt:modified", -1, &(((_ngwm__modifyItemsResponse*)a)->ngwt__modified), "");
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemsResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemsResponse(struct soap *soap, _ngwm__modifyItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemsResponse(struct soap *soap, const char *tag, _ngwm__modifyItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemsResponse, sizeof(_ngwm__modifyItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfstring(soap, "ngwt:modified", &(((_ngwm__modifyItemsResponse*)a)->ngwt__modified), ""))
- continue;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemsResponse*)a)->id), "ngwt:uid"))
- continue;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemsResponse, 0, sizeof(_ngwm__modifyItemsResponse), 0, soap_copy__ngwm__modifyItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsResponse(struct soap *soap, _ngwm__modifyItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyItemsResponse;
- if (size)
- *size = sizeof(_ngwm__modifyItemsResponse);
- ((_ngwm__modifyItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemsResponse %p -> %p\n", q, p));
- *(_ngwm__modifyItemsResponse*)p = *(_ngwm__modifyItemsResponse*)q;
-}
-
-void _ngwm__modifyItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, &((_ngwm__modifyItemsRequest*)this)->item);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, &((_ngwm__modifyItemsRequest*)this)->item);
- /* transient soap skipped */
-}
-
-int _ngwm__modifyItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemsRequest), type);
- soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, "ngwm:item", -1, &(((_ngwm__modifyItemsRequest*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemsRequest(struct soap *soap, _ngwm__modifyItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemsRequest(struct soap *soap, const char *tag, _ngwm__modifyItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemsRequest, sizeof(_ngwm__modifyItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyItemsRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, "ngwm:item", &(((_ngwm__modifyItemsRequest*)a)->item), "ngwt:ModifyItem"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemsRequest, 0, sizeof(_ngwm__modifyItemsRequest), 0, soap_copy__ngwm__modifyItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsRequest(struct soap *soap, _ngwm__modifyItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyItemsRequest;
- if (size)
- *size = sizeof(_ngwm__modifyItemsRequest);
- ((_ngwm__modifyItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemsRequest %p -> %p\n", q, p));
- *(_ngwm__modifyItemsRequest*)p = *(_ngwm__modifyItemsRequest*)q;
-}
-
-void _ngwm__modifyItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified);
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__modifyItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified);
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemResponse*)this)->id);
- ((_ngwm__modifyItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemResponse), type);
- soap_out_string(soap, "ngwt:modified", -1, &(((_ngwm__modifyItemResponse*)a)->ngwt__modified), "");
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemResponse(struct soap *soap, const char *tag, _ngwm__modifyItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemResponse, sizeof(_ngwm__modifyItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_ngwt__modified1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwt__modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((_ngwm__modifyItemResponse*)a)->ngwt__modified), ""))
- { soap_flag_ngwt__modified1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemResponse*)a)->id), "ngwt:uid"))
- continue;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemResponse, 0, sizeof(_ngwm__modifyItemResponse), 0, soap_copy__ngwm__modifyItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyItemResponse;
- if (size)
- *size = sizeof(_ngwm__modifyItemResponse);
- ((_ngwm__modifyItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemResponse %p -> %p\n", q, p));
- *(_ngwm__modifyItemResponse*)p = *(_ngwm__modifyItemResponse*)q;
-}
-
-void _ngwm__modifyItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__modifyItemRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification);
- soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((_ngwm__modifyItemRequest*)this)->notification);
- soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->updates, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((_ngwm__modifyItemRequest*)this)->updates);
- soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong);
- /* transient soap skipped */
-}
-
-void _ngwm__modifyItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__modifyItemRequest*)this)->id);
- ((_ngwm__modifyItemRequest*)this)->notification = NULL;
- ((_ngwm__modifyItemRequest*)this)->updates = NULL;
- ((_ngwm__modifyItemRequest*)this)->recurrenceAllInstances = 0;
- /* transient soap skipped */
-}
-
-int _ngwm__modifyItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__modifyItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__modifyItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemRequest*)a)->id), "");
- soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", -1, &(((_ngwm__modifyItemRequest*)a)->notification), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwm:updates", -1, &(((_ngwm__modifyItemRequest*)a)->updates), "");
- soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__modifyItemRequest*)a)->recurrenceAllInstances), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__modifyItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__modifyItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__modifyItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__modifyItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__modifyItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemRequest(struct soap *soap, const char *tag, _ngwm__modifyItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__modifyItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemRequest, sizeof(_ngwm__modifyItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__modifyItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_notification1 = 1, soap_flag_updates1 = 1, soap_flag_recurrenceAllInstances1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", &(((_ngwm__modifyItemRequest*)a)->notification), "ngwt:SharedFolderNotification"))
- { soap_flag_notification1 = 0;
- continue;
- }
- if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwm:updates", &(((_ngwm__modifyItemRequest*)a)->updates), "ngwt:ItemChanges"))
- { soap_flag_updates1 = 0;
- continue;
- }
- if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__modifyItemRequest*)a)->recurrenceAllInstances), ""))
- { soap_flag_recurrenceAllInstances1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemRequest, 0, sizeof(_ngwm__modifyItemRequest), 0, soap_copy__ngwm__modifyItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__modifyItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__modifyItemRequest;
- if (size)
- *size = sizeof(_ngwm__modifyItemRequest);
- ((_ngwm__modifyItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__modifyItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__modifyItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__modifyItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__modifyItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemRequest %p -> %p\n", q, p));
- *(_ngwm__modifyItemRequest*)p = *(_ngwm__modifyItemRequest*)q;
-}
-
-void _ngwm__markUnReadResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markUnReadResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markUnReadResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__markUnReadResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markUnReadResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markUnReadResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnReadResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markUnReadResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markUnReadResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadResponse(struct soap *soap, const char *tag, int id, const _ngwm__markUnReadResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnReadResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markUnReadResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markUnReadResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markUnReadResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_get__ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markUnReadResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markUnReadResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markUnReadResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_in__ngwm__markUnReadResponse(struct soap *soap, const char *tag, _ngwm__markUnReadResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markUnReadResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnReadResponse, sizeof(_ngwm__markUnReadResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markUnReadResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markUnReadResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markUnReadResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markUnReadResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadResponse, 0, sizeof(_ngwm__markUnReadResponse), 0, soap_copy__ngwm__markUnReadResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_new__ngwm__markUnReadResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markUnReadResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnReadResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnReadResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markUnReadResponse;
- if (size)
- *size = sizeof(_ngwm__markUnReadResponse);
- ((_ngwm__markUnReadResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markUnReadResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__markUnReadResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__markUnReadResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markUnReadResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnReadResponse %p -> %p\n", q, p));
- *(_ngwm__markUnReadResponse*)p = *(_ngwm__markUnReadResponse*)q;
-}
-
-void _ngwm__markUnReadRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markUnReadRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markUnReadRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__markUnReadRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markUnReadRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markUnReadRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnReadRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markUnReadRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markUnReadRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadRequest(struct soap *soap, const char *tag, int id, const _ngwm__markUnReadRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnReadRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markUnReadRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markUnReadRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markUnReadRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_get__ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markUnReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markUnReadRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markUnReadRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_in__ngwm__markUnReadRequest(struct soap *soap, const char *tag, _ngwm__markUnReadRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markUnReadRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnReadRequest, sizeof(_ngwm__markUnReadRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markUnReadRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markUnReadRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markUnReadRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markUnReadRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadRequest, 0, sizeof(_ngwm__markUnReadRequest), 0, soap_copy__ngwm__markUnReadRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_new__ngwm__markUnReadRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markUnReadRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnReadRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnReadRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markUnReadRequest;
- if (size)
- *size = sizeof(_ngwm__markUnReadRequest);
- ((_ngwm__markUnReadRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markUnReadRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__markUnReadRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__markUnReadRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markUnReadRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnReadRequest %p -> %p\n", q, p));
- *(_ngwm__markUnReadRequest*)p = *(_ngwm__markUnReadRequest*)q;
-}
-
-void _ngwm__markUnPrivateResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markUnPrivateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markUnPrivateResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__markUnPrivateResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markUnPrivateResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markUnPrivateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnPrivateResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markUnPrivateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markUnPrivateResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, int id, const _ngwm__markUnPrivateResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnPrivateResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markUnPrivateResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markUnPrivateResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markUnPrivateResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markUnPrivateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markUnPrivateResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markUnPrivateResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, _ngwm__markUnPrivateResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markUnPrivateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnPrivateResponse, sizeof(_ngwm__markUnPrivateResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markUnPrivateResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markUnPrivateResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markUnPrivateResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markUnPrivateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateResponse, 0, sizeof(_ngwm__markUnPrivateResponse), 0, soap_copy__ngwm__markUnPrivateResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markUnPrivateResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markUnPrivateResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnPrivateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnPrivateResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markUnPrivateResponse;
- if (size)
- *size = sizeof(_ngwm__markUnPrivateResponse);
- ((_ngwm__markUnPrivateResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markUnPrivateResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__markUnPrivateResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__markUnPrivateResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markUnPrivateResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnPrivateResponse %p -> %p\n", q, p));
- *(_ngwm__markUnPrivateResponse*)p = *(_ngwm__markUnPrivateResponse*)q;
-}
-
-void _ngwm__markUnPrivateRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markUnPrivateRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markUnPrivateRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__markUnPrivateRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markUnPrivateRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markUnPrivateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnPrivateRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markUnPrivateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markUnPrivateRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, int id, const _ngwm__markUnPrivateRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnPrivateRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markUnPrivateRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markUnPrivateRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markUnPrivateRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markUnPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markUnPrivateRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markUnPrivateRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, _ngwm__markUnPrivateRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markUnPrivateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnPrivateRequest, sizeof(_ngwm__markUnPrivateRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markUnPrivateRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markUnPrivateRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markUnPrivateRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markUnPrivateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateRequest, 0, sizeof(_ngwm__markUnPrivateRequest), 0, soap_copy__ngwm__markUnPrivateRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markUnPrivateRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markUnPrivateRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnPrivateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnPrivateRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markUnPrivateRequest;
- if (size)
- *size = sizeof(_ngwm__markUnPrivateRequest);
- ((_ngwm__markUnPrivateRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markUnPrivateRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__markUnPrivateRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__markUnPrivateRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markUnPrivateRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnPrivateRequest %p -> %p\n", q, p));
- *(_ngwm__markUnPrivateRequest*)p = *(_ngwm__markUnPrivateRequest*)q;
-}
-
-void _ngwm__markReadResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markReadResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markReadResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__markReadResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markReadResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markReadResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markReadResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markReadResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markReadResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadResponse(struct soap *soap, const char *tag, int id, const _ngwm__markReadResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markReadResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markReadResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markReadResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markReadResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_get__ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markReadResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markReadResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markReadResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_in__ngwm__markReadResponse(struct soap *soap, const char *tag, _ngwm__markReadResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markReadResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markReadResponse, sizeof(_ngwm__markReadResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markReadResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markReadResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markReadResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markReadResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadResponse, 0, sizeof(_ngwm__markReadResponse), 0, soap_copy__ngwm__markReadResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_new__ngwm__markReadResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markReadResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markReadResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markReadResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markReadResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markReadResponse;
- if (size)
- *size = sizeof(_ngwm__markReadResponse);
- ((_ngwm__markReadResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markReadResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__markReadResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__markReadResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markReadResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markReadResponse %p -> %p\n", q, p));
- *(_ngwm__markReadResponse*)p = *(_ngwm__markReadResponse*)q;
-}
-
-void _ngwm__markReadRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markReadRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markReadRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__markReadRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markReadRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markReadRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markReadRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markReadRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markReadRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadRequest(struct soap *soap, const char *tag, int id, const _ngwm__markReadRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markReadRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markReadRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markReadRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markReadRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_get__ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markReadRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markReadRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_in__ngwm__markReadRequest(struct soap *soap, const char *tag, _ngwm__markReadRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markReadRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markReadRequest, sizeof(_ngwm__markReadRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markReadRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markReadRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markReadRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markReadRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadRequest, 0, sizeof(_ngwm__markReadRequest), 0, soap_copy__ngwm__markReadRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_new__ngwm__markReadRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markReadRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markReadRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markReadRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markReadRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markReadRequest;
- if (size)
- *size = sizeof(_ngwm__markReadRequest);
- ((_ngwm__markReadRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markReadRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__markReadRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__markReadRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markReadRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markReadRequest %p -> %p\n", q, p));
- *(_ngwm__markReadRequest*)p = *(_ngwm__markReadRequest*)q;
-}
-
-void _ngwm__markPrivateResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markPrivateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markPrivateResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__markPrivateResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markPrivateResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markPrivateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markPrivateResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markPrivateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markPrivateResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateResponse(struct soap *soap, const char *tag, int id, const _ngwm__markPrivateResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markPrivateResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markPrivateResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markPrivateResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markPrivateResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markPrivateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markPrivateResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markPrivateResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markPrivateResponse(struct soap *soap, const char *tag, _ngwm__markPrivateResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markPrivateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markPrivateResponse, sizeof(_ngwm__markPrivateResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markPrivateResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markPrivateResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markPrivateResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markPrivateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateResponse, 0, sizeof(_ngwm__markPrivateResponse), 0, soap_copy__ngwm__markPrivateResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markPrivateResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markPrivateResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markPrivateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markPrivateResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markPrivateResponse;
- if (size)
- *size = sizeof(_ngwm__markPrivateResponse);
- ((_ngwm__markPrivateResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markPrivateResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__markPrivateResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__markPrivateResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markPrivateResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markPrivateResponse %p -> %p\n", q, p));
- *(_ngwm__markPrivateResponse*)p = *(_ngwm__markPrivateResponse*)q;
-}
-
-void _ngwm__markPrivateRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__markPrivateRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markPrivateRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__markPrivateRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__markPrivateRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__markPrivateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markPrivateRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__markPrivateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__markPrivateRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateRequest(struct soap *soap, const char *tag, int id, const _ngwm__markPrivateRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markPrivateRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markPrivateRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__markPrivateRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__markPrivateRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__markPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__markPrivateRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__markPrivateRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markPrivateRequest(struct soap *soap, const char *tag, _ngwm__markPrivateRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__markPrivateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markPrivateRequest, sizeof(_ngwm__markPrivateRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__markPrivateRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__markPrivateRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markPrivateRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__markPrivateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateRequest, 0, sizeof(_ngwm__markPrivateRequest), 0, soap_copy__ngwm__markPrivateRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markPrivateRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__markPrivateRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markPrivateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markPrivateRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__markPrivateRequest;
- if (size)
- *size = sizeof(_ngwm__markPrivateRequest);
- ((_ngwm__markPrivateRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__markPrivateRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__markPrivateRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__markPrivateRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__markPrivateRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markPrivateRequest %p -> %p\n", q, p));
- *(_ngwm__markPrivateRequest*)p = *(_ngwm__markPrivateRequest*)q;
-}
-
-void _ngwm__logoutResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__logoutResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__logoutResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__logoutResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__logoutResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__logoutResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__logoutResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__logoutResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__logoutResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutResponse(struct soap *soap, const char *tag, int id, const _ngwm__logoutResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__logoutResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__logoutResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__logoutResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__logoutResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_get__ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__logoutResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__logoutResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__logoutResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_in__ngwm__logoutResponse(struct soap *soap, const char *tag, _ngwm__logoutResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__logoutResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__logoutResponse, sizeof(_ngwm__logoutResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__logoutResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__logoutResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__logoutResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__logoutResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutResponse, 0, sizeof(_ngwm__logoutResponse), 0, soap_copy__ngwm__logoutResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_new__ngwm__logoutResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__logoutResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_instantiate__ngwm__logoutResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__logoutResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__logoutResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__logoutResponse;
- if (size)
- *size = sizeof(_ngwm__logoutResponse);
- ((_ngwm__logoutResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__logoutResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__logoutResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__logoutResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__logoutResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__logoutResponse %p -> %p\n", q, p));
- *(_ngwm__logoutResponse*)p = *(_ngwm__logoutResponse*)q;
-}
-
-void _ngwm__logoutRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__logoutRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__logoutRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__logoutRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__logoutRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__logoutRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutRequest(struct soap *soap, const char *tag, int id, const _ngwm__logoutRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__logoutRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__logoutRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__logoutRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_get__ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__logoutRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__logoutRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__logoutRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_in__ngwm__logoutRequest(struct soap *soap, const char *tag, _ngwm__logoutRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__logoutRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__logoutRequest, sizeof(_ngwm__logoutRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__logoutRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__logoutRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__logoutRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutRequest, 0, sizeof(_ngwm__logoutRequest), 0, soap_copy__ngwm__logoutRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_new__ngwm__logoutRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__logoutRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_instantiate__ngwm__logoutRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__logoutRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__logoutRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__logoutRequest;
- if (size)
- *size = sizeof(_ngwm__logoutRequest);
- ((_ngwm__logoutRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__logoutRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__logoutRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__logoutRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__logoutRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__logoutRequest %p -> %p\n", q, p));
- *(_ngwm__logoutRequest*)p = *(_ngwm__logoutRequest*)q;
-}
-
-void _ngwm__loginResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->session, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->session);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->userinfo, SOAP_TYPE_PointerTongwt__UserInfo);
- soap_serialize_PointerTongwt__UserInfo(soap, &((_ngwm__loginResponse*)this)->userinfo);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->entry, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &((_ngwm__loginResponse*)this)->entry);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->gwVersion, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->gwVersion);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->build, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->build);
- soap_serialize_std__vectorTemplateOfPointerTongwt__Host(soap, &((_ngwm__loginResponse*)this)->redirectToHost);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->serverUTCTime, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__loginResponse*)this)->serverUTCTime);
- soap_embedded(soap, &((_ngwm__loginResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__loginResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__loginResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__loginResponse*)this)->session = NULL;
- ((_ngwm__loginResponse*)this)->userinfo = NULL;
- ((_ngwm__loginResponse*)this)->entry = NULL;
- ((_ngwm__loginResponse*)this)->gwVersion = NULL;
- ((_ngwm__loginResponse*)this)->build = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__Host(soap, &((_ngwm__loginResponse*)this)->redirectToHost);
- soap_default_string(soap, &((_ngwm__loginResponse*)this)->serverUTCTime);
- ((_ngwm__loginResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__loginResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__loginResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__loginResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__loginResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginResponse(struct soap *soap, const char *tag, int id, const _ngwm__loginResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__loginResponse), type);
- soap_out_PointerTostd__string(soap, "ngwm:session", -1, &(((_ngwm__loginResponse*)a)->session), "");
- soap_out_PointerTongwt__UserInfo(soap, "ngwm:userinfo", -1, &(((_ngwm__loginResponse*)a)->userinfo), "");
- soap_out_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", -1, &(((_ngwm__loginResponse*)a)->entry), "");
- soap_out_PointerTostd__string(soap, "ngwm:gwVersion", -1, &(((_ngwm__loginResponse*)a)->gwVersion), "");
- soap_out_PointerTostd__string(soap, "ngwm:build", -1, &(((_ngwm__loginResponse*)a)->build), "");
- soap_out_std__vectorTemplateOfPointerTongwt__Host(soap, "ngwm:redirectToHost", -1, &(((_ngwm__loginResponse*)a)->redirectToHost), "");
- soap_out_string(soap, "ngwm:serverUTCTime", -1, &(((_ngwm__loginResponse*)a)->serverUTCTime), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__loginResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__loginResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__loginResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_get__ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__loginResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__loginResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__loginResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_in__ngwm__loginResponse(struct soap *soap, const char *tag, _ngwm__loginResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__loginResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__loginResponse, sizeof(_ngwm__loginResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__loginResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__loginResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_session1 = 1, soap_flag_userinfo1 = 1, soap_flag_entry1 = 1, soap_flag_gwVersion1 = 1, soap_flag_build1 = 1, soap_flag_serverUTCTime1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_session1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:session", &(((_ngwm__loginResponse*)a)->session), ""))
- { soap_flag_session1 = 0;
- continue;
- }
- if (soap_flag_userinfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__UserInfo(soap, "ngwm:userinfo", &(((_ngwm__loginResponse*)a)->userinfo), "ngwt:UserInfo"))
- { soap_flag_userinfo1 = 0;
- continue;
- }
- if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", &(((_ngwm__loginResponse*)a)->entry), "ngwt:AccessRightEntry"))
- { soap_flag_entry1 = 0;
- continue;
- }
- if (soap_flag_gwVersion1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:gwVersion", &(((_ngwm__loginResponse*)a)->gwVersion), ""))
- { soap_flag_gwVersion1 = 0;
- continue;
- }
- if (soap_flag_build1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:build", &(((_ngwm__loginResponse*)a)->build), ""))
- { soap_flag_build1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Host(soap, "ngwm:redirectToHost", &(((_ngwm__loginResponse*)a)->redirectToHost), "ngwt:Host"))
- continue;
- if (soap_flag_serverUTCTime1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:serverUTCTime", &(((_ngwm__loginResponse*)a)->serverUTCTime), ""))
- { soap_flag_serverUTCTime1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__loginResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__loginResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginResponse, 0, sizeof(_ngwm__loginResponse), 0, soap_copy__ngwm__loginResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_new__ngwm__loginResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__loginResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_instantiate__ngwm__loginResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__loginResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__loginResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__loginResponse;
- if (size)
- *size = sizeof(_ngwm__loginResponse);
- ((_ngwm__loginResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__loginResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__loginResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__loginResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__loginResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__loginResponse %p -> %p\n", q, p));
- *(_ngwm__loginResponse*)p = *(_ngwm__loginResponse*)q;
-}
-
-void _ngwm__loginRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__loginRequest*)this)->auth, SOAP_TYPE_PointerTongwt__Authentication);
- soap_serialize_PointerTongwt__Authentication(soap, &((_ngwm__loginRequest*)this)->auth);
- soap_embedded(soap, &((_ngwm__loginRequest*)this)->language, SOAP_TYPE_xsd__language);
- soap_serialize_xsd__language(soap, &((_ngwm__loginRequest*)this)->language);
- soap_embedded(soap, &((_ngwm__loginRequest*)this)->version, SOAP_TYPE_xsd__decimal);
- soap_serialize_xsd__decimal(soap, &((_ngwm__loginRequest*)this)->version);
- soap_embedded(soap, &((_ngwm__loginRequest*)this)->application, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__loginRequest*)this)->application);
- /* transient soap skipped */
-}
-
-void _ngwm__loginRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__loginRequest*)this)->auth = NULL;
- soap_default_xsd__language(soap, &((_ngwm__loginRequest*)this)->language);
- soap_default_xsd__decimal(soap, &((_ngwm__loginRequest*)this)->version);
- ((_ngwm__loginRequest*)this)->application = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__loginRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__loginRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__loginRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__loginRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginRequest(struct soap *soap, const char *tag, int id, const _ngwm__loginRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__loginRequest), type);
- soap_out_PointerTongwt__Authentication(soap, "ngwm:auth", -1, &(((_ngwm__loginRequest*)a)->auth), "");
- soap_out_xsd__language(soap, "ngwm:language", -1, &(((_ngwm__loginRequest*)a)->language), "");
- soap_out_xsd__decimal(soap, "ngwm:version", -1, &(((_ngwm__loginRequest*)a)->version), "");
- soap_out_PointerTostd__string(soap, "ngwm:application", -1, &(((_ngwm__loginRequest*)a)->application), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__loginRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__loginRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_get__ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__loginRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__loginRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__loginRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_in__ngwm__loginRequest(struct soap *soap, const char *tag, _ngwm__loginRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__loginRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__loginRequest, sizeof(_ngwm__loginRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__loginRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__loginRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_auth1 = 1, soap_flag_language1 = 1, soap_flag_version1 = 1, soap_flag_application1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_auth1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Authentication(soap, "ngwm:auth", &(((_ngwm__loginRequest*)a)->auth), "ngwt:Authentication"))
- { soap_flag_auth1 = 0;
- continue;
- }
- if (soap_flag_language1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_xsd__language(soap, "ngwm:language", &(((_ngwm__loginRequest*)a)->language), "xsd:language"))
- { soap_flag_language1 = 0;
- continue;
- }
- if (soap_flag_version1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_xsd__decimal(soap, "ngwm:version", &(((_ngwm__loginRequest*)a)->version), "xsd:decimal"))
- { soap_flag_version1 = 0;
- continue;
- }
- if (soap_flag_application1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:application", &(((_ngwm__loginRequest*)a)->application), ""))
- { soap_flag_application1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_auth1 || soap_flag_language1 || soap_flag_version1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__loginRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginRequest, 0, sizeof(_ngwm__loginRequest), 0, soap_copy__ngwm__loginRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_new__ngwm__loginRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__loginRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_instantiate__ngwm__loginRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__loginRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__loginRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__loginRequest;
- if (size)
- *size = sizeof(_ngwm__loginRequest);
- ((_ngwm__loginRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__loginRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__loginRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__loginRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__loginRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__loginRequest %p -> %p\n", q, p));
- *(_ngwm__loginRequest*)p = *(_ngwm__loginRequest*)q;
-}
-
-void _ngwm__getUserListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getUserListResponse*)this)->users, SOAP_TYPE_PointerTongwt__UserList);
- soap_serialize_PointerTongwt__UserList(soap, &((_ngwm__getUserListResponse*)this)->users);
- soap_embedded(soap, &((_ngwm__getUserListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getUserListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getUserListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getUserListResponse*)this)->users = NULL;
- ((_ngwm__getUserListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getUserListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getUserListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getUserListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getUserListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getUserListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getUserListResponse), type);
- soap_out_PointerTongwt__UserList(soap, "ngwm:users", -1, &(((_ngwm__getUserListResponse*)a)->users), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getUserListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getUserListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getUserListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_get__ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getUserListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getUserListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getUserListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_in__ngwm__getUserListResponse(struct soap *soap, const char *tag, _ngwm__getUserListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getUserListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getUserListResponse, sizeof(_ngwm__getUserListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getUserListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getUserListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_users1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_users1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__UserList(soap, "ngwm:users", &(((_ngwm__getUserListResponse*)a)->users), "ngwt:UserList"))
- { soap_flag_users1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getUserListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getUserListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListResponse, 0, sizeof(_ngwm__getUserListResponse), 0, soap_copy__ngwm__getUserListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_new__ngwm__getUserListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getUserListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getUserListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getUserListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getUserListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getUserListResponse;
- if (size)
- *size = sizeof(_ngwm__getUserListResponse);
- ((_ngwm__getUserListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getUserListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getUserListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getUserListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getUserListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getUserListResponse %p -> %p\n", q, p));
- *(_ngwm__getUserListResponse*)p = *(_ngwm__getUserListResponse*)q;
-}
-
-void _ngwm__getUserListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getUserListRequest*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__getUserListRequest*)this)->name);
- soap_embedded(soap, &((_ngwm__getUserListRequest*)this)->key, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__getUserListRequest*)this)->key);
- /* transient soap skipped */
-}
-
-void _ngwm__getUserListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getUserListRequest*)this)->name = NULL;
- ((_ngwm__getUserListRequest*)this)->key = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getUserListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getUserListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getUserListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getUserListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getUserListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getUserListRequest), type);
- soap_out_PointerTostd__string(soap, "ngwm:name", -1, &(((_ngwm__getUserListRequest*)a)->name), "");
- soap_out_PointerTostd__string(soap, "ngwm:key", -1, &(((_ngwm__getUserListRequest*)a)->key), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getUserListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getUserListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_get__ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getUserListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getUserListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getUserListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_in__ngwm__getUserListRequest(struct soap *soap, const char *tag, _ngwm__getUserListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getUserListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getUserListRequest, sizeof(_ngwm__getUserListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getUserListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getUserListRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_name1 = 1, soap_flag_key1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:name", &(((_ngwm__getUserListRequest*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:key", &(((_ngwm__getUserListRequest*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getUserListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListRequest, 0, sizeof(_ngwm__getUserListRequest), 0, soap_copy__ngwm__getUserListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_new__ngwm__getUserListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getUserListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getUserListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getUserListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getUserListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getUserListRequest;
- if (size)
- *size = sizeof(_ngwm__getUserListRequest);
- ((_ngwm__getUserListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getUserListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getUserListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getUserListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getUserListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getUserListRequest %p -> %p\n", q, p));
- *(_ngwm__getUserListRequest*)p = *(_ngwm__getUserListRequest*)q;
-}
-
-void _ngwm__getTimezoneListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getTimezoneListResponse*)this)->timezones, SOAP_TYPE_PointerTongwt__TimezoneList);
- soap_serialize_PointerTongwt__TimezoneList(soap, &((_ngwm__getTimezoneListResponse*)this)->timezones);
- soap_embedded(soap, &((_ngwm__getTimezoneListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getTimezoneListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getTimezoneListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getTimezoneListResponse*)this)->timezones = NULL;
- ((_ngwm__getTimezoneListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getTimezoneListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimezoneListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getTimezoneListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getTimezoneListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getTimezoneListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimezoneListResponse), type);
- soap_out_PointerTongwt__TimezoneList(soap, "ngwm:timezones", -1, &(((_ngwm__getTimezoneListResponse*)a)->timezones), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getTimezoneListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getTimezoneListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getTimezoneListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_get__ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getTimezoneListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getTimezoneListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getTimezoneListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_in__ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, _ngwm__getTimezoneListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getTimezoneListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimezoneListResponse, sizeof(_ngwm__getTimezoneListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getTimezoneListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getTimezoneListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_timezones1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_timezones1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TimezoneList(soap, "ngwm:timezones", &(((_ngwm__getTimezoneListResponse*)a)->timezones), "ngwt:TimezoneList"))
- { soap_flag_timezones1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getTimezoneListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getTimezoneListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListResponse, 0, sizeof(_ngwm__getTimezoneListResponse), 0, soap_copy__ngwm__getTimezoneListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_new__ngwm__getTimezoneListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getTimezoneListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimezoneListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimezoneListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getTimezoneListResponse;
- if (size)
- *size = sizeof(_ngwm__getTimezoneListResponse);
- ((_ngwm__getTimezoneListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getTimezoneListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getTimezoneListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getTimezoneListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getTimezoneListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimezoneListResponse %p -> %p\n", q, p));
- *(_ngwm__getTimezoneListResponse*)p = *(_ngwm__getTimezoneListResponse*)q;
-}
-
-void _ngwm__getTimezoneListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getTimezoneListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getTimezoneListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimezoneListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getTimezoneListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getTimezoneListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getTimezoneListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimezoneListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getTimezoneListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getTimezoneListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_get__ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getTimezoneListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getTimezoneListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getTimezoneListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_in__ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, _ngwm__getTimezoneListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getTimezoneListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimezoneListRequest, sizeof(_ngwm__getTimezoneListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getTimezoneListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getTimezoneListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getTimezoneListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListRequest, 0, sizeof(_ngwm__getTimezoneListRequest), 0, soap_copy__ngwm__getTimezoneListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_new__ngwm__getTimezoneListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getTimezoneListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimezoneListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimezoneListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getTimezoneListRequest;
- if (size)
- *size = sizeof(_ngwm__getTimezoneListRequest);
- ((_ngwm__getTimezoneListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getTimezoneListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getTimezoneListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getTimezoneListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getTimezoneListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimezoneListRequest %p -> %p\n", q, p));
- *(_ngwm__getTimezoneListRequest*)p = *(_ngwm__getTimezoneListRequest*)q;
-}
-
-void _ngwm__getTimestampResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->backup, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__getTimestampResponse*)this)->backup);
- soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->retention, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__getTimestampResponse*)this)->retention);
- soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getTimestampResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getTimestampResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((_ngwm__getTimestampResponse*)this)->backup);
- soap_default_string(soap, &((_ngwm__getTimestampResponse*)this)->retention);
- ((_ngwm__getTimestampResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getTimestampResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimestampResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getTimestampResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getTimestampResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampResponse(struct soap *soap, const char *tag, int id, const _ngwm__getTimestampResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimestampResponse), type);
- soap_out_string(soap, "ngwm:backup", -1, &(((_ngwm__getTimestampResponse*)a)->backup), "");
- soap_out_string(soap, "ngwm:retention", -1, &(((_ngwm__getTimestampResponse*)a)->retention), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getTimestampResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getTimestampResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getTimestampResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_get__ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getTimestampResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getTimestampResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getTimestampResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_in__ngwm__getTimestampResponse(struct soap *soap, const char *tag, _ngwm__getTimestampResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getTimestampResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimestampResponse, sizeof(_ngwm__getTimestampResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getTimestampResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getTimestampResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_backup1 = 1, soap_flag_retention1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_backup1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:backup", &(((_ngwm__getTimestampResponse*)a)->backup), ""))
- { soap_flag_backup1 = 0;
- continue;
- }
- if (soap_flag_retention1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwm:retention", &(((_ngwm__getTimestampResponse*)a)->retention), ""))
- { soap_flag_retention1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getTimestampResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getTimestampResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampResponse, 0, sizeof(_ngwm__getTimestampResponse), 0, soap_copy__ngwm__getTimestampResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_new__ngwm__getTimestampResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getTimestampResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimestampResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimestampResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getTimestampResponse;
- if (size)
- *size = sizeof(_ngwm__getTimestampResponse);
- ((_ngwm__getTimestampResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getTimestampResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getTimestampResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getTimestampResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getTimestampResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimestampResponse %p -> %p\n", q, p));
- *(_ngwm__getTimestampResponse*)p = *(_ngwm__getTimestampResponse*)q;
-}
-
-void _ngwm__getTimestampRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->backup, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->backup);
- soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->retention, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->retention);
- soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->noop, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->noop);
- /* transient soap skipped */
-}
-
-void _ngwm__getTimestampRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getTimestampRequest*)this)->backup = NULL;
- ((_ngwm__getTimestampRequest*)this)->retention = NULL;
- ((_ngwm__getTimestampRequest*)this)->noop = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getTimestampRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimestampRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getTimestampRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getTimestampRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampRequest(struct soap *soap, const char *tag, int id, const _ngwm__getTimestampRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimestampRequest), type);
- soap_out_PointerTobool(soap, "ngwm:backup", -1, &(((_ngwm__getTimestampRequest*)a)->backup), "");
- soap_out_PointerTobool(soap, "ngwm:retention", -1, &(((_ngwm__getTimestampRequest*)a)->retention), "");
- soap_out_PointerTobool(soap, "ngwm:noop", -1, &(((_ngwm__getTimestampRequest*)a)->noop), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getTimestampRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getTimestampRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_get__ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getTimestampRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getTimestampRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_in__ngwm__getTimestampRequest(struct soap *soap, const char *tag, _ngwm__getTimestampRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getTimestampRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimestampRequest, sizeof(_ngwm__getTimestampRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getTimestampRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getTimestampRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_backup1 = 1, soap_flag_retention1 = 1, soap_flag_noop1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_backup1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwm:backup", &(((_ngwm__getTimestampRequest*)a)->backup), ""))
- { soap_flag_backup1 = 0;
- continue;
- }
- if (soap_flag_retention1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwm:retention", &(((_ngwm__getTimestampRequest*)a)->retention), ""))
- { soap_flag_retention1 = 0;
- continue;
- }
- if (soap_flag_noop1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwm:noop", &(((_ngwm__getTimestampRequest*)a)->noop), ""))
- { soap_flag_noop1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getTimestampRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampRequest, 0, sizeof(_ngwm__getTimestampRequest), 0, soap_copy__ngwm__getTimestampRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_new__ngwm__getTimestampRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getTimestampRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimestampRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimestampRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getTimestampRequest;
- if (size)
- *size = sizeof(_ngwm__getTimestampRequest);
- ((_ngwm__getTimestampRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getTimestampRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getTimestampRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getTimestampRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getTimestampRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimestampRequest %p -> %p\n", q, p));
- *(_ngwm__getTimestampRequest*)p = *(_ngwm__getTimestampRequest*)q;
-}
-
-void _ngwm__getSignaturesResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getSignaturesResponse*)this)->signatures, SOAP_TYPE_PointerTongwt__Signatures);
- soap_serialize_PointerTongwt__Signatures(soap, &((_ngwm__getSignaturesResponse*)this)->signatures);
- soap_embedded(soap, &((_ngwm__getSignaturesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getSignaturesResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getSignaturesResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getSignaturesResponse*)this)->signatures = NULL;
- ((_ngwm__getSignaturesResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getSignaturesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSignaturesResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getSignaturesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getSignaturesResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getSignaturesResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSignaturesResponse), type);
- soap_out_PointerTongwt__Signatures(soap, "ngwm:signatures", -1, &(((_ngwm__getSignaturesResponse*)a)->signatures), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getSignaturesResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getSignaturesResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getSignaturesResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_get__ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getSignaturesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getSignaturesResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getSignaturesResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_in__ngwm__getSignaturesResponse(struct soap *soap, const char *tag, _ngwm__getSignaturesResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getSignaturesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSignaturesResponse, sizeof(_ngwm__getSignaturesResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getSignaturesResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getSignaturesResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_signatures1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_signatures1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Signatures(soap, "ngwm:signatures", &(((_ngwm__getSignaturesResponse*)a)->signatures), "ngwt:Signatures"))
- { soap_flag_signatures1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getSignaturesResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getSignaturesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesResponse, 0, sizeof(_ngwm__getSignaturesResponse), 0, soap_copy__ngwm__getSignaturesResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_new__ngwm__getSignaturesResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getSignaturesResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSignaturesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSignaturesResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getSignaturesResponse;
- if (size)
- *size = sizeof(_ngwm__getSignaturesResponse);
- ((_ngwm__getSignaturesResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getSignaturesResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getSignaturesResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getSignaturesResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getSignaturesResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSignaturesResponse %p -> %p\n", q, p));
- *(_ngwm__getSignaturesResponse*)p = *(_ngwm__getSignaturesResponse*)q;
-}
-
-void _ngwm__getSignaturesRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getSignaturesRequest*)this)->global, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwm__getSignaturesRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getSignaturesRequest*)this)->global = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwm__getSignaturesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSignaturesRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getSignaturesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getSignaturesRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getSignaturesRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSignaturesRequest), type);
- soap_out_bool(soap, "ngwm:global", -1, &(((_ngwm__getSignaturesRequest*)a)->global), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getSignaturesRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getSignaturesRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_get__ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getSignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getSignaturesRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getSignaturesRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_in__ngwm__getSignaturesRequest(struct soap *soap, const char *tag, _ngwm__getSignaturesRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getSignaturesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSignaturesRequest, sizeof(_ngwm__getSignaturesRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getSignaturesRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getSignaturesRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_global1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:global", &(((_ngwm__getSignaturesRequest*)a)->global), ""))
- { soap_flag_global1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getSignaturesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesRequest, 0, sizeof(_ngwm__getSignaturesRequest), 0, soap_copy__ngwm__getSignaturesRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_new__ngwm__getSignaturesRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getSignaturesRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSignaturesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSignaturesRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getSignaturesRequest;
- if (size)
- *size = sizeof(_ngwm__getSignaturesRequest);
- ((_ngwm__getSignaturesRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getSignaturesRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getSignaturesRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getSignaturesRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getSignaturesRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSignaturesRequest %p -> %p\n", q, p));
- *(_ngwm__getSignaturesRequest*)p = *(_ngwm__getSignaturesRequest*)q;
-}
-
-void _ngwm__getSettingsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getSettingsResponse*)this)->settings, SOAP_TYPE_PointerTongwt__Settings);
- soap_serialize_PointerTongwt__Settings(soap, &((_ngwm__getSettingsResponse*)this)->settings);
- soap_embedded(soap, &((_ngwm__getSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getSettingsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getSettingsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getSettingsResponse*)this)->settings = NULL;
- ((_ngwm__getSettingsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSettingsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getSettingsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getSettingsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSettingsResponse), type);
- soap_out_PointerTongwt__Settings(soap, "ngwm:settings", -1, &(((_ngwm__getSettingsResponse*)a)->settings), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getSettingsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getSettingsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getSettingsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getSettingsResponse(struct soap *soap, const char *tag, _ngwm__getSettingsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSettingsResponse, sizeof(_ngwm__getSettingsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getSettingsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getSettingsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_settings1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Settings(soap, "ngwm:settings", &(((_ngwm__getSettingsResponse*)a)->settings), "ngwt:Settings"))
- { soap_flag_settings1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getSettingsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsResponse, 0, sizeof(_ngwm__getSettingsResponse), 0, soap_copy__ngwm__getSettingsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getSettingsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getSettingsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSettingsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getSettingsResponse;
- if (size)
- *size = sizeof(_ngwm__getSettingsResponse);
- ((_ngwm__getSettingsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getSettingsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getSettingsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getSettingsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getSettingsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSettingsResponse %p -> %p\n", q, p));
- *(_ngwm__getSettingsResponse*)p = *(_ngwm__getSettingsResponse*)q;
-}
-
-void _ngwm__getSettingsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getSettingsRequest*)this)->id, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__getSettingsRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__getSettingsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getSettingsRequest*)this)->id = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSettingsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getSettingsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getSettingsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSettingsRequest), type);
- soap_out_PointerTostd__string(soap, "ngwm:id", -1, &(((_ngwm__getSettingsRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getSettingsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getSettingsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getSettingsRequest(struct soap *soap, const char *tag, _ngwm__getSettingsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSettingsRequest, sizeof(_ngwm__getSettingsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getSettingsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getSettingsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:id", &(((_ngwm__getSettingsRequest*)a)->id), ""))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsRequest, 0, sizeof(_ngwm__getSettingsRequest), 0, soap_copy__ngwm__getSettingsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getSettingsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getSettingsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSettingsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getSettingsRequest;
- if (size)
- *size = sizeof(_ngwm__getSettingsRequest);
- ((_ngwm__getSettingsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getSettingsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getSettingsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getSettingsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getSettingsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSettingsRequest %p -> %p\n", q, p));
- *(_ngwm__getSettingsRequest*)p = *(_ngwm__getSettingsRequest*)q;
-}
-
-void _ngwm__getRuleListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getRuleListResponse*)this)->rules, SOAP_TYPE_PointerTongwt__RuleList);
- soap_serialize_PointerTongwt__RuleList(soap, &((_ngwm__getRuleListResponse*)this)->rules);
- soap_embedded(soap, &((_ngwm__getRuleListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getRuleListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getRuleListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getRuleListResponse*)this)->rules = NULL;
- ((_ngwm__getRuleListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getRuleListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getRuleListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getRuleListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getRuleListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getRuleListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getRuleListResponse), type);
- soap_out_PointerTongwt__RuleList(soap, "ngwm:rules", -1, &(((_ngwm__getRuleListResponse*)a)->rules), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getRuleListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getRuleListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getRuleListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_get__ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getRuleListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getRuleListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getRuleListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_in__ngwm__getRuleListResponse(struct soap *soap, const char *tag, _ngwm__getRuleListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getRuleListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getRuleListResponse, sizeof(_ngwm__getRuleListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getRuleListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getRuleListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_rules1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_rules1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RuleList(soap, "ngwm:rules", &(((_ngwm__getRuleListResponse*)a)->rules), "ngwt:RuleList"))
- { soap_flag_rules1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getRuleListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getRuleListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListResponse, 0, sizeof(_ngwm__getRuleListResponse), 0, soap_copy__ngwm__getRuleListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_new__ngwm__getRuleListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getRuleListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getRuleListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getRuleListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getRuleListResponse;
- if (size)
- *size = sizeof(_ngwm__getRuleListResponse);
- ((_ngwm__getRuleListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getRuleListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getRuleListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getRuleListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getRuleListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getRuleListResponse %p -> %p\n", q, p));
- *(_ngwm__getRuleListResponse*)p = *(_ngwm__getRuleListResponse*)q;
-}
-
-void _ngwm__getRuleListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getRuleListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getRuleListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getRuleListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getRuleListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getRuleListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getRuleListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getRuleListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getRuleListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getRuleListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_get__ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getRuleListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getRuleListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getRuleListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_in__ngwm__getRuleListRequest(struct soap *soap, const char *tag, _ngwm__getRuleListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getRuleListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getRuleListRequest, sizeof(_ngwm__getRuleListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getRuleListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getRuleListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getRuleListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListRequest, 0, sizeof(_ngwm__getRuleListRequest), 0, soap_copy__ngwm__getRuleListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_new__ngwm__getRuleListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getRuleListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getRuleListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getRuleListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getRuleListRequest;
- if (size)
- *size = sizeof(_ngwm__getRuleListRequest);
- ((_ngwm__getRuleListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getRuleListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getRuleListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getRuleListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getRuleListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getRuleListRequest %p -> %p\n", q, p));
- *(_ngwm__getRuleListRequest*)p = *(_ngwm__getRuleListRequest*)q;
-}
-
-void _ngwm__getProxyListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getProxyListResponse*)this)->proxies, SOAP_TYPE_PointerTongwt__ProxyList);
- soap_serialize_PointerTongwt__ProxyList(soap, &((_ngwm__getProxyListResponse*)this)->proxies);
- soap_embedded(soap, &((_ngwm__getProxyListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getProxyListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getProxyListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getProxyListResponse*)this)->proxies = NULL;
- ((_ngwm__getProxyListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getProxyListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getProxyListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getProxyListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getProxyListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyListResponse), type);
- soap_out_PointerTongwt__ProxyList(soap, "ngwm:proxies", -1, &(((_ngwm__getProxyListResponse*)a)->proxies), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getProxyListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getProxyListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getProxyListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getProxyListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getProxyListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getProxyListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyListResponse(struct soap *soap, const char *tag, _ngwm__getProxyListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getProxyListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyListResponse, sizeof(_ngwm__getProxyListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getProxyListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getProxyListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_proxies1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_proxies1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ProxyList(soap, "ngwm:proxies", &(((_ngwm__getProxyListResponse*)a)->proxies), "ngwt:ProxyList"))
- { soap_flag_proxies1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getProxyListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListResponse, 0, sizeof(_ngwm__getProxyListResponse), 0, soap_copy__ngwm__getProxyListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getProxyListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getProxyListResponse;
- if (size)
- *size = sizeof(_ngwm__getProxyListResponse);
- ((_ngwm__getProxyListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getProxyListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getProxyListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getProxyListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getProxyListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyListResponse %p -> %p\n", q, p));
- *(_ngwm__getProxyListResponse*)p = *(_ngwm__getProxyListResponse*)q;
-}
-
-void _ngwm__getProxyListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getProxyListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getProxyListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getProxyListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getProxyListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getProxyListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getProxyListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getProxyListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getProxyListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getProxyListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getProxyListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyListRequest(struct soap *soap, const char *tag, _ngwm__getProxyListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getProxyListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyListRequest, sizeof(_ngwm__getProxyListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getProxyListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getProxyListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListRequest, 0, sizeof(_ngwm__getProxyListRequest), 0, soap_copy__ngwm__getProxyListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getProxyListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getProxyListRequest;
- if (size)
- *size = sizeof(_ngwm__getProxyListRequest);
- ((_ngwm__getProxyListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getProxyListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getProxyListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getProxyListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getProxyListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyListRequest %p -> %p\n", q, p));
- *(_ngwm__getProxyListRequest*)p = *(_ngwm__getProxyListRequest*)q;
-}
-
-void _ngwm__getProxyAccessListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getProxyAccessListResponse*)this)->accessRights, SOAP_TYPE_PointerTongwt__AccessRightList);
- soap_serialize_PointerTongwt__AccessRightList(soap, &((_ngwm__getProxyAccessListResponse*)this)->accessRights);
- soap_embedded(soap, &((_ngwm__getProxyAccessListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getProxyAccessListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getProxyAccessListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getProxyAccessListResponse*)this)->accessRights = NULL;
- ((_ngwm__getProxyAccessListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getProxyAccessListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyAccessListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getProxyAccessListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getProxyAccessListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getProxyAccessListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyAccessListResponse), type);
- soap_out_PointerTongwt__AccessRightList(soap, "ngwm:accessRights", -1, &(((_ngwm__getProxyAccessListResponse*)a)->accessRights), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getProxyAccessListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getProxyAccessListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getProxyAccessListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getProxyAccessListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getProxyAccessListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getProxyAccessListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, _ngwm__getProxyAccessListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getProxyAccessListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyAccessListResponse, sizeof(_ngwm__getProxyAccessListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getProxyAccessListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getProxyAccessListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_accessRights1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_accessRights1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightList(soap, "ngwm:accessRights", &(((_ngwm__getProxyAccessListResponse*)a)->accessRights), "ngwt:AccessRightList"))
- { soap_flag_accessRights1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getProxyAccessListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyAccessListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListResponse, 0, sizeof(_ngwm__getProxyAccessListResponse), 0, soap_copy__ngwm__getProxyAccessListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getProxyAccessListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyAccessListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyAccessListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getProxyAccessListResponse;
- if (size)
- *size = sizeof(_ngwm__getProxyAccessListResponse);
- ((_ngwm__getProxyAccessListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getProxyAccessListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getProxyAccessListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getProxyAccessListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getProxyAccessListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyAccessListResponse %p -> %p\n", q, p));
- *(_ngwm__getProxyAccessListResponse*)p = *(_ngwm__getProxyAccessListResponse*)q;
-}
-
-void _ngwm__getProxyAccessListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getProxyAccessListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getProxyAccessListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyAccessListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getProxyAccessListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getProxyAccessListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getProxyAccessListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyAccessListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getProxyAccessListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getProxyAccessListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getProxyAccessListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getProxyAccessListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getProxyAccessListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, _ngwm__getProxyAccessListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getProxyAccessListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyAccessListRequest, sizeof(_ngwm__getProxyAccessListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getProxyAccessListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getProxyAccessListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyAccessListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListRequest, 0, sizeof(_ngwm__getProxyAccessListRequest), 0, soap_copy__ngwm__getProxyAccessListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getProxyAccessListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyAccessListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyAccessListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getProxyAccessListRequest;
- if (size)
- *size = sizeof(_ngwm__getProxyAccessListRequest);
- ((_ngwm__getProxyAccessListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getProxyAccessListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getProxyAccessListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getProxyAccessListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getProxyAccessListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyAccessListRequest %p -> %p\n", q, p));
- *(_ngwm__getProxyAccessListRequest*)p = *(_ngwm__getProxyAccessListRequest*)q;
-}
-
-void _ngwm__getQuickMessagesResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate);
- soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items);
- soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getQuickMessagesResponse*)this)->items);
- soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getQuickMessagesResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getQuickMessagesResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate);
- ((_ngwm__getQuickMessagesResponse*)this)->items = NULL;
- ((_ngwm__getQuickMessagesResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getQuickMessagesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getQuickMessagesResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getQuickMessagesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getQuickMessagesResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getQuickMessagesResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getQuickMessagesResponse), type);
- soap_out_string(soap, "ngwt:startDate", -1, &(((_ngwm__getQuickMessagesResponse*)a)->ngwt__startDate), "");
- soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getQuickMessagesResponse*)a)->items), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getQuickMessagesResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getQuickMessagesResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getQuickMessagesResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getQuickMessagesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getQuickMessagesResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getQuickMessagesResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, _ngwm__getQuickMessagesResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getQuickMessagesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getQuickMessagesResponse, sizeof(_ngwm__getQuickMessagesResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getQuickMessagesResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getQuickMessagesResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_ngwt__startDate1 = 1, soap_flag_items1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwt__startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:startDate", &(((_ngwm__getQuickMessagesResponse*)a)->ngwt__startDate), ""))
- { soap_flag_ngwt__startDate1 = 0;
- continue;
- }
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getQuickMessagesResponse*)a)->items), "ngwt:Items"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getQuickMessagesResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getQuickMessagesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesResponse, 0, sizeof(_ngwm__getQuickMessagesResponse), 0, soap_copy__ngwm__getQuickMessagesResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getQuickMessagesResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getQuickMessagesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getQuickMessagesResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getQuickMessagesResponse;
- if (size)
- *size = sizeof(_ngwm__getQuickMessagesResponse);
- ((_ngwm__getQuickMessagesResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getQuickMessagesResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getQuickMessagesResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getQuickMessagesResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getQuickMessagesResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getQuickMessagesResponse %p -> %p\n", q, p));
- *(_ngwm__getQuickMessagesResponse*)p = *(_ngwm__getQuickMessagesResponse*)q;
-}
-
-void _ngwm__getQuickMessagesRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->list, SOAP_TYPE_ngwt__MessageList);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getQuickMessagesRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList);
- soap_serialize_PointerTongwt__MessageTypeList(soap, &((_ngwm__getQuickMessagesRequest*)this)->types);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList);
- soap_serialize_PointerTongwt__ItemSourceList(soap, &((_ngwm__getQuickMessagesRequest*)this)->source);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getQuickMessagesRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->count, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__getQuickMessagesRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__MessageList(soap, &((_ngwm__getQuickMessagesRequest*)this)->list);
- soap_default_string(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate);
- ((_ngwm__getQuickMessagesRequest*)this)->container = NULL;
- ((_ngwm__getQuickMessagesRequest*)this)->types = NULL;
- ((_ngwm__getQuickMessagesRequest*)this)->source = NULL;
- ((_ngwm__getQuickMessagesRequest*)this)->view = NULL;
- ((_ngwm__getQuickMessagesRequest*)this)->count = -1;
- /* transient soap skipped */
-}
-
-int _ngwm__getQuickMessagesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getQuickMessagesRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getQuickMessagesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getQuickMessagesRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getQuickMessagesRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getQuickMessagesRequest), type);
- soap_out_ngwt__MessageList(soap, "ngwm:list", -1, &(((_ngwm__getQuickMessagesRequest*)a)->list), "");
- soap_out_string(soap, "ngwt:startDate", -1, &(((_ngwm__getQuickMessagesRequest*)a)->ngwt__startDate), "");
- soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getQuickMessagesRequest*)a)->container), "");
- soap_out_PointerTongwt__MessageTypeList(soap, "ngwm:types", -1, &(((_ngwm__getQuickMessagesRequest*)a)->types), "");
- soap_out_PointerTongwt__ItemSourceList(soap, "ngwm:source", -1, &(((_ngwm__getQuickMessagesRequest*)a)->source), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getQuickMessagesRequest*)a)->view), "");
- soap_out_int(soap, "ngwm:count", -1, &(((_ngwm__getQuickMessagesRequest*)a)->count), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getQuickMessagesRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getQuickMessagesRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getQuickMessagesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getQuickMessagesRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getQuickMessagesRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, _ngwm__getQuickMessagesRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getQuickMessagesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getQuickMessagesRequest, sizeof(_ngwm__getQuickMessagesRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getQuickMessagesRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getQuickMessagesRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_list1 = 1, soap_flag_ngwt__startDate1 = 1, soap_flag_container1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_view1 = 1, soap_flag_count1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_list1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__MessageList(soap, "ngwm:list", &(((_ngwm__getQuickMessagesRequest*)a)->list), ""))
- { soap_flag_list1 = 0;
- continue;
- }
- if (soap_flag_ngwt__startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:startDate", &(((_ngwm__getQuickMessagesRequest*)a)->ngwt__startDate), ""))
- { soap_flag_ngwt__startDate1 = 0;
- continue;
- }
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__getQuickMessagesRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwm:types", &(((_ngwm__getQuickMessagesRequest*)a)->types), ""))
- { soap_flag_types1 = 0;
- continue;
- }
- if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwm:source", &(((_ngwm__getQuickMessagesRequest*)a)->source), ""))
- { soap_flag_source1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getQuickMessagesRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:count", &(((_ngwm__getQuickMessagesRequest*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_list1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getQuickMessagesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesRequest, 0, sizeof(_ngwm__getQuickMessagesRequest), 0, soap_copy__ngwm__getQuickMessagesRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getQuickMessagesRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getQuickMessagesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getQuickMessagesRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getQuickMessagesRequest;
- if (size)
- *size = sizeof(_ngwm__getQuickMessagesRequest);
- ((_ngwm__getQuickMessagesRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getQuickMessagesRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getQuickMessagesRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getQuickMessagesRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getQuickMessagesRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getQuickMessagesRequest %p -> %p\n", q, p));
- *(_ngwm__getQuickMessagesRequest*)p = *(_ngwm__getQuickMessagesRequest*)q;
-}
-
-void _ngwm__getLibraryListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getLibraryListResponse*)this)->libraries, SOAP_TYPE_PointerTongwt__LibraryList);
- soap_serialize_PointerTongwt__LibraryList(soap, &((_ngwm__getLibraryListResponse*)this)->libraries);
- soap_embedded(soap, &((_ngwm__getLibraryListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getLibraryListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getLibraryListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getLibraryListResponse*)this)->libraries = NULL;
- ((_ngwm__getLibraryListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getLibraryListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getLibraryListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getLibraryListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryListResponse), type);
- soap_out_PointerTongwt__LibraryList(soap, "ngwm:libraries", -1, &(((_ngwm__getLibraryListResponse*)a)->libraries), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getLibraryListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getLibraryListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getLibraryListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getLibraryListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getLibraryListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getLibraryListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryListResponse(struct soap *soap, const char *tag, _ngwm__getLibraryListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getLibraryListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryListResponse, sizeof(_ngwm__getLibraryListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getLibraryListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_libraries1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_libraries1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LibraryList(soap, "ngwm:libraries", &(((_ngwm__getLibraryListResponse*)a)->libraries), "ngwt:LibraryList"))
- { soap_flag_libraries1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getLibraryListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListResponse, 0, sizeof(_ngwm__getLibraryListResponse), 0, soap_copy__ngwm__getLibraryListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getLibraryListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getLibraryListResponse;
- if (size)
- *size = sizeof(_ngwm__getLibraryListResponse);
- ((_ngwm__getLibraryListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getLibraryListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getLibraryListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getLibraryListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getLibraryListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryListResponse %p -> %p\n", q, p));
- *(_ngwm__getLibraryListResponse*)p = *(_ngwm__getLibraryListResponse*)q;
-}
-
-void _ngwm__getLibraryListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getLibraryListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getLibraryListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getLibraryListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getLibraryListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getLibraryListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getLibraryListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getLibraryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getLibraryListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getLibraryListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryListRequest(struct soap *soap, const char *tag, _ngwm__getLibraryListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getLibraryListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryListRequest, sizeof(_ngwm__getLibraryListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getLibraryListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListRequest, 0, sizeof(_ngwm__getLibraryListRequest), 0, soap_copy__ngwm__getLibraryListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getLibraryListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getLibraryListRequest;
- if (size)
- *size = sizeof(_ngwm__getLibraryListRequest);
- ((_ngwm__getLibraryListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getLibraryListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getLibraryListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getLibraryListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getLibraryListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryListRequest %p -> %p\n", q, p));
- *(_ngwm__getLibraryListRequest*)p = *(_ngwm__getLibraryListRequest*)q;
-}
-
-void _ngwm__getLibraryItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getLibraryItemResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__getLibraryItemResponse*)this)->item);
- soap_embedded(soap, &((_ngwm__getLibraryItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getLibraryItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getLibraryItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getLibraryItemResponse*)this)->item = NULL;
- ((_ngwm__getLibraryItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getLibraryItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getLibraryItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getLibraryItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryItemResponse), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__getLibraryItemResponse*)a)->item), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getLibraryItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getLibraryItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getLibraryItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getLibraryItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getLibraryItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getLibraryItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, _ngwm__getLibraryItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getLibraryItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryItemResponse, sizeof(_ngwm__getLibraryItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getLibraryItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__getLibraryItemResponse*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getLibraryItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemResponse, 0, sizeof(_ngwm__getLibraryItemResponse), 0, soap_copy__ngwm__getLibraryItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getLibraryItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getLibraryItemResponse;
- if (size)
- *size = sizeof(_ngwm__getLibraryItemResponse);
- ((_ngwm__getLibraryItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getLibraryItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getLibraryItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getLibraryItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getLibraryItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryItemResponse %p -> %p\n", q, p));
- *(_ngwm__getLibraryItemResponse*)p = *(_ngwm__getLibraryItemResponse*)q;
-}
-
-void _ngwm__getLibraryItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->library, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getLibraryItemRequest*)this)->library);
- soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((_ngwm__getLibraryItemRequest*)this)->documentNumber);
- soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->versionNumber, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__getLibraryItemRequest*)this)->versionNumber);
- /* transient soap skipped */
-}
-
-void _ngwm__getLibraryItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getLibraryItemRequest*)this)->library);
- ((_ngwm__getLibraryItemRequest*)this)->documentNumber = NULL;
- ((_ngwm__getLibraryItemRequest*)this)->versionNumber = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getLibraryItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getLibraryItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getLibraryItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryItemRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:library", -1, &(((_ngwm__getLibraryItemRequest*)a)->library), "");
- soap_out_PointerTounsignedLong(soap, "ngwm:documentNumber", -1, &(((_ngwm__getLibraryItemRequest*)a)->documentNumber), "");
- soap_out_PointerTostd__string(soap, "ngwm:versionNumber", -1, &(((_ngwm__getLibraryItemRequest*)a)->versionNumber), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getLibraryItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getLibraryItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getLibraryItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getLibraryItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getLibraryItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, _ngwm__getLibraryItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getLibraryItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryItemRequest, sizeof(_ngwm__getLibraryItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getLibraryItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionNumber1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_library1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:library", &(((_ngwm__getLibraryItemRequest*)a)->library), "ngwt:uid"))
- { soap_flag_library1 = 0;
- continue;
- }
- if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwm:documentNumber", &(((_ngwm__getLibraryItemRequest*)a)->documentNumber), ""))
- { soap_flag_documentNumber1 = 0;
- continue;
- }
- if (soap_flag_versionNumber1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:versionNumber", &(((_ngwm__getLibraryItemRequest*)a)->versionNumber), ""))
- { soap_flag_versionNumber1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_library1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemRequest, 0, sizeof(_ngwm__getLibraryItemRequest), 0, soap_copy__ngwm__getLibraryItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getLibraryItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getLibraryItemRequest;
- if (size)
- *size = sizeof(_ngwm__getLibraryItemRequest);
- ((_ngwm__getLibraryItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getLibraryItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getLibraryItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getLibraryItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getLibraryItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryItemRequest %p -> %p\n", q, p));
- *(_ngwm__getLibraryItemRequest*)p = *(_ngwm__getLibraryItemRequest*)q;
-}
-
-void _ngwm__getJunkMailSettingsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList);
- soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->settings);
- soap_embedded(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getJunkMailSettingsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getJunkMailSettingsResponse*)this)->settings = NULL;
- ((_ngwm__getJunkMailSettingsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getJunkMailSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkMailSettingsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getJunkMailSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getJunkMailSettingsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getJunkMailSettingsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse), type);
- soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__getJunkMailSettingsResponse*)a)->settings), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getJunkMailSettingsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getJunkMailSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getJunkMailSettingsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getJunkMailSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getJunkMailSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getJunkMailSettingsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getJunkMailSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, sizeof(_ngwm__getJunkMailSettingsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getJunkMailSettingsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getJunkMailSettingsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_settings1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__getJunkMailSettingsResponse*)a)->settings), "ngwt:SettingsList"))
- { soap_flag_settings1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getJunkMailSettingsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkMailSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, 0, sizeof(_ngwm__getJunkMailSettingsResponse), 0, soap_copy__ngwm__getJunkMailSettingsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkMailSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getJunkMailSettingsResponse;
- if (size)
- *size = sizeof(_ngwm__getJunkMailSettingsResponse);
- ((_ngwm__getJunkMailSettingsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getJunkMailSettingsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getJunkMailSettingsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getJunkMailSettingsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getJunkMailSettingsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkMailSettingsResponse %p -> %p\n", q, p));
- *(_ngwm__getJunkMailSettingsResponse*)p = *(_ngwm__getJunkMailSettingsResponse*)q;
-}
-
-void _ngwm__getJunkMailSettingsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getJunkMailSettingsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getJunkMailSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkMailSettingsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getJunkMailSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getJunkMailSettingsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getJunkMailSettingsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getJunkMailSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getJunkMailSettingsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getJunkMailSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getJunkMailSettingsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getJunkMailSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, sizeof(_ngwm__getJunkMailSettingsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getJunkMailSettingsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getJunkMailSettingsRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkMailSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, 0, sizeof(_ngwm__getJunkMailSettingsRequest), 0, soap_copy__ngwm__getJunkMailSettingsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkMailSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getJunkMailSettingsRequest;
- if (size)
- *size = sizeof(_ngwm__getJunkMailSettingsRequest);
- ((_ngwm__getJunkMailSettingsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getJunkMailSettingsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getJunkMailSettingsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getJunkMailSettingsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getJunkMailSettingsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkMailSettingsRequest %p -> %p\n", q, p));
- *(_ngwm__getJunkMailSettingsRequest*)p = *(_ngwm__getJunkMailSettingsRequest*)q;
-}
-
-void _ngwm__getJunkEntriesResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->junk, SOAP_TYPE_PointerTongwt__JunkHandlingList);
- soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->junk);
- soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->block, SOAP_TYPE_PointerTongwt__JunkHandlingList);
- soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->block);
- soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->trust, SOAP_TYPE_PointerTongwt__JunkHandlingList);
- soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->trust);
- soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getJunkEntriesResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getJunkEntriesResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getJunkEntriesResponse*)this)->junk = NULL;
- ((_ngwm__getJunkEntriesResponse*)this)->block = NULL;
- ((_ngwm__getJunkEntriesResponse*)this)->trust = NULL;
- ((_ngwm__getJunkEntriesResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getJunkEntriesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkEntriesResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getJunkEntriesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getJunkEntriesResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getJunkEntriesResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkEntriesResponse), type);
- soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:junk", -1, &(((_ngwm__getJunkEntriesResponse*)a)->junk), "");
- soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:block", -1, &(((_ngwm__getJunkEntriesResponse*)a)->block), "");
- soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:trust", -1, &(((_ngwm__getJunkEntriesResponse*)a)->trust), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getJunkEntriesResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getJunkEntriesResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getJunkEntriesResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getJunkEntriesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getJunkEntriesResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getJunkEntriesResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, _ngwm__getJunkEntriesResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getJunkEntriesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkEntriesResponse, sizeof(_ngwm__getJunkEntriesResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getJunkEntriesResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getJunkEntriesResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_junk1 = 1, soap_flag_block1 = 1, soap_flag_trust1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_junk1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:junk", &(((_ngwm__getJunkEntriesResponse*)a)->junk), "ngwt:JunkHandlingList"))
- { soap_flag_junk1 = 0;
- continue;
- }
- if (soap_flag_block1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:block", &(((_ngwm__getJunkEntriesResponse*)a)->block), "ngwt:JunkHandlingList"))
- { soap_flag_block1 = 0;
- continue;
- }
- if (soap_flag_trust1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:trust", &(((_ngwm__getJunkEntriesResponse*)a)->trust), "ngwt:JunkHandlingList"))
- { soap_flag_trust1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getJunkEntriesResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkEntriesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesResponse, 0, sizeof(_ngwm__getJunkEntriesResponse), 0, soap_copy__ngwm__getJunkEntriesResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getJunkEntriesResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkEntriesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkEntriesResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getJunkEntriesResponse;
- if (size)
- *size = sizeof(_ngwm__getJunkEntriesResponse);
- ((_ngwm__getJunkEntriesResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getJunkEntriesResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getJunkEntriesResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getJunkEntriesResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getJunkEntriesResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkEntriesResponse %p -> %p\n", q, p));
- *(_ngwm__getJunkEntriesResponse*)p = *(_ngwm__getJunkEntriesResponse*)q;
-}
-
-void _ngwm__getJunkEntriesRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getJunkEntriesRequest*)this)->container, SOAP_TYPE_PointerTongwt__JunkHandlingListType);
- soap_serialize_PointerTongwt__JunkHandlingListType(soap, &((_ngwm__getJunkEntriesRequest*)this)->container);
- /* transient soap skipped */
-}
-
-void _ngwm__getJunkEntriesRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getJunkEntriesRequest*)this)->container = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getJunkEntriesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkEntriesRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getJunkEntriesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getJunkEntriesRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getJunkEntriesRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkEntriesRequest), type);
- soap_out_PointerTongwt__JunkHandlingListType(soap, "ngwm:container", -1, &(((_ngwm__getJunkEntriesRequest*)a)->container), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getJunkEntriesRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getJunkEntriesRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getJunkEntriesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getJunkEntriesRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getJunkEntriesRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, _ngwm__getJunkEntriesRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getJunkEntriesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkEntriesRequest, sizeof(_ngwm__getJunkEntriesRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getJunkEntriesRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getJunkEntriesRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkHandlingListType(soap, "ngwm:container", &(((_ngwm__getJunkEntriesRequest*)a)->container), ""))
- { soap_flag_container1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkEntriesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesRequest, 0, sizeof(_ngwm__getJunkEntriesRequest), 0, soap_copy__ngwm__getJunkEntriesRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getJunkEntriesRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkEntriesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkEntriesRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getJunkEntriesRequest;
- if (size)
- *size = sizeof(_ngwm__getJunkEntriesRequest);
- ((_ngwm__getJunkEntriesRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getJunkEntriesRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getJunkEntriesRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getJunkEntriesRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getJunkEntriesRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkEntriesRequest %p -> %p\n", q, p));
- *(_ngwm__getJunkEntriesRequest*)p = *(_ngwm__getJunkEntriesRequest*)q;
-}
-
-void _ngwm__getItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getItemsResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items);
- soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getItemsResponse*)this)->items);
- soap_embedded(soap, &((_ngwm__getItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getItemsResponse*)this)->items = NULL;
- ((_ngwm__getItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemsResponse), type);
- soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getItemsResponse*)a)->items), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_get__ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_in__ngwm__getItemsResponse(struct soap *soap, const char *tag, _ngwm__getItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemsResponse, sizeof(_ngwm__getItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getItemsResponse*)a)->items), "ngwt:Items"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsResponse, 0, sizeof(_ngwm__getItemsResponse), 0, soap_copy__ngwm__getItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_new__ngwm__getItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getItemsResponse;
- if (size)
- *size = sizeof(_ngwm__getItemsResponse);
- ((_ngwm__getItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemsResponse %p -> %p\n", q, p));
- *(_ngwm__getItemsResponse*)p = *(_ngwm__getItemsResponse*)q;
-}
-
-void _ngwm__getItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getItemsRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getItemsRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->filter, SOAP_TYPE_PointerTongwt__Filter);
- soap_serialize_PointerTongwt__Filter(soap, &((_ngwm__getItemsRequest*)this)->filter);
- soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__getItemsRequest*)this)->items);
- soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->count, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__getItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getItemsRequest*)this)->container = NULL;
- ((_ngwm__getItemsRequest*)this)->view = NULL;
- ((_ngwm__getItemsRequest*)this)->filter = NULL;
- ((_ngwm__getItemsRequest*)this)->items = NULL;
- ((_ngwm__getItemsRequest*)this)->count = -1;
- /* transient soap skipped */
-}
-
-int _ngwm__getItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemsRequest), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getItemsRequest*)a)->container), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getItemsRequest*)a)->view), "");
- soap_out_PointerTongwt__Filter(soap, "ngwm:filter", -1, &(((_ngwm__getItemsRequest*)a)->filter), "");
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__getItemsRequest*)a)->items), "");
- soap_out_int(soap, "ngwm:count", -1, &(((_ngwm__getItemsRequest*)a)->count), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_get__ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_in__ngwm__getItemsRequest(struct soap *soap, const char *tag, _ngwm__getItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemsRequest, sizeof(_ngwm__getItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getItemsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_filter1 = 1, soap_flag_items1 = 1, soap_flag_count1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__getItemsRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getItemsRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Filter(soap, "ngwm:filter", &(((_ngwm__getItemsRequest*)a)->filter), "ngwt:Filter"))
- { soap_flag_filter1 = 0;
- continue;
- }
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__getItemsRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:count", &(((_ngwm__getItemsRequest*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsRequest, 0, sizeof(_ngwm__getItemsRequest), 0, soap_copy__ngwm__getItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_new__ngwm__getItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getItemsRequest;
- if (size)
- *size = sizeof(_ngwm__getItemsRequest);
- ((_ngwm__getItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemsRequest %p -> %p\n", q, p));
- *(_ngwm__getItemsRequest*)p = *(_ngwm__getItemsRequest*)q;
-}
-
-void _ngwm__getItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getItemResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__getItemResponse*)this)->item);
- soap_embedded(soap, &((_ngwm__getItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getItemResponse*)this)->item = NULL;
- ((_ngwm__getItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__getItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemResponse), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__getItemResponse*)a)->item), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_get__ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_in__ngwm__getItemResponse(struct soap *soap, const char *tag, _ngwm__getItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemResponse, sizeof(_ngwm__getItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__getItemResponse*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemResponse, 0, sizeof(_ngwm__getItemResponse), 0, soap_copy__ngwm__getItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_new__ngwm__getItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getItemResponse;
- if (size)
- *size = sizeof(_ngwm__getItemResponse);
- ((_ngwm__getItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemResponse %p -> %p\n", q, p));
- *(_ngwm__getItemResponse*)p = *(_ngwm__getItemResponse*)q;
-}
-
-void _ngwm__getItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getItemRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getItemRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__getItemRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getItemRequest*)this)->view);
- /* transient soap skipped */
-}
-
-void _ngwm__getItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getItemRequest*)this)->id);
- ((_ngwm__getItemRequest*)this)->view = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__getItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getItemRequest*)a)->id), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getItemRequest*)a)->view), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_get__ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_in__ngwm__getItemRequest(struct soap *soap, const char *tag, _ngwm__getItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemRequest, sizeof(_ngwm__getItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_view1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__getItemRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getItemRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemRequest, 0, sizeof(_ngwm__getItemRequest), 0, soap_copy__ngwm__getItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_new__ngwm__getItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getItemRequest;
- if (size)
- *size = sizeof(_ngwm__getItemRequest);
- ((_ngwm__getItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemRequest %p -> %p\n", q, p));
- *(_ngwm__getItemRequest*)p = *(_ngwm__getItemRequest*)q;
-}
-
-void _ngwm__getFreeBusyResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyStats, SOAP_TYPE_PointerTongwt__FreeBusyStats);
- soap_serialize_PointerTongwt__FreeBusyStats(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyStats);
- soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo, SOAP_TYPE_PointerTongwt__FreeBusyInfoList);
- soap_serialize_PointerTongwt__FreeBusyInfoList(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo);
- soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFreeBusyResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getFreeBusyResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getFreeBusyResponse*)this)->freeBusyStats = NULL;
- ((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo = NULL;
- ((_ngwm__getFreeBusyResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getFreeBusyResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFreeBusyResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFreeBusyResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFreeBusyResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFreeBusyResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFreeBusyResponse), type);
- soap_out_PointerTongwt__FreeBusyStats(soap, "ngwm:freeBusyStats", -1, &(((_ngwm__getFreeBusyResponse*)a)->freeBusyStats), "");
- soap_out_PointerTongwt__FreeBusyInfoList(soap, "ngwm:freeBusyInfo", -1, &(((_ngwm__getFreeBusyResponse*)a)->freeBusyInfo), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFreeBusyResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFreeBusyResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFreeBusyResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_get__ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFreeBusyResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFreeBusyResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFreeBusyResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_in__ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, _ngwm__getFreeBusyResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFreeBusyResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFreeBusyResponse, sizeof(_ngwm__getFreeBusyResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFreeBusyResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFreeBusyResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_freeBusyStats1 = 1, soap_flag_freeBusyInfo1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_freeBusyStats1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FreeBusyStats(soap, "ngwm:freeBusyStats", &(((_ngwm__getFreeBusyResponse*)a)->freeBusyStats), "ngwt:FreeBusyStats"))
- { soap_flag_freeBusyStats1 = 0;
- continue;
- }
- if (soap_flag_freeBusyInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FreeBusyInfoList(soap, "ngwm:freeBusyInfo", &(((_ngwm__getFreeBusyResponse*)a)->freeBusyInfo), "ngwt:FreeBusyInfoList"))
- { soap_flag_freeBusyInfo1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFreeBusyResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFreeBusyResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyResponse, 0, sizeof(_ngwm__getFreeBusyResponse), 0, soap_copy__ngwm__getFreeBusyResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_new__ngwm__getFreeBusyResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFreeBusyResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFreeBusyResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFreeBusyResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFreeBusyResponse;
- if (size)
- *size = sizeof(_ngwm__getFreeBusyResponse);
- ((_ngwm__getFreeBusyResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFreeBusyResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getFreeBusyResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFreeBusyResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFreeBusyResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFreeBusyResponse %p -> %p\n", q, p));
- *(_ngwm__getFreeBusyResponse*)p = *(_ngwm__getFreeBusyResponse*)q;
-}
-
-void _ngwm__getFreeBusyRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId);
- /* transient soap skipped */
-}
-
-void _ngwm__getFreeBusyRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId);
- /* transient soap skipped */
-}
-
-int _ngwm__getFreeBusyRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFreeBusyRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFreeBusyRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFreeBusyRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFreeBusyRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFreeBusyRequest), type);
- soap_out_std__string(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__getFreeBusyRequest*)a)->freeBusySessionId), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFreeBusyRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFreeBusyRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_get__ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFreeBusyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFreeBusyRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFreeBusyRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_in__ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, _ngwm__getFreeBusyRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFreeBusyRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFreeBusyRequest, sizeof(_ngwm__getFreeBusyRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFreeBusyRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFreeBusyRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_freeBusySessionId1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_freeBusySessionId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwm:freeBusySessionId", &(((_ngwm__getFreeBusyRequest*)a)->freeBusySessionId), ""))
- { soap_flag_freeBusySessionId1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_freeBusySessionId1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFreeBusyRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyRequest, 0, sizeof(_ngwm__getFreeBusyRequest), 0, soap_copy__ngwm__getFreeBusyRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_new__ngwm__getFreeBusyRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFreeBusyRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFreeBusyRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFreeBusyRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFreeBusyRequest;
- if (size)
- *size = sizeof(_ngwm__getFreeBusyRequest);
- ((_ngwm__getFreeBusyRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFreeBusyRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getFreeBusyRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFreeBusyRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFreeBusyRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFreeBusyRequest %p -> %p\n", q, p));
- *(_ngwm__getFreeBusyRequest*)p = *(_ngwm__getFreeBusyRequest*)q;
-}
-
-void _ngwm__getFolderListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFolderListResponse*)this)->folders, SOAP_TYPE_PointerTongwt__FolderList);
- soap_serialize_PointerTongwt__FolderList(soap, &((_ngwm__getFolderListResponse*)this)->folders);
- soap_embedded(soap, &((_ngwm__getFolderListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFolderListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getFolderListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getFolderListResponse*)this)->folders = NULL;
- ((_ngwm__getFolderListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getFolderListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFolderListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFolderListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFolderListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderListResponse), type);
- soap_out_PointerTongwt__FolderList(soap, "ngwm:folders", -1, &(((_ngwm__getFolderListResponse*)a)->folders), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFolderListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFolderListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFolderListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_get__ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFolderListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFolderListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFolderListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_in__ngwm__getFolderListResponse(struct soap *soap, const char *tag, _ngwm__getFolderListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFolderListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderListResponse, sizeof(_ngwm__getFolderListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFolderListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFolderListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_folders1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_folders1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderList(soap, "ngwm:folders", &(((_ngwm__getFolderListResponse*)a)->folders), "ngwt:FolderList"))
- { soap_flag_folders1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFolderListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListResponse, 0, sizeof(_ngwm__getFolderListResponse), 0, soap_copy__ngwm__getFolderListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_new__ngwm__getFolderListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFolderListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFolderListResponse;
- if (size)
- *size = sizeof(_ngwm__getFolderListResponse);
- ((_ngwm__getFolderListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFolderListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getFolderListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFolderListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFolderListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderListResponse %p -> %p\n", q, p));
- *(_ngwm__getFolderListResponse*)p = *(_ngwm__getFolderListResponse*)q;
-}
-
-void _ngwm__getFolderListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getFolderListRequest*)this)->parent);
- soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getFolderListRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->recurse, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->imap, SOAP_TYPE_bool);
- soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->nntp, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwm__getFolderListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getFolderListRequest*)this)->parent);
- ((_ngwm__getFolderListRequest*)this)->view = NULL;
- soap_default_bool(soap, &((_ngwm__getFolderListRequest*)this)->recurse);
- ((_ngwm__getFolderListRequest*)this)->imap = (bool)0;
- ((_ngwm__getFolderListRequest*)this)->nntp = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwm__getFolderListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFolderListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFolderListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFolderListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderListRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:parent", -1, &(((_ngwm__getFolderListRequest*)a)->parent), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getFolderListRequest*)a)->view), "");
- soap_out_bool(soap, "ngwm:recurse", -1, &(((_ngwm__getFolderListRequest*)a)->recurse), "");
- soap_out_bool(soap, "ngwm:imap", -1, &(((_ngwm__getFolderListRequest*)a)->imap), "");
- soap_out_bool(soap, "ngwm:nntp", -1, &(((_ngwm__getFolderListRequest*)a)->nntp), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFolderListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFolderListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_get__ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFolderListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFolderListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFolderListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_in__ngwm__getFolderListRequest(struct soap *soap, const char *tag, _ngwm__getFolderListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFolderListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderListRequest, sizeof(_ngwm__getFolderListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFolderListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFolderListRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_parent1 = 1, soap_flag_view1 = 1, soap_flag_recurse1 = 1, soap_flag_imap1 = 1, soap_flag_nntp1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_parent1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:parent", &(((_ngwm__getFolderListRequest*)a)->parent), "ngwt:uid"))
- { soap_flag_parent1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getFolderListRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_recurse1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:recurse", &(((_ngwm__getFolderListRequest*)a)->recurse), ""))
- { soap_flag_recurse1 = 0;
- continue;
- }
- if (soap_flag_imap1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:imap", &(((_ngwm__getFolderListRequest*)a)->imap), ""))
- { soap_flag_imap1 = 0;
- continue;
- }
- if (soap_flag_nntp1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:nntp", &(((_ngwm__getFolderListRequest*)a)->nntp), ""))
- { soap_flag_nntp1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent1 || soap_flag_recurse1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListRequest, 0, sizeof(_ngwm__getFolderListRequest), 0, soap_copy__ngwm__getFolderListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_new__ngwm__getFolderListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFolderListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFolderListRequest;
- if (size)
- *size = sizeof(_ngwm__getFolderListRequest);
- ((_ngwm__getFolderListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFolderListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getFolderListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFolderListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFolderListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderListRequest %p -> %p\n", q, p));
- *(_ngwm__getFolderListRequest*)p = *(_ngwm__getFolderListRequest*)q;
-}
-
-void _ngwm__getFolderResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFolderResponse*)this)->folder, SOAP_TYPE_PointerTongwt__Folder);
- soap_serialize_PointerTongwt__Folder(soap, &((_ngwm__getFolderResponse*)this)->folder);
- soap_embedded(soap, &((_ngwm__getFolderResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFolderResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getFolderResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getFolderResponse*)this)->folder = NULL;
- ((_ngwm__getFolderResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getFolderResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFolderResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFolderResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFolderResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderResponse), type);
- soap_out_PointerTongwt__Folder(soap, "ngwm:folder", -1, &(((_ngwm__getFolderResponse*)a)->folder), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFolderResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFolderResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFolderResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_get__ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFolderResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFolderResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFolderResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_in__ngwm__getFolderResponse(struct soap *soap, const char *tag, _ngwm__getFolderResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFolderResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderResponse, sizeof(_ngwm__getFolderResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFolderResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFolderResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_folder1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_folder1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Folder(soap, "ngwm:folder", &(((_ngwm__getFolderResponse*)a)->folder), "ngwt:Folder"))
- { soap_flag_folder1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFolderResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderResponse, 0, sizeof(_ngwm__getFolderResponse), 0, soap_copy__ngwm__getFolderResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_new__ngwm__getFolderResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFolderResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFolderResponse;
- if (size)
- *size = sizeof(_ngwm__getFolderResponse);
- ((_ngwm__getFolderResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFolderResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getFolderResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFolderResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFolderResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderResponse %p -> %p\n", q, p));
- *(_ngwm__getFolderResponse*)p = *(_ngwm__getFolderResponse*)q;
-}
-
-void _ngwm__getFolderRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getFolderRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType);
- soap_serialize_PointerTongwt__FolderType(soap, &((_ngwm__getFolderRequest*)this)->folderType);
- soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList);
- soap_serialize_PointerTongwt__MessageTypeList(soap, &((_ngwm__getFolderRequest*)this)->types);
- soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList);
- soap_serialize_PointerTongwt__ItemSourceList(soap, &((_ngwm__getFolderRequest*)this)->source);
- soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getFolderRequest*)this)->view);
- /* transient soap skipped */
-}
-
-void _ngwm__getFolderRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getFolderRequest*)this)->id = NULL;
- ((_ngwm__getFolderRequest*)this)->folderType = NULL;
- ((_ngwm__getFolderRequest*)this)->types = NULL;
- ((_ngwm__getFolderRequest*)this)->source = NULL;
- ((_ngwm__getFolderRequest*)this)->view = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getFolderRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getFolderRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getFolderRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFolderRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderRequest), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getFolderRequest*)a)->id), "");
- soap_out_PointerTongwt__FolderType(soap, "ngwm:folderType", -1, &(((_ngwm__getFolderRequest*)a)->folderType), "");
- soap_out_PointerTongwt__MessageTypeList(soap, "ngwm:types", -1, &(((_ngwm__getFolderRequest*)a)->types), "");
- soap_out_PointerTongwt__ItemSourceList(soap, "ngwm:source", -1, &(((_ngwm__getFolderRequest*)a)->source), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getFolderRequest*)a)->view), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getFolderRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getFolderRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_get__ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getFolderRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getFolderRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getFolderRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_in__ngwm__getFolderRequest(struct soap *soap, const char *tag, _ngwm__getFolderRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getFolderRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderRequest, sizeof(_ngwm__getFolderRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getFolderRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getFolderRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_folderType1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_view1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__getFolderRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderType(soap, "ngwm:folderType", &(((_ngwm__getFolderRequest*)a)->folderType), ""))
- { soap_flag_folderType1 = 0;
- continue;
- }
- if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwm:types", &(((_ngwm__getFolderRequest*)a)->types), ""))
- { soap_flag_types1 = 0;
- continue;
- }
- if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwm:source", &(((_ngwm__getFolderRequest*)a)->source), ""))
- { soap_flag_source1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getFolderRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderRequest, 0, sizeof(_ngwm__getFolderRequest), 0, soap_copy__ngwm__getFolderRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_new__ngwm__getFolderRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getFolderRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getFolderRequest;
- if (size)
- *size = sizeof(_ngwm__getFolderRequest);
- ((_ngwm__getFolderRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getFolderRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getFolderRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getFolderRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getFolderRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderRequest %p -> %p\n", q, p));
- *(_ngwm__getFolderRequest*)p = *(_ngwm__getFolderRequest*)q;
-}
-
-void _ngwm__getDocumentTypeListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDocumentTypeListResponse*)this)->items, SOAP_TYPE_PointerTongwt__DocumentTypeList);
- soap_serialize_PointerTongwt__DocumentTypeList(soap, &((_ngwm__getDocumentTypeListResponse*)this)->items);
- soap_embedded(soap, &((_ngwm__getDocumentTypeListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDocumentTypeListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getDocumentTypeListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getDocumentTypeListResponse*)this)->items = NULL;
- ((_ngwm__getDocumentTypeListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getDocumentTypeListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDocumentTypeListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDocumentTypeListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDocumentTypeListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDocumentTypeListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDocumentTypeListResponse), type);
- soap_out_PointerTongwt__DocumentTypeList(soap, "ngwm:items", -1, &(((_ngwm__getDocumentTypeListResponse*)a)->items), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDocumentTypeListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDocumentTypeListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDocumentTypeListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDocumentTypeListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDocumentTypeListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDocumentTypeListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDocumentTypeListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, sizeof(_ngwm__getDocumentTypeListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDocumentTypeListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDocumentTypeListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DocumentTypeList(soap, "ngwm:items", &(((_ngwm__getDocumentTypeListResponse*)a)->items), "ngwt:DocumentTypeList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDocumentTypeListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDocumentTypeListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, 0, sizeof(_ngwm__getDocumentTypeListResponse), 0, soap_copy__ngwm__getDocumentTypeListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDocumentTypeListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDocumentTypeListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDocumentTypeListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDocumentTypeListResponse;
- if (size)
- *size = sizeof(_ngwm__getDocumentTypeListResponse);
- ((_ngwm__getDocumentTypeListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDocumentTypeListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getDocumentTypeListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDocumentTypeListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDocumentTypeListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDocumentTypeListResponse %p -> %p\n", q, p));
- *(_ngwm__getDocumentTypeListResponse*)p = *(_ngwm__getDocumentTypeListResponse*)q;
-}
-
-void _ngwm__getDocumentTypeListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library);
- /* transient soap skipped */
-}
-
-void _ngwm__getDocumentTypeListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library);
- /* transient soap skipped */
-}
-
-int _ngwm__getDocumentTypeListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDocumentTypeListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDocumentTypeListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDocumentTypeListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDocumentTypeListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDocumentTypeListRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:library", -1, &(((_ngwm__getDocumentTypeListRequest*)a)->library), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDocumentTypeListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDocumentTypeListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDocumentTypeListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDocumentTypeListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDocumentTypeListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDocumentTypeListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, sizeof(_ngwm__getDocumentTypeListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDocumentTypeListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDocumentTypeListRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_library1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_library1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:library", &(((_ngwm__getDocumentTypeListRequest*)a)->library), "ngwt:uid"))
- { soap_flag_library1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_library1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDocumentTypeListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, 0, sizeof(_ngwm__getDocumentTypeListRequest), 0, soap_copy__ngwm__getDocumentTypeListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDocumentTypeListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDocumentTypeListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDocumentTypeListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDocumentTypeListRequest;
- if (size)
- *size = sizeof(_ngwm__getDocumentTypeListRequest);
- ((_ngwm__getDocumentTypeListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDocumentTypeListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getDocumentTypeListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDocumentTypeListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDocumentTypeListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDocumentTypeListRequest %p -> %p\n", q, p));
- *(_ngwm__getDocumentTypeListRequest*)p = *(_ngwm__getDocumentTypeListRequest*)q;
-}
-
-void _ngwm__getDeltaInfoResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDeltaInfoResponse*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo);
- soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltaInfoResponse*)this)->deltaInfo);
- soap_embedded(soap, &((_ngwm__getDeltaInfoResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDeltaInfoResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getDeltaInfoResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getDeltaInfoResponse*)this)->deltaInfo = NULL;
- ((_ngwm__getDeltaInfoResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getDeltaInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltaInfoResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDeltaInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDeltaInfoResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDeltaInfoResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltaInfoResponse), type);
- soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltaInfoResponse*)a)->deltaInfo), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDeltaInfoResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDeltaInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDeltaInfoResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDeltaInfoResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDeltaInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDeltaInfoResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, _ngwm__getDeltaInfoResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDeltaInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltaInfoResponse, sizeof(_ngwm__getDeltaInfoResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDeltaInfoResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDeltaInfoResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_deltaInfo1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltaInfoResponse*)a)->deltaInfo), "ngwt:DeltaInfo"))
- { soap_flag_deltaInfo1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDeltaInfoResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_deltaInfo1 || soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltaInfoResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoResponse, 0, sizeof(_ngwm__getDeltaInfoResponse), 0, soap_copy__ngwm__getDeltaInfoResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDeltaInfoResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltaInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltaInfoResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDeltaInfoResponse;
- if (size)
- *size = sizeof(_ngwm__getDeltaInfoResponse);
- ((_ngwm__getDeltaInfoResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDeltaInfoResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getDeltaInfoResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDeltaInfoResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDeltaInfoResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltaInfoResponse %p -> %p\n", q, p));
- *(_ngwm__getDeltaInfoResponse*)p = *(_ngwm__getDeltaInfoResponse*)q;
-}
-
-void _ngwm__getDeltaInfoRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDeltaInfoRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getDeltaInfoRequest*)this)->container);
- /* transient soap skipped */
-}
-
-void _ngwm__getDeltaInfoRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getDeltaInfoRequest*)this)->container);
- /* transient soap skipped */
-}
-
-int _ngwm__getDeltaInfoRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltaInfoRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDeltaInfoRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDeltaInfoRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDeltaInfoRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltaInfoRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getDeltaInfoRequest*)a)->container), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDeltaInfoRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDeltaInfoRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDeltaInfoRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDeltaInfoRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDeltaInfoRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, _ngwm__getDeltaInfoRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDeltaInfoRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltaInfoRequest, sizeof(_ngwm__getDeltaInfoRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDeltaInfoRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDeltaInfoRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__getDeltaInfoRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltaInfoRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoRequest, 0, sizeof(_ngwm__getDeltaInfoRequest), 0, soap_copy__ngwm__getDeltaInfoRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDeltaInfoRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltaInfoRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltaInfoRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDeltaInfoRequest;
- if (size)
- *size = sizeof(_ngwm__getDeltaInfoRequest);
- ((_ngwm__getDeltaInfoRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDeltaInfoRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getDeltaInfoRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDeltaInfoRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDeltaInfoRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltaInfoRequest %p -> %p\n", q, p));
- *(_ngwm__getDeltaInfoRequest*)p = *(_ngwm__getDeltaInfoRequest*)q;
-}
-
-void _ngwm__getDeltasResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items);
- soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getDeltasResponse*)this)->items);
- soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo);
- soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltasResponse*)this)->deltaInfo);
- soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDeltasResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getDeltasResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getDeltasResponse*)this)->items = NULL;
- ((_ngwm__getDeltasResponse*)this)->deltaInfo = NULL;
- ((_ngwm__getDeltasResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getDeltasResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltasResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDeltasResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDeltasResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDeltasResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltasResponse), type);
- soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getDeltasResponse*)a)->items), "");
- soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltasResponse*)a)->deltaInfo), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDeltasResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDeltasResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDeltasResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_get__ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDeltasResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDeltasResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDeltasResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_in__ngwm__getDeltasResponse(struct soap *soap, const char *tag, _ngwm__getDeltasResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDeltasResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltasResponse, sizeof(_ngwm__getDeltasResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDeltasResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDeltasResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_deltaInfo1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getDeltasResponse*)a)->items), "ngwt:Items"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltasResponse*)a)->deltaInfo), "ngwt:DeltaInfo"))
- { soap_flag_deltaInfo1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDeltasResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_deltaInfo1 || soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltasResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasResponse, 0, sizeof(_ngwm__getDeltasResponse), 0, soap_copy__ngwm__getDeltasResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_new__ngwm__getDeltasResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDeltasResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltasResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltasResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDeltasResponse;
- if (size)
- *size = sizeof(_ngwm__getDeltasResponse);
- ((_ngwm__getDeltasResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDeltasResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getDeltasResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDeltasResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDeltasResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltasResponse %p -> %p\n", q, p));
- *(_ngwm__getDeltasResponse*)p = *(_ngwm__getDeltasResponse*)q;
-}
-
-void _ngwm__getDeltasRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getDeltasRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__getDeltasRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo);
- soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltasRequest*)this)->deltaInfo);
- /* transient soap skipped */
-}
-
-void _ngwm__getDeltasRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getDeltasRequest*)this)->container);
- ((_ngwm__getDeltasRequest*)this)->view = NULL;
- ((_ngwm__getDeltasRequest*)this)->deltaInfo = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getDeltasRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltasRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getDeltasRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getDeltasRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDeltasRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltasRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getDeltasRequest*)a)->container), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getDeltasRequest*)a)->view), "");
- soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltasRequest*)a)->deltaInfo), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getDeltasRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getDeltasRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_get__ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getDeltasRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getDeltasRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getDeltasRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_in__ngwm__getDeltasRequest(struct soap *soap, const char *tag, _ngwm__getDeltasRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getDeltasRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltasRequest, sizeof(_ngwm__getDeltasRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getDeltasRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getDeltasRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_deltaInfo1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__getDeltasRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getDeltasRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltasRequest*)a)->deltaInfo), "ngwt:DeltaInfo"))
- { soap_flag_deltaInfo1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_deltaInfo1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltasRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasRequest, 0, sizeof(_ngwm__getDeltasRequest), 0, soap_copy__ngwm__getDeltasRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_new__ngwm__getDeltasRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getDeltasRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltasRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltasRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getDeltasRequest;
- if (size)
- *size = sizeof(_ngwm__getDeltasRequest);
- ((_ngwm__getDeltasRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getDeltasRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getDeltasRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getDeltasRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getDeltasRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltasRequest %p -> %p\n", q, p));
- *(_ngwm__getDeltasRequest*)p = *(_ngwm__getDeltasRequest*)q;
-}
-
-void _ngwm__getCustomListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getCustomListResponse*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((_ngwm__getCustomListResponse*)this)->customs);
- soap_embedded(soap, &((_ngwm__getCustomListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getCustomListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getCustomListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getCustomListResponse*)this)->customs = NULL;
- ((_ngwm__getCustomListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getCustomListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCustomListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getCustomListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getCustomListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getCustomListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCustomListResponse), type);
- soap_out_PointerTongwt__CustomList(soap, "ngwm:customs", -1, &(((_ngwm__getCustomListResponse*)a)->customs), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getCustomListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getCustomListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getCustomListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_get__ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getCustomListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getCustomListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getCustomListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_in__ngwm__getCustomListResponse(struct soap *soap, const char *tag, _ngwm__getCustomListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getCustomListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCustomListResponse, sizeof(_ngwm__getCustomListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getCustomListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getCustomListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_customs1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwm:customs", &(((_ngwm__getCustomListResponse*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getCustomListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getCustomListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListResponse, 0, sizeof(_ngwm__getCustomListResponse), 0, soap_copy__ngwm__getCustomListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_new__ngwm__getCustomListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getCustomListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCustomListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCustomListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getCustomListResponse;
- if (size)
- *size = sizeof(_ngwm__getCustomListResponse);
- ((_ngwm__getCustomListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getCustomListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getCustomListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getCustomListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getCustomListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCustomListResponse %p -> %p\n", q, p));
- *(_ngwm__getCustomListResponse*)p = *(_ngwm__getCustomListResponse*)q;
-}
-
-void _ngwm__getCustomListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getCustomListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getCustomListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCustomListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getCustomListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getCustomListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getCustomListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCustomListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getCustomListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getCustomListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_get__ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getCustomListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getCustomListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getCustomListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_in__ngwm__getCustomListRequest(struct soap *soap, const char *tag, _ngwm__getCustomListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getCustomListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCustomListRequest, sizeof(_ngwm__getCustomListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getCustomListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getCustomListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getCustomListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListRequest, 0, sizeof(_ngwm__getCustomListRequest), 0, soap_copy__ngwm__getCustomListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_new__ngwm__getCustomListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getCustomListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCustomListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCustomListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getCustomListRequest;
- if (size)
- *size = sizeof(_ngwm__getCustomListRequest);
- ((_ngwm__getCustomListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getCustomListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getCustomListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getCustomListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getCustomListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCustomListRequest %p -> %p\n", q, p));
- *(_ngwm__getCustomListRequest*)p = *(_ngwm__getCustomListRequest*)q;
-}
-
-void _ngwm__getCategoryListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getCategoryListResponse*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryList);
- soap_serialize_PointerTongwt__CategoryList(soap, &((_ngwm__getCategoryListResponse*)this)->categories);
- soap_embedded(soap, &((_ngwm__getCategoryListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getCategoryListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getCategoryListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getCategoryListResponse*)this)->categories = NULL;
- ((_ngwm__getCategoryListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getCategoryListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCategoryListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getCategoryListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getCategoryListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getCategoryListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCategoryListResponse), type);
- soap_out_PointerTongwt__CategoryList(soap, "ngwm:categories", -1, &(((_ngwm__getCategoryListResponse*)a)->categories), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getCategoryListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getCategoryListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getCategoryListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_get__ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getCategoryListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getCategoryListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getCategoryListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_in__ngwm__getCategoryListResponse(struct soap *soap, const char *tag, _ngwm__getCategoryListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getCategoryListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCategoryListResponse, sizeof(_ngwm__getCategoryListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getCategoryListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getCategoryListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_categories1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryList(soap, "ngwm:categories", &(((_ngwm__getCategoryListResponse*)a)->categories), "ngwt:CategoryList"))
- { soap_flag_categories1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getCategoryListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getCategoryListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListResponse, 0, sizeof(_ngwm__getCategoryListResponse), 0, soap_copy__ngwm__getCategoryListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_new__ngwm__getCategoryListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getCategoryListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCategoryListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCategoryListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getCategoryListResponse;
- if (size)
- *size = sizeof(_ngwm__getCategoryListResponse);
- ((_ngwm__getCategoryListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getCategoryListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getCategoryListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getCategoryListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getCategoryListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCategoryListResponse %p -> %p\n", q, p));
- *(_ngwm__getCategoryListResponse*)p = *(_ngwm__getCategoryListResponse*)q;
-}
-
-void _ngwm__getCategoryListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getCategoryListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getCategoryListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCategoryListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getCategoryListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getCategoryListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getCategoryListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCategoryListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getCategoryListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getCategoryListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_get__ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getCategoryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getCategoryListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getCategoryListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_in__ngwm__getCategoryListRequest(struct soap *soap, const char *tag, _ngwm__getCategoryListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getCategoryListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCategoryListRequest, sizeof(_ngwm__getCategoryListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getCategoryListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getCategoryListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getCategoryListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListRequest, 0, sizeof(_ngwm__getCategoryListRequest), 0, soap_copy__ngwm__getCategoryListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_new__ngwm__getCategoryListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getCategoryListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCategoryListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCategoryListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getCategoryListRequest;
- if (size)
- *size = sizeof(_ngwm__getCategoryListRequest);
- ((_ngwm__getCategoryListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getCategoryListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getCategoryListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getCategoryListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getCategoryListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCategoryListRequest %p -> %p\n", q, p));
- *(_ngwm__getCategoryListRequest*)p = *(_ngwm__getCategoryListRequest*)q;
-}
-
-void _ngwm__getAttachmentResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getAttachmentResponse*)this)->part, SOAP_TYPE_PointerTongwt__MessagePart);
- soap_serialize_PointerTongwt__MessagePart(soap, &((_ngwm__getAttachmentResponse*)this)->part);
- soap_embedded(soap, &((_ngwm__getAttachmentResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getAttachmentResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getAttachmentResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getAttachmentResponse*)this)->part = NULL;
- ((_ngwm__getAttachmentResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getAttachmentResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAttachmentResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getAttachmentResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getAttachmentResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentResponse(struct soap *soap, const char *tag, int id, const _ngwm__getAttachmentResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAttachmentResponse), type);
- soap_out_PointerTongwt__MessagePart(soap, "ngwm:part", -1, &(((_ngwm__getAttachmentResponse*)a)->part), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getAttachmentResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getAttachmentResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getAttachmentResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_get__ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getAttachmentResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getAttachmentResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getAttachmentResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_in__ngwm__getAttachmentResponse(struct soap *soap, const char *tag, _ngwm__getAttachmentResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getAttachmentResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAttachmentResponse, sizeof(_ngwm__getAttachmentResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getAttachmentResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getAttachmentResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_part1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessagePart(soap, "ngwm:part", &(((_ngwm__getAttachmentResponse*)a)->part), "ngwt:MessagePart"))
- { soap_flag_part1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getAttachmentResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getAttachmentResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentResponse, 0, sizeof(_ngwm__getAttachmentResponse), 0, soap_copy__ngwm__getAttachmentResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_new__ngwm__getAttachmentResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getAttachmentResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAttachmentResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAttachmentResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getAttachmentResponse;
- if (size)
- *size = sizeof(_ngwm__getAttachmentResponse);
- ((_ngwm__getAttachmentResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getAttachmentResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getAttachmentResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getAttachmentResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getAttachmentResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAttachmentResponse %p -> %p\n", q, p));
- *(_ngwm__getAttachmentResponse*)p = *(_ngwm__getAttachmentResponse*)q;
-}
-
-void _ngwm__getAttachmentRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__getAttachmentRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->offset, SOAP_TYPE_int);
- soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->length, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__getAttachmentRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__getAttachmentRequest*)this)->id);
- soap_default_int(soap, &((_ngwm__getAttachmentRequest*)this)->offset);
- soap_default_int(soap, &((_ngwm__getAttachmentRequest*)this)->length);
- /* transient soap skipped */
-}
-
-int _ngwm__getAttachmentRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAttachmentRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getAttachmentRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getAttachmentRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentRequest(struct soap *soap, const char *tag, int id, const _ngwm__getAttachmentRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAttachmentRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getAttachmentRequest*)a)->id), "");
- soap_out_int(soap, "ngwm:offset", -1, &(((_ngwm__getAttachmentRequest*)a)->offset), "");
- soap_out_int(soap, "ngwm:length", -1, &(((_ngwm__getAttachmentRequest*)a)->length), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getAttachmentRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getAttachmentRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_get__ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getAttachmentRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getAttachmentRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getAttachmentRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_in__ngwm__getAttachmentRequest(struct soap *soap, const char *tag, _ngwm__getAttachmentRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getAttachmentRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAttachmentRequest, sizeof(_ngwm__getAttachmentRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getAttachmentRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getAttachmentRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_offset1 = 1, soap_flag_length1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__getAttachmentRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:offset", &(((_ngwm__getAttachmentRequest*)a)->offset), ""))
- { soap_flag_offset1 = 0;
- continue;
- }
- if (soap_flag_length1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:length", &(((_ngwm__getAttachmentRequest*)a)->length), ""))
- { soap_flag_length1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_offset1 || soap_flag_length1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getAttachmentRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentRequest, 0, sizeof(_ngwm__getAttachmentRequest), 0, soap_copy__ngwm__getAttachmentRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_new__ngwm__getAttachmentRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getAttachmentRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAttachmentRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAttachmentRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getAttachmentRequest;
- if (size)
- *size = sizeof(_ngwm__getAttachmentRequest);
- ((_ngwm__getAttachmentRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getAttachmentRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getAttachmentRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getAttachmentRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getAttachmentRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAttachmentRequest %p -> %p\n", q, p));
- *(_ngwm__getAttachmentRequest*)p = *(_ngwm__getAttachmentRequest*)q;
-}
-
-void _ngwm__getAddressBookListResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__getAddressBookListResponse*)this)->books, SOAP_TYPE_PointerTongwt__AddressBookList);
- soap_serialize_PointerTongwt__AddressBookList(soap, &((_ngwm__getAddressBookListResponse*)this)->books);
- soap_embedded(soap, &((_ngwm__getAddressBookListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getAddressBookListResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__getAddressBookListResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__getAddressBookListResponse*)this)->books = NULL;
- ((_ngwm__getAddressBookListResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__getAddressBookListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAddressBookListResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getAddressBookListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getAddressBookListResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getAddressBookListResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAddressBookListResponse), type);
- soap_out_PointerTongwt__AddressBookList(soap, "ngwm:books", -1, &(((_ngwm__getAddressBookListResponse*)a)->books), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getAddressBookListResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getAddressBookListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getAddressBookListResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_get__ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getAddressBookListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getAddressBookListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getAddressBookListResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_in__ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, _ngwm__getAddressBookListResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getAddressBookListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAddressBookListResponse, sizeof(_ngwm__getAddressBookListResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getAddressBookListResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getAddressBookListResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_books1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_books1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AddressBookList(soap, "ngwm:books", &(((_ngwm__getAddressBookListResponse*)a)->books), "ngwt:AddressBookList"))
- { soap_flag_books1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getAddressBookListResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getAddressBookListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListResponse, 0, sizeof(_ngwm__getAddressBookListResponse), 0, soap_copy__ngwm__getAddressBookListResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_new__ngwm__getAddressBookListResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getAddressBookListResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAddressBookListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAddressBookListResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getAddressBookListResponse;
- if (size)
- *size = sizeof(_ngwm__getAddressBookListResponse);
- ((_ngwm__getAddressBookListResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getAddressBookListResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__getAddressBookListResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__getAddressBookListResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getAddressBookListResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAddressBookListResponse %p -> %p\n", q, p));
- *(_ngwm__getAddressBookListResponse*)p = *(_ngwm__getAddressBookListResponse*)q;
-}
-
-void _ngwm__getAddressBookListRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void _ngwm__getAddressBookListRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int _ngwm__getAddressBookListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAddressBookListRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__getAddressBookListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__getAddressBookListRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getAddressBookListRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAddressBookListRequest), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__getAddressBookListRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__getAddressBookListRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_get__ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__getAddressBookListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__getAddressBookListRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__getAddressBookListRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_in__ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, _ngwm__getAddressBookListRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__getAddressBookListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAddressBookListRequest, sizeof(_ngwm__getAddressBookListRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__getAddressBookListRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__getAddressBookListRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__getAddressBookListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListRequest, 0, sizeof(_ngwm__getAddressBookListRequest), 0, soap_copy__ngwm__getAddressBookListRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_new__ngwm__getAddressBookListRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__getAddressBookListRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAddressBookListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAddressBookListRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__getAddressBookListRequest;
- if (size)
- *size = sizeof(_ngwm__getAddressBookListRequest);
- ((_ngwm__getAddressBookListRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__getAddressBookListRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__getAddressBookListRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__getAddressBookListRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__getAddressBookListRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAddressBookListRequest %p -> %p\n", q, p));
- *(_ngwm__getAddressBookListRequest*)p = *(_ngwm__getAddressBookListRequest*)q;
-}
-
-void _ngwm__forwardResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__forwardResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__forwardResponse*)this)->item);
- soap_embedded(soap, &((_ngwm__forwardResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__forwardResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__forwardResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__forwardResponse*)this)->item = NULL;
- ((_ngwm__forwardResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__forwardResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__forwardResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__forwardResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__forwardResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardResponse(struct soap *soap, const char *tag, int id, const _ngwm__forwardResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__forwardResponse), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__forwardResponse*)a)->item), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__forwardResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__forwardResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__forwardResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_get__ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__forwardResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__forwardResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__forwardResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_in__ngwm__forwardResponse(struct soap *soap, const char *tag, _ngwm__forwardResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__forwardResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__forwardResponse, sizeof(_ngwm__forwardResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__forwardResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__forwardResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__forwardResponse*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__forwardResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__forwardResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardResponse, 0, sizeof(_ngwm__forwardResponse), 0, soap_copy__ngwm__forwardResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_new__ngwm__forwardResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__forwardResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_instantiate__ngwm__forwardResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__forwardResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__forwardResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__forwardResponse;
- if (size)
- *size = sizeof(_ngwm__forwardResponse);
- ((_ngwm__forwardResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__forwardResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__forwardResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__forwardResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__forwardResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__forwardResponse %p -> %p\n", q, p));
- *(_ngwm__forwardResponse*)p = *(_ngwm__forwardResponse*)q;
-}
-
-void _ngwm__forwardRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__forwardRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__forwardRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__forwardRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__forwardRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__forwardRequest*)this)->embed, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void _ngwm__forwardRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__forwardRequest*)this)->id);
- ((_ngwm__forwardRequest*)this)->view = NULL;
- ((_ngwm__forwardRequest*)this)->embed = (bool)0;
- /* transient soap skipped */
-}
-
-int _ngwm__forwardRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__forwardRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__forwardRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__forwardRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardRequest(struct soap *soap, const char *tag, int id, const _ngwm__forwardRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__forwardRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__forwardRequest*)a)->id), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__forwardRequest*)a)->view), "");
- soap_out_bool(soap, "ngwm:embed", -1, &(((_ngwm__forwardRequest*)a)->embed), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__forwardRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__forwardRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_get__ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__forwardRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__forwardRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__forwardRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_in__ngwm__forwardRequest(struct soap *soap, const char *tag, _ngwm__forwardRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__forwardRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__forwardRequest, sizeof(_ngwm__forwardRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__forwardRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__forwardRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_view1 = 1, soap_flag_embed1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__forwardRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__forwardRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_embed1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwm:embed", &(((_ngwm__forwardRequest*)a)->embed), ""))
- { soap_flag_embed1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__forwardRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardRequest, 0, sizeof(_ngwm__forwardRequest), 0, soap_copy__ngwm__forwardRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_new__ngwm__forwardRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__forwardRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_instantiate__ngwm__forwardRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__forwardRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__forwardRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__forwardRequest;
- if (size)
- *size = sizeof(_ngwm__forwardRequest);
- ((_ngwm__forwardRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__forwardRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__forwardRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__forwardRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__forwardRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__forwardRequest %p -> %p\n", q, p));
- *(_ngwm__forwardRequest*)p = *(_ngwm__forwardRequest*)q;
-}
-
-void _ngwm__executeRuleResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__executeRuleResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__executeRuleResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__executeRuleResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__executeRuleResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__executeRuleResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__executeRuleResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__executeRuleResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__executeRuleResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleResponse(struct soap *soap, const char *tag, int id, const _ngwm__executeRuleResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__executeRuleResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__executeRuleResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__executeRuleResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__executeRuleResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_get__ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__executeRuleResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__executeRuleResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__executeRuleResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_in__ngwm__executeRuleResponse(struct soap *soap, const char *tag, _ngwm__executeRuleResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__executeRuleResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__executeRuleResponse, sizeof(_ngwm__executeRuleResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__executeRuleResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__executeRuleResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__executeRuleResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__executeRuleResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleResponse, 0, sizeof(_ngwm__executeRuleResponse), 0, soap_copy__ngwm__executeRuleResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_new__ngwm__executeRuleResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__executeRuleResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__executeRuleResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__executeRuleResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__executeRuleResponse;
- if (size)
- *size = sizeof(_ngwm__executeRuleResponse);
- ((_ngwm__executeRuleResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__executeRuleResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__executeRuleResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__executeRuleResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__executeRuleResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__executeRuleResponse %p -> %p\n", q, p));
- *(_ngwm__executeRuleResponse*)p = *(_ngwm__executeRuleResponse*)q;
-}
-
-void _ngwm__executeRuleRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__executeRuleRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__executeRuleRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__executeRuleRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__executeRuleRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__executeRuleRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__executeRuleRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__executeRuleRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__executeRuleRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleRequest(struct soap *soap, const char *tag, int id, const _ngwm__executeRuleRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__executeRuleRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__executeRuleRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__executeRuleRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__executeRuleRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_get__ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__executeRuleRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__executeRuleRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__executeRuleRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_in__ngwm__executeRuleRequest(struct soap *soap, const char *tag, _ngwm__executeRuleRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__executeRuleRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__executeRuleRequest, sizeof(_ngwm__executeRuleRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__executeRuleRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__executeRuleRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__executeRuleRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__executeRuleRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleRequest, 0, sizeof(_ngwm__executeRuleRequest), 0, soap_copy__ngwm__executeRuleRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_new__ngwm__executeRuleRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__executeRuleRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__executeRuleRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__executeRuleRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__executeRuleRequest;
- if (size)
- *size = sizeof(_ngwm__executeRuleRequest);
- ((_ngwm__executeRuleRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__executeRuleRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__executeRuleRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__executeRuleRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__executeRuleRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__executeRuleRequest %p -> %p\n", q, p));
- *(_ngwm__executeRuleRequest*)p = *(_ngwm__executeRuleRequest*)q;
-}
-
-void _ngwm__destroyCursorResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__destroyCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__destroyCursorResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__destroyCursorResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__destroyCursorResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__destroyCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__destroyCursorResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__destroyCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__destroyCursorResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__destroyCursorResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__destroyCursorResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__destroyCursorResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__destroyCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__destroyCursorResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_get__ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__destroyCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__destroyCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__destroyCursorResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_in__ngwm__destroyCursorResponse(struct soap *soap, const char *tag, _ngwm__destroyCursorResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__destroyCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__destroyCursorResponse, sizeof(_ngwm__destroyCursorResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__destroyCursorResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__destroyCursorResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__destroyCursorResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__destroyCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorResponse, 0, sizeof(_ngwm__destroyCursorResponse), 0, soap_copy__ngwm__destroyCursorResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_new__ngwm__destroyCursorResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__destroyCursorResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__destroyCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__destroyCursorResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__destroyCursorResponse;
- if (size)
- *size = sizeof(_ngwm__destroyCursorResponse);
- ((_ngwm__destroyCursorResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__destroyCursorResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__destroyCursorResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__destroyCursorResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__destroyCursorResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__destroyCursorResponse %p -> %p\n", q, p));
- *(_ngwm__destroyCursorResponse*)p = *(_ngwm__destroyCursorResponse*)q;
-}
-
-void _ngwm__destroyCursorRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__destroyCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__destroyCursorRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__destroyCursorRequest*)this)->cursor, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__destroyCursorRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__destroyCursorRequest*)this)->container);
- soap_default_int(soap, &((_ngwm__destroyCursorRequest*)this)->cursor);
- /* transient soap skipped */
-}
-
-int _ngwm__destroyCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__destroyCursorRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__destroyCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__destroyCursorRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__destroyCursorRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__destroyCursorRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__destroyCursorRequest*)a)->container), "");
- soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__destroyCursorRequest*)a)->cursor), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__destroyCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__destroyCursorRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_get__ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__destroyCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__destroyCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__destroyCursorRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_in__ngwm__destroyCursorRequest(struct soap *soap, const char *tag, _ngwm__destroyCursorRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__destroyCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__destroyCursorRequest, sizeof(_ngwm__destroyCursorRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__destroyCursorRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__destroyCursorRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_cursor1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__destroyCursorRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__destroyCursorRequest*)a)->cursor), ""))
- { soap_flag_cursor1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__destroyCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorRequest, 0, sizeof(_ngwm__destroyCursorRequest), 0, soap_copy__ngwm__destroyCursorRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_new__ngwm__destroyCursorRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__destroyCursorRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__destroyCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__destroyCursorRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__destroyCursorRequest;
- if (size)
- *size = sizeof(_ngwm__destroyCursorRequest);
- ((_ngwm__destroyCursorRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__destroyCursorRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__destroyCursorRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__destroyCursorRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__destroyCursorRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__destroyCursorRequest %p -> %p\n", q, p));
- *(_ngwm__destroyCursorRequest*)p = *(_ngwm__destroyCursorRequest*)q;
-}
-
-void _ngwm__delegateResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__delegateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__delegateResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__delegateResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__delegateResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__delegateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__delegateResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__delegateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__delegateResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateResponse(struct soap *soap, const char *tag, int id, const _ngwm__delegateResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__delegateResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__delegateResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__delegateResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__delegateResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_get__ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__delegateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__delegateResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__delegateResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_in__ngwm__delegateResponse(struct soap *soap, const char *tag, _ngwm__delegateResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__delegateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__delegateResponse, sizeof(_ngwm__delegateResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__delegateResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__delegateResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__delegateResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__delegateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateResponse, 0, sizeof(_ngwm__delegateResponse), 0, soap_copy__ngwm__delegateResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_new__ngwm__delegateResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__delegateResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_instantiate__ngwm__delegateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__delegateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__delegateResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__delegateResponse;
- if (size)
- *size = sizeof(_ngwm__delegateResponse);
- ((_ngwm__delegateResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__delegateResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__delegateResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__delegateResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__delegateResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__delegateResponse %p -> %p\n", q, p));
- *(_ngwm__delegateResponse*)p = *(_ngwm__delegateResponse*)q;
-}
-
-void _ngwm__delegateRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__delegateRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__delegateRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__delegateRequest*)this)->commentToOrganizer, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__delegateRequest*)this)->commentToOrganizer);
- soap_embedded(soap, &((_ngwm__delegateRequest*)this)->commentToDelegatee, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__delegateRequest*)this)->commentToDelegatee);
- soap_embedded(soap, &((_ngwm__delegateRequest*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((_ngwm__delegateRequest*)this)->distribution);
- soap_embedded(soap, &((_ngwm__delegateRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong);
- /* transient soap skipped */
-}
-
-void _ngwm__delegateRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__delegateRequest*)this)->id);
- ((_ngwm__delegateRequest*)this)->commentToOrganizer = NULL;
- ((_ngwm__delegateRequest*)this)->commentToDelegatee = NULL;
- ((_ngwm__delegateRequest*)this)->distribution = NULL;
- ((_ngwm__delegateRequest*)this)->recurrenceAllInstances = 0;
- /* transient soap skipped */
-}
-
-int _ngwm__delegateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__delegateRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__delegateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__delegateRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateRequest(struct soap *soap, const char *tag, int id, const _ngwm__delegateRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__delegateRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__delegateRequest*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwm:commentToOrganizer", -1, &(((_ngwm__delegateRequest*)a)->commentToOrganizer), "");
- soap_out_PointerTostd__string(soap, "ngwm:commentToDelegatee", -1, &(((_ngwm__delegateRequest*)a)->commentToDelegatee), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwm:distribution", -1, &(((_ngwm__delegateRequest*)a)->distribution), "");
- soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__delegateRequest*)a)->recurrenceAllInstances), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__delegateRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__delegateRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_get__ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__delegateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__delegateRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__delegateRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_in__ngwm__delegateRequest(struct soap *soap, const char *tag, _ngwm__delegateRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__delegateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__delegateRequest, sizeof(_ngwm__delegateRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__delegateRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__delegateRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_commentToOrganizer1 = 1, soap_flag_commentToDelegatee1 = 1, soap_flag_distribution1 = 1, soap_flag_recurrenceAllInstances1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__delegateRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_commentToOrganizer1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:commentToOrganizer", &(((_ngwm__delegateRequest*)a)->commentToOrganizer), ""))
- { soap_flag_commentToOrganizer1 = 0;
- continue;
- }
- if (soap_flag_commentToDelegatee1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:commentToDelegatee", &(((_ngwm__delegateRequest*)a)->commentToDelegatee), ""))
- { soap_flag_commentToDelegatee1 = 0;
- continue;
- }
- if (soap_flag_distribution1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwm:distribution", &(((_ngwm__delegateRequest*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution1 = 0;
- continue;
- }
- if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__delegateRequest*)a)->recurrenceAllInstances), ""))
- { soap_flag_recurrenceAllInstances1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_distribution1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__delegateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateRequest, 0, sizeof(_ngwm__delegateRequest), 0, soap_copy__ngwm__delegateRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_new__ngwm__delegateRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__delegateRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_instantiate__ngwm__delegateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__delegateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__delegateRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__delegateRequest;
- if (size)
- *size = sizeof(_ngwm__delegateRequest);
- ((_ngwm__delegateRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__delegateRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__delegateRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__delegateRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__delegateRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__delegateRequest %p -> %p\n", q, p));
- *(_ngwm__delegateRequest*)p = *(_ngwm__delegateRequest*)q;
-}
-
-void _ngwm__declineResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__declineResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__declineResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__declineResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__declineResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__declineResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__declineResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__declineResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__declineResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineResponse(struct soap *soap, const char *tag, int id, const _ngwm__declineResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__declineResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__declineResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__declineResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__declineResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_get__ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__declineResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__declineResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__declineResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_in__ngwm__declineResponse(struct soap *soap, const char *tag, _ngwm__declineResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__declineResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__declineResponse, sizeof(_ngwm__declineResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__declineResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__declineResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__declineResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__declineResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineResponse, 0, sizeof(_ngwm__declineResponse), 0, soap_copy__ngwm__declineResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_new__ngwm__declineResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__declineResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_instantiate__ngwm__declineResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__declineResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__declineResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__declineResponse;
- if (size)
- *size = sizeof(_ngwm__declineResponse);
- ((_ngwm__declineResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__declineResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__declineResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__declineResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__declineResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__declineResponse %p -> %p\n", q, p));
- *(_ngwm__declineResponse*)p = *(_ngwm__declineResponse*)q;
-}
-
-void _ngwm__declineRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__declineRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__declineRequest*)this)->items);
- soap_embedded(soap, &((_ngwm__declineRequest*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__declineRequest*)this)->comment);
- soap_embedded(soap, &((_ngwm__declineRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong);
- /* transient soap skipped */
-}
-
-void _ngwm__declineRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__declineRequest*)this)->items = NULL;
- ((_ngwm__declineRequest*)this)->comment = NULL;
- ((_ngwm__declineRequest*)this)->recurrenceAllInstances = 0;
- /* transient soap skipped */
-}
-
-int _ngwm__declineRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__declineRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__declineRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__declineRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineRequest(struct soap *soap, const char *tag, int id, const _ngwm__declineRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__declineRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__declineRequest*)a)->items), "");
- soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__declineRequest*)a)->comment), "");
- soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__declineRequest*)a)->recurrenceAllInstances), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__declineRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__declineRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_get__ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__declineRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__declineRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__declineRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_in__ngwm__declineRequest(struct soap *soap, const char *tag, _ngwm__declineRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__declineRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__declineRequest, sizeof(_ngwm__declineRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__declineRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__declineRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_recurrenceAllInstances1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__declineRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__declineRequest*)a)->comment), ""))
- { soap_flag_comment1 = 0;
- continue;
- }
- if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__declineRequest*)a)->recurrenceAllInstances), ""))
- { soap_flag_recurrenceAllInstances1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__declineRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineRequest, 0, sizeof(_ngwm__declineRequest), 0, soap_copy__ngwm__declineRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_new__ngwm__declineRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__declineRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_instantiate__ngwm__declineRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__declineRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__declineRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__declineRequest;
- if (size)
- *size = sizeof(_ngwm__declineRequest);
- ((_ngwm__declineRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__declineRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__declineRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__declineRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__declineRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__declineRequest %p -> %p\n", q, p));
- *(_ngwm__declineRequest*)p = *(_ngwm__declineRequest*)q;
-}
-
-void _ngwm__createSignatureResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createSignatureResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createSignatureResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createSignatureResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createSignatureResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createSignatureResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createSignatureResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createSignatureResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createSignatureResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureResponse(struct soap *soap, const char *tag, int id, const _ngwm__createSignatureResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createSignatureResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createSignatureResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createSignatureResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createSignatureResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_get__ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createSignatureResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createSignatureResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createSignatureResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_in__ngwm__createSignatureResponse(struct soap *soap, const char *tag, _ngwm__createSignatureResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createSignatureResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createSignatureResponse, sizeof(_ngwm__createSignatureResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createSignatureResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createSignatureResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createSignatureResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createSignatureResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureResponse, 0, sizeof(_ngwm__createSignatureResponse), 0, soap_copy__ngwm__createSignatureResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_new__ngwm__createSignatureResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createSignatureResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createSignatureResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createSignatureResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createSignatureResponse;
- if (size)
- *size = sizeof(_ngwm__createSignatureResponse);
- ((_ngwm__createSignatureResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createSignatureResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createSignatureResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createSignatureResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createSignatureResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createSignatureResponse %p -> %p\n", q, p));
- *(_ngwm__createSignatureResponse*)p = *(_ngwm__createSignatureResponse*)q;
-}
-
-void _ngwm__createSignatureRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createSignatureRequest*)this)->signature, SOAP_TYPE_PointerTongwt__Signature);
- soap_serialize_PointerTongwt__Signature(soap, &((_ngwm__createSignatureRequest*)this)->signature);
- /* transient soap skipped */
-}
-
-void _ngwm__createSignatureRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createSignatureRequest*)this)->signature = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createSignatureRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createSignatureRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createSignatureRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createSignatureRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureRequest(struct soap *soap, const char *tag, int id, const _ngwm__createSignatureRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createSignatureRequest), type);
- soap_out_PointerTongwt__Signature(soap, "ngwm:signature", -1, &(((_ngwm__createSignatureRequest*)a)->signature), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createSignatureRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createSignatureRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_get__ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createSignatureRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createSignatureRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_in__ngwm__createSignatureRequest(struct soap *soap, const char *tag, _ngwm__createSignatureRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createSignatureRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createSignatureRequest, sizeof(_ngwm__createSignatureRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createSignatureRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createSignatureRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_signature1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_signature1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Signature(soap, "ngwm:signature", &(((_ngwm__createSignatureRequest*)a)->signature), "ngwt:Signature"))
- { soap_flag_signature1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_signature1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createSignatureRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureRequest, 0, sizeof(_ngwm__createSignatureRequest), 0, soap_copy__ngwm__createSignatureRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_new__ngwm__createSignatureRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createSignatureRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createSignatureRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createSignatureRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createSignatureRequest;
- if (size)
- *size = sizeof(_ngwm__createSignatureRequest);
- ((_ngwm__createSignatureRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createSignatureRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createSignatureRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createSignatureRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createSignatureRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createSignatureRequest %p -> %p\n", q, p));
- *(_ngwm__createSignatureRequest*)p = *(_ngwm__createSignatureRequest*)q;
-}
-
-void _ngwm__createProxyAccessResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createProxyAccessResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__createProxyAccessResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__createProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createProxyAccessResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createProxyAccessResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createProxyAccessResponse*)this)->id = NULL;
- ((_ngwm__createProxyAccessResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createProxyAccessResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createProxyAccessResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__createProxyAccessResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createProxyAccessResponse), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createProxyAccessResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createProxyAccessResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createProxyAccessResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createProxyAccessResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__createProxyAccessResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createProxyAccessResponse, sizeof(_ngwm__createProxyAccessResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createProxyAccessResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createProxyAccessResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__createProxyAccessResponse*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createProxyAccessResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessResponse, 0, sizeof(_ngwm__createProxyAccessResponse), 0, soap_copy__ngwm__createProxyAccessResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__createProxyAccessResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createProxyAccessResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createProxyAccessResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createProxyAccessResponse;
- if (size)
- *size = sizeof(_ngwm__createProxyAccessResponse);
- ((_ngwm__createProxyAccessResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createProxyAccessResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createProxyAccessResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createProxyAccessResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createProxyAccessResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createProxyAccessResponse %p -> %p\n", q, p));
- *(_ngwm__createProxyAccessResponse*)p = *(_ngwm__createProxyAccessResponse*)q;
-}
-
-void _ngwm__createProxyAccessRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createProxyAccessRequest*)this)->entry, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &((_ngwm__createProxyAccessRequest*)this)->entry);
- /* transient soap skipped */
-}
-
-void _ngwm__createProxyAccessRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createProxyAccessRequest*)this)->entry = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createProxyAccessRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createProxyAccessRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__createProxyAccessRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createProxyAccessRequest), type);
- soap_out_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", -1, &(((_ngwm__createProxyAccessRequest*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createProxyAccessRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createProxyAccessRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__createProxyAccessRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createProxyAccessRequest, sizeof(_ngwm__createProxyAccessRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createProxyAccessRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createProxyAccessRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_entry1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", &(((_ngwm__createProxyAccessRequest*)a)->entry), "ngwt:AccessRightEntry"))
- { soap_flag_entry1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessRequest, 0, sizeof(_ngwm__createProxyAccessRequest), 0, soap_copy__ngwm__createProxyAccessRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__createProxyAccessRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createProxyAccessRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createProxyAccessRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createProxyAccessRequest;
- if (size)
- *size = sizeof(_ngwm__createProxyAccessRequest);
- ((_ngwm__createProxyAccessRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createProxyAccessRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createProxyAccessRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createProxyAccessRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createProxyAccessRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createProxyAccessRequest %p -> %p\n", q, p));
- *(_ngwm__createProxyAccessRequest*)p = *(_ngwm__createProxyAccessRequest*)q;
-}
-
-void _ngwm__createJunkEntryResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createJunkEntryResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__createJunkEntryResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__createJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createJunkEntryResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createJunkEntryResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createJunkEntryResponse*)this)->id = NULL;
- ((_ngwm__createJunkEntryResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createJunkEntryResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createJunkEntryResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__createJunkEntryResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createJunkEntryResponse), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createJunkEntryResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createJunkEntryResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createJunkEntryResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createJunkEntryResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__createJunkEntryResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createJunkEntryResponse, sizeof(_ngwm__createJunkEntryResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createJunkEntryResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createJunkEntryResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__createJunkEntryResponse*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createJunkEntryResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryResponse, 0, sizeof(_ngwm__createJunkEntryResponse), 0, soap_copy__ngwm__createJunkEntryResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__createJunkEntryResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createJunkEntryResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createJunkEntryResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createJunkEntryResponse;
- if (size)
- *size = sizeof(_ngwm__createJunkEntryResponse);
- ((_ngwm__createJunkEntryResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createJunkEntryResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createJunkEntryResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createJunkEntryResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createJunkEntryResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createJunkEntryResponse %p -> %p\n", q, p));
- *(_ngwm__createJunkEntryResponse*)p = *(_ngwm__createJunkEntryResponse*)q;
-}
-
-void _ngwm__createJunkEntryRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createJunkEntryRequest*)this)->entry, SOAP_TYPE_PointerTongwt__JunkEntry);
- soap_serialize_PointerTongwt__JunkEntry(soap, &((_ngwm__createJunkEntryRequest*)this)->entry);
- /* transient soap skipped */
-}
-
-void _ngwm__createJunkEntryRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createJunkEntryRequest*)this)->entry = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createJunkEntryRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createJunkEntryRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__createJunkEntryRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createJunkEntryRequest), type);
- soap_out_PointerTongwt__JunkEntry(soap, "ngwm:entry", -1, &(((_ngwm__createJunkEntryRequest*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createJunkEntryRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createJunkEntryRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__createJunkEntryRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createJunkEntryRequest, sizeof(_ngwm__createJunkEntryRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createJunkEntryRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createJunkEntryRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_entry1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkEntry(soap, "ngwm:entry", &(((_ngwm__createJunkEntryRequest*)a)->entry), "ngwt:JunkEntry"))
- { soap_flag_entry1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryRequest, 0, sizeof(_ngwm__createJunkEntryRequest), 0, soap_copy__ngwm__createJunkEntryRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__createJunkEntryRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createJunkEntryRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createJunkEntryRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createJunkEntryRequest;
- if (size)
- *size = sizeof(_ngwm__createJunkEntryRequest);
- ((_ngwm__createJunkEntryRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createJunkEntryRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createJunkEntryRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createJunkEntryRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createJunkEntryRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createJunkEntryRequest %p -> %p\n", q, p));
- *(_ngwm__createJunkEntryRequest*)p = *(_ngwm__createJunkEntryRequest*)q;
-}
-
-void _ngwm__createItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemsResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__createItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemsResponse*)this)->id);
- ((_ngwm__createItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__createItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemsResponse), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createItemsResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_get__ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_in__ngwm__createItemsResponse(struct soap *soap, const char *tag, _ngwm__createItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemsResponse, sizeof(_ngwm__createItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__createItemsResponse*)a)->id), "ngwt:uid"))
- continue;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsResponse, 0, sizeof(_ngwm__createItemsResponse), 0, soap_copy__ngwm__createItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_new__ngwm__createItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createItemsResponse;
- if (size)
- *size = sizeof(_ngwm__createItemsResponse);
- ((_ngwm__createItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemsResponse %p -> %p\n", q, p));
- *(_ngwm__createItemsResponse*)p = *(_ngwm__createItemsResponse*)q;
-}
-
-void _ngwm__createItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((_ngwm__createItemsRequest*)this)->item);
- /* transient soap skipped */
-}
-
-void _ngwm__createItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((_ngwm__createItemsRequest*)this)->item);
- /* transient soap skipped */
-}
-
-int _ngwm__createItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__createItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemsRequest), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__createItemsRequest*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_get__ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_in__ngwm__createItemsRequest(struct soap *soap, const char *tag, _ngwm__createItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemsRequest, sizeof(_ngwm__createItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createItemsRequest *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__createItemsRequest*)a)->item), "ngwt:Item"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsRequest, 0, sizeof(_ngwm__createItemsRequest), 0, soap_copy__ngwm__createItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_new__ngwm__createItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createItemsRequest;
- if (size)
- *size = sizeof(_ngwm__createItemsRequest);
- ((_ngwm__createItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemsRequest %p -> %p\n", q, p));
- *(_ngwm__createItemsRequest*)p = *(_ngwm__createItemsRequest*)q;
-}
-
-void _ngwm__createItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__createItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemResponse*)this)->id);
- ((_ngwm__createItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__createItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemResponse), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createItemResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_get__ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_in__ngwm__createItemResponse(struct soap *soap, const char *tag, _ngwm__createItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemResponse, sizeof(_ngwm__createItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__createItemResponse*)a)->id), "ngwt:uid"))
- continue;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemResponse, 0, sizeof(_ngwm__createItemResponse), 0, soap_copy__ngwm__createItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_new__ngwm__createItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createItemResponse;
- if (size)
- *size = sizeof(_ngwm__createItemResponse);
- ((_ngwm__createItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemResponse %p -> %p\n", q, p));
- *(_ngwm__createItemResponse*)p = *(_ngwm__createItemResponse*)q;
-}
-
-void _ngwm__createItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createItemRequest*)this)->item, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((_ngwm__createItemRequest*)this)->item);
- soap_embedded(soap, &((_ngwm__createItemRequest*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification);
- soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((_ngwm__createItemRequest*)this)->notification);
- /* transient soap skipped */
-}
-
-void _ngwm__createItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createItemRequest*)this)->item = NULL;
- ((_ngwm__createItemRequest*)this)->notification = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__createItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemRequest), type);
- soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__createItemRequest*)a)->item), "");
- soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", -1, &(((_ngwm__createItemRequest*)a)->notification), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_get__ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_in__ngwm__createItemRequest(struct soap *soap, const char *tag, _ngwm__createItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemRequest, sizeof(_ngwm__createItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_item1 = 1, soap_flag_notification1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__createItemRequest*)a)->item), "ngwt:Item"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", &(((_ngwm__createItemRequest*)a)->notification), "ngwt:SharedFolderNotification"))
- { soap_flag_notification1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_item1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemRequest, 0, sizeof(_ngwm__createItemRequest), 0, soap_copy__ngwm__createItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_new__ngwm__createItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createItemRequest;
- if (size)
- *size = sizeof(_ngwm__createItemRequest);
- ((_ngwm__createItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemRequest %p -> %p\n", q, p));
- *(_ngwm__createItemRequest*)p = *(_ngwm__createItemRequest*)q;
-}
-
-void _ngwm__createCursorResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createCursorResponse*)this)->cursor, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((_ngwm__createCursorResponse*)this)->cursor);
- soap_embedded(soap, &((_ngwm__createCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createCursorResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__createCursorResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__createCursorResponse*)this)->cursor = NULL;
- ((_ngwm__createCursorResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createCursorResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createCursorResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__createCursorResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createCursorResponse), type);
- soap_out_PointerToint(soap, "ngwm:cursor", -1, &(((_ngwm__createCursorResponse*)a)->cursor), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createCursorResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createCursorResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_get__ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createCursorResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_in__ngwm__createCursorResponse(struct soap *soap, const char *tag, _ngwm__createCursorResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createCursorResponse, sizeof(_ngwm__createCursorResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createCursorResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createCursorResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_cursor1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwm:cursor", &(((_ngwm__createCursorResponse*)a)->cursor), ""))
- { soap_flag_cursor1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createCursorResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorResponse, 0, sizeof(_ngwm__createCursorResponse), 0, soap_copy__ngwm__createCursorResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_new__ngwm__createCursorResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createCursorResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__createCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createCursorResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createCursorResponse;
- if (size)
- *size = sizeof(_ngwm__createCursorResponse);
- ((_ngwm__createCursorResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createCursorResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__createCursorResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__createCursorResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createCursorResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createCursorResponse %p -> %p\n", q, p));
- *(_ngwm__createCursorResponse*)p = *(_ngwm__createCursorResponse*)q;
-}
-
-void _ngwm__createCursorRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__createCursorRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->view, SOAP_TYPE_PointerTongwt__View);
- soap_serialize_PointerTongwt__View(soap, &((_ngwm__createCursorRequest*)this)->view);
- soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->filter, SOAP_TYPE_PointerTongwt__Filter);
- soap_serialize_PointerTongwt__Filter(soap, &((_ngwm__createCursorRequest*)this)->filter);
- /* transient soap skipped */
-}
-
-void _ngwm__createCursorRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__createCursorRequest*)this)->container);
- ((_ngwm__createCursorRequest*)this)->view = NULL;
- ((_ngwm__createCursorRequest*)this)->filter = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__createCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createCursorRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__createCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__createCursorRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__createCursorRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createCursorRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__createCursorRequest*)a)->container), "");
- soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__createCursorRequest*)a)->view), "");
- soap_out_PointerTongwt__Filter(soap, "ngwm:filter", -1, &(((_ngwm__createCursorRequest*)a)->filter), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__createCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__createCursorRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_get__ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__createCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__createCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__createCursorRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_in__ngwm__createCursorRequest(struct soap *soap, const char *tag, _ngwm__createCursorRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__createCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createCursorRequest, sizeof(_ngwm__createCursorRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__createCursorRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__createCursorRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_filter1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__createCursorRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__createCursorRequest*)a)->view), "ngwt:View"))
- { soap_flag_view1 = 0;
- continue;
- }
- if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Filter(soap, "ngwm:filter", &(((_ngwm__createCursorRequest*)a)->filter), "ngwt:Filter"))
- { soap_flag_filter1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__createCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorRequest, 0, sizeof(_ngwm__createCursorRequest), 0, soap_copy__ngwm__createCursorRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_new__ngwm__createCursorRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__createCursorRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__createCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createCursorRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__createCursorRequest;
- if (size)
- *size = sizeof(_ngwm__createCursorRequest);
- ((_ngwm__createCursorRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__createCursorRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__createCursorRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__createCursorRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__createCursorRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createCursorRequest %p -> %p\n", q, p));
- *(_ngwm__createCursorRequest*)p = *(_ngwm__createCursorRequest*)q;
-}
-
-void _ngwm__completeResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__completeResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__completeResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__completeResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__completeResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__completeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__completeResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__completeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__completeResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeResponse(struct soap *soap, const char *tag, int id, const _ngwm__completeResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__completeResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__completeResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__completeResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__completeResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_get__ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__completeResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__completeResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__completeResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_in__ngwm__completeResponse(struct soap *soap, const char *tag, _ngwm__completeResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__completeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__completeResponse, sizeof(_ngwm__completeResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__completeResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__completeResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__completeResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__completeResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeResponse, 0, sizeof(_ngwm__completeResponse), 0, soap_copy__ngwm__completeResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_new__ngwm__completeResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__completeResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_instantiate__ngwm__completeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__completeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__completeResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__completeResponse;
- if (size)
- *size = sizeof(_ngwm__completeResponse);
- ((_ngwm__completeResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__completeResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__completeResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__completeResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__completeResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__completeResponse %p -> %p\n", q, p));
- *(_ngwm__completeResponse*)p = *(_ngwm__completeResponse*)q;
-}
-
-void _ngwm__completeRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__completeRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__completeRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__completeRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__completeRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__completeRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__completeRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__completeRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__completeRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeRequest(struct soap *soap, const char *tag, int id, const _ngwm__completeRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__completeRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__completeRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__completeRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__completeRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_get__ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__completeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__completeRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__completeRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_in__ngwm__completeRequest(struct soap *soap, const char *tag, _ngwm__completeRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__completeRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__completeRequest, sizeof(_ngwm__completeRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__completeRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__completeRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__completeRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__completeRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeRequest, 0, sizeof(_ngwm__completeRequest), 0, soap_copy__ngwm__completeRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_new__ngwm__completeRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__completeRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_instantiate__ngwm__completeRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__completeRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__completeRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__completeRequest;
- if (size)
- *size = sizeof(_ngwm__completeRequest);
- ((_ngwm__completeRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__completeRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__completeRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__completeRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__completeRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__completeRequest %p -> %p\n", q, p));
- *(_ngwm__completeRequest*)p = *(_ngwm__completeRequest*)q;
-}
-
-void _ngwm__closeFreeBusySessionResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__closeFreeBusySessionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__closeFreeBusySessionResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__closeFreeBusySessionResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__closeFreeBusySessionResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__closeFreeBusySessionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__closeFreeBusySessionResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__closeFreeBusySessionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__closeFreeBusySessionResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, int id, const _ngwm__closeFreeBusySessionResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__closeFreeBusySessionResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__closeFreeBusySessionResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__closeFreeBusySessionResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__closeFreeBusySessionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__closeFreeBusySessionResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__closeFreeBusySessionResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__closeFreeBusySessionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, sizeof(_ngwm__closeFreeBusySessionResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__closeFreeBusySessionResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__closeFreeBusySessionResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__closeFreeBusySessionResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__closeFreeBusySessionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, 0, sizeof(_ngwm__closeFreeBusySessionResponse), 0, soap_copy__ngwm__closeFreeBusySessionResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__closeFreeBusySessionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__closeFreeBusySessionResponse;
- if (size)
- *size = sizeof(_ngwm__closeFreeBusySessionResponse);
- ((_ngwm__closeFreeBusySessionResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__closeFreeBusySessionResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__closeFreeBusySessionResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__closeFreeBusySessionResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__closeFreeBusySessionResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__closeFreeBusySessionResponse %p -> %p\n", q, p));
- *(_ngwm__closeFreeBusySessionResponse*)p = *(_ngwm__closeFreeBusySessionResponse*)q;
-}
-
-void _ngwm__closeFreeBusySessionRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__closeFreeBusySessionRequest*)this)->freeBusySessionId, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void _ngwm__closeFreeBusySessionRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_int(soap, &((_ngwm__closeFreeBusySessionRequest*)this)->freeBusySessionId);
- /* transient soap skipped */
-}
-
-int _ngwm__closeFreeBusySessionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__closeFreeBusySessionRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__closeFreeBusySessionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__closeFreeBusySessionRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const _ngwm__closeFreeBusySessionRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest), type);
- soap_out_int(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__closeFreeBusySessionRequest*)a)->freeBusySessionId), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__closeFreeBusySessionRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__closeFreeBusySessionRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__closeFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__closeFreeBusySessionRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__closeFreeBusySessionRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__closeFreeBusySessionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, sizeof(_ngwm__closeFreeBusySessionRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__closeFreeBusySessionRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__closeFreeBusySessionRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_freeBusySessionId1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_freeBusySessionId1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwm:freeBusySessionId", &(((_ngwm__closeFreeBusySessionRequest*)a)->freeBusySessionId), ""))
- { soap_flag_freeBusySessionId1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_freeBusySessionId1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__closeFreeBusySessionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, 0, sizeof(_ngwm__closeFreeBusySessionRequest), 0, soap_copy__ngwm__closeFreeBusySessionRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__closeFreeBusySessionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__closeFreeBusySessionRequest;
- if (size)
- *size = sizeof(_ngwm__closeFreeBusySessionRequest);
- ((_ngwm__closeFreeBusySessionRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__closeFreeBusySessionRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__closeFreeBusySessionRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__closeFreeBusySessionRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__closeFreeBusySessionRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__closeFreeBusySessionRequest %p -> %p\n", q, p));
- *(_ngwm__closeFreeBusySessionRequest*)p = *(_ngwm__closeFreeBusySessionRequest*)q;
-}
-
-void _ngwm__addMembersResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addMembersResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addMembersResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__addMembersResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__addMembersResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__addMembersResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addMembersResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addMembersResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addMembersResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersResponse(struct soap *soap, const char *tag, int id, const _ngwm__addMembersResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addMembersResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addMembersResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addMembersResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addMembersResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_get__ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addMembersResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addMembersResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addMembersResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_in__ngwm__addMembersResponse(struct soap *soap, const char *tag, _ngwm__addMembersResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addMembersResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addMembersResponse, sizeof(_ngwm__addMembersResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addMembersResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addMembersResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addMembersResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addMembersResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersResponse, 0, sizeof(_ngwm__addMembersResponse), 0, soap_copy__ngwm__addMembersResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_new__ngwm__addMembersResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addMembersResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__addMembersResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addMembersResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addMembersResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addMembersResponse;
- if (size)
- *size = sizeof(_ngwm__addMembersResponse);
- ((_ngwm__addMembersResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addMembersResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__addMembersResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__addMembersResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addMembersResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addMembersResponse %p -> %p\n", q, p));
- *(_ngwm__addMembersResponse*)p = *(_ngwm__addMembersResponse*)q;
-}
-
-void _ngwm__addMembersRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addMembersRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__addMembersRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__addMembersRequest*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList);
- soap_serialize_PointerTongwt__GroupMemberList(soap, &((_ngwm__addMembersRequest*)this)->members);
- /* transient soap skipped */
-}
-
-void _ngwm__addMembersRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__addMembersRequest*)this)->container);
- ((_ngwm__addMembersRequest*)this)->members = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__addMembersRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addMembersRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addMembersRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addMembersRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersRequest(struct soap *soap, const char *tag, int id, const _ngwm__addMembersRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addMembersRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addMembersRequest*)a)->container), "");
- soap_out_PointerTongwt__GroupMemberList(soap, "ngwm:members", -1, &(((_ngwm__addMembersRequest*)a)->members), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addMembersRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addMembersRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_get__ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addMembersRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addMembersRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_in__ngwm__addMembersRequest(struct soap *soap, const char *tag, _ngwm__addMembersRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addMembersRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addMembersRequest, sizeof(_ngwm__addMembersRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addMembersRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addMembersRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_members1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addMembersRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwm:members", &(((_ngwm__addMembersRequest*)a)->members), "ngwt:GroupMemberList"))
- { soap_flag_members1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_members1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addMembersRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersRequest, 0, sizeof(_ngwm__addMembersRequest), 0, soap_copy__ngwm__addMembersRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_new__ngwm__addMembersRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addMembersRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__addMembersRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addMembersRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addMembersRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addMembersRequest;
- if (size)
- *size = sizeof(_ngwm__addMembersRequest);
- ((_ngwm__addMembersRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addMembersRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__addMembersRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__addMembersRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addMembersRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addMembersRequest %p -> %p\n", q, p));
- *(_ngwm__addMembersRequest*)p = *(_ngwm__addMembersRequest*)q;
-}
-
-void _ngwm__addItemsResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addItemsResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__addItemsResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__addItemsResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__addItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemsResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addItemsResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__addItemsResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemsResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addItemsResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addItemsResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_get__ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addItemsResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_in__ngwm__addItemsResponse(struct soap *soap, const char *tag, _ngwm__addItemsResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemsResponse, sizeof(_ngwm__addItemsResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addItemsResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addItemsResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addItemsResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsResponse, 0, sizeof(_ngwm__addItemsResponse), 0, soap_copy__ngwm__addItemsResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_new__ngwm__addItemsResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addItemsResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemsResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addItemsResponse;
- if (size)
- *size = sizeof(_ngwm__addItemsResponse);
- ((_ngwm__addItemsResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addItemsResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__addItemsResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__addItemsResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addItemsResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemsResponse %p -> %p\n", q, p));
- *(_ngwm__addItemsResponse*)p = *(_ngwm__addItemsResponse*)q;
-}
-
-void _ngwm__addItemsRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addItemsRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__addItemsRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__addItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__addItemsRequest*)this)->items);
- /* transient soap skipped */
-}
-
-void _ngwm__addItemsRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__addItemsRequest*)this)->container);
- ((_ngwm__addItemsRequest*)this)->items = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__addItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemsRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addItemsRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__addItemsRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemsRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addItemsRequest*)a)->container), "");
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__addItemsRequest*)a)->items), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addItemsRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_get__ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addItemsRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_in__ngwm__addItemsRequest(struct soap *soap, const char *tag, _ngwm__addItemsRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemsRequest, sizeof(_ngwm__addItemsRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addItemsRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addItemsRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_items1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addItemsRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__addItemsRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsRequest, 0, sizeof(_ngwm__addItemsRequest), 0, soap_copy__ngwm__addItemsRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_new__ngwm__addItemsRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addItemsRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemsRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addItemsRequest;
- if (size)
- *size = sizeof(_ngwm__addItemsRequest);
- ((_ngwm__addItemsRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addItemsRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__addItemsRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__addItemsRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addItemsRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemsRequest %p -> %p\n", q, p));
- *(_ngwm__addItemsRequest*)p = *(_ngwm__addItemsRequest*)q;
-}
-
-void _ngwm__addItemResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addItemResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__addItemResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__addItemResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__addItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addItemResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__addItemResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addItemResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addItemResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addItemResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_get__ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addItemResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addItemResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_in__ngwm__addItemResponse(struct soap *soap, const char *tag, _ngwm__addItemResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemResponse, sizeof(_ngwm__addItemResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addItemResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addItemResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addItemResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemResponse, 0, sizeof(_ngwm__addItemResponse), 0, soap_copy__ngwm__addItemResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_new__ngwm__addItemResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addItemResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addItemResponse;
- if (size)
- *size = sizeof(_ngwm__addItemResponse);
- ((_ngwm__addItemResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addItemResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__addItemResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__addItemResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addItemResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemResponse %p -> %p\n", q, p));
- *(_ngwm__addItemResponse*)p = *(_ngwm__addItemResponse*)q;
-}
-
-void _ngwm__addItemRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__addItemRequest*)this)->container, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__addItemRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->id);
- /* transient soap skipped */
-}
-
-void _ngwm__addItemRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->container);
- soap_default_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->id);
- /* transient soap skipped */
-}
-
-int _ngwm__addItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__addItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__addItemRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__addItemRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addItemRequest*)a)->container), "");
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__addItemRequest*)a)->id), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__addItemRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__addItemRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_get__ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__addItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__addItemRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__addItemRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_in__ngwm__addItemRequest(struct soap *soap, const char *tag, _ngwm__addItemRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__addItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemRequest, sizeof(_ngwm__addItemRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__addItemRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__addItemRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_container1 = 1, soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addItemRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__addItemRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__addItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemRequest, 0, sizeof(_ngwm__addItemRequest), 0, soap_copy__ngwm__addItemRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_new__ngwm__addItemRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__addItemRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__addItemRequest;
- if (size)
- *size = sizeof(_ngwm__addItemRequest);
- ((_ngwm__addItemRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__addItemRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__addItemRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__addItemRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__addItemRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemRequest %p -> %p\n", q, p));
- *(_ngwm__addItemRequest*)p = *(_ngwm__addItemRequest*)q;
-}
-
-void _ngwm__acceptShareResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__acceptShareResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__acceptShareResponse*)this)->id);
- soap_embedded(soap, &((_ngwm__acceptShareResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__acceptShareResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__acceptShareResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__acceptShareResponse*)this)->id = NULL;
- ((_ngwm__acceptShareResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__acceptShareResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptShareResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__acceptShareResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__acceptShareResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareResponse(struct soap *soap, const char *tag, int id, const _ngwm__acceptShareResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptShareResponse), type);
- soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__acceptShareResponse*)a)->id), "");
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__acceptShareResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__acceptShareResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__acceptShareResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_get__ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__acceptShareResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__acceptShareResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__acceptShareResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_in__ngwm__acceptShareResponse(struct soap *soap, const char *tag, _ngwm__acceptShareResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__acceptShareResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptShareResponse, sizeof(_ngwm__acceptShareResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__acceptShareResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__acceptShareResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__acceptShareResponse*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__acceptShareResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__acceptShareResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareResponse, 0, sizeof(_ngwm__acceptShareResponse), 0, soap_copy__ngwm__acceptShareResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_new__ngwm__acceptShareResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__acceptShareResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptShareResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptShareResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__acceptShareResponse;
- if (size)
- *size = sizeof(_ngwm__acceptShareResponse);
- ((_ngwm__acceptShareResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__acceptShareResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__acceptShareResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__acceptShareResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__acceptShareResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptShareResponse %p -> %p\n", q, p));
- *(_ngwm__acceptShareResponse*)p = *(_ngwm__acceptShareResponse*)q;
-}
-
-void _ngwm__acceptShareRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->id);
- soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptShareRequest*)this)->name);
- soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->container);
- soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->ngwt__description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptShareRequest*)this)->ngwt__description);
- /* transient soap skipped */
-}
-
-void _ngwm__acceptShareRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->id);
- ((_ngwm__acceptShareRequest*)this)->name = NULL;
- ((_ngwm__acceptShareRequest*)this)->container = NULL;
- ((_ngwm__acceptShareRequest*)this)->ngwt__description = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__acceptShareRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptShareRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__acceptShareRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__acceptShareRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareRequest(struct soap *soap, const char *tag, int id, const _ngwm__acceptShareRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptShareRequest), type);
- soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__acceptShareRequest*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwm:name", -1, &(((_ngwm__acceptShareRequest*)a)->name), "");
- soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__acceptShareRequest*)a)->container), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((_ngwm__acceptShareRequest*)a)->ngwt__description), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__acceptShareRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__acceptShareRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_get__ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__acceptShareRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__acceptShareRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__acceptShareRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_in__ngwm__acceptShareRequest(struct soap *soap, const char *tag, _ngwm__acceptShareRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__acceptShareRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptShareRequest, sizeof(_ngwm__acceptShareRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__acceptShareRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__acceptShareRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_container1 = 1, soap_flag_ngwt__description1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__acceptShareRequest*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:name", &(((_ngwm__acceptShareRequest*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__acceptShareRequest*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_ngwt__description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((_ngwm__acceptShareRequest*)a)->ngwt__description), ""))
- { soap_flag_ngwt__description1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__acceptShareRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareRequest, 0, sizeof(_ngwm__acceptShareRequest), 0, soap_copy__ngwm__acceptShareRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_new__ngwm__acceptShareRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__acceptShareRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptShareRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptShareRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__acceptShareRequest;
- if (size)
- *size = sizeof(_ngwm__acceptShareRequest);
- ((_ngwm__acceptShareRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__acceptShareRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__acceptShareRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__acceptShareRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__acceptShareRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptShareRequest %p -> %p\n", q, p));
- *(_ngwm__acceptShareRequest*)p = *(_ngwm__acceptShareRequest*)q;
-}
-
-void _ngwm__acceptResponse::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__acceptResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status);
- soap_serialize_PointerTongwt__Status(soap, &((_ngwm__acceptResponse*)this)->status);
- /* transient soap skipped */
-}
-
-void _ngwm__acceptResponse::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__acceptResponse*)this)->status = NULL;
- /* transient soap skipped */
-}
-
-int _ngwm__acceptResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptResponse);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__acceptResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__acceptResponse(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptResponse(struct soap *soap, const char *tag, int id, const _ngwm__acceptResponse *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptResponse), type);
- soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__acceptResponse*)a)->status), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__acceptResponse::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__acceptResponse(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_get__ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__acceptResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__acceptResponse::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__acceptResponse(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_in__ngwm__acceptResponse(struct soap *soap, const char *tag, _ngwm__acceptResponse *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__acceptResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptResponse, sizeof(_ngwm__acceptResponse), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__acceptResponse)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__acceptResponse *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__acceptResponse*)a)->status), "ngwt:Status"))
- { soap_flag_status1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__acceptResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptResponse, 0, sizeof(_ngwm__acceptResponse), 0, soap_copy__ngwm__acceptResponse);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_new__ngwm__acceptResponse(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__acceptResponse(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptResponse, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__acceptResponse;
- if (size)
- *size = sizeof(_ngwm__acceptResponse);
- ((_ngwm__acceptResponse*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__acceptResponse[n];
- if (size)
- *size = n * sizeof(_ngwm__acceptResponse);
- for (int i = 0; i < n; i++)
- ((_ngwm__acceptResponse*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__acceptResponse*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptResponse %p -> %p\n", q, p));
- *(_ngwm__acceptResponse*)p = *(_ngwm__acceptResponse*)q;
-}
-
-void _ngwm__acceptRequest::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((_ngwm__acceptRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList);
- soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__acceptRequest*)this)->items);
- soap_embedded(soap, &((_ngwm__acceptRequest*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptRequest*)this)->comment);
- soap_embedded(soap, &((_ngwm__acceptRequest*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel);
- soap_serialize_PointerTongwt__AcceptLevel(soap, &((_ngwm__acceptRequest*)this)->acceptLevel);
- soap_embedded(soap, &((_ngwm__acceptRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong);
- /* transient soap skipped */
-}
-
-void _ngwm__acceptRequest::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((_ngwm__acceptRequest*)this)->items = NULL;
- ((_ngwm__acceptRequest*)this)->comment = NULL;
- ((_ngwm__acceptRequest*)this)->acceptLevel = NULL;
- ((_ngwm__acceptRequest*)this)->recurrenceAllInstances = 0;
- /* transient soap skipped */
-}
-
-int _ngwm__acceptRequest::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptRequest);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int _ngwm__acceptRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out__ngwm__acceptRequest(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptRequest(struct soap *soap, const char *tag, int id, const _ngwm__acceptRequest *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptRequest), type);
- soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__acceptRequest*)a)->items), "");
- soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__acceptRequest*)a)->comment), "");
- soap_out_PointerTongwt__AcceptLevel(soap, "ngwm:acceptLevel", -1, &(((_ngwm__acceptRequest*)a)->acceptLevel), "");
- soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__acceptRequest*)a)->recurrenceAllInstances), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *_ngwm__acceptRequest::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get__ngwm__acceptRequest(soap, this, tag, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_get__ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in__ngwm__acceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *_ngwm__acceptRequest::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in__ngwm__acceptRequest(soap, tag, this, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_in__ngwm__acceptRequest(struct soap *soap, const char *tag, _ngwm__acceptRequest *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (_ngwm__acceptRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptRequest, sizeof(_ngwm__acceptRequest), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE__ngwm__acceptRequest)
- { soap_revert(soap);
- *soap->id = '\0';
- return (_ngwm__acceptRequest *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_recurrenceAllInstances1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__acceptRequest*)a)->items), "ngwt:ItemRefList"))
- { soap_flag_items1 = 0;
- continue;
- }
- if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__acceptRequest*)a)->comment), ""))
- { soap_flag_comment1 = 0;
- continue;
- }
- if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwm:acceptLevel", &(((_ngwm__acceptRequest*)a)->acceptLevel), ""))
- { soap_flag_acceptLevel1 = 0;
- continue;
- }
- if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__acceptRequest*)a)->recurrenceAllInstances), ""))
- { soap_flag_recurrenceAllInstances1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (_ngwm__acceptRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptRequest, 0, sizeof(_ngwm__acceptRequest), 0, soap_copy__ngwm__acceptRequest);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_new__ngwm__acceptRequest(struct soap *soap, int n)
-{ return soap_instantiate__ngwm__acceptRequest(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptRequest, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new _ngwm__acceptRequest;
- if (size)
- *size = sizeof(_ngwm__acceptRequest);
- ((_ngwm__acceptRequest*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new _ngwm__acceptRequest[n];
- if (size)
- *size = n * sizeof(_ngwm__acceptRequest);
- for (int i = 0; i < n; i++)
- ((_ngwm__acceptRequest*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (_ngwm__acceptRequest*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptRequest %p -> %p\n", q, p));
- *(_ngwm__acceptRequest*)p = *(_ngwm__acceptRequest*)q;
-}
-
-void ngwt__VersionEvent::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__VersionEvent*)this)->library);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->documentNumber, SOAP_TYPE_unsignedLong);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->versionNumber, SOAP_TYPE_unsignedLong);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__VersionEvent*)this)->creator);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->event, SOAP_TYPE_ngwt__VersionEventType);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->eventNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__VersionEvent*)this)->eventNumber);
- soap_embedded(soap, &((ngwt__VersionEvent*)this)->filename, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__VersionEvent*)this)->filename);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__VersionEvent::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__VersionEvent*)this)->library = NULL;
- soap_default_unsignedLong(soap, &((ngwt__VersionEvent*)this)->documentNumber);
- soap_default_unsignedLong(soap, &((ngwt__VersionEvent*)this)->versionNumber);
- ((ngwt__VersionEvent*)this)->creator = NULL;
- soap_default_ngwt__VersionEventType(soap, &((ngwt__VersionEvent*)this)->event);
- ((ngwt__VersionEvent*)this)->eventNumber = NULL;
- ((ngwt__VersionEvent*)this)->filename = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__VersionEvent::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__VersionEvent);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__VersionEvent::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__VersionEvent(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEvent(struct soap *soap, const char *tag, int id, const ngwt__VersionEvent *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionEvent), "ngwt:VersionEvent");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__VersionEvent*)a)->library), "");
- soap_out_unsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__VersionEvent*)a)->documentNumber), "");
- soap_out_unsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__VersionEvent*)a)->versionNumber), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__VersionEvent*)a)->creator), "");
- soap_out_ngwt__VersionEventType(soap, "ngwt:event", -1, &(((ngwt__VersionEvent*)a)->event), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:eventNumber", -1, &(((ngwt__VersionEvent*)a)->eventNumber), "");
- soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__VersionEvent*)a)->filename), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__VersionEvent::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__VersionEvent(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_get_ngwt__VersionEvent(struct soap *soap, ngwt__VersionEvent *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__VersionEvent(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__VersionEvent::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__VersionEvent(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_in_ngwt__VersionEvent(struct soap *soap, const char *tag, ngwt__VersionEvent *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__VersionEvent *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionEvent, sizeof(ngwt__VersionEvent), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__VersionEvent)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__VersionEvent *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionNumber1 = 1, soap_flag_creator1 = 1, soap_flag_event1 = 1, soap_flag_eventNumber1 = 1, soap_flag_filename1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__VersionEvent*)a)->library), "ngwt:NameAndEmail"))
- { soap_flag_library1 = 0;
- continue;
- }
- if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwt:documentNumber", &(((ngwt__VersionEvent*)a)->documentNumber), ""))
- { soap_flag_documentNumber1 = 0;
- continue;
- }
- if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwt:versionNumber", &(((ngwt__VersionEvent*)a)->versionNumber), ""))
- { soap_flag_versionNumber1 = 0;
- continue;
- }
- if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__VersionEvent*)a)->creator), "ngwt:NameAndEmail"))
- { soap_flag_creator1 = 0;
- continue;
- }
- if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__VersionEventType(soap, "ngwt:event", &(((ngwt__VersionEvent*)a)->event), ""))
- { soap_flag_event1 = 0;
- continue;
- }
- if (soap_flag_eventNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:eventNumber", &(((ngwt__VersionEvent*)a)->eventNumber), ""))
- { soap_flag_eventNumber1 = 0;
- continue;
- }
- if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__VersionEvent*)a)->filename), ""))
- { soap_flag_filename1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_documentNumber1 || soap_flag_versionNumber1 || soap_flag_event1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__VersionEvent *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionEvent, 0, sizeof(ngwt__VersionEvent), 0, soap_copy_ngwt__VersionEvent);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_new_ngwt__VersionEvent(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__VersionEvent(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__VersionEvent(struct soap *soap, ngwt__VersionEvent *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_instantiate_ngwt__VersionEvent(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__VersionEvent(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__VersionEvent, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__VersionEvent;
- if (size)
- *size = sizeof(ngwt__VersionEvent);
- ((ngwt__VersionEvent*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__VersionEvent[n];
- if (size)
- *size = n * sizeof(ngwt__VersionEvent);
- for (int i = 0; i < n; i++)
- ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__VersionEvent*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__VersionEvent(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__VersionEvent %p -> %p\n", q, p));
- *(ngwt__VersionEvent*)p = *(ngwt__VersionEvent*)q;
-}
-
-void ngwt__Version::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Version*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->library);
- soap_embedded(soap, &((ngwt__Version*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->documentNumber);
- soap_embedded(soap, &((ngwt__Version*)this)->versionCreator, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->versionCreator);
- soap_embedded(soap, &((ngwt__Version*)this)->retrievedBy, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->retrievedBy);
- soap_embedded(soap, &((ngwt__Version*)this)->retrievedDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Version*)this)->retrievedDate);
- soap_embedded(soap, &((ngwt__Version*)this)->versionNumber, SOAP_TYPE_unsignedLong);
- soap_embedded(soap, &((ngwt__Version*)this)->versionDescription, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Version*)this)->versionDescription);
- soap_embedded(soap, &((ngwt__Version*)this)->versionStatus, SOAP_TYPE_PointerTongwt__VersionStatus);
- soap_serialize_PointerTongwt__VersionStatus(soap, &((ngwt__Version*)this)->versionStatus);
- soap_embedded(soap, &((ngwt__Version*)this)->life, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->life);
- soap_embedded(soap, &((ngwt__Version*)this)->ageAction, SOAP_TYPE_PointerTongwt__AgeAction);
- soap_serialize_PointerTongwt__AgeAction(soap, &((ngwt__Version*)this)->ageAction);
- soap_embedded(soap, &((ngwt__Version*)this)->fileSize, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->fileSize);
- soap_embedded(soap, &((ngwt__Version*)this)->filename, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Version*)this)->filename);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Version::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Version*)this)->library = NULL;
- ((ngwt__Version*)this)->documentNumber = NULL;
- ((ngwt__Version*)this)->versionCreator = NULL;
- ((ngwt__Version*)this)->retrievedBy = NULL;
- soap_default_string(soap, &((ngwt__Version*)this)->retrievedDate);
- soap_default_unsignedLong(soap, &((ngwt__Version*)this)->versionNumber);
- ((ngwt__Version*)this)->versionDescription = NULL;
- ((ngwt__Version*)this)->versionStatus = NULL;
- ((ngwt__Version*)this)->life = NULL;
- ((ngwt__Version*)this)->ageAction = NULL;
- ((ngwt__Version*)this)->fileSize = NULL;
- ((ngwt__Version*)this)->filename = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Version::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Version);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Version::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Version(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Version(struct soap *soap, const char *tag, int id, const ngwt__Version *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Version), "ngwt:Version");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__Version*)a)->library), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__Version*)a)->documentNumber), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:versionCreator", -1, &(((ngwt__Version*)a)->versionCreator), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:retrievedBy", -1, &(((ngwt__Version*)a)->retrievedBy), "");
- soap_out_string(soap, "ngwt:retrievedDate", -1, &(((ngwt__Version*)a)->retrievedDate), "");
- soap_out_unsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__Version*)a)->versionNumber), "");
- soap_out_PointerTostd__string(soap, "ngwt:versionDescription", -1, &(((ngwt__Version*)a)->versionDescription), "");
- soap_out_PointerTongwt__VersionStatus(soap, "ngwt:versionStatus", -1, &(((ngwt__Version*)a)->versionStatus), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:life", -1, &(((ngwt__Version*)a)->life), "");
- soap_out_PointerTongwt__AgeAction(soap, "ngwt:ageAction", -1, &(((ngwt__Version*)a)->ageAction), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:fileSize", -1, &(((ngwt__Version*)a)->fileSize), "");
- soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__Version*)a)->filename), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Version::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Version(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_get_ngwt__Version(struct soap *soap, ngwt__Version *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Version(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Version::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Version(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_in_ngwt__Version(struct soap *soap, const char *tag, ngwt__Version *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Version *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Version, sizeof(ngwt__Version), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Version)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Version *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionCreator1 = 1, soap_flag_retrievedBy1 = 1, soap_flag_retrievedDate1 = 1, soap_flag_versionNumber1 = 1, soap_flag_versionDescription1 = 1, soap_flag_versionStatus1 = 1, soap_flag_life1 = 1, soap_flag_ageAction1 = 1, soap_flag_fileSize1 = 1, soap_flag_filename1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__Version*)a)->library), "ngwt:NameAndEmail"))
- { soap_flag_library1 = 0;
- continue;
- }
- if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__Version*)a)->documentNumber), ""))
- { soap_flag_documentNumber1 = 0;
- continue;
- }
- if (soap_flag_versionCreator1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:versionCreator", &(((ngwt__Version*)a)->versionCreator), "ngwt:NameAndEmail"))
- { soap_flag_versionCreator1 = 0;
- continue;
- }
- if (soap_flag_retrievedBy1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:retrievedBy", &(((ngwt__Version*)a)->retrievedBy), "ngwt:NameAndEmail"))
- { soap_flag_retrievedBy1 = 0;
- continue;
- }
- if (soap_flag_retrievedDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retrievedDate", &(((ngwt__Version*)a)->retrievedDate), ""))
- { soap_flag_retrievedDate1 = 0;
- continue;
- }
- if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwt:versionNumber", &(((ngwt__Version*)a)->versionNumber), ""))
- { soap_flag_versionNumber1 = 0;
- continue;
- }
- if (soap_flag_versionDescription1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:versionDescription", &(((ngwt__Version*)a)->versionDescription), ""))
- { soap_flag_versionDescription1 = 0;
- continue;
- }
- if (soap_flag_versionStatus1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__VersionStatus(soap, "ngwt:versionStatus", &(((ngwt__Version*)a)->versionStatus), ""))
- { soap_flag_versionStatus1 = 0;
- continue;
- }
- if (soap_flag_life1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:life", &(((ngwt__Version*)a)->life), ""))
- { soap_flag_life1 = 0;
- continue;
- }
- if (soap_flag_ageAction1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AgeAction(soap, "ngwt:ageAction", &(((ngwt__Version*)a)->ageAction), ""))
- { soap_flag_ageAction1 = 0;
- continue;
- }
- if (soap_flag_fileSize1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:fileSize", &(((ngwt__Version*)a)->fileSize), ""))
- { soap_flag_fileSize1 = 0;
- continue;
- }
- if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__Version*)a)->filename), ""))
- { soap_flag_filename1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_versionNumber1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Version *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Version, 0, sizeof(ngwt__Version), 0, soap_copy_ngwt__Version);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_new_ngwt__Version(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Version(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Version(struct soap *soap, ngwt__Version *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_instantiate_ngwt__Version(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Version(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Version, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Version;
- if (size)
- *size = sizeof(ngwt__Version);
- ((ngwt__Version*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Version[n];
- if (size)
- *size = n * sizeof(ngwt__Version);
- for (int i = 0; i < n; i++)
- ((ngwt__Version*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Version*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Version(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Version %p -> %p\n", q, p));
- *(ngwt__Version*)p = *(ngwt__Version*)q;
-}
-
-void ngwt__UserList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(soap, &((ngwt__UserList*)this)->user);
- /* transient soap skipped */
-}
-
-void ngwt__UserList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(soap, &((ngwt__UserList*)this)->user);
- /* transient soap skipped */
-}
-
-int ngwt__UserList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__UserList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__UserList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__UserList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserList(struct soap *soap, const char *tag, int id, const ngwt__UserList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__UserList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(soap, "ngwt:user", -1, &(((ngwt__UserList*)a)->user), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__UserList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__UserList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_get_ngwt__UserList(struct soap *soap, ngwt__UserList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__UserList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__UserList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__UserList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_in_ngwt__UserList(struct soap *soap, const char *tag, ngwt__UserList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__UserList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__UserList, sizeof(ngwt__UserList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__UserList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__UserList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(soap, "ngwt:user", &(((ngwt__UserList*)a)->user), "ngwt:UserInfo"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__UserList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserList, 0, sizeof(ngwt__UserList), 0, soap_copy_ngwt__UserList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_new_ngwt__UserList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__UserList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserList(struct soap *soap, ngwt__UserList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_instantiate_ngwt__UserList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UserList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UserList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__UserList;
- if (size)
- *size = sizeof(ngwt__UserList);
- ((ngwt__UserList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__UserList[n];
- if (size)
- *size = n * sizeof(ngwt__UserList);
- for (int i = 0; i < n; i++)
- ((ngwt__UserList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__UserList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__UserList %p -> %p\n", q, p));
- *(ngwt__UserList*)p = *(ngwt__UserList*)q;
-}
-
-void ngwt__UserInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__UserInfo*)this)->name, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__UserInfo*)this)->name);
- soap_embedded(soap, &((ngwt__UserInfo*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__UserInfo*)this)->email);
- soap_embedded(soap, &((ngwt__UserInfo*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__UserInfo*)this)->uuid);
- soap_embedded(soap, &((ngwt__UserInfo*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__UserInfo*)this)->userid);
- soap_embedded(soap, &((ngwt__UserInfo*)this)->recipType, SOAP_TYPE_PointerTongwt__RecipientType);
- soap_serialize_PointerTongwt__RecipientType(soap, &((ngwt__UserInfo*)this)->recipType);
- /* transient soap skipped */
-}
-
-void ngwt__UserInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__UserInfo*)this)->name);
- ((ngwt__UserInfo*)this)->email = NULL;
- ((ngwt__UserInfo*)this)->uuid = NULL;
- ((ngwt__UserInfo*)this)->userid = NULL;
- ((ngwt__UserInfo*)this)->recipType = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__UserInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__UserInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__UserInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__UserInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserInfo(struct soap *soap, const char *tag, int id, const ngwt__UserInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__UserInfo), type);
- soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__UserInfo*)a)->name), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__UserInfo*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__UserInfo*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__UserInfo*)a)->userid), "");
- soap_out_PointerTongwt__RecipientType(soap, "ngwt:recipType", -1, &(((ngwt__UserInfo*)a)->recipType), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__UserInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__UserInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_get_ngwt__UserInfo(struct soap *soap, ngwt__UserInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__UserInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__UserInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__UserInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_in_ngwt__UserInfo(struct soap *soap, const char *tag, ngwt__UserInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__UserInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__UserInfo, sizeof(ngwt__UserInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__UserInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__UserInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_name1 = 1, soap_flag_email1 = 1, soap_flag_uuid1 = 1, soap_flag_userid1 = 1, soap_flag_recipType1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__UserInfo*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__UserInfo*)a)->email), ""))
- { soap_flag_email1 = 0;
- continue;
- }
- if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__UserInfo*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid1 = 0;
- continue;
- }
- if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__UserInfo*)a)->userid), ""))
- { soap_flag_userid1 = 0;
- continue;
- }
- if (soap_flag_recipType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecipientType(soap, "ngwt:recipType", &(((ngwt__UserInfo*)a)->recipType), ""))
- { soap_flag_recipType1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__UserInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserInfo, 0, sizeof(ngwt__UserInfo), 0, soap_copy_ngwt__UserInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_new_ngwt__UserInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__UserInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserInfo(struct soap *soap, ngwt__UserInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_instantiate_ngwt__UserInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UserInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UserInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__UserInfo;
- if (size)
- *size = sizeof(ngwt__UserInfo);
- ((ngwt__UserInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__UserInfo[n];
- if (size)
- *size = n * sizeof(ngwt__UserInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__UserInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__UserInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__UserInfo %p -> %p\n", q, p));
- *(ngwt__UserInfo*)p = *(ngwt__UserInfo*)q;
-}
-
-void ngwt__TrustedApplication::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__TrustedApplication*)this)->username, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->username);
- soap_embedded(soap, &((ngwt__TrustedApplication*)this)->name, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->name);
- soap_embedded(soap, &((ngwt__TrustedApplication*)this)->key, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->key);
- /* transient soap skipped */
-}
-
-void ngwt__TrustedApplication::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->username);
- soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->name);
- soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->key);
- /* transient soap skipped */
-}
-
-int ngwt__TrustedApplication::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TrustedApplication);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__TrustedApplication::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__TrustedApplication(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TrustedApplication(struct soap *soap, const char *tag, int id, const ngwt__TrustedApplication *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TrustedApplication), "ngwt:TrustedApplication");
- /* transient soap skipped */
- soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__TrustedApplication*)a)->username), "");
- soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__TrustedApplication*)a)->name), "");
- soap_out_std__string(soap, "ngwt:key", -1, &(((ngwt__TrustedApplication*)a)->key), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__TrustedApplication::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__TrustedApplication(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_get_ngwt__TrustedApplication(struct soap *soap, ngwt__TrustedApplication *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__TrustedApplication(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__TrustedApplication::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__TrustedApplication(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_in_ngwt__TrustedApplication(struct soap *soap, const char *tag, ngwt__TrustedApplication *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__TrustedApplication *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TrustedApplication, sizeof(ngwt__TrustedApplication), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__TrustedApplication)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__TrustedApplication *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_username1 = 1, soap_flag_name1 = 1, soap_flag_key1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__TrustedApplication*)a)->username), ""))
- { soap_flag_username1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__TrustedApplication*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:key", &(((ngwt__TrustedApplication*)a)->key), ""))
- { soap_flag_key1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1 || soap_flag_name1 || soap_flag_key1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__TrustedApplication *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TrustedApplication, 0, sizeof(ngwt__TrustedApplication), 0, soap_copy_ngwt__TrustedApplication);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_new_ngwt__TrustedApplication(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__TrustedApplication(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TrustedApplication(struct soap *soap, ngwt__TrustedApplication *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_instantiate_ngwt__TrustedApplication(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TrustedApplication(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TrustedApplication, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TrustedApplication;
- if (size)
- *size = sizeof(ngwt__TrustedApplication);
- ((ngwt__TrustedApplication*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TrustedApplication[n];
- if (size)
- *size = n * sizeof(ngwt__TrustedApplication);
- for (int i = 0; i < n; i++)
- ((ngwt__TrustedApplication*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TrustedApplication*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TrustedApplication(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TrustedApplication %p -> %p\n", q, p));
- *(ngwt__TrustedApplication*)p = *(ngwt__TrustedApplication*)q;
-}
-
-void ngwt__TransferFailedStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus);
- soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus);
- soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated);
- soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-void ngwt__TransferFailedStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__TransferFailedStatus*)this)->FailureReason = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- ((ngwt__RecipientStatus*)this)->transferFailed = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- ((ngwt__RecipientStatus*)this)->accepted = NULL;
- ((ngwt__RecipientStatus*)this)->declined = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- ((ngwt__RecipientStatus*)this)->delegated = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-int ngwt__TransferFailedStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TransferFailedStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__TransferFailedStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__TransferFailedStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TransferFailedStatus(struct soap *soap, const char *tag, int id, const ngwt__TransferFailedStatus *a, const char *type)
-{
- if (((ngwt__TransferFailedStatus *)a)->FailureReason)
- soap_set_attr(soap, "FailureReason", ((ngwt__TransferFailedStatus *)a)->FailureReason->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TransferFailedStatus), "ngwt:TransferFailedStatus");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), "");
- soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), "");
- soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), "");
- soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), "");
- soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), "");
- soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), "");
- soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "");
- soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), "");
- soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), "");
- soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), "");
- soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), "");
- soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), "");
- soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), "");
- soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), "");
- soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), "");
- soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), "");
- soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), "");
- soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), "");
- soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), "");
- soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), "");
- soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__TransferFailedStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__TransferFailedStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_get_ngwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__TransferFailedStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__TransferFailedStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__TransferFailedStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_in_ngwt__TransferFailedStatus(struct soap *soap, const char *tag, ngwt__TransferFailedStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__TransferFailedStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TransferFailedStatus, sizeof(ngwt__TransferFailedStatus), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__TransferFailedStatus)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__TransferFailedStatus *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "FailureReason", 0);
- if (t)
- { if (!(((ngwt__TransferFailedStatus *)a)->FailureReason = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__TransferFailedStatus *)a)->FailureReason = soap_new_std__string(soap, -1);
- ((ngwt__TransferFailedStatus *)a)->FailureReason->assign(s);
- }
- }
- }
- short soap_flag_delivered2 = 1, soap_flag_undeliverable2 = 1, soap_flag_transferred2 = 1, soap_flag_transferDelayed2 = 1, soap_flag_transferFailed2 = 1, soap_flag_downloaded2 = 1, soap_flag_downloadedByThirdParty2 = 1, soap_flag_retractRequested2 = 1, soap_flag_retracted2 = 1, soap_flag_opened2 = 1, soap_flag_deleted2 = 1, soap_flag_undeleted2 = 1, soap_flag_purged2 = 1, soap_flag_accepted2 = 1, soap_flag_declined2 = 1, soap_flag_replied2 = 1, soap_flag_forwarded2 = 1, soap_flag_shared2 = 1, soap_flag_started2 = 1, soap_flag_completed2 = 1, soap_flag_incomplete2 = 1, soap_flag_delegated2 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), ""))
- { soap_flag_delivered2 = 0;
- continue;
- }
- if (soap_flag_undeliverable2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), ""))
- { soap_flag_undeliverable2 = 0;
- continue;
- }
- if (soap_flag_transferred2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), ""))
- { soap_flag_transferred2 = 0;
- continue;
- }
- if (soap_flag_transferDelayed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), ""))
- { soap_flag_transferDelayed2 = 0;
- continue;
- }
- if (soap_flag_transferFailed2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus"))
- { soap_flag_transferFailed2 = 0;
- continue;
- }
- if (soap_flag_downloaded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), ""))
- { soap_flag_downloaded2 = 0;
- continue;
- }
- if (soap_flag_downloadedByThirdParty2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""))
- { soap_flag_downloadedByThirdParty2 = 0;
- continue;
- }
- if (soap_flag_retractRequested2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), ""))
- { soap_flag_retractRequested2 = 0;
- continue;
- }
- if (soap_flag_retracted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), ""))
- { soap_flag_retracted2 = 0;
- continue;
- }
- if (soap_flag_opened2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), ""))
- { soap_flag_opened2 = 0;
- continue;
- }
- if (soap_flag_deleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), ""))
- { soap_flag_deleted2 = 0;
- continue;
- }
- if (soap_flag_undeleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), ""))
- { soap_flag_undeleted2 = 0;
- continue;
- }
- if (soap_flag_purged2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), ""))
- { soap_flag_purged2 = 0;
- continue;
- }
- if (soap_flag_accepted2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus"))
- { soap_flag_accepted2 = 0;
- continue;
- }
- if (soap_flag_declined2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus"))
- { soap_flag_declined2 = 0;
- continue;
- }
- if (soap_flag_replied2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), ""))
- { soap_flag_replied2 = 0;
- continue;
- }
- if (soap_flag_forwarded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), ""))
- { soap_flag_forwarded2 = 0;
- continue;
- }
- if (soap_flag_shared2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), ""))
- { soap_flag_shared2 = 0;
- continue;
- }
- if (soap_flag_started2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), ""))
- { soap_flag_started2 = 0;
- continue;
- }
- if (soap_flag_completed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), ""))
- { soap_flag_completed2 = 0;
- continue;
- }
- if (soap_flag_incomplete2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), ""))
- { soap_flag_incomplete2 = 0;
- continue;
- }
- if (soap_flag_delegated2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus"))
- { soap_flag_delegated2 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__TransferFailedStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TransferFailedStatus, 0, sizeof(ngwt__TransferFailedStatus), 0, soap_copy_ngwt__TransferFailedStatus);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_new_ngwt__TransferFailedStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__TransferFailedStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_instantiate_ngwt__TransferFailedStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TransferFailedStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TransferFailedStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TransferFailedStatus;
- if (size)
- *size = sizeof(ngwt__TransferFailedStatus);
- ((ngwt__TransferFailedStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TransferFailedStatus[n];
- if (size)
- *size = n * sizeof(ngwt__TransferFailedStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__TransferFailedStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TransferFailedStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TransferFailedStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TransferFailedStatus %p -> %p\n", q, p));
- *(ngwt__TransferFailedStatus*)p = *(ngwt__TransferFailedStatus*)q;
-}
-
-void ngwt__TimezoneList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(soap, &((ngwt__TimezoneList*)this)->timezone);
- /* transient soap skipped */
-}
-
-void ngwt__TimezoneList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Timezone(soap, &((ngwt__TimezoneList*)this)->timezone);
- /* transient soap skipped */
-}
-
-int ngwt__TimezoneList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TimezoneList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__TimezoneList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__TimezoneList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneList(struct soap *soap, const char *tag, int id, const ngwt__TimezoneList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TimezoneList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Timezone(soap, "ngwt:timezone", -1, &(((ngwt__TimezoneList*)a)->timezone), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__TimezoneList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__TimezoneList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_get_ngwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__TimezoneList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__TimezoneList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__TimezoneList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_in_ngwt__TimezoneList(struct soap *soap, const char *tag, ngwt__TimezoneList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__TimezoneList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TimezoneList, sizeof(ngwt__TimezoneList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__TimezoneList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__TimezoneList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Timezone(soap, "ngwt:timezone", &(((ngwt__TimezoneList*)a)->timezone), "ngwt:Timezone"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__TimezoneList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneList, 0, sizeof(ngwt__TimezoneList), 0, soap_copy_ngwt__TimezoneList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_new_ngwt__TimezoneList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__TimezoneList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TimezoneList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TimezoneList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TimezoneList;
- if (size)
- *size = sizeof(ngwt__TimezoneList);
- ((ngwt__TimezoneList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TimezoneList[n];
- if (size)
- *size = n * sizeof(ngwt__TimezoneList);
- for (int i = 0; i < n; i++)
- ((ngwt__TimezoneList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TimezoneList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TimezoneList %p -> %p\n", q, p));
- *(ngwt__TimezoneList*)p = *(ngwt__TimezoneList*)q;
-}
-
-void ngwt__TimezoneComponent::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->name, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__TimezoneComponent*)this)->name);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->month, SOAP_TYPE_PointerTongwt__Month);
- soap_serialize_PointerTongwt__Month(soap, &((ngwt__TimezoneComponent*)this)->month);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->day, SOAP_TYPE_PointerTongwt__Day);
- soap_serialize_PointerTongwt__Day(soap, &((ngwt__TimezoneComponent*)this)->day);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->dayOfWeek, SOAP_TYPE_PointerTongwt__DayOfWeek);
- soap_serialize_PointerTongwt__DayOfWeek(soap, &((ngwt__TimezoneComponent*)this)->dayOfWeek);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->hour, SOAP_TYPE_PointerTongwt__Hour);
- soap_serialize_PointerTongwt__Hour(soap, &((ngwt__TimezoneComponent*)this)->hour);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->minute, SOAP_TYPE_PointerTongwt__Minute);
- soap_serialize_PointerTongwt__Minute(soap, &((ngwt__TimezoneComponent*)this)->minute);
- soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->offset, SOAP_TYPE_ngwt__GMTOffset);
- /* transient soap skipped */
-}
-
-void ngwt__TimezoneComponent::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__TimezoneComponent*)this)->name);
- ((ngwt__TimezoneComponent*)this)->month = NULL;
- ((ngwt__TimezoneComponent*)this)->day = NULL;
- ((ngwt__TimezoneComponent*)this)->dayOfWeek = NULL;
- ((ngwt__TimezoneComponent*)this)->hour = NULL;
- ((ngwt__TimezoneComponent*)this)->minute = NULL;
- soap_default_ngwt__GMTOffset(soap, &((ngwt__TimezoneComponent*)this)->offset);
- /* transient soap skipped */
-}
-
-int ngwt__TimezoneComponent::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TimezoneComponent);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__TimezoneComponent::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__TimezoneComponent(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneComponent(struct soap *soap, const char *tag, int id, const ngwt__TimezoneComponent *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TimezoneComponent), type);
- soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__TimezoneComponent*)a)->name), "");
- soap_out_PointerTongwt__Month(soap, "ngwt:month", -1, &(((ngwt__TimezoneComponent*)a)->month), "");
- soap_out_PointerTongwt__Day(soap, "ngwt:day", -1, &(((ngwt__TimezoneComponent*)a)->day), "");
- soap_out_PointerTongwt__DayOfWeek(soap, "ngwt:dayOfWeek", -1, &(((ngwt__TimezoneComponent*)a)->dayOfWeek), "");
- soap_out_PointerTongwt__Hour(soap, "ngwt:hour", -1, &(((ngwt__TimezoneComponent*)a)->hour), "");
- soap_out_PointerTongwt__Minute(soap, "ngwt:minute", -1, &(((ngwt__TimezoneComponent*)a)->minute), "");
- soap_out_ngwt__GMTOffset(soap, "ngwt:offset", -1, &(((ngwt__TimezoneComponent*)a)->offset), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__TimezoneComponent::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__TimezoneComponent(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_get_ngwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__TimezoneComponent(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__TimezoneComponent::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__TimezoneComponent(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_in_ngwt__TimezoneComponent(struct soap *soap, const char *tag, ngwt__TimezoneComponent *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__TimezoneComponent *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TimezoneComponent, sizeof(ngwt__TimezoneComponent), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__TimezoneComponent)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__TimezoneComponent *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_name1 = 1, soap_flag_month1 = 1, soap_flag_day1 = 1, soap_flag_dayOfWeek1 = 1, soap_flag_hour1 = 1, soap_flag_minute1 = 1, soap_flag_offset1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__TimezoneComponent*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_month1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Month(soap, "ngwt:month", &(((ngwt__TimezoneComponent*)a)->month), "ngwt:Month"))
- { soap_flag_month1 = 0;
- continue;
- }
- if (soap_flag_day1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Day(soap, "ngwt:day", &(((ngwt__TimezoneComponent*)a)->day), "ngwt:Day"))
- { soap_flag_day1 = 0;
- continue;
- }
- if (soap_flag_dayOfWeek1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DayOfWeek(soap, "ngwt:dayOfWeek", &(((ngwt__TimezoneComponent*)a)->dayOfWeek), "ngwt:DayOfWeek"))
- { soap_flag_dayOfWeek1 = 0;
- continue;
- }
- if (soap_flag_hour1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Hour(soap, "ngwt:hour", &(((ngwt__TimezoneComponent*)a)->hour), "ngwt:Hour"))
- { soap_flag_hour1 = 0;
- continue;
- }
- if (soap_flag_minute1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Minute(soap, "ngwt:minute", &(((ngwt__TimezoneComponent*)a)->minute), "ngwt:Minute"))
- { soap_flag_minute1 = 0;
- continue;
- }
- if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__GMTOffset(soap, "ngwt:offset", &(((ngwt__TimezoneComponent*)a)->offset), "ngwt:GMTOffset"))
- { soap_flag_offset1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1 || soap_flag_offset1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__TimezoneComponent *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneComponent, 0, sizeof(ngwt__TimezoneComponent), 0, soap_copy_ngwt__TimezoneComponent);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_new_ngwt__TimezoneComponent(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__TimezoneComponent(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneComponent(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TimezoneComponent(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TimezoneComponent, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TimezoneComponent;
- if (size)
- *size = sizeof(ngwt__TimezoneComponent);
- ((ngwt__TimezoneComponent*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TimezoneComponent[n];
- if (size)
- *size = n * sizeof(ngwt__TimezoneComponent);
- for (int i = 0; i < n; i++)
- ((ngwt__TimezoneComponent*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TimezoneComponent*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneComponent(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TimezoneComponent %p -> %p\n", q, p));
- *(ngwt__TimezoneComponent*)p = *(ngwt__TimezoneComponent*)q;
-}
-
-void ngwt__Timezone::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Timezone*)this)->id, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Timezone*)this)->id);
- soap_embedded(soap, &((ngwt__Timezone*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Timezone*)this)->description);
- soap_embedded(soap, &((ngwt__Timezone*)this)->daylight, SOAP_TYPE_PointerTongwt__TimezoneComponent);
- soap_serialize_PointerTongwt__TimezoneComponent(soap, &((ngwt__Timezone*)this)->daylight);
- soap_embedded(soap, &((ngwt__Timezone*)this)->standard, SOAP_TYPE_PointerTongwt__TimezoneComponent);
- soap_serialize_PointerTongwt__TimezoneComponent(soap, &((ngwt__Timezone*)this)->standard);
- /* transient soap skipped */
-}
-
-void ngwt__Timezone::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Timezone*)this)->id = NULL;
- ((ngwt__Timezone*)this)->description = NULL;
- ((ngwt__Timezone*)this)->daylight = NULL;
- ((ngwt__Timezone*)this)->standard = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Timezone::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Timezone);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Timezone::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Timezone(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Timezone(struct soap *soap, const char *tag, int id, const ngwt__Timezone *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Timezone), type);
- soap_out_PointerTostd__string(soap, "ngwt:id", -1, &(((ngwt__Timezone*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Timezone*)a)->description), "");
- soap_out_PointerTongwt__TimezoneComponent(soap, "ngwt:daylight", -1, &(((ngwt__Timezone*)a)->daylight), "");
- soap_out_PointerTongwt__TimezoneComponent(soap, "ngwt:standard", -1, &(((ngwt__Timezone*)a)->standard), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Timezone::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Timezone(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_get_ngwt__Timezone(struct soap *soap, ngwt__Timezone *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Timezone(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Timezone::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Timezone(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_in_ngwt__Timezone(struct soap *soap, const char *tag, ngwt__Timezone *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Timezone *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Timezone, sizeof(ngwt__Timezone), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Timezone)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Timezone *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_description1 = 1, soap_flag_daylight1 = 1, soap_flag_standard1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:id", &(((ngwt__Timezone*)a)->id), ""))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Timezone*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_daylight1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TimezoneComponent(soap, "ngwt:daylight", &(((ngwt__Timezone*)a)->daylight), "ngwt:TimezoneComponent"))
- { soap_flag_daylight1 = 0;
- continue;
- }
- if (soap_flag_standard1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TimezoneComponent(soap, "ngwt:standard", &(((ngwt__Timezone*)a)->standard), "ngwt:TimezoneComponent"))
- { soap_flag_standard1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Timezone *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Timezone, 0, sizeof(ngwt__Timezone), 0, soap_copy_ngwt__Timezone);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_new_ngwt__Timezone(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Timezone(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Timezone(struct soap *soap, ngwt__Timezone *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_instantiate_ngwt__Timezone(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Timezone(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Timezone, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Timezone;
- if (size)
- *size = sizeof(ngwt__Timezone);
- ((ngwt__Timezone*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Timezone[n];
- if (size)
- *size = n * sizeof(ngwt__Timezone);
- for (int i = 0; i < n; i++)
- ((ngwt__Timezone*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Timezone*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Timezone(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Timezone %p -> %p\n", q, p));
- *(ngwt__Timezone*)p = *(ngwt__Timezone*)q;
-}
-
-void ngwt__Task::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Task*)this)->startDate, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->startDate);
- soap_embedded(soap, &((ngwt__Task*)this)->dueDate, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->dueDate);
- soap_embedded(soap, &((ngwt__Task*)this)->assignedDate, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->assignedDate);
- soap_embedded(soap, &((ngwt__Task*)this)->taskPriority, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Task*)this)->taskPriority);
- soap_embedded(soap, &((ngwt__Task*)this)->completed, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Task*)this)->completed);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule);
- soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Task::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Task*)this)->startDate = NULL;
- ((ngwt__Task*)this)->dueDate = NULL;
- ((ngwt__Task*)this)->assignedDate = NULL;
- ((ngwt__Task*)this)->taskPriority = NULL;
- ((ngwt__Task*)this)->completed = NULL;
- ((ngwt__CalendarItem*)this)->rdate = NULL;
- ((ngwt__CalendarItem*)this)->rrule = NULL;
- ((ngwt__CalendarItem*)this)->exdate = NULL;
- ((ngwt__CalendarItem*)this)->recurrenceKey = NULL;
- ((ngwt__CalendarItem*)this)->iCalId = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Task::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Task);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Task::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Task(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Task(struct soap *soap, const char *tag, int id, const ngwt__Task *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Task), "ngwt:Task");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), "");
- soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), "");
- soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), "");
- soap_out_PointerToxsd__date(soap, "ngwt:startDate", -1, &(((ngwt__Task*)a)->startDate), "");
- soap_out_PointerToxsd__date(soap, "ngwt:dueDate", -1, &(((ngwt__Task*)a)->dueDate), "");
- soap_out_PointerToxsd__date(soap, "ngwt:assignedDate", -1, &(((ngwt__Task*)a)->assignedDate), "");
- soap_out_PointerTostd__string(soap, "ngwt:taskPriority", -1, &(((ngwt__Task*)a)->taskPriority), "");
- soap_out_PointerTobool(soap, "ngwt:completed", -1, &(((ngwt__Task*)a)->completed), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Task::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Task(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_get_ngwt__Task(struct soap *soap, ngwt__Task *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Task(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Task::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Task(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_in_ngwt__Task(struct soap *soap, const char *tag, ngwt__Task *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Task *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Task, sizeof(ngwt__Task), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Task)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Task *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1, soap_flag_dueDate1 = 1, soap_flag_assignedDate1 = 1, soap_flag_taskPriority1 = 1, soap_flag_completed1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id6 = 0;
- continue;
- }
- if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name6 = 0;
- continue;
- }
- if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version6 = 0;
- continue;
- }
- if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified6 = 0;
- continue;
- }
- if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes6 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories5 = 0;
- continue;
- }
- if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created5 = 0;
- continue;
- }
- if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs5 = 0;
- continue;
- }
- if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status4 = 0;
- continue;
- }
- if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread4 = 0;
- continue;
- }
- if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId4 = 0;
- continue;
- }
- if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId4 = 0;
- continue;
- }
- if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source4 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId4 = 0;
- continue;
- }
- if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered4 = 0;
- continue;
- }
- if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_4 = 0;
- continue;
- }
- if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security4 = 0;
- continue;
- }
- if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment4 = 0;
- continue;
- }
- if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject3 = 0;
- continue;
- }
- if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject3 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix3 = 0;
- continue;
- }
- if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution3 = 0;
- continue;
- }
- if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message3 = 0;
- continue;
- }
- if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments3 = 0;
- continue;
- }
- if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options3 = 0;
- continue;
- }
- if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link3 = 0;
- continue;
- }
- if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment3 = 0;
- continue;
- }
- if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size3 = 0;
- continue;
- }
- if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType3 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap3 = 0;
- continue;
- }
- if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType3 = 0;
- continue;
- }
- if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType"))
- { soap_flag_rdate2 = 0;
- continue;
- }
- if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule"))
- { soap_flag_rrule2 = 0;
- continue;
- }
- if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType"))
- { soap_flag_exdate2 = 0;
- continue;
- }
- if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), ""))
- { soap_flag_recurrenceKey2 = 0;
- continue;
- }
- if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), ""))
- { soap_flag_iCalId2 = 0;
- continue;
- }
- if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:startDate", &(((ngwt__Task*)a)->startDate), "xsd:date"))
- { soap_flag_startDate1 = 0;
- continue;
- }
- if (soap_flag_dueDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:dueDate", &(((ngwt__Task*)a)->dueDate), "xsd:date"))
- { soap_flag_dueDate1 = 0;
- continue;
- }
- if (soap_flag_assignedDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:assignedDate", &(((ngwt__Task*)a)->assignedDate), "xsd:date"))
- { soap_flag_assignedDate1 = 0;
- continue;
- }
- if (soap_flag_taskPriority1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:taskPriority", &(((ngwt__Task*)a)->taskPriority), ""))
- { soap_flag_taskPriority1 = 0;
- continue;
- }
- if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:completed", &(((ngwt__Task*)a)->completed), ""))
- { soap_flag_completed1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Task *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Task, 0, sizeof(ngwt__Task), 0, soap_copy_ngwt__Task);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_new_ngwt__Task(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Task(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Task(struct soap *soap, ngwt__Task *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_instantiate_ngwt__Task(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Task(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Task, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Task(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Task %p -> %p\n", q, p));
- *(ngwt__Task*)p = *(ngwt__Task*)q;
-}
-
-void ngwt__SystemFolder::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSystemFolder, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSystemFolder);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType);
- soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__SystemFolder*)this)->folderType);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL);
- soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SystemFolder*)this)->acl);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSharedByMe);
- soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description);
- soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count);
- soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread);
- soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount);
- soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence);
- soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings);
- soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__SystemFolder::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SystemFolder*)this)->isSystemFolder = NULL;
- ((ngwt__SystemFolder*)this)->folderType = NULL;
- ((ngwt__SystemFolder*)this)->acl = NULL;
- ((ngwt__SystemFolder*)this)->isSharedByMe = NULL;
- soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- ((ngwt__Folder*)this)->description = NULL;
- ((ngwt__Folder*)this)->count = NULL;
- ((ngwt__Folder*)this)->hasUnread = NULL;
- ((ngwt__Folder*)this)->unreadCount = NULL;
- ((ngwt__Folder*)this)->sequence = NULL;
- ((ngwt__Folder*)this)->settings = NULL;
- ((ngwt__Folder*)this)->calendarAttribute = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SystemFolder::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SystemFolder);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SystemFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SystemFolder(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SystemFolder(struct soap *soap, const char *tag, int id, const ngwt__SystemFolder *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SystemFolder), "ngwt:SystemFolder");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), "");
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), "");
- soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), "");
- soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), "");
- soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), "");
- soap_out_PointerTobool(soap, "ngwt:isSystemFolder", -1, &(((ngwt__SystemFolder*)a)->isSystemFolder), "");
- soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__SystemFolder*)a)->folderType), "");
- soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SystemFolder*)a)->acl), "");
- soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SystemFolder*)a)->isSharedByMe), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SystemFolder::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SystemFolder(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_get_ngwt__SystemFolder(struct soap *soap, ngwt__SystemFolder *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SystemFolder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SystemFolder::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SystemFolder(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_in_ngwt__SystemFolder(struct soap *soap, const char *tag, ngwt__SystemFolder *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SystemFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SystemFolder, sizeof(ngwt__SystemFolder), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SystemFolder)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SystemFolder *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_isSystemFolder1 = 1, soap_flag_folderType1 = 1, soap_flag_acl1 = 1, soap_flag_isSharedByMe1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid"))
- { soap_flag_parent2 = 0;
- continue;
- }
- if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), ""))
- { soap_flag_description2 = 0;
- continue;
- }
- if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), ""))
- { soap_flag_count2 = 0;
- continue;
- }
- if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), ""))
- { soap_flag_hasUnread2 = 0;
- continue;
- }
- if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), ""))
- { soap_flag_unreadCount2 = 0;
- continue;
- }
- if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), ""))
- { soap_flag_sequence2 = 0;
- continue;
- }
- if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid"))
- { soap_flag_settings2 = 0;
- continue;
- }
- if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute"))
- { soap_flag_calendarAttribute2 = 0;
- continue;
- }
- if (soap_flag_isSystemFolder1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSystemFolder", &(((ngwt__SystemFolder*)a)->isSystemFolder), ""))
- { soap_flag_isSystemFolder1 = 0;
- continue;
- }
- if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__SystemFolder*)a)->folderType), ""))
- { soap_flag_folderType1 = 0;
- continue;
- }
- if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SystemFolder*)a)->acl), "ngwt:FolderACL"))
- { soap_flag_acl1 = 0;
- continue;
- }
- if (soap_flag_isSharedByMe1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SystemFolder*)a)->isSharedByMe), ""))
- { soap_flag_isSharedByMe1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SystemFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SystemFolder, 0, sizeof(ngwt__SystemFolder), 0, soap_copy_ngwt__SystemFolder);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_new_ngwt__SystemFolder(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SystemFolder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SystemFolder(struct soap *soap, ngwt__SystemFolder *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_instantiate_ngwt__SystemFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SystemFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SystemFolder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder"))
- { cp->type = SOAP_TYPE_ngwt__ContactFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContactFolder;
- if (size)
- *size = sizeof(ngwt__ContactFolder);
- ((ngwt__ContactFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContactFolder[n];
- if (size)
- *size = n * sizeof(ngwt__ContactFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContactFolder*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SystemFolder;
- if (size)
- *size = sizeof(ngwt__SystemFolder);
- ((ngwt__SystemFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SystemFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SystemFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SystemFolder*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SystemFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SystemFolder %p -> %p\n", q, p));
- *(ngwt__SystemFolder*)p = *(ngwt__SystemFolder*)q;
-}
-
-void ngwt__StatusTracking::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__StatusTracking*)this)->__item, SOAP_TYPE_ngwt__StatusTrackingOptions);
- /* transient soap skipped */
-}
-
-void ngwt__StatusTracking::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__StatusTrackingOptions(soap, &((ngwt__StatusTracking*)this)->__item);
- ((ngwt__StatusTracking*)this)->autoDelete = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__StatusTracking::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__StatusTracking);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__StatusTracking::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__StatusTracking(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTracking(struct soap *soap, const char *tag, int id, const ngwt__StatusTracking *a, const char *type)
-{
- if (((ngwt__StatusTracking *)a)->autoDelete)
- soap_set_attr(soap, "autoDelete", soap_bool2s(soap, *((ngwt__StatusTracking *)a)->autoDelete));
- soap_out_ngwt__StatusTrackingOptions(soap, tag, id, &(((ngwt__StatusTracking*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__StatusTracking::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__StatusTracking(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_get_ngwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__StatusTracking(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__StatusTracking::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__StatusTracking(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_in_ngwt__StatusTracking(struct soap *soap, const char *tag, ngwt__StatusTracking *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__StatusTracking *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__StatusTracking, sizeof(ngwt__StatusTracking), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__StatusTracking)
- return (ngwt__StatusTracking *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "autoDelete", 0);
- if (t)
- { if (!(((ngwt__StatusTracking *)a)->autoDelete = (bool *)soap_malloc(soap, sizeof(bool))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2bool(soap, t, ((ngwt__StatusTracking *)a)->autoDelete))
- return NULL;
- }
- }
- if (!soap_in_ngwt__StatusTrackingOptions(soap, tag, &(((ngwt__StatusTracking*)a)->__item), "ngwt:StatusTracking"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_new_ngwt__StatusTracking(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__StatusTracking(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_instantiate_ngwt__StatusTracking(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__StatusTracking(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__StatusTracking, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__StatusTracking;
- if (size)
- *size = sizeof(ngwt__StatusTracking);
- ((ngwt__StatusTracking*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__StatusTracking[n];
- if (size)
- *size = n * sizeof(ngwt__StatusTracking);
- for (int i = 0; i < n; i++)
- ((ngwt__StatusTracking*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__StatusTracking*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__StatusTracking(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__StatusTracking %p -> %p\n", q, p));
- *(ngwt__StatusTracking*)p = *(ngwt__StatusTracking*)q;
-}
-
-void ngwt__Status::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Status*)this)->code, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Status*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Status*)this)->description);
- soap_embedded(soap, &((ngwt__Status*)this)->info, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Status*)this)->info);
- soap_embedded(soap, &((ngwt__Status*)this)->problems, SOAP_TYPE_PointerTongwt__ProblemList);
- soap_serialize_PointerTongwt__ProblemList(soap, &((ngwt__Status*)this)->problems);
- /* transient soap skipped */
-}
-
-void ngwt__Status::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_int(soap, &((ngwt__Status*)this)->code);
- ((ngwt__Status*)this)->description = NULL;
- ((ngwt__Status*)this)->info = NULL;
- ((ngwt__Status*)this)->problems = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Status::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Status);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Status::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Status(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Status(struct soap *soap, const char *tag, int id, const ngwt__Status *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Status), type);
- soap_out_int(soap, "ngwt:code", -1, &(((ngwt__Status*)a)->code), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Status*)a)->description), "");
- soap_out_PointerTostd__string(soap, "ngwt:info", -1, &(((ngwt__Status*)a)->info), "");
- soap_out_PointerTongwt__ProblemList(soap, "ngwt:problems", -1, &(((ngwt__Status*)a)->problems), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Status::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Status(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_get_ngwt__Status(struct soap *soap, ngwt__Status *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Status(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Status::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Status(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_in_ngwt__Status(struct soap *soap, const char *tag, ngwt__Status *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Status *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Status, sizeof(ngwt__Status), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Status)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Status *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_code1 = 1, soap_flag_description1 = 1, soap_flag_info1 = 1, soap_flag_problems1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_code1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:code", &(((ngwt__Status*)a)->code), ""))
- { soap_flag_code1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Status*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_info1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:info", &(((ngwt__Status*)a)->info), ""))
- { soap_flag_info1 = 0;
- continue;
- }
- if (soap_flag_problems1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ProblemList(soap, "ngwt:problems", &(((ngwt__Status*)a)->problems), "ngwt:ProblemList"))
- { soap_flag_problems1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_code1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Status *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Status, 0, sizeof(ngwt__Status), 0, soap_copy_ngwt__Status);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_new_ngwt__Status(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Status(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Status(struct soap *soap, ngwt__Status *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_instantiate_ngwt__Status(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Status(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Status, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Status;
- if (size)
- *size = sizeof(ngwt__Status);
- ((ngwt__Status*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Status[n];
- if (size)
- *size = n * sizeof(ngwt__Status);
- for (int i = 0; i < n; i++)
- ((ngwt__Status*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Status*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Status(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Status %p -> %p\n", q, p));
- *(ngwt__Status*)p = *(ngwt__Status*)q;
-}
-
-void ngwt__SMimeOperation::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SMimeOperation*)this)->signed_, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SMimeOperation*)this)->signed_);
- soap_embedded(soap, &((ngwt__SMimeOperation*)this)->encrypted, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SMimeOperation*)this)->encrypted);
- /* transient soap skipped */
-}
-
-void ngwt__SMimeOperation::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SMimeOperation*)this)->signed_ = NULL;
- ((ngwt__SMimeOperation*)this)->encrypted = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SMimeOperation::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SMimeOperation);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SMimeOperation::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SMimeOperation(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SMimeOperation(struct soap *soap, const char *tag, int id, const ngwt__SMimeOperation *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SMimeOperation), type);
- soap_out_PointerTobool(soap, "ngwt:signed", -1, &(((ngwt__SMimeOperation*)a)->signed_), "");
- soap_out_PointerTobool(soap, "ngwt:encrypted", -1, &(((ngwt__SMimeOperation*)a)->encrypted), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SMimeOperation::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SMimeOperation(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_get_ngwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SMimeOperation(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SMimeOperation::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SMimeOperation(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_in_ngwt__SMimeOperation(struct soap *soap, const char *tag, ngwt__SMimeOperation *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SMimeOperation *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SMimeOperation, sizeof(ngwt__SMimeOperation), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SMimeOperation)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SMimeOperation *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_signed_1 = 1, soap_flag_encrypted1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_signed_1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:signed", &(((ngwt__SMimeOperation*)a)->signed_), ""))
- { soap_flag_signed_1 = 0;
- continue;
- }
- if (soap_flag_encrypted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:encrypted", &(((ngwt__SMimeOperation*)a)->encrypted), ""))
- { soap_flag_encrypted1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SMimeOperation *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SMimeOperation, 0, sizeof(ngwt__SMimeOperation), 0, soap_copy_ngwt__SMimeOperation);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_new_ngwt__SMimeOperation(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SMimeOperation(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_instantiate_ngwt__SMimeOperation(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SMimeOperation(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SMimeOperation, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SMimeOperation;
- if (size)
- *size = sizeof(ngwt__SMimeOperation);
- ((ngwt__SMimeOperation*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SMimeOperation[n];
- if (size)
- *size = n * sizeof(ngwt__SMimeOperation);
- for (int i = 0; i < n; i++)
- ((ngwt__SMimeOperation*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SMimeOperation*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SMimeOperation(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SMimeOperation %p -> %p\n", q, p));
- *(ngwt__SMimeOperation*)p = *(ngwt__SMimeOperation*)q;
-}
-
-void ngwt__SignatureData::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SignatureData*)this)->size, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__SignatureData*)this)->size);
- soap_embedded(soap, &((ngwt__SignatureData*)this)->data, SOAP_TYPE_PointerToxsd__base64Binary);
- soap_serialize_PointerToxsd__base64Binary(soap, &((ngwt__SignatureData*)this)->data);
- /* transient soap skipped */
-}
-
-void ngwt__SignatureData::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SignatureData*)this)->size = NULL;
- ((ngwt__SignatureData*)this)->data = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SignatureData::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SignatureData);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SignatureData::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SignatureData(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SignatureData(struct soap *soap, const char *tag, int id, const ngwt__SignatureData *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SignatureData), type);
- soap_out_PointerTounsignedLong(soap, "ngwt:size", -1, &(((ngwt__SignatureData*)a)->size), "");
- soap_out_PointerToxsd__base64Binary(soap, "ngwt:data", -1, &(((ngwt__SignatureData*)a)->data), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SignatureData::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SignatureData(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_get_ngwt__SignatureData(struct soap *soap, ngwt__SignatureData *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SignatureData(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SignatureData::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SignatureData(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_in_ngwt__SignatureData(struct soap *soap, const char *tag, ngwt__SignatureData *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SignatureData *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SignatureData, sizeof(ngwt__SignatureData), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SignatureData)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SignatureData *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_size1 = 1, soap_flag_data1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:size", &(((ngwt__SignatureData*)a)->size), ""))
- { soap_flag_size1 = 0;
- continue;
- }
- if (soap_flag_data1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToxsd__base64Binary(soap, "ngwt:data", &(((ngwt__SignatureData*)a)->data), "xsd:base64Binary"))
- { soap_flag_data1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SignatureData *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SignatureData, 0, sizeof(ngwt__SignatureData), 0, soap_copy_ngwt__SignatureData);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_new_ngwt__SignatureData(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SignatureData(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SignatureData(struct soap *soap, ngwt__SignatureData *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_instantiate_ngwt__SignatureData(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SignatureData(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SignatureData, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SignatureData;
- if (size)
- *size = sizeof(ngwt__SignatureData);
- ((ngwt__SignatureData*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SignatureData[n];
- if (size)
- *size = n * sizeof(ngwt__SignatureData);
- for (int i = 0; i < n; i++)
- ((ngwt__SignatureData*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SignatureData*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SignatureData(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SignatureData %p -> %p\n", q, p));
- *(ngwt__SignatureData*)p = *(ngwt__SignatureData*)q;
-}
-
-void ngwt__Signatures::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(soap, &((ngwt__Signatures*)this)->signature);
- /* transient soap skipped */
-}
-
-void ngwt__Signatures::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Signature(soap, &((ngwt__Signatures*)this)->signature);
- /* transient soap skipped */
-}
-
-int ngwt__Signatures::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Signatures);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Signatures::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Signatures(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signatures(struct soap *soap, const char *tag, int id, const ngwt__Signatures *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Signatures), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Signature(soap, "ngwt:signature", -1, &(((ngwt__Signatures*)a)->signature), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Signatures::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Signatures(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_get_ngwt__Signatures(struct soap *soap, ngwt__Signatures *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Signatures(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Signatures::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Signatures(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_in_ngwt__Signatures(struct soap *soap, const char *tag, ngwt__Signatures *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Signatures *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Signatures, sizeof(ngwt__Signatures), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Signatures)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Signatures *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Signature(soap, "ngwt:signature", &(((ngwt__Signatures*)a)->signature), "ngwt:Signature"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Signatures *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signatures, 0, sizeof(ngwt__Signatures), 0, soap_copy_ngwt__Signatures);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_new_ngwt__Signatures(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Signatures(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signatures(struct soap *soap, ngwt__Signatures *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_instantiate_ngwt__Signatures(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Signatures(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Signatures, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Signatures;
- if (size)
- *size = sizeof(ngwt__Signatures);
- ((ngwt__Signatures*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Signatures[n];
- if (size)
- *size = n * sizeof(ngwt__Signatures);
- for (int i = 0; i < n; i++)
- ((ngwt__Signatures*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Signatures*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signatures(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Signatures %p -> %p\n", q, p));
- *(ngwt__Signatures*)p = *(ngwt__Signatures*)q;
-}
-
-void ngwt__Signature::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Signature*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Signature*)this)->id);
- soap_embedded(soap, &((ngwt__Signature*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Signature*)this)->name);
- soap_embedded(soap, &((ngwt__Signature*)this)->default_, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Signature*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData);
- soap_serialize_PointerTongwt__SignatureData(soap, &((ngwt__Signature*)this)->part);
- soap_embedded(soap, &((ngwt__Signature*)this)->global, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void ngwt__Signature::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Signature*)this)->id = NULL;
- ((ngwt__Signature*)this)->name = NULL;
- ((ngwt__Signature*)this)->default_ = (bool)0;
- ((ngwt__Signature*)this)->part = NULL;
- ((ngwt__Signature*)this)->global = (bool)0;
- /* transient soap skipped */
-}
-
-int ngwt__Signature::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Signature);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Signature::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Signature(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signature(struct soap *soap, const char *tag, int id, const ngwt__Signature *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Signature), type);
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Signature*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Signature*)a)->name), "");
- soap_out_bool(soap, "ngwt:default", -1, &(((ngwt__Signature*)a)->default_), "");
- soap_out_PointerTongwt__SignatureData(soap, "ngwt:part", -1, &(((ngwt__Signature*)a)->part), "");
- soap_out_bool(soap, "ngwt:global", -1, &(((ngwt__Signature*)a)->global), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Signature::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Signature(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_get_ngwt__Signature(struct soap *soap, ngwt__Signature *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Signature(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Signature::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Signature(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_in_ngwt__Signature(struct soap *soap, const char *tag, ngwt__Signature *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Signature *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Signature, sizeof(ngwt__Signature), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Signature)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Signature *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_default_1 = 1, soap_flag_part1 = 1, soap_flag_global1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Signature*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Signature*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_default_1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:default", &(((ngwt__Signature*)a)->default_), ""))
- { soap_flag_default_1 = 0;
- continue;
- }
- if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SignatureData(soap, "ngwt:part", &(((ngwt__Signature*)a)->part), "ngwt:SignatureData"))
- { soap_flag_part1 = 0;
- continue;
- }
- if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:global", &(((ngwt__Signature*)a)->global), ""))
- { soap_flag_global1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Signature *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signature, 0, sizeof(ngwt__Signature), 0, soap_copy_ngwt__Signature);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_new_ngwt__Signature(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Signature(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signature(struct soap *soap, ngwt__Signature *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_instantiate_ngwt__Signature(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Signature(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Signature, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Signature;
- if (size)
- *size = sizeof(ngwt__Signature);
- ((ngwt__Signature*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Signature[n];
- if (size)
- *size = n * sizeof(ngwt__Signature);
- for (int i = 0; i < n; i++)
- ((ngwt__Signature*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Signature*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signature(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Signature %p -> %p\n", q, p));
- *(ngwt__Signature*)p = *(ngwt__Signature*)q;
-}
-
-void ngwt__SharedNotification::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SharedNotification*)this)->notification, SOAP_TYPE_ngwt__NotificationType);
- soap_embedded(soap, &((ngwt__SharedNotification*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__SharedNotification*)this)->description);
- soap_embedded(soap, &((ngwt__SharedNotification*)this)->rights, SOAP_TYPE_PointerTongwt__Rights);
- soap_serialize_PointerTongwt__Rights(soap, &((ngwt__SharedNotification*)this)->rights);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__SharedNotification::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__NotificationType(soap, &((ngwt__SharedNotification*)this)->notification);
- ((ngwt__SharedNotification*)this)->description = NULL;
- ((ngwt__SharedNotification*)this)->rights = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SharedNotification::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedNotification);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SharedNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SharedNotification(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedNotification(struct soap *soap, const char *tag, int id, const ngwt__SharedNotification *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedNotification), "ngwt:SharedNotification");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_ngwt__NotificationType(soap, "ngwt:notification", -1, &(((ngwt__SharedNotification*)a)->notification), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__SharedNotification*)a)->description), "");
- soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__SharedNotification*)a)->rights), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SharedNotification::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SharedNotification(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_get_ngwt__SharedNotification(struct soap *soap, ngwt__SharedNotification *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SharedNotification(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SharedNotification::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SharedNotification(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_in_ngwt__SharedNotification(struct soap *soap, const char *tag, ngwt__SharedNotification *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SharedNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedNotification, sizeof(ngwt__SharedNotification), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SharedNotification)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SharedNotification *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_notification1 = 1, soap_flag_description1 = 1, soap_flag_rights1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id5 = 0;
- continue;
- }
- if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name5 = 0;
- continue;
- }
- if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version5 = 0;
- continue;
- }
- if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified5 = 0;
- continue;
- }
- if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes5 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories4 = 0;
- continue;
- }
- if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created4 = 0;
- continue;
- }
- if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs4 = 0;
- continue;
- }
- if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status3 = 0;
- continue;
- }
- if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread3 = 0;
- continue;
- }
- if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId3 = 0;
- continue;
- }
- if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId3 = 0;
- continue;
- }
- if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source3 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId3 = 0;
- continue;
- }
- if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered3 = 0;
- continue;
- }
- if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_3 = 0;
- continue;
- }
- if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security3 = 0;
- continue;
- }
- if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment3 = 0;
- continue;
- }
- if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject2 = 0;
- continue;
- }
- if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject2 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix2 = 0;
- continue;
- }
- if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution2 = 0;
- continue;
- }
- if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message2 = 0;
- continue;
- }
- if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments2 = 0;
- continue;
- }
- if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options2 = 0;
- continue;
- }
- if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link2 = 0;
- continue;
- }
- if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment2 = 0;
- continue;
- }
- if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size2 = 0;
- continue;
- }
- if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType2 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap2 = 0;
- continue;
- }
- if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType2 = 0;
- continue;
- }
- if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__NotificationType(soap, "ngwt:notification", &(((ngwt__SharedNotification*)a)->notification), ""))
- { soap_flag_notification1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__SharedNotification*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__SharedNotification*)a)->rights), "ngwt:Rights"))
- { soap_flag_rights1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3 || soap_flag_notification1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SharedNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedNotification, 0, sizeof(ngwt__SharedNotification), 0, soap_copy_ngwt__SharedNotification);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_new_ngwt__SharedNotification(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SharedNotification(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedNotification(struct soap *soap, ngwt__SharedNotification *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedNotification, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedNotification;
- if (size)
- *size = sizeof(ngwt__SharedNotification);
- ((ngwt__SharedNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedNotification*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedNotification %p -> %p\n", q, p));
- *(ngwt__SharedNotification*)p = *(ngwt__SharedNotification*)q;
-}
-
-void ngwt__SharedFolderNotification::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->subject);
- soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->message, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->message);
- soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->description);
- /* transient soap skipped */
-}
-
-void ngwt__SharedFolderNotification::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SharedFolderNotification*)this)->subject = NULL;
- ((ngwt__SharedFolderNotification*)this)->message = NULL;
- ((ngwt__SharedFolderNotification*)this)->description = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SharedFolderNotification::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedFolderNotification);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SharedFolderNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SharedFolderNotification(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolderNotification(struct soap *soap, const char *tag, int id, const ngwt__SharedFolderNotification *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedFolderNotification), type);
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__SharedFolderNotification*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:message", -1, &(((ngwt__SharedFolderNotification*)a)->message), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__SharedFolderNotification*)a)->description), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SharedFolderNotification::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SharedFolderNotification(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_get_ngwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SharedFolderNotification(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SharedFolderNotification::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SharedFolderNotification(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_in_ngwt__SharedFolderNotification(struct soap *soap, const char *tag, ngwt__SharedFolderNotification *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SharedFolderNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedFolderNotification, sizeof(ngwt__SharedFolderNotification), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SharedFolderNotification)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SharedFolderNotification *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_subject1 = 1, soap_flag_message1 = 1, soap_flag_description1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__SharedFolderNotification*)a)->subject), ""))
- { soap_flag_subject1 = 0;
- continue;
- }
- if (soap_flag_message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:message", &(((ngwt__SharedFolderNotification*)a)->message), ""))
- { soap_flag_message1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__SharedFolderNotification*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SharedFolderNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolderNotification, 0, sizeof(ngwt__SharedFolderNotification), 0, soap_copy_ngwt__SharedFolderNotification);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_new_ngwt__SharedFolderNotification(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SharedFolderNotification(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolderNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedFolderNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedFolderNotification, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedFolderNotification;
- if (size)
- *size = sizeof(ngwt__SharedFolderNotification);
- ((ngwt__SharedFolderNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedFolderNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedFolderNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedFolderNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedFolderNotification*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolderNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedFolderNotification %p -> %p\n", q, p));
- *(ngwt__SharedFolderNotification*)p = *(ngwt__SharedFolderNotification*)q;
-}
-
-void ngwt__SharedFolder::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SharedFolder*)this)->rights, SOAP_TYPE_PointerTongwt__Rights);
- soap_serialize_PointerTongwt__Rights(soap, &((ngwt__SharedFolder*)this)->rights);
- soap_embedded(soap, &((ngwt__SharedFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL);
- soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SharedFolder*)this)->acl);
- soap_embedded(soap, &((ngwt__SharedFolder*)this)->owner, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__SharedFolder*)this)->owner);
- soap_embedded(soap, &((ngwt__SharedFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SharedFolder*)this)->isSharedByMe);
- soap_embedded(soap, &((ngwt__SharedFolder*)this)->isSharedToMe, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SharedFolder*)this)->isSharedToMe);
- soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description);
- soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count);
- soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread);
- soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount);
- soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence);
- soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings);
- soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__SharedFolder::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SharedFolder*)this)->rights = NULL;
- ((ngwt__SharedFolder*)this)->acl = NULL;
- ((ngwt__SharedFolder*)this)->owner = NULL;
- ((ngwt__SharedFolder*)this)->isSharedByMe = NULL;
- ((ngwt__SharedFolder*)this)->isSharedToMe = NULL;
- soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- ((ngwt__Folder*)this)->description = NULL;
- ((ngwt__Folder*)this)->count = NULL;
- ((ngwt__Folder*)this)->hasUnread = NULL;
- ((ngwt__Folder*)this)->unreadCount = NULL;
- ((ngwt__Folder*)this)->sequence = NULL;
- ((ngwt__Folder*)this)->settings = NULL;
- ((ngwt__Folder*)this)->calendarAttribute = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SharedFolder::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedFolder);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SharedFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SharedFolder(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolder(struct soap *soap, const char *tag, int id, const ngwt__SharedFolder *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedFolder), "ngwt:SharedFolder");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), "");
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), "");
- soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), "");
- soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), "");
- soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), "");
- soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__SharedFolder*)a)->rights), "");
- soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SharedFolder*)a)->acl), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:owner", -1, &(((ngwt__SharedFolder*)a)->owner), "");
- soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SharedFolder*)a)->isSharedByMe), "");
- soap_out_PointerTobool(soap, "ngwt:isSharedToMe", -1, &(((ngwt__SharedFolder*)a)->isSharedToMe), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SharedFolder::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SharedFolder(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_get_ngwt__SharedFolder(struct soap *soap, ngwt__SharedFolder *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SharedFolder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SharedFolder::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SharedFolder(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_in_ngwt__SharedFolder(struct soap *soap, const char *tag, ngwt__SharedFolder *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SharedFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedFolder, sizeof(ngwt__SharedFolder), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SharedFolder)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SharedFolder *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_rights1 = 1, soap_flag_acl1 = 1, soap_flag_owner1 = 1, soap_flag_isSharedByMe1 = 1, soap_flag_isSharedToMe1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid"))
- { soap_flag_parent2 = 0;
- continue;
- }
- if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), ""))
- { soap_flag_description2 = 0;
- continue;
- }
- if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), ""))
- { soap_flag_count2 = 0;
- continue;
- }
- if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), ""))
- { soap_flag_hasUnread2 = 0;
- continue;
- }
- if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), ""))
- { soap_flag_unreadCount2 = 0;
- continue;
- }
- if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), ""))
- { soap_flag_sequence2 = 0;
- continue;
- }
- if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid"))
- { soap_flag_settings2 = 0;
- continue;
- }
- if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute"))
- { soap_flag_calendarAttribute2 = 0;
- continue;
- }
- if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__SharedFolder*)a)->rights), "ngwt:Rights"))
- { soap_flag_rights1 = 0;
- continue;
- }
- if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SharedFolder*)a)->acl), "ngwt:FolderACL"))
- { soap_flag_acl1 = 0;
- continue;
- }
- if (soap_flag_owner1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:owner", &(((ngwt__SharedFolder*)a)->owner), "ngwt:UUID"))
- { soap_flag_owner1 = 0;
- continue;
- }
- if (soap_flag_isSharedByMe1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SharedFolder*)a)->isSharedByMe), ""))
- { soap_flag_isSharedByMe1 = 0;
- continue;
- }
- if (soap_flag_isSharedToMe1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSharedToMe", &(((ngwt__SharedFolder*)a)->isSharedToMe), ""))
- { soap_flag_isSharedToMe1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SharedFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolder, 0, sizeof(ngwt__SharedFolder), 0, soap_copy_ngwt__SharedFolder);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_new_ngwt__SharedFolder(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SharedFolder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolder(struct soap *soap, ngwt__SharedFolder *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedFolder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedFolder;
- if (size)
- *size = sizeof(ngwt__SharedFolder);
- ((ngwt__SharedFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SharedFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedFolder*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedFolder %p -> %p\n", q, p));
- *(ngwt__SharedFolder*)p = *(ngwt__SharedFolder*)q;
-}
-
-void ngwt__SettingsList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsList*)this)->setting);
- /* transient soap skipped */
-}
-
-void ngwt__SettingsList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsList*)this)->setting);
- /* transient soap skipped */
-}
-
-int ngwt__SettingsList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SettingsList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SettingsList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SettingsList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsList(struct soap *soap, const char *tag, int id, const ngwt__SettingsList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SettingsList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__SettingsList*)a)->setting), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SettingsList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SettingsList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_get_ngwt__SettingsList(struct soap *soap, ngwt__SettingsList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SettingsList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SettingsList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SettingsList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_in_ngwt__SettingsList(struct soap *soap, const char *tag, ngwt__SettingsList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SettingsList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SettingsList, sizeof(ngwt__SettingsList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SettingsList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SettingsList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__SettingsList*)a)->setting), "ngwt:Custom"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SettingsList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsList, 0, sizeof(ngwt__SettingsList), 0, soap_copy_ngwt__SettingsList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_new_ngwt__SettingsList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SettingsList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsList(struct soap *soap, ngwt__SettingsList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_instantiate_ngwt__SettingsList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SettingsList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SettingsList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SettingsList;
- if (size)
- *size = sizeof(ngwt__SettingsList);
- ((ngwt__SettingsList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SettingsList[n];
- if (size)
- *size = n * sizeof(ngwt__SettingsList);
- for (int i = 0; i < n; i++)
- ((ngwt__SettingsList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SettingsList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SettingsList %p -> %p\n", q, p));
- *(ngwt__SettingsList*)p = *(ngwt__SettingsList*)q;
-}
-
-void ngwt__SettingsGroup::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsGroup*)this)->setting);
- /* transient soap skipped */
-}
-
-void ngwt__SettingsGroup::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsGroup*)this)->setting);
- ((ngwt__SettingsGroup*)this)->type = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__SettingsGroup::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SettingsGroup);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SettingsGroup::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SettingsGroup(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsGroup(struct soap *soap, const char *tag, int id, const ngwt__SettingsGroup *a, const char *type)
-{
- if (((ngwt__SettingsGroup *)a)->type)
- soap_set_attr(soap, "type", ((ngwt__SettingsGroup *)a)->type->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SettingsGroup), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__SettingsGroup*)a)->setting), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SettingsGroup::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SettingsGroup(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_get_ngwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SettingsGroup(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SettingsGroup::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SettingsGroup(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_in_ngwt__SettingsGroup(struct soap *soap, const char *tag, ngwt__SettingsGroup *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SettingsGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SettingsGroup, sizeof(ngwt__SettingsGroup), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SettingsGroup)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SettingsGroup *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "type", 0);
- if (t)
- { if (!(((ngwt__SettingsGroup *)a)->type = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__SettingsGroup *)a)->type = soap_new_std__string(soap, -1);
- ((ngwt__SettingsGroup *)a)->type->assign(s);
- }
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__SettingsGroup*)a)->setting), "ngwt:Custom"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SettingsGroup *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsGroup, 0, sizeof(ngwt__SettingsGroup), 0, soap_copy_ngwt__SettingsGroup);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_new_ngwt__SettingsGroup(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SettingsGroup(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_instantiate_ngwt__SettingsGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SettingsGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SettingsGroup, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SettingsGroup;
- if (size)
- *size = sizeof(ngwt__SettingsGroup);
- ((ngwt__SettingsGroup*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SettingsGroup[n];
- if (size)
- *size = n * sizeof(ngwt__SettingsGroup);
- for (int i = 0; i < n; i++)
- ((ngwt__SettingsGroup*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SettingsGroup*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SettingsGroup %p -> %p\n", q, p));
- *(ngwt__SettingsGroup*)p = *(ngwt__SettingsGroup*)q;
-}
-
-void ngwt__Settings::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, &((ngwt__Settings*)this)->group);
- soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__Settings*)this)->setting);
- /* transient soap skipped */
-}
-
-void ngwt__Settings::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, &((ngwt__Settings*)this)->group);
- soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__Settings*)this)->setting);
- /* transient soap skipped */
-}
-
-int ngwt__Settings::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Settings);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Settings::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Settings(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Settings(struct soap *soap, const char *tag, int id, const ngwt__Settings *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Settings), type);
- soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, "ngwt:group", -1, &(((ngwt__Settings*)a)->group), "");
- soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__Settings*)a)->setting), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Settings::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Settings(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_get_ngwt__Settings(struct soap *soap, ngwt__Settings *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Settings(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Settings::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Settings(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_in_ngwt__Settings(struct soap *soap, const char *tag, ngwt__Settings *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Settings *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Settings, sizeof(ngwt__Settings), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Settings)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Settings *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, "ngwt:group", &(((ngwt__Settings*)a)->group), "ngwt:SettingsGroup"))
- continue;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__Settings*)a)->setting), "ngwt:Custom"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Settings *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Settings, 0, sizeof(ngwt__Settings), 0, soap_copy_ngwt__Settings);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_new_ngwt__Settings(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Settings(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Settings(struct soap *soap, ngwt__Settings *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_instantiate_ngwt__Settings(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Settings(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Settings, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Settings;
- if (size)
- *size = sizeof(ngwt__Settings);
- ((ngwt__Settings*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Settings[n];
- if (size)
- *size = n * sizeof(ngwt__Settings);
- for (int i = 0; i < n; i++)
- ((ngwt__Settings*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Settings*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Settings(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Settings %p -> %p\n", q, p));
- *(ngwt__Settings*)p = *(ngwt__Settings*)q;
-}
-
-void ngwt__SendOptions::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SendOptions*)this)->requestReply, SOAP_TYPE_PointerTongwt__SendOptionsRequestReply);
- soap_serialize_PointerTongwt__SendOptionsRequestReply(soap, &((ngwt__SendOptions*)this)->requestReply);
- soap_embedded(soap, &((ngwt__SendOptions*)this)->mimeEncoding, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__SendOptions*)this)->mimeEncoding);
- soap_embedded(soap, &((ngwt__SendOptions*)this)->statusTracking, SOAP_TYPE_PointerTongwt__StatusTracking);
- soap_serialize_PointerTongwt__StatusTracking(soap, &((ngwt__SendOptions*)this)->statusTracking);
- soap_embedded(soap, &((ngwt__SendOptions*)this)->notification, SOAP_TYPE_PointerTongwt__ReturnNotification);
- soap_serialize_PointerTongwt__ReturnNotification(soap, &((ngwt__SendOptions*)this)->notification);
- soap_embedded(soap, &((ngwt__SendOptions*)this)->updateFrequentContacts, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void ngwt__SendOptions::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SendOptions*)this)->requestReply = NULL;
- ((ngwt__SendOptions*)this)->mimeEncoding = NULL;
- ((ngwt__SendOptions*)this)->statusTracking = NULL;
- ((ngwt__SendOptions*)this)->notification = NULL;
- ((ngwt__SendOptions*)this)->updateFrequentContacts = (bool)1;
- /* transient soap skipped */
-}
-
-int ngwt__SendOptions::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SendOptions);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SendOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SendOptions(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptions(struct soap *soap, const char *tag, int id, const ngwt__SendOptions *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SendOptions), type);
- soap_out_PointerTongwt__SendOptionsRequestReply(soap, "ngwt:requestReply", -1, &(((ngwt__SendOptions*)a)->requestReply), "");
- soap_out_PointerTostd__string(soap, "ngwt:mimeEncoding", -1, &(((ngwt__SendOptions*)a)->mimeEncoding), "");
- soap_out_PointerTongwt__StatusTracking(soap, "ngwt:statusTracking", -1, &(((ngwt__SendOptions*)a)->statusTracking), "");
- soap_out_PointerTongwt__ReturnNotification(soap, "ngwt:notification", -1, &(((ngwt__SendOptions*)a)->notification), "");
- soap_out_bool(soap, "ngwt:updateFrequentContacts", -1, &(((ngwt__SendOptions*)a)->updateFrequentContacts), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SendOptions::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SendOptions(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_get_ngwt__SendOptions(struct soap *soap, ngwt__SendOptions *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SendOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SendOptions::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SendOptions(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_in_ngwt__SendOptions(struct soap *soap, const char *tag, ngwt__SendOptions *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SendOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SendOptions, sizeof(ngwt__SendOptions), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SendOptions)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SendOptions *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_requestReply1 = 1, soap_flag_mimeEncoding1 = 1, soap_flag_statusTracking1 = 1, soap_flag_notification1 = 1, soap_flag_updateFrequentContacts1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_requestReply1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SendOptionsRequestReply(soap, "ngwt:requestReply", &(((ngwt__SendOptions*)a)->requestReply), "ngwt:SendOptionsRequestReply"))
- { soap_flag_requestReply1 = 0;
- continue;
- }
- if (soap_flag_mimeEncoding1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:mimeEncoding", &(((ngwt__SendOptions*)a)->mimeEncoding), ""))
- { soap_flag_mimeEncoding1 = 0;
- continue;
- }
- if (soap_flag_statusTracking1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__StatusTracking(soap, "ngwt:statusTracking", &(((ngwt__SendOptions*)a)->statusTracking), "ngwt:StatusTracking"))
- { soap_flag_statusTracking1 = 0;
- continue;
- }
- if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotification(soap, "ngwt:notification", &(((ngwt__SendOptions*)a)->notification), "ngwt:ReturnNotification"))
- { soap_flag_notification1 = 0;
- continue;
- }
- if (soap_flag_updateFrequentContacts1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:updateFrequentContacts", &(((ngwt__SendOptions*)a)->updateFrequentContacts), ""))
- { soap_flag_updateFrequentContacts1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SendOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptions, 0, sizeof(ngwt__SendOptions), 0, soap_copy_ngwt__SendOptions);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_new_ngwt__SendOptions(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SendOptions(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptions(struct soap *soap, ngwt__SendOptions *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_instantiate_ngwt__SendOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SendOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SendOptions, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SendOptions;
- if (size)
- *size = sizeof(ngwt__SendOptions);
- ((ngwt__SendOptions*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SendOptions[n];
- if (size)
- *size = n * sizeof(ngwt__SendOptions);
- for (int i = 0; i < n; i++)
- ((ngwt__SendOptions*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SendOptions*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SendOptions %p -> %p\n", q, p));
- *(ngwt__SendOptions*)p = *(ngwt__SendOptions*)q;
-}
-
-void ngwt__SendOptionsRequestReply::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__SendOptionsRequestReply*)this)->whenConvenient, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SendOptionsRequestReply*)this)->whenConvenient);
- soap_embedded(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate);
- /* transient soap skipped */
-}
-
-void ngwt__SendOptionsRequestReply::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__SendOptionsRequestReply*)this)->whenConvenient = NULL;
- soap_default_string(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate);
- /* transient soap skipped */
-}
-
-int ngwt__SendOptionsRequestReply::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SendOptionsRequestReply);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__SendOptionsRequestReply::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__SendOptionsRequestReply(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptionsRequestReply(struct soap *soap, const char *tag, int id, const ngwt__SendOptionsRequestReply *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SendOptionsRequestReply), type);
- soap_out_PointerTobool(soap, "ngwt:whenConvenient", -1, &(((ngwt__SendOptionsRequestReply*)a)->whenConvenient), "");
- soap_out_string(soap, "ngwt:byDate", -1, &(((ngwt__SendOptionsRequestReply*)a)->byDate), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__SendOptionsRequestReply::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__SendOptionsRequestReply(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_get_ngwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__SendOptionsRequestReply(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__SendOptionsRequestReply::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__SendOptionsRequestReply(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_in_ngwt__SendOptionsRequestReply(struct soap *soap, const char *tag, ngwt__SendOptionsRequestReply *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__SendOptionsRequestReply *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SendOptionsRequestReply, sizeof(ngwt__SendOptionsRequestReply), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__SendOptionsRequestReply)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__SendOptionsRequestReply *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_whenConvenient1 = 1, soap_flag_byDate1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_whenConvenient1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:whenConvenient", &(((ngwt__SendOptionsRequestReply*)a)->whenConvenient), ""))
- { soap_flag_whenConvenient1 = 0;
- continue;
- }
- if (soap_flag_byDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:byDate", &(((ngwt__SendOptionsRequestReply*)a)->byDate), ""))
- { soap_flag_byDate1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__SendOptionsRequestReply *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptionsRequestReply, 0, sizeof(ngwt__SendOptionsRequestReply), 0, soap_copy_ngwt__SendOptionsRequestReply);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_new_ngwt__SendOptionsRequestReply(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__SendOptionsRequestReply(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_instantiate_ngwt__SendOptionsRequestReply(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SendOptionsRequestReply(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SendOptionsRequestReply, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SendOptionsRequestReply;
- if (size)
- *size = sizeof(ngwt__SendOptionsRequestReply);
- ((ngwt__SendOptionsRequestReply*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SendOptionsRequestReply[n];
- if (size)
- *size = n * sizeof(ngwt__SendOptionsRequestReply);
- for (int i = 0; i < n; i++)
- ((ngwt__SendOptionsRequestReply*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SendOptionsRequestReply*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptionsRequestReply(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SendOptionsRequestReply %p -> %p\n", q, p));
- *(ngwt__SendOptionsRequestReply*)p = *(ngwt__SendOptionsRequestReply*)q;
-}
-
-void ngwt__RuleList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(soap, &((ngwt__RuleList*)this)->rule);
- /* transient soap skipped */
-}
-
-void ngwt__RuleList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Rule(soap, &((ngwt__RuleList*)this)->rule);
- /* transient soap skipped */
-}
-
-int ngwt__RuleList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RuleList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RuleList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleList(struct soap *soap, const char *tag, int id, const ngwt__RuleList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Rule(soap, "ngwt:rule", -1, &(((ngwt__RuleList*)a)->rule), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RuleList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RuleList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_get_ngwt__RuleList(struct soap *soap, ngwt__RuleList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RuleList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RuleList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RuleList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_in_ngwt__RuleList(struct soap *soap, const char *tag, ngwt__RuleList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RuleList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleList, sizeof(ngwt__RuleList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RuleList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RuleList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Rule(soap, "ngwt:rule", &(((ngwt__RuleList*)a)->rule), "ngwt:Rule"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RuleList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleList, 0, sizeof(ngwt__RuleList), 0, soap_copy_ngwt__RuleList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_new_ngwt__RuleList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RuleList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleList(struct soap *soap, ngwt__RuleList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_instantiate_ngwt__RuleList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RuleList;
- if (size)
- *size = sizeof(ngwt__RuleList);
- ((ngwt__RuleList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RuleList[n];
- if (size)
- *size = n * sizeof(ngwt__RuleList);
- for (int i = 0; i < n; i++)
- ((ngwt__RuleList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RuleList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleList %p -> %p\n", q, p));
- *(ngwt__RuleList*)p = *(ngwt__RuleList*)q;
-}
-
-void ngwt__RuleActionList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(soap, &((ngwt__RuleActionList*)this)->action);
- /* transient soap skipped */
-}
-
-void ngwt__RuleActionList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(soap, &((ngwt__RuleActionList*)this)->action);
- /* transient soap skipped */
-}
-
-int ngwt__RuleActionList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleActionList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RuleActionList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RuleActionList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionList(struct soap *soap, const char *tag, int id, const ngwt__RuleActionList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleActionList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(soap, "ngwt:action", -1, &(((ngwt__RuleActionList*)a)->action), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RuleActionList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RuleActionList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_get_ngwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RuleActionList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RuleActionList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RuleActionList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_in_ngwt__RuleActionList(struct soap *soap, const char *tag, ngwt__RuleActionList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RuleActionList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleActionList, sizeof(ngwt__RuleActionList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RuleActionList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RuleActionList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(soap, "ngwt:action", &(((ngwt__RuleActionList*)a)->action), "ngwt:RuleAction"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RuleActionList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionList, 0, sizeof(ngwt__RuleActionList), 0, soap_copy_ngwt__RuleActionList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_new_ngwt__RuleActionList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RuleActionList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_instantiate_ngwt__RuleActionList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleActionList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleActionList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RuleActionList;
- if (size)
- *size = sizeof(ngwt__RuleActionList);
- ((ngwt__RuleActionList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RuleActionList[n];
- if (size)
- *size = n * sizeof(ngwt__RuleActionList);
- for (int i = 0; i < n; i++)
- ((ngwt__RuleActionList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RuleActionList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleActionList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleActionList %p -> %p\n", q, p));
- *(ngwt__RuleActionList*)p = *(ngwt__RuleActionList*)q;
-}
-
-void ngwt__RuleAction::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__RuleAction*)this)->type, SOAP_TYPE_ngwt__RuleActionType);
- soap_embedded(soap, &((ngwt__RuleAction*)this)->container, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__RuleAction*)this)->container);
- soap_embedded(soap, &((ngwt__RuleAction*)this)->item, SOAP_TYPE_PointerTongwt__Mail);
- soap_serialize_PointerTongwt__Mail(soap, &((ngwt__RuleAction*)this)->item);
- soap_embedded(soap, &((ngwt__RuleAction*)this)->message, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__RuleAction*)this)->message);
- soap_embedded(soap, &((ngwt__RuleAction*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel);
- soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__RuleAction*)this)->acceptLevel);
- soap_embedded(soap, &((ngwt__RuleAction*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__RuleAction*)this)->categories);
- /* transient soap skipped */
-}
-
-void ngwt__RuleAction::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__RuleActionType(soap, &((ngwt__RuleAction*)this)->type);
- ((ngwt__RuleAction*)this)->container = NULL;
- ((ngwt__RuleAction*)this)->item = NULL;
- ((ngwt__RuleAction*)this)->message = NULL;
- ((ngwt__RuleAction*)this)->acceptLevel = NULL;
- ((ngwt__RuleAction*)this)->categories = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__RuleAction::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleAction);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RuleAction::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RuleAction(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleAction(struct soap *soap, const char *tag, int id, const ngwt__RuleAction *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleAction), type);
- soap_out_ngwt__RuleActionType(soap, "ngwt:type", -1, &(((ngwt__RuleAction*)a)->type), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:container", -1, &(((ngwt__RuleAction*)a)->container), "");
- soap_out_PointerTongwt__Mail(soap, "ngwt:item", -1, &(((ngwt__RuleAction*)a)->item), "");
- soap_out_PointerTostd__string(soap, "ngwt:message", -1, &(((ngwt__RuleAction*)a)->message), "");
- soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__RuleAction*)a)->acceptLevel), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__RuleAction*)a)->categories), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RuleAction::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RuleAction(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_get_ngwt__RuleAction(struct soap *soap, ngwt__RuleAction *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RuleAction(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RuleAction::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RuleAction(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_in_ngwt__RuleAction(struct soap *soap, const char *tag, ngwt__RuleAction *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RuleAction *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleAction, sizeof(ngwt__RuleAction), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RuleAction)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RuleAction *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_type1 = 1, soap_flag_container1 = 1, soap_flag_item1 = 1, soap_flag_message1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_categories1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__RuleActionType(soap, "ngwt:type", &(((ngwt__RuleAction*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:container", &(((ngwt__RuleAction*)a)->container), "ngwt:uid"))
- { soap_flag_container1 = 0;
- continue;
- }
- if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Mail(soap, "ngwt:item", &(((ngwt__RuleAction*)a)->item), "ngwt:Mail"))
- { soap_flag_item1 = 0;
- continue;
- }
- if (soap_flag_message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:message", &(((ngwt__RuleAction*)a)->message), ""))
- { soap_flag_message1 = 0;
- continue;
- }
- if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__RuleAction*)a)->acceptLevel), ""))
- { soap_flag_acceptLevel1 = 0;
- continue;
- }
- if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__RuleAction*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_type1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RuleAction *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleAction, 0, sizeof(ngwt__RuleAction), 0, soap_copy_ngwt__RuleAction);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_new_ngwt__RuleAction(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RuleAction(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleAction(struct soap *soap, ngwt__RuleAction *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_instantiate_ngwt__RuleAction(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleAction(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleAction, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RuleAction;
- if (size)
- *size = sizeof(ngwt__RuleAction);
- ((ngwt__RuleAction*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RuleAction[n];
- if (size)
- *size = n * sizeof(ngwt__RuleAction);
- for (int i = 0; i < n; i++)
- ((ngwt__RuleAction*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RuleAction*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleAction(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleAction %p -> %p\n", q, p));
- *(ngwt__RuleAction*)p = *(ngwt__RuleAction*)q;
-}
-
-void ngwt__Rule::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Rule*)this)->execution, SOAP_TYPE_PointerTongwt__Execution);
- soap_serialize_PointerTongwt__Execution(soap, &((ngwt__Rule*)this)->execution);
- soap_embedded(soap, &((ngwt__Rule*)this)->sequence, SOAP_TYPE_unsignedLong);
- soap_embedded(soap, &((ngwt__Rule*)this)->enabled, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Rule*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList);
- soap_serialize_PointerTongwt__MessageTypeList(soap, &((ngwt__Rule*)this)->types);
- soap_embedded(soap, &((ngwt__Rule*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList);
- soap_serialize_PointerTongwt__ItemSourceList(soap, &((ngwt__Rule*)this)->source);
- soap_embedded(soap, &((ngwt__Rule*)this)->conflict, SOAP_TYPE_ngwt__AppointmentConflict);
- soap_embedded(soap, &((ngwt__Rule*)this)->filter, SOAP_TYPE_PointerTongwt__Filter);
- soap_serialize_PointerTongwt__Filter(soap, &((ngwt__Rule*)this)->filter);
- soap_embedded(soap, &((ngwt__Rule*)this)->actions, SOAP_TYPE_PointerTongwt__RuleActionList);
- soap_serialize_PointerTongwt__RuleActionList(soap, &((ngwt__Rule*)this)->actions);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Rule::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Rule*)this)->execution = NULL;
- soap_default_unsignedLong(soap, &((ngwt__Rule*)this)->sequence);
- ((ngwt__Rule*)this)->enabled = (bool)0;
- ((ngwt__Rule*)this)->types = NULL;
- ((ngwt__Rule*)this)->source = NULL;
- ((ngwt__Rule*)this)->conflict = (enum ngwt__AppointmentConflict)2;
- ((ngwt__Rule*)this)->filter = NULL;
- ((ngwt__Rule*)this)->actions = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Rule::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Rule);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Rule::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Rule(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rule(struct soap *soap, const char *tag, int id, const ngwt__Rule *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Rule), "ngwt:Rule");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__Execution(soap, "ngwt:execution", -1, &(((ngwt__Rule*)a)->execution), "");
- soap_out_unsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Rule*)a)->sequence), "");
- soap_out_bool(soap, "ngwt:enabled", -1, &(((ngwt__Rule*)a)->enabled), "");
- soap_out_PointerTongwt__MessageTypeList(soap, "ngwt:types", -1, &(((ngwt__Rule*)a)->types), "");
- soap_out_PointerTongwt__ItemSourceList(soap, "ngwt:source", -1, &(((ngwt__Rule*)a)->source), "");
- soap_out_ngwt__AppointmentConflict(soap, "ngwt:conflict", -1, &(((ngwt__Rule*)a)->conflict), "");
- soap_out_PointerTongwt__Filter(soap, "ngwt:filter", -1, &(((ngwt__Rule*)a)->filter), "");
- soap_out_PointerTongwt__RuleActionList(soap, "ngwt:actions", -1, &(((ngwt__Rule*)a)->actions), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Rule::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Rule(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_get_ngwt__Rule(struct soap *soap, ngwt__Rule *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Rule(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Rule::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Rule(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_in_ngwt__Rule(struct soap *soap, const char *tag, ngwt__Rule *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Rule *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Rule, sizeof(ngwt__Rule), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Rule)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Rule *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_execution1 = 1, soap_flag_sequence1 = 1, soap_flag_enabled1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_conflict1 = 1, soap_flag_filter1 = 1, soap_flag_actions1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_execution1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Execution(soap, "ngwt:execution", &(((ngwt__Rule*)a)->execution), ""))
- { soap_flag_execution1 = 0;
- continue;
- }
- if (soap_flag_sequence1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwt:sequence", &(((ngwt__Rule*)a)->sequence), ""))
- { soap_flag_sequence1 = 0;
- continue;
- }
- if (soap_flag_enabled1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:enabled", &(((ngwt__Rule*)a)->enabled), ""))
- { soap_flag_enabled1 = 0;
- continue;
- }
- if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwt:types", &(((ngwt__Rule*)a)->types), ""))
- { soap_flag_types1 = 0;
- continue;
- }
- if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwt:source", &(((ngwt__Rule*)a)->source), ""))
- { soap_flag_source1 = 0;
- continue;
- }
- if (soap_flag_conflict1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__AppointmentConflict(soap, "ngwt:conflict", &(((ngwt__Rule*)a)->conflict), ""))
- { soap_flag_conflict1 = 0;
- continue;
- }
- if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Filter(soap, "ngwt:filter", &(((ngwt__Rule*)a)->filter), "ngwt:Filter"))
- { soap_flag_filter1 = 0;
- continue;
- }
- if (soap_flag_actions1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RuleActionList(soap, "ngwt:actions", &(((ngwt__Rule*)a)->actions), "ngwt:RuleActionList"))
- { soap_flag_actions1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_sequence1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Rule *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rule, 0, sizeof(ngwt__Rule), 0, soap_copy_ngwt__Rule);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_new_ngwt__Rule(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Rule(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rule(struct soap *soap, ngwt__Rule *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_instantiate_ngwt__Rule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Rule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Rule, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Rule;
- if (size)
- *size = sizeof(ngwt__Rule);
- ((ngwt__Rule*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Rule[n];
- if (size)
- *size = n * sizeof(ngwt__Rule);
- for (int i = 0; i < n; i++)
- ((ngwt__Rule*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Rule*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Rule %p -> %p\n", q, p));
- *(ngwt__Rule*)p = *(ngwt__Rule*)q;
-}
-
-void ngwt__Rights::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Rights*)this)->read, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->read);
- soap_embedded(soap, &((ngwt__Rights*)this)->add, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->add);
- soap_embedded(soap, &((ngwt__Rights*)this)->edit, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->edit);
- soap_embedded(soap, &((ngwt__Rights*)this)->_delete, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->_delete);
- soap_embedded(soap, &((ngwt__Rights*)this)->share, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->share);
- soap_embedded(soap, &((ngwt__Rights*)this)->manage, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->manage);
- /* transient soap skipped */
-}
-
-void ngwt__Rights::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Rights*)this)->read = NULL;
- ((ngwt__Rights*)this)->add = NULL;
- ((ngwt__Rights*)this)->edit = NULL;
- ((ngwt__Rights*)this)->_delete = NULL;
- ((ngwt__Rights*)this)->share = NULL;
- ((ngwt__Rights*)this)->manage = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Rights::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Rights);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Rights::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Rights(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rights(struct soap *soap, const char *tag, int id, const ngwt__Rights *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Rights), type);
- soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__Rights*)a)->read), "");
- soap_out_PointerTobool(soap, "ngwt:add", -1, &(((ngwt__Rights*)a)->add), "");
- soap_out_PointerTobool(soap, "ngwt:edit", -1, &(((ngwt__Rights*)a)->edit), "");
- soap_out_PointerTobool(soap, "ngwt:delete", -1, &(((ngwt__Rights*)a)->_delete), "");
- soap_out_PointerTobool(soap, "ngwt:share", -1, &(((ngwt__Rights*)a)->share), "");
- soap_out_PointerTobool(soap, "ngwt:manage", -1, &(((ngwt__Rights*)a)->manage), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Rights::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Rights(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_get_ngwt__Rights(struct soap *soap, ngwt__Rights *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Rights(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Rights::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Rights(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_in_ngwt__Rights(struct soap *soap, const char *tag, ngwt__Rights *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Rights *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Rights, sizeof(ngwt__Rights), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Rights)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Rights *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_read1 = 1, soap_flag_add1 = 1, soap_flag_edit1 = 1, soap_flag_delete1 = 1, soap_flag_share1 = 1, soap_flag_manage1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__Rights*)a)->read), ""))
- { soap_flag_read1 = 0;
- continue;
- }
- if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:add", &(((ngwt__Rights*)a)->add), ""))
- { soap_flag_add1 = 0;
- continue;
- }
- if (soap_flag_edit1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:edit", &(((ngwt__Rights*)a)->edit), ""))
- { soap_flag_edit1 = 0;
- continue;
- }
- if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:delete", &(((ngwt__Rights*)a)->_delete), ""))
- { soap_flag_delete1 = 0;
- continue;
- }
- if (soap_flag_share1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:share", &(((ngwt__Rights*)a)->share), ""))
- { soap_flag_share1 = 0;
- continue;
- }
- if (soap_flag_manage1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:manage", &(((ngwt__Rights*)a)->manage), ""))
- { soap_flag_manage1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Rights *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rights, 0, sizeof(ngwt__Rights), 0, soap_copy_ngwt__Rights);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_new_ngwt__Rights(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Rights(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rights(struct soap *soap, ngwt__Rights *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_instantiate_ngwt__Rights(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Rights(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Rights, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Rights;
- if (size)
- *size = sizeof(ngwt__Rights);
- ((ngwt__Rights*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Rights[n];
- if (size)
- *size = n * sizeof(ngwt__Rights);
- for (int i = 0; i < n; i++)
- ((ngwt__Rights*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Rights*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rights(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Rights %p -> %p\n", q, p));
- *(ngwt__Rights*)p = *(ngwt__Rights*)q;
-}
-
-void ngwt__ReturnNotificationOptions::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ReturnNotificationOptions*)this)->mail, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__ReturnNotificationOptions*)this)->notify, SOAP_TYPE_bool);
- /* transient soap skipped */
-}
-
-void ngwt__ReturnNotificationOptions::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ReturnNotificationOptions*)this)->mail = (bool)0;
- ((ngwt__ReturnNotificationOptions*)this)->notify = (bool)0;
- /* transient soap skipped */
-}
-
-int ngwt__ReturnNotificationOptions::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReturnNotificationOptions);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ReturnNotificationOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ReturnNotificationOptions(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotificationOptions(struct soap *soap, const char *tag, int id, const ngwt__ReturnNotificationOptions *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReturnNotificationOptions), type);
- soap_out_bool(soap, "ngwt:mail", -1, &(((ngwt__ReturnNotificationOptions*)a)->mail), "");
- soap_out_bool(soap, "ngwt:notify", -1, &(((ngwt__ReturnNotificationOptions*)a)->notify), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ReturnNotificationOptions::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ReturnNotificationOptions(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_get_ngwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ReturnNotificationOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ReturnNotificationOptions::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ReturnNotificationOptions(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_in_ngwt__ReturnNotificationOptions(struct soap *soap, const char *tag, ngwt__ReturnNotificationOptions *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ReturnNotificationOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReturnNotificationOptions, sizeof(ngwt__ReturnNotificationOptions), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ReturnNotificationOptions)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ReturnNotificationOptions *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_mail1 = 1, soap_flag_notify1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_mail1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:mail", &(((ngwt__ReturnNotificationOptions*)a)->mail), ""))
- { soap_flag_mail1 = 0;
- continue;
- }
- if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:notify", &(((ngwt__ReturnNotificationOptions*)a)->notify), ""))
- { soap_flag_notify1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ReturnNotificationOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotificationOptions, 0, sizeof(ngwt__ReturnNotificationOptions), 0, soap_copy_ngwt__ReturnNotificationOptions);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_new_ngwt__ReturnNotificationOptions(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ReturnNotificationOptions(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotificationOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReturnNotificationOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReturnNotificationOptions, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ReturnNotificationOptions;
- if (size)
- *size = sizeof(ngwt__ReturnNotificationOptions);
- ((ngwt__ReturnNotificationOptions*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ReturnNotificationOptions[n];
- if (size)
- *size = n * sizeof(ngwt__ReturnNotificationOptions);
- for (int i = 0; i < n; i++)
- ((ngwt__ReturnNotificationOptions*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ReturnNotificationOptions*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotificationOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReturnNotificationOptions %p -> %p\n", q, p));
- *(ngwt__ReturnNotificationOptions*)p = *(ngwt__ReturnNotificationOptions*)q;
-}
-
-void ngwt__ReturnNotification::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ReturnNotification*)this)->opened, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->opened);
- soap_embedded(soap, &((ngwt__ReturnNotification*)this)->deleted, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->deleted);
- soap_embedded(soap, &((ngwt__ReturnNotification*)this)->accepted, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->accepted);
- soap_embedded(soap, &((ngwt__ReturnNotification*)this)->declined, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->declined);
- soap_embedded(soap, &((ngwt__ReturnNotification*)this)->completed, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->completed);
- /* transient soap skipped */
-}
-
-void ngwt__ReturnNotification::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ReturnNotification*)this)->opened = NULL;
- ((ngwt__ReturnNotification*)this)->deleted = NULL;
- ((ngwt__ReturnNotification*)this)->accepted = NULL;
- ((ngwt__ReturnNotification*)this)->declined = NULL;
- ((ngwt__ReturnNotification*)this)->completed = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ReturnNotification::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReturnNotification);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ReturnNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ReturnNotification(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotification(struct soap *soap, const char *tag, int id, const ngwt__ReturnNotification *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReturnNotification), type);
- soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:opened", -1, &(((ngwt__ReturnNotification*)a)->opened), "");
- soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:deleted", -1, &(((ngwt__ReturnNotification*)a)->deleted), "");
- soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:accepted", -1, &(((ngwt__ReturnNotification*)a)->accepted), "");
- soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:declined", -1, &(((ngwt__ReturnNotification*)a)->declined), "");
- soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:completed", -1, &(((ngwt__ReturnNotification*)a)->completed), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ReturnNotification::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ReturnNotification(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_get_ngwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ReturnNotification(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ReturnNotification::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ReturnNotification(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_in_ngwt__ReturnNotification(struct soap *soap, const char *tag, ngwt__ReturnNotification *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ReturnNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReturnNotification, sizeof(ngwt__ReturnNotification), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ReturnNotification)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ReturnNotification *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_opened1 = 1, soap_flag_deleted1 = 1, soap_flag_accepted1 = 1, soap_flag_declined1 = 1, soap_flag_completed1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_opened1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:opened", &(((ngwt__ReturnNotification*)a)->opened), "ngwt:ReturnNotificationOptions"))
- { soap_flag_opened1 = 0;
- continue;
- }
- if (soap_flag_deleted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:deleted", &(((ngwt__ReturnNotification*)a)->deleted), "ngwt:ReturnNotificationOptions"))
- { soap_flag_deleted1 = 0;
- continue;
- }
- if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:accepted", &(((ngwt__ReturnNotification*)a)->accepted), "ngwt:ReturnNotificationOptions"))
- { soap_flag_accepted1 = 0;
- continue;
- }
- if (soap_flag_declined1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:declined", &(((ngwt__ReturnNotification*)a)->declined), "ngwt:ReturnNotificationOptions"))
- { soap_flag_declined1 = 0;
- continue;
- }
- if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:completed", &(((ngwt__ReturnNotification*)a)->completed), "ngwt:ReturnNotificationOptions"))
- { soap_flag_completed1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ReturnNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotification, 0, sizeof(ngwt__ReturnNotification), 0, soap_copy_ngwt__ReturnNotification);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_new_ngwt__ReturnNotification(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ReturnNotification(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReturnNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReturnNotification, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ReturnNotification;
- if (size)
- *size = sizeof(ngwt__ReturnNotification);
- ((ngwt__ReturnNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ReturnNotification[n];
- if (size)
- *size = n * sizeof(ngwt__ReturnNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__ReturnNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ReturnNotification*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReturnNotification %p -> %p\n", q, p));
- *(ngwt__ReturnNotification*)p = *(ngwt__ReturnNotification*)q;
-}
-
-void ngwt__Resource::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Resource*)this)->phone, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->phone);
- soap_embedded(soap, &((ngwt__Resource*)this)->resourceType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->resourceType);
- soap_embedded(soap, &((ngwt__Resource*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->email);
- soap_embedded(soap, &((ngwt__Resource*)this)->owner, SOAP_TYPE_PointerTongwt__ItemRef);
- soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__Resource*)this)->owner);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Resource::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Resource*)this)->phone = NULL;
- ((ngwt__Resource*)this)->resourceType = NULL;
- ((ngwt__Resource*)this)->email = NULL;
- ((ngwt__Resource*)this)->owner = NULL;
- ((ngwt__AddressBookItem*)this)->uuid = NULL;
- ((ngwt__AddressBookItem*)this)->comment = NULL;
- ((ngwt__AddressBookItem*)this)->sync = NULL;
- ((ngwt__AddressBookItem*)this)->domain = NULL;
- ((ngwt__AddressBookItem*)this)->postOffice = NULL;
- ((ngwt__AddressBookItem*)this)->distinguishedName = NULL;
- ((ngwt__AddressBookItem*)this)->userid = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Resource::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Resource);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Resource::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Resource(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Resource(struct soap *soap, const char *tag, int id, const ngwt__Resource *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Resource), "ngwt:Resource");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), "");
- soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), "");
- soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), "");
- soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__Resource*)a)->phone), "");
- soap_out_PointerTostd__string(soap, "ngwt:resourceType", -1, &(((ngwt__Resource*)a)->resourceType), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__Resource*)a)->email), "");
- soap_out_PointerTongwt__ItemRef(soap, "ngwt:owner", -1, &(((ngwt__Resource*)a)->owner), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Resource::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Resource(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_get_ngwt__Resource(struct soap *soap, ngwt__Resource *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Resource(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Resource::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Resource(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_in_ngwt__Resource(struct soap *soap, const char *tag, ngwt__Resource *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Resource *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Resource, sizeof(ngwt__Resource), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Resource)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Resource *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_phone1 = 1, soap_flag_resourceType1 = 1, soap_flag_email1 = 1, soap_flag_owner1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories3 = 0;
- continue;
- }
- if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created3 = 0;
- continue;
- }
- if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs3 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), ""))
- { soap_flag_comment2 = 0;
- continue;
- }
- if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), ""))
- { soap_flag_sync2 = 0;
- continue;
- }
- if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), ""))
- { soap_flag_domain2 = 0;
- continue;
- }
- if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), ""))
- { soap_flag_postOffice2 = 0;
- continue;
- }
- if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), ""))
- { soap_flag_distinguishedName2 = 0;
- continue;
- }
- if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), ""))
- { soap_flag_userid2 = 0;
- continue;
- }
- if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__Resource*)a)->phone), ""))
- { soap_flag_phone1 = 0;
- continue;
- }
- if (soap_flag_resourceType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:resourceType", &(((ngwt__Resource*)a)->resourceType), ""))
- { soap_flag_resourceType1 = 0;
- continue;
- }
- if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__Resource*)a)->email), ""))
- { soap_flag_email1 = 0;
- continue;
- }
- if (soap_flag_owner1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:owner", &(((ngwt__Resource*)a)->owner), "ngwt:ItemRef"))
- { soap_flag_owner1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Resource *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Resource, 0, sizeof(ngwt__Resource), 0, soap_copy_ngwt__Resource);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_new_ngwt__Resource(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Resource(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Resource(struct soap *soap, ngwt__Resource *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_instantiate_ngwt__Resource(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Resource(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Resource, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Resource;
- if (size)
- *size = sizeof(ngwt__Resource);
- ((ngwt__Resource*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Resource[n];
- if (size)
- *size = n * sizeof(ngwt__Resource);
- for (int i = 0; i < n; i++)
- ((ngwt__Resource*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Resource*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Resource(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Resource %p -> %p\n", q, p));
- *(ngwt__Resource*)p = *(ngwt__Resource*)q;
-}
-
-void ngwt__ReferenceInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate);
- soap_embedded(soap, &((ngwt__ReferenceInfo*)this)->referenceCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__ReferenceInfo*)this)->referenceCount);
- /* transient soap skipped */
-}
-
-void ngwt__ReferenceInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate);
- ((ngwt__ReferenceInfo*)this)->referenceCount = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ReferenceInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReferenceInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ReferenceInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ReferenceInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReferenceInfo(struct soap *soap, const char *tag, int id, const ngwt__ReferenceInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReferenceInfo), type);
- soap_out_string(soap, "ngwt:lastReferenceDate", -1, &(((ngwt__ReferenceInfo*)a)->lastReferenceDate), "");
- soap_out_PointerToint(soap, "ngwt:referenceCount", -1, &(((ngwt__ReferenceInfo*)a)->referenceCount), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ReferenceInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ReferenceInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_get_ngwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ReferenceInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ReferenceInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ReferenceInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_in_ngwt__ReferenceInfo(struct soap *soap, const char *tag, ngwt__ReferenceInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ReferenceInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReferenceInfo, sizeof(ngwt__ReferenceInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ReferenceInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ReferenceInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_lastReferenceDate1 = 1, soap_flag_referenceCount1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_lastReferenceDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:lastReferenceDate", &(((ngwt__ReferenceInfo*)a)->lastReferenceDate), ""))
- { soap_flag_lastReferenceDate1 = 0;
- continue;
- }
- if (soap_flag_referenceCount1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:referenceCount", &(((ngwt__ReferenceInfo*)a)->referenceCount), ""))
- { soap_flag_referenceCount1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ReferenceInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReferenceInfo, 0, sizeof(ngwt__ReferenceInfo), 0, soap_copy_ngwt__ReferenceInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_new_ngwt__ReferenceInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ReferenceInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_instantiate_ngwt__ReferenceInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReferenceInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReferenceInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ReferenceInfo;
- if (size)
- *size = sizeof(ngwt__ReferenceInfo);
- ((ngwt__ReferenceInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ReferenceInfo[n];
- if (size)
- *size = n * sizeof(ngwt__ReferenceInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__ReferenceInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ReferenceInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReferenceInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReferenceInfo %p -> %p\n", q, p));
- *(ngwt__ReferenceInfo*)p = *(ngwt__ReferenceInfo*)q;
-}
-
-void ngwt__RecurrenceRule::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->frequency, SOAP_TYPE_PointerTongwt__Frequency);
- soap_serialize_PointerTongwt__Frequency(soap, &((ngwt__RecurrenceRule*)this)->frequency);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->count, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__RecurrenceRule*)this)->count);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->until, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__RecurrenceRule*)this)->until);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->interval, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__RecurrenceRule*)this)->interval);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byDay, SOAP_TYPE_PointerTongwt__DayOfYearWeekList);
- soap_serialize_PointerTongwt__DayOfYearWeekList(soap, &((ngwt__RecurrenceRule*)this)->byDay);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byMonthDay, SOAP_TYPE_PointerTongwt__DayOfMonthList);
- soap_serialize_PointerTongwt__DayOfMonthList(soap, &((ngwt__RecurrenceRule*)this)->byMonthDay);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byYearDay, SOAP_TYPE_PointerTongwt__DayOfYearList);
- soap_serialize_PointerTongwt__DayOfYearList(soap, &((ngwt__RecurrenceRule*)this)->byYearDay);
- soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byMonth, SOAP_TYPE_PointerTongwt__MonthList);
- soap_serialize_PointerTongwt__MonthList(soap, &((ngwt__RecurrenceRule*)this)->byMonth);
- /* transient soap skipped */
-}
-
-void ngwt__RecurrenceRule::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__RecurrenceRule*)this)->frequency = NULL;
- ((ngwt__RecurrenceRule*)this)->count = NULL;
- ((ngwt__RecurrenceRule*)this)->until = NULL;
- ((ngwt__RecurrenceRule*)this)->interval = NULL;
- ((ngwt__RecurrenceRule*)this)->byDay = NULL;
- ((ngwt__RecurrenceRule*)this)->byMonthDay = NULL;
- ((ngwt__RecurrenceRule*)this)->byYearDay = NULL;
- ((ngwt__RecurrenceRule*)this)->byMonth = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__RecurrenceRule::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecurrenceRule);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RecurrenceRule::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RecurrenceRule(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceRule(struct soap *soap, const char *tag, int id, const ngwt__RecurrenceRule *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecurrenceRule), type);
- soap_out_PointerTongwt__Frequency(soap, "ngwt:frequency", -1, &(((ngwt__RecurrenceRule*)a)->frequency), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:count", -1, &(((ngwt__RecurrenceRule*)a)->count), "");
- soap_out_PointerToxsd__date(soap, "ngwt:until", -1, &(((ngwt__RecurrenceRule*)a)->until), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:interval", -1, &(((ngwt__RecurrenceRule*)a)->interval), "");
- soap_out_PointerTongwt__DayOfYearWeekList(soap, "ngwt:byDay", -1, &(((ngwt__RecurrenceRule*)a)->byDay), "");
- soap_out_PointerTongwt__DayOfMonthList(soap, "ngwt:byMonthDay", -1, &(((ngwt__RecurrenceRule*)a)->byMonthDay), "");
- soap_out_PointerTongwt__DayOfYearList(soap, "ngwt:byYearDay", -1, &(((ngwt__RecurrenceRule*)a)->byYearDay), "");
- soap_out_PointerTongwt__MonthList(soap, "ngwt:byMonth", -1, &(((ngwt__RecurrenceRule*)a)->byMonth), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RecurrenceRule::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RecurrenceRule(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_get_ngwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RecurrenceRule(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RecurrenceRule::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RecurrenceRule(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_in_ngwt__RecurrenceRule(struct soap *soap, const char *tag, ngwt__RecurrenceRule *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RecurrenceRule *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecurrenceRule, sizeof(ngwt__RecurrenceRule), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RecurrenceRule)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RecurrenceRule *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_frequency1 = 1, soap_flag_count1 = 1, soap_flag_until1 = 1, soap_flag_interval1 = 1, soap_flag_byDay1 = 1, soap_flag_byMonthDay1 = 1, soap_flag_byYearDay1 = 1, soap_flag_byMonth1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_frequency1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Frequency(soap, "ngwt:frequency", &(((ngwt__RecurrenceRule*)a)->frequency), ""))
- { soap_flag_frequency1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:count", &(((ngwt__RecurrenceRule*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:until", &(((ngwt__RecurrenceRule*)a)->until), "xsd:date"))
- { soap_flag_until1 = 0;
- continue;
- }
- if (soap_flag_interval1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:interval", &(((ngwt__RecurrenceRule*)a)->interval), ""))
- { soap_flag_interval1 = 0;
- continue;
- }
- if (soap_flag_byDay1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DayOfYearWeekList(soap, "ngwt:byDay", &(((ngwt__RecurrenceRule*)a)->byDay), "ngwt:DayOfYearWeekList"))
- { soap_flag_byDay1 = 0;
- continue;
- }
- if (soap_flag_byMonthDay1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DayOfMonthList(soap, "ngwt:byMonthDay", &(((ngwt__RecurrenceRule*)a)->byMonthDay), "ngwt:DayOfMonthList"))
- { soap_flag_byMonthDay1 = 0;
- continue;
- }
- if (soap_flag_byYearDay1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DayOfYearList(soap, "ngwt:byYearDay", &(((ngwt__RecurrenceRule*)a)->byYearDay), "ngwt:DayOfYearList"))
- { soap_flag_byYearDay1 = 0;
- continue;
- }
- if (soap_flag_byMonth1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MonthList(soap, "ngwt:byMonth", &(((ngwt__RecurrenceRule*)a)->byMonth), "ngwt:MonthList"))
- { soap_flag_byMonth1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RecurrenceRule *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceRule, 0, sizeof(ngwt__RecurrenceRule), 0, soap_copy_ngwt__RecurrenceRule);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_new_ngwt__RecurrenceRule(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RecurrenceRule(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceRule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecurrenceRule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecurrenceRule, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RecurrenceRule;
- if (size)
- *size = sizeof(ngwt__RecurrenceRule);
- ((ngwt__RecurrenceRule*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RecurrenceRule[n];
- if (size)
- *size = n * sizeof(ngwt__RecurrenceRule);
- for (int i = 0; i < n; i++)
- ((ngwt__RecurrenceRule*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RecurrenceRule*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceRule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecurrenceRule %p -> %p\n", q, p));
- *(ngwt__RecurrenceRule*)p = *(ngwt__RecurrenceRule*)q;
-}
-
-void ngwt__RecurrenceDateType::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfxsd__date(soap, &((ngwt__RecurrenceDateType*)this)->date);
- /* transient soap skipped */
-}
-
-void ngwt__RecurrenceDateType::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfxsd__date(soap, &((ngwt__RecurrenceDateType*)this)->date);
- /* transient soap skipped */
-}
-
-int ngwt__RecurrenceDateType::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecurrenceDateType);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RecurrenceDateType::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RecurrenceDateType(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceDateType(struct soap *soap, const char *tag, int id, const ngwt__RecurrenceDateType *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecurrenceDateType), type);
- soap_out_std__vectorTemplateOfxsd__date(soap, "ngwt:date", -1, &(((ngwt__RecurrenceDateType*)a)->date), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RecurrenceDateType::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RecurrenceDateType(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_get_ngwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RecurrenceDateType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RecurrenceDateType::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RecurrenceDateType(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_in_ngwt__RecurrenceDateType(struct soap *soap, const char *tag, ngwt__RecurrenceDateType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RecurrenceDateType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecurrenceDateType, sizeof(ngwt__RecurrenceDateType), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RecurrenceDateType)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RecurrenceDateType *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfxsd__date(soap, "ngwt:date", &(((ngwt__RecurrenceDateType*)a)->date), "xsd:date"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RecurrenceDateType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceDateType, 0, sizeof(ngwt__RecurrenceDateType), 0, soap_copy_ngwt__RecurrenceDateType);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_new_ngwt__RecurrenceDateType(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RecurrenceDateType(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceDateType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecurrenceDateType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecurrenceDateType, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RecurrenceDateType;
- if (size)
- *size = sizeof(ngwt__RecurrenceDateType);
- ((ngwt__RecurrenceDateType*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RecurrenceDateType[n];
- if (size)
- *size = n * sizeof(ngwt__RecurrenceDateType);
- for (int i = 0; i < n; i++)
- ((ngwt__RecurrenceDateType*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RecurrenceDateType*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceDateType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecurrenceDateType %p -> %p\n", q, p));
- *(ngwt__RecurrenceDateType*)p = *(ngwt__RecurrenceDateType*)q;
-}
-
-void ngwt__RecipientStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus);
- soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus);
- soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated);
- soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-void ngwt__RecipientStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- ((ngwt__RecipientStatus*)this)->transferFailed = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- ((ngwt__RecipientStatus*)this)->accepted = NULL;
- ((ngwt__RecipientStatus*)this)->declined = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- ((ngwt__RecipientStatus*)this)->delegated = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-int ngwt__RecipientStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RecipientStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RecipientStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientStatus(struct soap *soap, const char *tag, int id, const ngwt__RecipientStatus *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientStatus), type);
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), "");
- soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), "");
- soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), "");
- soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), "");
- soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), "");
- soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), "");
- soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "");
- soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), "");
- soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), "");
- soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), "");
- soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), "");
- soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), "");
- soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), "");
- soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), "");
- soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), "");
- soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), "");
- soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), "");
- soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), "");
- soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), "");
- soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), "");
- soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RecipientStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RecipientStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_get_ngwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RecipientStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RecipientStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RecipientStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_in_ngwt__RecipientStatus(struct soap *soap, const char *tag, ngwt__RecipientStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RecipientStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientStatus, sizeof(ngwt__RecipientStatus), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RecipientStatus)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RecipientStatus *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_delivered1 = 1, soap_flag_undeliverable1 = 1, soap_flag_transferred1 = 1, soap_flag_transferDelayed1 = 1, soap_flag_transferFailed1 = 1, soap_flag_downloaded1 = 1, soap_flag_downloadedByThirdParty1 = 1, soap_flag_retractRequested1 = 1, soap_flag_retracted1 = 1, soap_flag_opened1 = 1, soap_flag_deleted1 = 1, soap_flag_undeleted1 = 1, soap_flag_purged1 = 1, soap_flag_accepted1 = 1, soap_flag_declined1 = 1, soap_flag_replied1 = 1, soap_flag_forwarded1 = 1, soap_flag_shared1 = 1, soap_flag_started1 = 1, soap_flag_completed1 = 1, soap_flag_incomplete1 = 1, soap_flag_delegated1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_delivered1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), ""))
- { soap_flag_delivered1 = 0;
- continue;
- }
- if (soap_flag_undeliverable1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), ""))
- { soap_flag_undeliverable1 = 0;
- continue;
- }
- if (soap_flag_transferred1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), ""))
- { soap_flag_transferred1 = 0;
- continue;
- }
- if (soap_flag_transferDelayed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), ""))
- { soap_flag_transferDelayed1 = 0;
- continue;
- }
- if (soap_flag_transferFailed1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus"))
- { soap_flag_transferFailed1 = 0;
- continue;
- }
- if (soap_flag_downloaded1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), ""))
- { soap_flag_downloaded1 = 0;
- continue;
- }
- if (soap_flag_downloadedByThirdParty1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""))
- { soap_flag_downloadedByThirdParty1 = 0;
- continue;
- }
- if (soap_flag_retractRequested1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), ""))
- { soap_flag_retractRequested1 = 0;
- continue;
- }
- if (soap_flag_retracted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), ""))
- { soap_flag_retracted1 = 0;
- continue;
- }
- if (soap_flag_opened1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), ""))
- { soap_flag_opened1 = 0;
- continue;
- }
- if (soap_flag_deleted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), ""))
- { soap_flag_deleted1 = 0;
- continue;
- }
- if (soap_flag_undeleted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), ""))
- { soap_flag_undeleted1 = 0;
- continue;
- }
- if (soap_flag_purged1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), ""))
- { soap_flag_purged1 = 0;
- continue;
- }
- if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus"))
- { soap_flag_accepted1 = 0;
- continue;
- }
- if (soap_flag_declined1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus"))
- { soap_flag_declined1 = 0;
- continue;
- }
- if (soap_flag_replied1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), ""))
- { soap_flag_replied1 = 0;
- continue;
- }
- if (soap_flag_forwarded1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), ""))
- { soap_flag_forwarded1 = 0;
- continue;
- }
- if (soap_flag_shared1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), ""))
- { soap_flag_shared1 = 0;
- continue;
- }
- if (soap_flag_started1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), ""))
- { soap_flag_started1 = 0;
- continue;
- }
- if (soap_flag_completed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), ""))
- { soap_flag_completed1 = 0;
- continue;
- }
- if (soap_flag_incomplete1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), ""))
- { soap_flag_incomplete1 = 0;
- continue;
- }
- if (soap_flag_delegated1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus"))
- { soap_flag_delegated1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RecipientStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientStatus, 0, sizeof(ngwt__RecipientStatus), 0, soap_copy_ngwt__RecipientStatus);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_new_ngwt__RecipientStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RecipientStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_instantiate_ngwt__RecipientStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecipientStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecipientStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:DelegateeStatus"))
- { cp->type = SOAP_TYPE_ngwt__DelegateeStatus;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DelegateeStatus;
- if (size)
- *size = sizeof(ngwt__DelegateeStatus);
- ((ngwt__DelegateeStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DelegateeStatus[n];
- if (size)
- *size = n * sizeof(ngwt__DelegateeStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__DelegateeStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DelegateeStatus*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:TransferFailedStatus"))
- { cp->type = SOAP_TYPE_ngwt__TransferFailedStatus;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TransferFailedStatus;
- if (size)
- *size = sizeof(ngwt__TransferFailedStatus);
- ((ngwt__TransferFailedStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TransferFailedStatus[n];
- if (size)
- *size = n * sizeof(ngwt__TransferFailedStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__TransferFailedStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TransferFailedStatus*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RecipientStatus;
- if (size)
- *size = sizeof(ngwt__RecipientStatus);
- ((ngwt__RecipientStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RecipientStatus[n];
- if (size)
- *size = n * sizeof(ngwt__RecipientStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__RecipientStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RecipientStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecipientStatus %p -> %p\n", q, p));
- *(ngwt__RecipientStatus*)p = *(ngwt__RecipientStatus*)q;
-}
-
-void ngwt__RecipientList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(soap, &((ngwt__RecipientList*)this)->recipient);
- /* transient soap skipped */
-}
-
-void ngwt__RecipientList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Recipient(soap, &((ngwt__RecipientList*)this)->recipient);
- /* transient soap skipped */
-}
-
-int ngwt__RecipientList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__RecipientList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__RecipientList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientList(struct soap *soap, const char *tag, int id, const ngwt__RecipientList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Recipient(soap, "ngwt:recipient", -1, &(((ngwt__RecipientList*)a)->recipient), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__RecipientList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__RecipientList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_get_ngwt__RecipientList(struct soap *soap, ngwt__RecipientList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__RecipientList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__RecipientList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__RecipientList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_in_ngwt__RecipientList(struct soap *soap, const char *tag, ngwt__RecipientList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__RecipientList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientList, sizeof(ngwt__RecipientList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__RecipientList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__RecipientList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Recipient(soap, "ngwt:recipient", &(((ngwt__RecipientList*)a)->recipient), "ngwt:Recipient"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__RecipientList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientList, 0, sizeof(ngwt__RecipientList), 0, soap_copy_ngwt__RecipientList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_new_ngwt__RecipientList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__RecipientList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientList(struct soap *soap, ngwt__RecipientList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_instantiate_ngwt__RecipientList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecipientList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecipientList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__RecipientList;
- if (size)
- *size = sizeof(ngwt__RecipientList);
- ((ngwt__RecipientList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__RecipientList[n];
- if (size)
- *size = n * sizeof(ngwt__RecipientList);
- for (int i = 0; i < n; i++)
- ((ngwt__RecipientList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__RecipientList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecipientList %p -> %p\n", q, p));
- *(ngwt__RecipientList*)p = *(ngwt__RecipientList*)q;
-}
-
-void ngwt__Recipient::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Recipient*)this)->distType, SOAP_TYPE_ngwt__DistributionType);
- soap_embedded(soap, &((ngwt__Recipient*)this)->recipType, SOAP_TYPE_ngwt__RecipientType);
- soap_embedded(soap, &((ngwt__Recipient*)this)->recipientStatus, SOAP_TYPE_PointerTongwt__RecipientStatus);
- soap_serialize_PointerTongwt__RecipientStatus(soap, &((ngwt__Recipient*)this)->recipientStatus);
- soap_embedded(soap, &((ngwt__Recipient*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel);
- soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__Recipient*)this)->acceptLevel);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__Recipient::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Recipient*)this)->distType = (enum ngwt__DistributionType)0;
- ((ngwt__Recipient*)this)->recipType = (enum ngwt__RecipientType)0;
- ((ngwt__Recipient*)this)->recipientStatus = NULL;
- ((ngwt__Recipient*)this)->acceptLevel = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Recipient::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Recipient);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Recipient::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Recipient(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Recipient(struct soap *soap, const char *tag, int id, const ngwt__Recipient *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Recipient), "ngwt:Recipient");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_ngwt__DistributionType(soap, "ngwt:distType", -1, &(((ngwt__Recipient*)a)->distType), "");
- soap_out_ngwt__RecipientType(soap, "ngwt:recipType", -1, &(((ngwt__Recipient*)a)->recipType), "");
- soap_out_PointerTongwt__RecipientStatus(soap, "ngwt:recipientStatus", -1, &(((ngwt__Recipient*)a)->recipientStatus), "");
- soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__Recipient*)a)->acceptLevel), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Recipient::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Recipient(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_get_ngwt__Recipient(struct soap *soap, ngwt__Recipient *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Recipient(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Recipient::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Recipient(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_in_ngwt__Recipient(struct soap *soap, const char *tag, ngwt__Recipient *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Recipient *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Recipient, sizeof(ngwt__Recipient), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Recipient)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Recipient *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_distType1 = 1, soap_flag_recipType1 = 1, soap_flag_recipientStatus1 = 1, soap_flag_acceptLevel1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_distType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__DistributionType(soap, "ngwt:distType", &(((ngwt__Recipient*)a)->distType), ""))
- { soap_flag_distType1 = 0;
- continue;
- }
- if (soap_flag_recipType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__RecipientType(soap, "ngwt:recipType", &(((ngwt__Recipient*)a)->recipType), ""))
- { soap_flag_recipType1 = 0;
- continue;
- }
- if (soap_flag_recipientStatus1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecipientStatus(soap, "ngwt:recipientStatus", &(((ngwt__Recipient*)a)->recipientStatus), "ngwt:RecipientStatus"))
- { soap_flag_recipientStatus1 = 0;
- continue;
- }
- if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__Recipient*)a)->acceptLevel), ""))
- { soap_flag_acceptLevel1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Recipient *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Recipient, 0, sizeof(ngwt__Recipient), 0, soap_copy_ngwt__Recipient);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_new_ngwt__Recipient(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Recipient(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Recipient(struct soap *soap, ngwt__Recipient *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_instantiate_ngwt__Recipient(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Recipient(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Recipient, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Recipient;
- if (size)
- *size = sizeof(ngwt__Recipient);
- ((ngwt__Recipient*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Recipient[n];
- if (size)
- *size = n * sizeof(ngwt__Recipient);
- for (int i = 0; i < n; i++)
- ((ngwt__Recipient*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Recipient*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Recipient(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Recipient %p -> %p\n", q, p));
- *(ngwt__Recipient*)p = *(ngwt__Recipient*)q;
-}
-
-void ngwt__QueryTarget::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__QueryTarget*)this)->source, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__QueryTarget*)this)->source);
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__QueryTarget*)this)->container);
- /* transient soap skipped */
-}
-
-void ngwt__QueryTarget::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__QueryTarget*)this)->source = NULL;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__QueryTarget*)this)->container);
- /* transient soap skipped */
-}
-
-int ngwt__QueryTarget::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__QueryTarget);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__QueryTarget::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__QueryTarget(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryTarget(struct soap *soap, const char *tag, int id, const ngwt__QueryTarget *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__QueryTarget), type);
- soap_out_PointerTongwt__uid(soap, "ngwt:source", -1, &(((ngwt__QueryTarget*)a)->source), "");
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:container", -1, &(((ngwt__QueryTarget*)a)->container), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__QueryTarget::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__QueryTarget(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_get_ngwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__QueryTarget(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__QueryTarget::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__QueryTarget(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_in_ngwt__QueryTarget(struct soap *soap, const char *tag, ngwt__QueryTarget *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__QueryTarget *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__QueryTarget, sizeof(ngwt__QueryTarget), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__QueryTarget)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__QueryTarget *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_source1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_source1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:source", &(((ngwt__QueryTarget*)a)->source), "ngwt:uid"))
- { soap_flag_source1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:container", &(((ngwt__QueryTarget*)a)->container), "ngwt:uid"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__QueryTarget *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryTarget, 0, sizeof(ngwt__QueryTarget), 0, soap_copy_ngwt__QueryTarget);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_new_ngwt__QueryTarget(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__QueryTarget(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_instantiate_ngwt__QueryTarget(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__QueryTarget(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__QueryTarget, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__QueryTarget;
- if (size)
- *size = sizeof(ngwt__QueryTarget);
- ((ngwt__QueryTarget*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__QueryTarget[n];
- if (size)
- *size = n * sizeof(ngwt__QueryTarget);
- for (int i = 0; i < n; i++)
- ((ngwt__QueryTarget*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__QueryTarget*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryTarget(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__QueryTarget %p -> %p\n", q, p));
- *(ngwt__QueryTarget*)p = *(ngwt__QueryTarget*)q;
-}
-
-void ngwt__QueryFolder::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__QueryFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType);
- soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__QueryFolder*)this)->folderType);
- soap_embedded(soap, &((ngwt__QueryFolder*)this)->query, SOAP_TYPE_PointerTongwt__Query);
- soap_serialize_PointerTongwt__Query(soap, &((ngwt__QueryFolder*)this)->query);
- soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description);
- soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count);
- soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread);
- soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount);
- soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence);
- soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings);
- soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__QueryFolder::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__QueryFolder*)this)->folderType = NULL;
- ((ngwt__QueryFolder*)this)->query = NULL;
- soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- ((ngwt__Folder*)this)->description = NULL;
- ((ngwt__Folder*)this)->count = NULL;
- ((ngwt__Folder*)this)->hasUnread = NULL;
- ((ngwt__Folder*)this)->unreadCount = NULL;
- ((ngwt__Folder*)this)->sequence = NULL;
- ((ngwt__Folder*)this)->settings = NULL;
- ((ngwt__Folder*)this)->calendarAttribute = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__QueryFolder::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__QueryFolder);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__QueryFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__QueryFolder(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryFolder(struct soap *soap, const char *tag, int id, const ngwt__QueryFolder *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__QueryFolder), "ngwt:QueryFolder");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), "");
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), "");
- soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), "");
- soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), "");
- soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), "");
- soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__QueryFolder*)a)->folderType), "");
- soap_out_PointerTongwt__Query(soap, "ngwt:query", -1, &(((ngwt__QueryFolder*)a)->query), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__QueryFolder::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__QueryFolder(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_get_ngwt__QueryFolder(struct soap *soap, ngwt__QueryFolder *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__QueryFolder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__QueryFolder::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__QueryFolder(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_in_ngwt__QueryFolder(struct soap *soap, const char *tag, ngwt__QueryFolder *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__QueryFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__QueryFolder, sizeof(ngwt__QueryFolder), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__QueryFolder)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__QueryFolder *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_folderType1 = 1, soap_flag_query1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid"))
- { soap_flag_parent2 = 0;
- continue;
- }
- if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), ""))
- { soap_flag_description2 = 0;
- continue;
- }
- if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), ""))
- { soap_flag_count2 = 0;
- continue;
- }
- if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), ""))
- { soap_flag_hasUnread2 = 0;
- continue;
- }
- if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), ""))
- { soap_flag_unreadCount2 = 0;
- continue;
- }
- if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), ""))
- { soap_flag_sequence2 = 0;
- continue;
- }
- if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid"))
- { soap_flag_settings2 = 0;
- continue;
- }
- if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute"))
- { soap_flag_calendarAttribute2 = 0;
- continue;
- }
- if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__QueryFolder*)a)->folderType), ""))
- { soap_flag_folderType1 = 0;
- continue;
- }
- if (soap_flag_query1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Query(soap, "ngwt:query", &(((ngwt__QueryFolder*)a)->query), "ngwt:Query"))
- { soap_flag_query1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__QueryFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryFolder, 0, sizeof(ngwt__QueryFolder), 0, soap_copy_ngwt__QueryFolder);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_new_ngwt__QueryFolder(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__QueryFolder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryFolder(struct soap *soap, ngwt__QueryFolder *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_instantiate_ngwt__QueryFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__QueryFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__QueryFolder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__QueryFolder;
- if (size)
- *size = sizeof(ngwt__QueryFolder);
- ((ngwt__QueryFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__QueryFolder[n];
- if (size)
- *size = n * sizeof(ngwt__QueryFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__QueryFolder*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__QueryFolder %p -> %p\n", q, p));
- *(ngwt__QueryFolder*)p = *(ngwt__QueryFolder*)q;
-}
-
-void ngwt__Query::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Query*)this)->target, SOAP_TYPE_PointerTongwt__QueryTarget);
- soap_serialize_PointerTongwt__QueryTarget(soap, &((ngwt__Query*)this)->target);
- soap_embedded(soap, &((ngwt__Query*)this)->filter, SOAP_TYPE_PointerTongwt__Filter);
- soap_serialize_PointerTongwt__Filter(soap, &((ngwt__Query*)this)->filter);
- /* transient soap skipped */
-}
-
-void ngwt__Query::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Query*)this)->target = NULL;
- ((ngwt__Query*)this)->filter = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Query::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Query);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Query::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Query(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Query(struct soap *soap, const char *tag, int id, const ngwt__Query *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Query), type);
- soap_out_PointerTongwt__QueryTarget(soap, "ngwt:target", -1, &(((ngwt__Query*)a)->target), "");
- soap_out_PointerTongwt__Filter(soap, "ngwt:filter", -1, &(((ngwt__Query*)a)->filter), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Query::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Query(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_get_ngwt__Query(struct soap *soap, ngwt__Query *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Query(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Query::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Query(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_in_ngwt__Query(struct soap *soap, const char *tag, ngwt__Query *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Query *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Query, sizeof(ngwt__Query), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Query)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Query *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_target1 = 1, soap_flag_filter1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_target1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__QueryTarget(soap, "ngwt:target", &(((ngwt__Query*)a)->target), "ngwt:QueryTarget"))
- { soap_flag_target1 = 0;
- continue;
- }
- if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Filter(soap, "ngwt:filter", &(((ngwt__Query*)a)->filter), "ngwt:Filter"))
- { soap_flag_filter1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_target1 || soap_flag_filter1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Query *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Query, 0, sizeof(ngwt__Query), 0, soap_copy_ngwt__Query);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_new_ngwt__Query(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Query(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Query(struct soap *soap, ngwt__Query *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_instantiate_ngwt__Query(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Query(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Query, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Query;
- if (size)
- *size = sizeof(ngwt__Query);
- ((ngwt__Query*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Query[n];
- if (size)
- *size = n * sizeof(ngwt__Query);
- for (int i = 0; i < n; i++)
- ((ngwt__Query*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Query*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Query(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Query %p -> %p\n", q, p));
- *(ngwt__Query*)p = *(ngwt__Query*)q;
-}
-
-void ngwt__ProxyList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, &((ngwt__ProxyList*)this)->proxy);
- /* transient soap skipped */
-}
-
-void ngwt__ProxyList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, &((ngwt__ProxyList*)this)->proxy);
- /* transient soap skipped */
-}
-
-int ngwt__ProxyList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProxyList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ProxyList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ProxyList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyList(struct soap *soap, const char *tag, int id, const ngwt__ProxyList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProxyList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, "ngwt:proxy", -1, &(((ngwt__ProxyList*)a)->proxy), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ProxyList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ProxyList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_get_ngwt__ProxyList(struct soap *soap, ngwt__ProxyList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ProxyList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ProxyList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ProxyList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_in_ngwt__ProxyList(struct soap *soap, const char *tag, ngwt__ProxyList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ProxyList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProxyList, sizeof(ngwt__ProxyList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ProxyList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ProxyList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, "ngwt:proxy", &(((ngwt__ProxyList*)a)->proxy), "ngwt:ProxyUser"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ProxyList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyList, 0, sizeof(ngwt__ProxyList), 0, soap_copy_ngwt__ProxyList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_new_ngwt__ProxyList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ProxyList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyList(struct soap *soap, ngwt__ProxyList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_instantiate_ngwt__ProxyList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProxyList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProxyList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ProxyList;
- if (size)
- *size = sizeof(ngwt__ProxyList);
- ((ngwt__ProxyList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ProxyList[n];
- if (size)
- *size = n * sizeof(ngwt__ProxyList);
- for (int i = 0; i < n; i++)
- ((ngwt__ProxyList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ProxyList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProxyList %p -> %p\n", q, p));
- *(ngwt__ProxyList*)p = *(ngwt__ProxyList*)q;
-}
-
-void ngwt__ProxyUser::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ProxyUser*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__ProxyUser*)this)->id);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__ProxyUser::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ProxyUser*)this)->id = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ProxyUser::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProxyUser);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ProxyUser::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ProxyUser(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyUser(struct soap *soap, const char *tag, int id, const ngwt__ProxyUser *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProxyUser), "ngwt:ProxyUser");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__ProxyUser*)a)->id), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ProxyUser::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ProxyUser(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_get_ngwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ProxyUser(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ProxyUser::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ProxyUser(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_in_ngwt__ProxyUser(struct soap *soap, const char *tag, ngwt__ProxyUser *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ProxyUser *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProxyUser, sizeof(ngwt__ProxyUser), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ProxyUser)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ProxyUser *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_id1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__ProxyUser*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ProxyUser *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyUser, 0, sizeof(ngwt__ProxyUser), 0, soap_copy_ngwt__ProxyUser);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_new_ngwt__ProxyUser(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ProxyUser(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_instantiate_ngwt__ProxyUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProxyUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProxyUser, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ProxyUser;
- if (size)
- *size = sizeof(ngwt__ProxyUser);
- ((ngwt__ProxyUser*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ProxyUser[n];
- if (size)
- *size = n * sizeof(ngwt__ProxyUser);
- for (int i = 0; i < n; i++)
- ((ngwt__ProxyUser*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ProxyUser*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyUser(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProxyUser %p -> %p\n", q, p));
- *(ngwt__ProxyUser*)p = *(ngwt__ProxyUser*)q;
-}
-
-void ngwt__Proxy::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Proxy*)this)->username, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__Proxy*)this)->username);
- soap_embedded(soap, &((ngwt__Proxy*)this)->password, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Proxy*)this)->password);
- soap_embedded(soap, &((ngwt__Proxy*)this)->proxy, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__Proxy*)this)->proxy);
- /* transient soap skipped */
-}
-
-void ngwt__Proxy::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__Proxy*)this)->username);
- ((ngwt__Proxy*)this)->password = NULL;
- soap_default_std__string(soap, &((ngwt__Proxy*)this)->proxy);
- /* transient soap skipped */
-}
-
-int ngwt__Proxy::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Proxy);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Proxy::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Proxy(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Proxy(struct soap *soap, const char *tag, int id, const ngwt__Proxy *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Proxy), "ngwt:Proxy");
- /* transient soap skipped */
- soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__Proxy*)a)->username), "");
- soap_out_PointerTostd__string(soap, "ngwt:password", -1, &(((ngwt__Proxy*)a)->password), "");
- soap_out_std__string(soap, "ngwt:proxy", -1, &(((ngwt__Proxy*)a)->proxy), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Proxy::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Proxy(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_get_ngwt__Proxy(struct soap *soap, ngwt__Proxy *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Proxy(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Proxy::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Proxy(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_in_ngwt__Proxy(struct soap *soap, const char *tag, ngwt__Proxy *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Proxy *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Proxy, sizeof(ngwt__Proxy), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Proxy)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Proxy *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_username1 = 1, soap_flag_password1 = 1, soap_flag_proxy1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__Proxy*)a)->username), ""))
- { soap_flag_username1 = 0;
- continue;
- }
- if (soap_flag_password1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:password", &(((ngwt__Proxy*)a)->password), ""))
- { soap_flag_password1 = 0;
- continue;
- }
- if (soap_flag_proxy1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:proxy", &(((ngwt__Proxy*)a)->proxy), ""))
- { soap_flag_proxy1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1 || soap_flag_proxy1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Proxy *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Proxy, 0, sizeof(ngwt__Proxy), 0, soap_copy_ngwt__Proxy);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_new_ngwt__Proxy(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Proxy(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Proxy(struct soap *soap, ngwt__Proxy *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_instantiate_ngwt__Proxy(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Proxy(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Proxy, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Proxy;
- if (size)
- *size = sizeof(ngwt__Proxy);
- ((ngwt__Proxy*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Proxy[n];
- if (size)
- *size = n * sizeof(ngwt__Proxy);
- for (int i = 0; i < n; i++)
- ((ngwt__Proxy*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Proxy*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Proxy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Proxy %p -> %p\n", q, p));
- *(ngwt__Proxy*)p = *(ngwt__Proxy*)q;
-}
-
-void ngwt__ProblemList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, &((ngwt__ProblemList*)this)->entry);
- /* transient soap skipped */
-}
-
-void ngwt__ProblemList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, &((ngwt__ProblemList*)this)->entry);
- /* transient soap skipped */
-}
-
-int ngwt__ProblemList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProblemList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ProblemList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ProblemList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemList(struct soap *soap, const char *tag, int id, const ngwt__ProblemList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProblemList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, "ngwt:entry", -1, &(((ngwt__ProblemList*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ProblemList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ProblemList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_get_ngwt__ProblemList(struct soap *soap, ngwt__ProblemList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ProblemList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ProblemList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ProblemList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_in_ngwt__ProblemList(struct soap *soap, const char *tag, ngwt__ProblemList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ProblemList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProblemList, sizeof(ngwt__ProblemList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ProblemList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ProblemList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, "ngwt:entry", &(((ngwt__ProblemList*)a)->entry), "ngwt:ProblemEntry"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ProblemList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemList, 0, sizeof(ngwt__ProblemList), 0, soap_copy_ngwt__ProblemList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_new_ngwt__ProblemList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ProblemList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemList(struct soap *soap, ngwt__ProblemList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_instantiate_ngwt__ProblemList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProblemList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProblemList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ProblemList;
- if (size)
- *size = sizeof(ngwt__ProblemList);
- ((ngwt__ProblemList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ProblemList[n];
- if (size)
- *size = n * sizeof(ngwt__ProblemList);
- for (int i = 0; i < n; i++)
- ((ngwt__ProblemList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ProblemList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProblemList %p -> %p\n", q, p));
- *(ngwt__ProblemList*)p = *(ngwt__ProblemList*)q;
-}
-
-void ngwt__ProblemEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ProblemEntry*)this)->element, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__ProblemEntry*)this)->element);
- soap_embedded(soap, &((ngwt__ProblemEntry*)this)->code, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__ProblemEntry*)this)->code);
- soap_embedded(soap, &((ngwt__ProblemEntry*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__ProblemEntry*)this)->description);
- /* transient soap skipped */
-}
-
-void ngwt__ProblemEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ProblemEntry*)this)->element = NULL;
- ((ngwt__ProblemEntry*)this)->code = NULL;
- ((ngwt__ProblemEntry*)this)->description = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ProblemEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProblemEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ProblemEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ProblemEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemEntry(struct soap *soap, const char *tag, int id, const ngwt__ProblemEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProblemEntry), type);
- soap_out_PointerTostd__string(soap, "ngwt:element", -1, &(((ngwt__ProblemEntry*)a)->element), "");
- soap_out_PointerToint(soap, "ngwt:code", -1, &(((ngwt__ProblemEntry*)a)->code), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__ProblemEntry*)a)->description), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ProblemEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ProblemEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_get_ngwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ProblemEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ProblemEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ProblemEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_in_ngwt__ProblemEntry(struct soap *soap, const char *tag, ngwt__ProblemEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ProblemEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProblemEntry, sizeof(ngwt__ProblemEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ProblemEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ProblemEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_element1 = 1, soap_flag_code1 = 1, soap_flag_description1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_element1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:element", &(((ngwt__ProblemEntry*)a)->element), ""))
- { soap_flag_element1 = 0;
- continue;
- }
- if (soap_flag_code1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:code", &(((ngwt__ProblemEntry*)a)->code), ""))
- { soap_flag_code1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__ProblemEntry*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ProblemEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemEntry, 0, sizeof(ngwt__ProblemEntry), 0, soap_copy_ngwt__ProblemEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_new_ngwt__ProblemEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ProblemEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_instantiate_ngwt__ProblemEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProblemEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProblemEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ProblemEntry;
- if (size)
- *size = sizeof(ngwt__ProblemEntry);
- ((ngwt__ProblemEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ProblemEntry[n];
- if (size)
- *size = n * sizeof(ngwt__ProblemEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__ProblemEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ProblemEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProblemEntry %p -> %p\n", q, p));
- *(ngwt__ProblemEntry*)p = *(ngwt__ProblemEntry*)q;
-}
-
-void ngwt__PostalAddressList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, &((ngwt__PostalAddressList*)this)->address);
- /* transient soap skipped */
-}
-
-void ngwt__PostalAddressList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, &((ngwt__PostalAddressList*)this)->address);
- /* transient soap skipped */
-}
-
-int ngwt__PostalAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddressList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PostalAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PostalAddressList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressList(struct soap *soap, const char *tag, int id, const ngwt__PostalAddressList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddressList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, "ngwt:address", -1, &(((ngwt__PostalAddressList*)a)->address), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PostalAddressList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PostalAddressList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_get_ngwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PostalAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PostalAddressList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PostalAddressList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_in_ngwt__PostalAddressList(struct soap *soap, const char *tag, ngwt__PostalAddressList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PostalAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddressList, sizeof(ngwt__PostalAddressList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PostalAddressList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PostalAddressList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, "ngwt:address", &(((ngwt__PostalAddressList*)a)->address), "ngwt:PostalAddress"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PostalAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressList, 0, sizeof(ngwt__PostalAddressList), 0, soap_copy_ngwt__PostalAddressList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_new_ngwt__PostalAddressList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PostalAddressList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PostalAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PostalAddressList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PostalAddressList;
- if (size)
- *size = sizeof(ngwt__PostalAddressList);
- ((ngwt__PostalAddressList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PostalAddressList[n];
- if (size)
- *size = n * sizeof(ngwt__PostalAddressList);
- for (int i = 0; i < n; i++)
- ((ngwt__PostalAddressList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PostalAddressList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PostalAddressList %p -> %p\n", q, p));
- *(ngwt__PostalAddressList*)p = *(ngwt__PostalAddressList*)q;
-}
-
-void ngwt__PostalAddress::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->description);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->streetAddress, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->streetAddress);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->location, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->location);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->city, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->city);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->state, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->state);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->postalCode, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->postalCode);
- soap_embedded(soap, &((ngwt__PostalAddress*)this)->country, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->country);
- /* transient soap skipped */
-}
-
-void ngwt__PostalAddress::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__PostalAddress*)this)->description = NULL;
- ((ngwt__PostalAddress*)this)->streetAddress = NULL;
- ((ngwt__PostalAddress*)this)->location = NULL;
- ((ngwt__PostalAddress*)this)->city = NULL;
- ((ngwt__PostalAddress*)this)->state = NULL;
- ((ngwt__PostalAddress*)this)->postalCode = NULL;
- ((ngwt__PostalAddress*)this)->country = NULL;
- soap_default_ngwt__PostalAddressType(soap, &((ngwt__PostalAddress*)this)->type);
- /* transient soap skipped */
-}
-
-int ngwt__PostalAddress::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddress);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PostalAddress::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PostalAddress(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddress(struct soap *soap, const char *tag, int id, const ngwt__PostalAddress *a, const char *type)
-{
- soap_set_attr(soap, "type", soap_ngwt__PostalAddressType2s(soap, ((ngwt__PostalAddress *)a)->type));
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddress), type);
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__PostalAddress*)a)->description), "");
- soap_out_PointerTostd__string(soap, "ngwt:streetAddress", -1, &(((ngwt__PostalAddress*)a)->streetAddress), "");
- soap_out_PointerTostd__string(soap, "ngwt:location", -1, &(((ngwt__PostalAddress*)a)->location), "");
- soap_out_PointerTostd__string(soap, "ngwt:city", -1, &(((ngwt__PostalAddress*)a)->city), "");
- soap_out_PointerTostd__string(soap, "ngwt:state", -1, &(((ngwt__PostalAddress*)a)->state), "");
- soap_out_PointerTostd__string(soap, "ngwt:postalCode", -1, &(((ngwt__PostalAddress*)a)->postalCode), "");
- soap_out_PointerTostd__string(soap, "ngwt:country", -1, &(((ngwt__PostalAddress*)a)->country), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PostalAddress::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PostalAddress(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_get_ngwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PostalAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PostalAddress::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PostalAddress(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_in_ngwt__PostalAddress(struct soap *soap, const char *tag, ngwt__PostalAddress *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PostalAddress *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddress, sizeof(ngwt__PostalAddress), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PostalAddress)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PostalAddress *)a->soap_in(soap, tag, type);
- }
- }
- if (soap_s2ngwt__PostalAddressType(soap, soap_attr_value(soap, "type", 1), &((ngwt__PostalAddress *)a)->type))
- return NULL;
- short soap_flag_description1 = 1, soap_flag_streetAddress1 = 1, soap_flag_location1 = 1, soap_flag_city1 = 1, soap_flag_state1 = 1, soap_flag_postalCode1 = 1, soap_flag_country1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__PostalAddress*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_streetAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:streetAddress", &(((ngwt__PostalAddress*)a)->streetAddress), ""))
- { soap_flag_streetAddress1 = 0;
- continue;
- }
- if (soap_flag_location1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:location", &(((ngwt__PostalAddress*)a)->location), ""))
- { soap_flag_location1 = 0;
- continue;
- }
- if (soap_flag_city1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:city", &(((ngwt__PostalAddress*)a)->city), ""))
- { soap_flag_city1 = 0;
- continue;
- }
- if (soap_flag_state1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:state", &(((ngwt__PostalAddress*)a)->state), ""))
- { soap_flag_state1 = 0;
- continue;
- }
- if (soap_flag_postalCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postalCode", &(((ngwt__PostalAddress*)a)->postalCode), ""))
- { soap_flag_postalCode1 = 0;
- continue;
- }
- if (soap_flag_country1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:country", &(((ngwt__PostalAddress*)a)->country), ""))
- { soap_flag_country1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PostalAddress *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddress, 0, sizeof(ngwt__PostalAddress), 0, soap_copy_ngwt__PostalAddress);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_new_ngwt__PostalAddress(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PostalAddress(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PostalAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PostalAddress, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PostalAddress;
- if (size)
- *size = sizeof(ngwt__PostalAddress);
- ((ngwt__PostalAddress*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PostalAddress[n];
- if (size)
- *size = n * sizeof(ngwt__PostalAddress);
- for (int i = 0; i < n; i++)
- ((ngwt__PostalAddress*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PostalAddress*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PostalAddress %p -> %p\n", q, p));
- *(ngwt__PostalAddress*)p = *(ngwt__PostalAddress*)q;
-}
-
-void ngwt__PlainText::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PlainText*)this)->username, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__PlainText*)this)->username);
- soap_embedded(soap, &((ngwt__PlainText*)this)->password, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PlainText*)this)->password);
- /* transient soap skipped */
-}
-
-void ngwt__PlainText::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__PlainText*)this)->username);
- ((ngwt__PlainText*)this)->password = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__PlainText::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PlainText);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PlainText::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PlainText(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PlainText(struct soap *soap, const char *tag, int id, const ngwt__PlainText *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PlainText), "ngwt:PlainText");
- /* transient soap skipped */
- soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__PlainText*)a)->username), "");
- soap_out_PointerTostd__string(soap, "ngwt:password", -1, &(((ngwt__PlainText*)a)->password), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PlainText::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PlainText(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_get_ngwt__PlainText(struct soap *soap, ngwt__PlainText *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PlainText(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PlainText::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PlainText(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_in_ngwt__PlainText(struct soap *soap, const char *tag, ngwt__PlainText *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PlainText *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PlainText, sizeof(ngwt__PlainText), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PlainText)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PlainText *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_username1 = 1, soap_flag_password1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__PlainText*)a)->username), ""))
- { soap_flag_username1 = 0;
- continue;
- }
- if (soap_flag_password1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:password", &(((ngwt__PlainText*)a)->password), ""))
- { soap_flag_password1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PlainText *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PlainText, 0, sizeof(ngwt__PlainText), 0, soap_copy_ngwt__PlainText);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_new_ngwt__PlainText(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PlainText(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PlainText(struct soap *soap, ngwt__PlainText *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_instantiate_ngwt__PlainText(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PlainText(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PlainText, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PlainText;
- if (size)
- *size = sizeof(ngwt__PlainText);
- ((ngwt__PlainText*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PlainText[n];
- if (size)
- *size = n * sizeof(ngwt__PlainText);
- for (int i = 0; i < n; i++)
- ((ngwt__PlainText*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PlainText*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PlainText(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PlainText %p -> %p\n", q, p));
- *(ngwt__PlainText*)p = *(ngwt__PlainText*)q;
-}
-
-void ngwt__PhoneNumber::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PhoneNumber*)this)->__item, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__PhoneNumber*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__PhoneNumber::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__PhoneNumber*)this)->__item);
- soap_default_ngwt__PhoneNumberType(soap, &((ngwt__PhoneNumber*)this)->type);
- /* transient soap skipped */
-}
-
-int ngwt__PhoneNumber::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneNumber);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PhoneNumber::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PhoneNumber(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumber(struct soap *soap, const char *tag, int id, const ngwt__PhoneNumber *a, const char *type)
-{
- soap_set_attr(soap, "type", soap_ngwt__PhoneNumberType2s(soap, ((ngwt__PhoneNumber *)a)->type));
- soap_out_std__string(soap, tag, id, &(((ngwt__PhoneNumber*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__PhoneNumber::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PhoneNumber(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_get_ngwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PhoneNumber(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PhoneNumber::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PhoneNumber(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_in_ngwt__PhoneNumber(struct soap *soap, const char *tag, ngwt__PhoneNumber *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__PhoneNumber *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneNumber, sizeof(ngwt__PhoneNumber), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PhoneNumber)
- return (ngwt__PhoneNumber *)a->soap_in(soap, tag, type);
- }
- if (soap_s2ngwt__PhoneNumberType(soap, soap_attr_value(soap, "type", 1), &((ngwt__PhoneNumber *)a)->type))
- return NULL;
- if (!soap_in_std__string(soap, tag, &(((ngwt__PhoneNumber*)a)->__item), "ngwt:PhoneNumber"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_new_ngwt__PhoneNumber(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PhoneNumber(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_instantiate_ngwt__PhoneNumber(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneNumber(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneNumber, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneNumber;
- if (size)
- *size = sizeof(ngwt__PhoneNumber);
- ((ngwt__PhoneNumber*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneNumber[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneNumber);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneNumber*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneNumber*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneNumber(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneNumber %p -> %p\n", q, p));
- *(ngwt__PhoneNumber*)p = *(ngwt__PhoneNumber*)q;
-}
-
-void ngwt__PhoneMessage::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PhoneMessage*)this)->caller, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->caller);
- soap_embedded(soap, &((ngwt__PhoneMessage*)this)->company, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->company);
- soap_embedded(soap, &((ngwt__PhoneMessage*)this)->phone, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->phone);
- soap_embedded(soap, &((ngwt__PhoneMessage*)this)->flags, SOAP_TYPE_PointerTongwt__PhoneFlags);
- soap_serialize_PointerTongwt__PhoneFlags(soap, &((ngwt__PhoneMessage*)this)->flags);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__PhoneMessage::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__PhoneMessage*)this)->caller = NULL;
- ((ngwt__PhoneMessage*)this)->company = NULL;
- ((ngwt__PhoneMessage*)this)->phone = NULL;
- ((ngwt__PhoneMessage*)this)->flags = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__PhoneMessage::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneMessage);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PhoneMessage::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PhoneMessage(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneMessage(struct soap *soap, const char *tag, int id, const ngwt__PhoneMessage *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneMessage), "ngwt:PhoneMessage");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTostd__string(soap, "ngwt:caller", -1, &(((ngwt__PhoneMessage*)a)->caller), "");
- soap_out_PointerTostd__string(soap, "ngwt:company", -1, &(((ngwt__PhoneMessage*)a)->company), "");
- soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__PhoneMessage*)a)->phone), "");
- soap_out_PointerTongwt__PhoneFlags(soap, "ngwt:flags", -1, &(((ngwt__PhoneMessage*)a)->flags), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PhoneMessage::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PhoneMessage(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_get_ngwt__PhoneMessage(struct soap *soap, ngwt__PhoneMessage *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PhoneMessage(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PhoneMessage::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PhoneMessage(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_in_ngwt__PhoneMessage(struct soap *soap, const char *tag, ngwt__PhoneMessage *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PhoneMessage *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneMessage, sizeof(ngwt__PhoneMessage), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PhoneMessage)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PhoneMessage *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_caller1 = 1, soap_flag_company1 = 1, soap_flag_phone1 = 1, soap_flag_flags1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id5 = 0;
- continue;
- }
- if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name5 = 0;
- continue;
- }
- if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version5 = 0;
- continue;
- }
- if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified5 = 0;
- continue;
- }
- if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes5 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories4 = 0;
- continue;
- }
- if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created4 = 0;
- continue;
- }
- if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs4 = 0;
- continue;
- }
- if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status3 = 0;
- continue;
- }
- if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread3 = 0;
- continue;
- }
- if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId3 = 0;
- continue;
- }
- if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId3 = 0;
- continue;
- }
- if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source3 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId3 = 0;
- continue;
- }
- if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered3 = 0;
- continue;
- }
- if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_3 = 0;
- continue;
- }
- if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security3 = 0;
- continue;
- }
- if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment3 = 0;
- continue;
- }
- if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject2 = 0;
- continue;
- }
- if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject2 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix2 = 0;
- continue;
- }
- if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution2 = 0;
- continue;
- }
- if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message2 = 0;
- continue;
- }
- if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments2 = 0;
- continue;
- }
- if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options2 = 0;
- continue;
- }
- if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link2 = 0;
- continue;
- }
- if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment2 = 0;
- continue;
- }
- if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size2 = 0;
- continue;
- }
- if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType2 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap2 = 0;
- continue;
- }
- if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType2 = 0;
- continue;
- }
- if (soap_flag_caller1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:caller", &(((ngwt__PhoneMessage*)a)->caller), ""))
- { soap_flag_caller1 = 0;
- continue;
- }
- if (soap_flag_company1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:company", &(((ngwt__PhoneMessage*)a)->company), ""))
- { soap_flag_company1 = 0;
- continue;
- }
- if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__PhoneMessage*)a)->phone), ""))
- { soap_flag_phone1 = 0;
- continue;
- }
- if (soap_flag_flags1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__PhoneFlags(soap, "ngwt:flags", &(((ngwt__PhoneMessage*)a)->flags), "ngwt:PhoneFlags"))
- { soap_flag_flags1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PhoneMessage *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneMessage, 0, sizeof(ngwt__PhoneMessage), 0, soap_copy_ngwt__PhoneMessage);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_new_ngwt__PhoneMessage(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PhoneMessage(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneMessage(struct soap *soap, ngwt__PhoneMessage *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_instantiate_ngwt__PhoneMessage(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneMessage(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneMessage, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneMessage;
- if (size)
- *size = sizeof(ngwt__PhoneMessage);
- ((ngwt__PhoneMessage*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneMessage[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneMessage);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneMessage*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneMessage(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneMessage %p -> %p\n", q, p));
- *(ngwt__PhoneMessage*)p = *(ngwt__PhoneMessage*)q;
-}
-
-void ngwt__PhoneList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, &((ngwt__PhoneList*)this)->phone);
- /* transient soap skipped */
-}
-
-void ngwt__PhoneList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, &((ngwt__PhoneList*)this)->phone);
- ((ngwt__PhoneList*)this)->default_ = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__PhoneList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PhoneList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PhoneList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneList(struct soap *soap, const char *tag, int id, const ngwt__PhoneList *a, const char *type)
-{
- if (((ngwt__PhoneList *)a)->default_)
- soap_set_attr(soap, "default", ((ngwt__PhoneList *)a)->default_->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, "ngwt:phone", -1, &(((ngwt__PhoneList*)a)->phone), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PhoneList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PhoneList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_get_ngwt__PhoneList(struct soap *soap, ngwt__PhoneList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PhoneList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PhoneList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PhoneList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_in_ngwt__PhoneList(struct soap *soap, const char *tag, ngwt__PhoneList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PhoneList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneList, sizeof(ngwt__PhoneList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PhoneList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PhoneList *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "default", 0);
- if (t)
- { if (!(((ngwt__PhoneList *)a)->default_ = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__PhoneList *)a)->default_ = soap_new_std__string(soap, -1);
- ((ngwt__PhoneList *)a)->default_->assign(s);
- }
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, "ngwt:phone", &(((ngwt__PhoneList*)a)->phone), "ngwt:PhoneNumber"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PhoneList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneList, 0, sizeof(ngwt__PhoneList), 0, soap_copy_ngwt__PhoneList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_new_ngwt__PhoneList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PhoneList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneList(struct soap *soap, ngwt__PhoneList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_instantiate_ngwt__PhoneList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneList;
- if (size)
- *size = sizeof(ngwt__PhoneList);
- ((ngwt__PhoneList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneList[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneList);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneList %p -> %p\n", q, p));
- *(ngwt__PhoneList*)p = *(ngwt__PhoneList*)q;
-}
-
-void ngwt__PhoneFlags::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->called, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->called);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->pleaseCall, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->pleaseCall);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->willCall, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->willCall);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->returnedYourCall, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->returnedYourCall);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->wantsToSeeYou, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->wantsToSeeYou);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->cameToSeeYou, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->cameToSeeYou);
- soap_embedded(soap, &((ngwt__PhoneFlags*)this)->urgent, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->urgent);
- /* transient soap skipped */
-}
-
-void ngwt__PhoneFlags::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__PhoneFlags*)this)->called = NULL;
- ((ngwt__PhoneFlags*)this)->pleaseCall = NULL;
- ((ngwt__PhoneFlags*)this)->willCall = NULL;
- ((ngwt__PhoneFlags*)this)->returnedYourCall = NULL;
- ((ngwt__PhoneFlags*)this)->wantsToSeeYou = NULL;
- ((ngwt__PhoneFlags*)this)->cameToSeeYou = NULL;
- ((ngwt__PhoneFlags*)this)->urgent = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__PhoneFlags::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneFlags);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PhoneFlags::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PhoneFlags(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneFlags(struct soap *soap, const char *tag, int id, const ngwt__PhoneFlags *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneFlags), type);
- soap_out_PointerTobool(soap, "ngwt:called", -1, &(((ngwt__PhoneFlags*)a)->called), "");
- soap_out_PointerTobool(soap, "ngwt:pleaseCall", -1, &(((ngwt__PhoneFlags*)a)->pleaseCall), "");
- soap_out_PointerTobool(soap, "ngwt:willCall", -1, &(((ngwt__PhoneFlags*)a)->willCall), "");
- soap_out_PointerTobool(soap, "ngwt:returnedYourCall", -1, &(((ngwt__PhoneFlags*)a)->returnedYourCall), "");
- soap_out_PointerTobool(soap, "ngwt:wantsToSeeYou", -1, &(((ngwt__PhoneFlags*)a)->wantsToSeeYou), "");
- soap_out_PointerTobool(soap, "ngwt:cameToSeeYou", -1, &(((ngwt__PhoneFlags*)a)->cameToSeeYou), "");
- soap_out_PointerTobool(soap, "ngwt:urgent", -1, &(((ngwt__PhoneFlags*)a)->urgent), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PhoneFlags::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PhoneFlags(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_get_ngwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PhoneFlags(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PhoneFlags::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PhoneFlags(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_in_ngwt__PhoneFlags(struct soap *soap, const char *tag, ngwt__PhoneFlags *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PhoneFlags *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneFlags, sizeof(ngwt__PhoneFlags), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PhoneFlags)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PhoneFlags *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_called1 = 1, soap_flag_pleaseCall1 = 1, soap_flag_willCall1 = 1, soap_flag_returnedYourCall1 = 1, soap_flag_wantsToSeeYou1 = 1, soap_flag_cameToSeeYou1 = 1, soap_flag_urgent1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_called1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:called", &(((ngwt__PhoneFlags*)a)->called), ""))
- { soap_flag_called1 = 0;
- continue;
- }
- if (soap_flag_pleaseCall1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:pleaseCall", &(((ngwt__PhoneFlags*)a)->pleaseCall), ""))
- { soap_flag_pleaseCall1 = 0;
- continue;
- }
- if (soap_flag_willCall1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:willCall", &(((ngwt__PhoneFlags*)a)->willCall), ""))
- { soap_flag_willCall1 = 0;
- continue;
- }
- if (soap_flag_returnedYourCall1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnedYourCall", &(((ngwt__PhoneFlags*)a)->returnedYourCall), ""))
- { soap_flag_returnedYourCall1 = 0;
- continue;
- }
- if (soap_flag_wantsToSeeYou1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:wantsToSeeYou", &(((ngwt__PhoneFlags*)a)->wantsToSeeYou), ""))
- { soap_flag_wantsToSeeYou1 = 0;
- continue;
- }
- if (soap_flag_cameToSeeYou1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:cameToSeeYou", &(((ngwt__PhoneFlags*)a)->cameToSeeYou), ""))
- { soap_flag_cameToSeeYou1 = 0;
- continue;
- }
- if (soap_flag_urgent1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:urgent", &(((ngwt__PhoneFlags*)a)->urgent), ""))
- { soap_flag_urgent1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PhoneFlags *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneFlags, 0, sizeof(ngwt__PhoneFlags), 0, soap_copy_ngwt__PhoneFlags);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_new_ngwt__PhoneFlags(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PhoneFlags(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_instantiate_ngwt__PhoneFlags(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneFlags(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneFlags, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneFlags;
- if (size)
- *size = sizeof(ngwt__PhoneFlags);
- ((ngwt__PhoneFlags*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneFlags[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneFlags);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneFlags*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneFlags*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneFlags(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneFlags %p -> %p\n", q, p));
- *(ngwt__PhoneFlags*)p = *(ngwt__PhoneFlags*)q;
-}
-
-void ngwt__PersonalInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__PersonalInfo*)this)->birthday, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__PersonalInfo*)this)->birthday);
- soap_embedded(soap, &((ngwt__PersonalInfo*)this)->website, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__PersonalInfo*)this)->website);
- /* transient soap skipped */
-}
-
-void ngwt__PersonalInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__PersonalInfo*)this)->birthday = NULL;
- ((ngwt__PersonalInfo*)this)->website = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__PersonalInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PersonalInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__PersonalInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__PersonalInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PersonalInfo(struct soap *soap, const char *tag, int id, const ngwt__PersonalInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PersonalInfo), type);
- soap_out_PointerToxsd__date(soap, "ngwt:birthday", -1, &(((ngwt__PersonalInfo*)a)->birthday), "");
- soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__PersonalInfo*)a)->website), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__PersonalInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__PersonalInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_get_ngwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__PersonalInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__PersonalInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__PersonalInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_in_ngwt__PersonalInfo(struct soap *soap, const char *tag, ngwt__PersonalInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__PersonalInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PersonalInfo, sizeof(ngwt__PersonalInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__PersonalInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__PersonalInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_birthday1 = 1, soap_flag_website1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_birthday1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:birthday", &(((ngwt__PersonalInfo*)a)->birthday), "xsd:date"))
- { soap_flag_birthday1 = 0;
- continue;
- }
- if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__PersonalInfo*)a)->website), ""))
- { soap_flag_website1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__PersonalInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PersonalInfo, 0, sizeof(ngwt__PersonalInfo), 0, soap_copy_ngwt__PersonalInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_new_ngwt__PersonalInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__PersonalInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_instantiate_ngwt__PersonalInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PersonalInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PersonalInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PersonalInfo;
- if (size)
- *size = sizeof(ngwt__PersonalInfo);
- ((ngwt__PersonalInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PersonalInfo[n];
- if (size)
- *size = n * sizeof(ngwt__PersonalInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__PersonalInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PersonalInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PersonalInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PersonalInfo %p -> %p\n", q, p));
- *(ngwt__PersonalInfo*)p = *(ngwt__PersonalInfo*)q;
-}
-
-void ngwt__Organization::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Organization*)this)->contact, SOAP_TYPE_PointerTongwt__ItemRef);
- soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__Organization*)this)->contact);
- soap_embedded(soap, &((ngwt__Organization*)this)->phone, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->phone);
- soap_embedded(soap, &((ngwt__Organization*)this)->fax, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->fax);
- soap_embedded(soap, &((ngwt__Organization*)this)->address, SOAP_TYPE_PointerTongwt__PostalAddress);
- soap_serialize_PointerTongwt__PostalAddress(soap, &((ngwt__Organization*)this)->address);
- soap_embedded(soap, &((ngwt__Organization*)this)->website, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->website);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Organization::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Organization*)this)->contact = NULL;
- ((ngwt__Organization*)this)->phone = NULL;
- ((ngwt__Organization*)this)->fax = NULL;
- ((ngwt__Organization*)this)->address = NULL;
- ((ngwt__Organization*)this)->website = NULL;
- ((ngwt__AddressBookItem*)this)->uuid = NULL;
- ((ngwt__AddressBookItem*)this)->comment = NULL;
- ((ngwt__AddressBookItem*)this)->sync = NULL;
- ((ngwt__AddressBookItem*)this)->domain = NULL;
- ((ngwt__AddressBookItem*)this)->postOffice = NULL;
- ((ngwt__AddressBookItem*)this)->distinguishedName = NULL;
- ((ngwt__AddressBookItem*)this)->userid = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Organization::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Organization);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Organization::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Organization(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Organization(struct soap *soap, const char *tag, int id, const ngwt__Organization *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Organization), "ngwt:Organization");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), "");
- soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), "");
- soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), "");
- soap_out_PointerTongwt__ItemRef(soap, "ngwt:contact", -1, &(((ngwt__Organization*)a)->contact), "");
- soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__Organization*)a)->phone), "");
- soap_out_PointerTostd__string(soap, "ngwt:fax", -1, &(((ngwt__Organization*)a)->fax), "");
- soap_out_PointerTongwt__PostalAddress(soap, "ngwt:address", -1, &(((ngwt__Organization*)a)->address), "");
- soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__Organization*)a)->website), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Organization::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Organization(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_get_ngwt__Organization(struct soap *soap, ngwt__Organization *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Organization(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Organization::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Organization(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_in_ngwt__Organization(struct soap *soap, const char *tag, ngwt__Organization *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Organization *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Organization, sizeof(ngwt__Organization), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Organization)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Organization *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_contact1 = 1, soap_flag_phone1 = 1, soap_flag_fax1 = 1, soap_flag_address1 = 1, soap_flag_website1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories3 = 0;
- continue;
- }
- if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created3 = 0;
- continue;
- }
- if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs3 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), ""))
- { soap_flag_comment2 = 0;
- continue;
- }
- if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), ""))
- { soap_flag_sync2 = 0;
- continue;
- }
- if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), ""))
- { soap_flag_domain2 = 0;
- continue;
- }
- if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), ""))
- { soap_flag_postOffice2 = 0;
- continue;
- }
- if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), ""))
- { soap_flag_distinguishedName2 = 0;
- continue;
- }
- if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), ""))
- { soap_flag_userid2 = 0;
- continue;
- }
- if (soap_flag_contact1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:contact", &(((ngwt__Organization*)a)->contact), "ngwt:ItemRef"))
- { soap_flag_contact1 = 0;
- continue;
- }
- if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__Organization*)a)->phone), ""))
- { soap_flag_phone1 = 0;
- continue;
- }
- if (soap_flag_fax1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:fax", &(((ngwt__Organization*)a)->fax), ""))
- { soap_flag_fax1 = 0;
- continue;
- }
- if (soap_flag_address1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__PostalAddress(soap, "ngwt:address", &(((ngwt__Organization*)a)->address), "ngwt:PostalAddress"))
- { soap_flag_address1 = 0;
- continue;
- }
- if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__Organization*)a)->website), ""))
- { soap_flag_website1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Organization *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Organization, 0, sizeof(ngwt__Organization), 0, soap_copy_ngwt__Organization);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_new_ngwt__Organization(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Organization(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Organization(struct soap *soap, ngwt__Organization *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_instantiate_ngwt__Organization(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Organization(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Organization, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Organization;
- if (size)
- *size = sizeof(ngwt__Organization);
- ((ngwt__Organization*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Organization[n];
- if (size)
- *size = n * sizeof(ngwt__Organization);
- for (int i = 0; i < n; i++)
- ((ngwt__Organization*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Organization*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Organization(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Organization %p -> %p\n", q, p));
- *(ngwt__Organization*)p = *(ngwt__Organization*)q;
-}
-
-void ngwt__OfficeInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__OfficeInfo*)this)->organization, SOAP_TYPE_PointerTongwt__ItemRef);
- soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__OfficeInfo*)this)->organization);
- soap_embedded(soap, &((ngwt__OfficeInfo*)this)->department, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->department);
- soap_embedded(soap, &((ngwt__OfficeInfo*)this)->title, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->title);
- soap_embedded(soap, &((ngwt__OfficeInfo*)this)->website, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->website);
- /* transient soap skipped */
-}
-
-void ngwt__OfficeInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__OfficeInfo*)this)->organization = NULL;
- ((ngwt__OfficeInfo*)this)->department = NULL;
- ((ngwt__OfficeInfo*)this)->title = NULL;
- ((ngwt__OfficeInfo*)this)->website = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__OfficeInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__OfficeInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__OfficeInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__OfficeInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OfficeInfo(struct soap *soap, const char *tag, int id, const ngwt__OfficeInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__OfficeInfo), type);
- soap_out_PointerTongwt__ItemRef(soap, "ngwt:organization", -1, &(((ngwt__OfficeInfo*)a)->organization), "");
- soap_out_PointerTostd__string(soap, "ngwt:department", -1, &(((ngwt__OfficeInfo*)a)->department), "");
- soap_out_PointerTostd__string(soap, "ngwt:title", -1, &(((ngwt__OfficeInfo*)a)->title), "");
- soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__OfficeInfo*)a)->website), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__OfficeInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__OfficeInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_get_ngwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__OfficeInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__OfficeInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__OfficeInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_in_ngwt__OfficeInfo(struct soap *soap, const char *tag, ngwt__OfficeInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__OfficeInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__OfficeInfo, sizeof(ngwt__OfficeInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__OfficeInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__OfficeInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_organization1 = 1, soap_flag_department1 = 1, soap_flag_title1 = 1, soap_flag_website1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_organization1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:organization", &(((ngwt__OfficeInfo*)a)->organization), "ngwt:ItemRef"))
- { soap_flag_organization1 = 0;
- continue;
- }
- if (soap_flag_department1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:department", &(((ngwt__OfficeInfo*)a)->department), ""))
- { soap_flag_department1 = 0;
- continue;
- }
- if (soap_flag_title1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:title", &(((ngwt__OfficeInfo*)a)->title), ""))
- { soap_flag_title1 = 0;
- continue;
- }
- if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__OfficeInfo*)a)->website), ""))
- { soap_flag_website1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__OfficeInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OfficeInfo, 0, sizeof(ngwt__OfficeInfo), 0, soap_copy_ngwt__OfficeInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_new_ngwt__OfficeInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__OfficeInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_instantiate_ngwt__OfficeInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__OfficeInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__OfficeInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__OfficeInfo;
- if (size)
- *size = sizeof(ngwt__OfficeInfo);
- ((ngwt__OfficeInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__OfficeInfo[n];
- if (size)
- *size = n * sizeof(ngwt__OfficeInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__OfficeInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__OfficeInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__OfficeInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__OfficeInfo %p -> %p\n", q, p));
- *(ngwt__OfficeInfo*)p = *(ngwt__OfficeInfo*)q;
-}
-
-void ngwt__Note::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Note*)this)->startDate, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Note*)this)->startDate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule);
- soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Note::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Note*)this)->startDate = NULL;
- ((ngwt__CalendarItem*)this)->rdate = NULL;
- ((ngwt__CalendarItem*)this)->rrule = NULL;
- ((ngwt__CalendarItem*)this)->exdate = NULL;
- ((ngwt__CalendarItem*)this)->recurrenceKey = NULL;
- ((ngwt__CalendarItem*)this)->iCalId = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Note::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Note);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Note::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Note(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Note(struct soap *soap, const char *tag, int id, const ngwt__Note *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Note), "ngwt:Note");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), "");
- soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), "");
- soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), "");
- soap_out_PointerToxsd__date(soap, "ngwt:startDate", -1, &(((ngwt__Note*)a)->startDate), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Note::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Note(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_get_ngwt__Note(struct soap *soap, ngwt__Note *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Note(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Note::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Note(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_in_ngwt__Note(struct soap *soap, const char *tag, ngwt__Note *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Note *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Note, sizeof(ngwt__Note), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Note)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Note *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id6 = 0;
- continue;
- }
- if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name6 = 0;
- continue;
- }
- if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version6 = 0;
- continue;
- }
- if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified6 = 0;
- continue;
- }
- if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes6 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories5 = 0;
- continue;
- }
- if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created5 = 0;
- continue;
- }
- if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs5 = 0;
- continue;
- }
- if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status4 = 0;
- continue;
- }
- if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread4 = 0;
- continue;
- }
- if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId4 = 0;
- continue;
- }
- if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId4 = 0;
- continue;
- }
- if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source4 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId4 = 0;
- continue;
- }
- if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered4 = 0;
- continue;
- }
- if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_4 = 0;
- continue;
- }
- if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security4 = 0;
- continue;
- }
- if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment4 = 0;
- continue;
- }
- if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject3 = 0;
- continue;
- }
- if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject3 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix3 = 0;
- continue;
- }
- if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution3 = 0;
- continue;
- }
- if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message3 = 0;
- continue;
- }
- if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments3 = 0;
- continue;
- }
- if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options3 = 0;
- continue;
- }
- if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link3 = 0;
- continue;
- }
- if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment3 = 0;
- continue;
- }
- if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size3 = 0;
- continue;
- }
- if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType3 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap3 = 0;
- continue;
- }
- if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType3 = 0;
- continue;
- }
- if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType"))
- { soap_flag_rdate2 = 0;
- continue;
- }
- if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule"))
- { soap_flag_rrule2 = 0;
- continue;
- }
- if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType"))
- { soap_flag_exdate2 = 0;
- continue;
- }
- if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), ""))
- { soap_flag_recurrenceKey2 = 0;
- continue;
- }
- if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), ""))
- { soap_flag_iCalId2 = 0;
- continue;
- }
- if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:startDate", &(((ngwt__Note*)a)->startDate), "xsd:date"))
- { soap_flag_startDate1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Note *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Note, 0, sizeof(ngwt__Note), 0, soap_copy_ngwt__Note);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_new_ngwt__Note(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Note(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Note(struct soap *soap, ngwt__Note *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_instantiate_ngwt__Note(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Note(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Note, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Note(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Note %p -> %p\n", q, p));
- *(ngwt__Note*)p = *(ngwt__Note*)q;
-}
-
-void ngwt__NameAndEmail::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__NameAndEmail::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__NameAndEmail::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__NameAndEmail);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__NameAndEmail::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__NameAndEmail(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NameAndEmail(struct soap *soap, const char *tag, int id, const ngwt__NameAndEmail *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__NameAndEmail), type);
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__NameAndEmail::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__NameAndEmail(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_get_ngwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__NameAndEmail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__NameAndEmail::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__NameAndEmail(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_in_ngwt__NameAndEmail(struct soap *soap, const char *tag, ngwt__NameAndEmail *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__NameAndEmail *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__NameAndEmail, sizeof(ngwt__NameAndEmail), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__NameAndEmail)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__NameAndEmail *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName1 = 1, soap_flag_email1 = 1, soap_flag_uuid1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName1 = 0;
- continue;
- }
- if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email1 = 0;
- continue;
- }
- if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__NameAndEmail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NameAndEmail, 0, sizeof(ngwt__NameAndEmail), 0, soap_copy_ngwt__NameAndEmail);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_new_ngwt__NameAndEmail(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__NameAndEmail(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_instantiate_ngwt__NameAndEmail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__NameAndEmail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__NameAndEmail, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:AccessControlListEntry"))
- { cp->type = SOAP_TYPE_ngwt__AccessControlListEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessControlListEntry;
- if (size)
- *size = sizeof(ngwt__AccessControlListEntry);
- ((ngwt__AccessControlListEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessControlListEntry[n];
- if (size)
- *size = n * sizeof(ngwt__AccessControlListEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessControlListEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessControlListEntry*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:AccessRightEntry"))
- { cp->type = SOAP_TYPE_ngwt__AccessRightEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessRightEntry;
- if (size)
- *size = sizeof(ngwt__AccessRightEntry);
- ((ngwt__AccessRightEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessRightEntry[n];
- if (size)
- *size = n * sizeof(ngwt__AccessRightEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessRightEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessRightEntry*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:FreeBusyInfo"))
- { cp->type = SOAP_TYPE_ngwt__FreeBusyInfo;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyInfo;
- if (size)
- *size = sizeof(ngwt__FreeBusyInfo);
- ((ngwt__FreeBusyInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyInfo[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyInfo*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:From"))
- { cp->type = SOAP_TYPE_ngwt__From;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__From;
- if (size)
- *size = sizeof(ngwt__From);
- ((ngwt__From*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__From[n];
- if (size)
- *size = n * sizeof(ngwt__From);
- for (int i = 0; i < n; i++)
- ((ngwt__From*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__From*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:ProxyUser"))
- { cp->type = SOAP_TYPE_ngwt__ProxyUser;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ProxyUser;
- if (size)
- *size = sizeof(ngwt__ProxyUser);
- ((ngwt__ProxyUser*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ProxyUser[n];
- if (size)
- *size = n * sizeof(ngwt__ProxyUser);
- for (int i = 0; i < n; i++)
- ((ngwt__ProxyUser*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ProxyUser*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Recipient"))
- { cp->type = SOAP_TYPE_ngwt__Recipient;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Recipient;
- if (size)
- *size = sizeof(ngwt__Recipient);
- ((ngwt__Recipient*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Recipient[n];
- if (size)
- *size = n * sizeof(ngwt__Recipient);
- for (int i = 0; i < n; i++)
- ((ngwt__Recipient*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Recipient*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:FolderACLEntry"))
- { cp->type = SOAP_TYPE_ngwt__FolderACLEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FolderACLEntry;
- if (size)
- *size = sizeof(ngwt__FolderACLEntry);
- ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FolderACLEntry[n];
- if (size)
- *size = n * sizeof(ngwt__FolderACLEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FolderACLEntry*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__NameAndEmail;
- if (size)
- *size = sizeof(ngwt__NameAndEmail);
- ((ngwt__NameAndEmail*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__NameAndEmail[n];
- if (size)
- *size = n * sizeof(ngwt__NameAndEmail);
- for (int i = 0; i < n; i++)
- ((ngwt__NameAndEmail*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__NameAndEmail*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__NameAndEmail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__NameAndEmail %p -> %p\n", q, p));
- *(ngwt__NameAndEmail*)p = *(ngwt__NameAndEmail*)q;
-}
-
-void ngwt__MonthList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__Month(soap, &((ngwt__MonthList*)this)->month);
- /* transient soap skipped */
-}
-
-void ngwt__MonthList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__Month(soap, &((ngwt__MonthList*)this)->month);
- /* transient soap skipped */
-}
-
-int ngwt__MonthList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MonthList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__MonthList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__MonthList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MonthList(struct soap *soap, const char *tag, int id, const ngwt__MonthList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MonthList), type);
- soap_out_std__vectorTemplateOfngwt__Month(soap, "ngwt:month", -1, &(((ngwt__MonthList*)a)->month), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__MonthList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__MonthList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_get_ngwt__MonthList(struct soap *soap, ngwt__MonthList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MonthList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__MonthList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__MonthList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_in_ngwt__MonthList(struct soap *soap, const char *tag, ngwt__MonthList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__MonthList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MonthList, sizeof(ngwt__MonthList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__MonthList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__MonthList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__Month(soap, "ngwt:month", &(((ngwt__MonthList*)a)->month), "ngwt:Month"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__MonthList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MonthList, 0, sizeof(ngwt__MonthList), 0, soap_copy_ngwt__MonthList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_new_ngwt__MonthList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__MonthList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MonthList(struct soap *soap, ngwt__MonthList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_instantiate_ngwt__MonthList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MonthList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MonthList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__MonthList;
- if (size)
- *size = sizeof(ngwt__MonthList);
- ((ngwt__MonthList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__MonthList[n];
- if (size)
- *size = n * sizeof(ngwt__MonthList);
- for (int i = 0; i < n; i++)
- ((ngwt__MonthList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__MonthList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MonthList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MonthList %p -> %p\n", q, p));
- *(ngwt__MonthList*)p = *(ngwt__MonthList*)q;
-}
-
-void ngwt__ModifyItem::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ModifyItem*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__ModifyItem*)this)->id);
- soap_embedded(soap, &((ngwt__ModifyItem*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification);
- soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((ngwt__ModifyItem*)this)->notification);
- soap_embedded(soap, &((ngwt__ModifyItem*)this)->updates, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__ModifyItem*)this)->updates);
- /* transient soap skipped */
-}
-
-void ngwt__ModifyItem::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((ngwt__ModifyItem*)this)->id);
- ((ngwt__ModifyItem*)this)->notification = NULL;
- ((ngwt__ModifyItem*)this)->updates = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ModifyItem::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ModifyItem);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ModifyItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ModifyItem(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ModifyItem(struct soap *soap, const char *tag, int id, const ngwt__ModifyItem *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ModifyItem), type);
- soap_out_ngwt__uid(soap, "ngwt:id", -1, &(((ngwt__ModifyItem*)a)->id), "");
- soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwt:notification", -1, &(((ngwt__ModifyItem*)a)->notification), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:updates", -1, &(((ngwt__ModifyItem*)a)->updates), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ModifyItem::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ModifyItem(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_get_ngwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ModifyItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ModifyItem::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ModifyItem(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_in_ngwt__ModifyItem(struct soap *soap, const char *tag, ngwt__ModifyItem *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ModifyItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ModifyItem, sizeof(ngwt__ModifyItem), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ModifyItem)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ModifyItem *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_notification1 = 1, soap_flag_updates1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:id", &(((ngwt__ModifyItem*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwt:notification", &(((ngwt__ModifyItem*)a)->notification), "ngwt:SharedFolderNotification"))
- { soap_flag_notification1 = 0;
- continue;
- }
- if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:updates", &(((ngwt__ModifyItem*)a)->updates), "ngwt:ItemChanges"))
- { soap_flag_updates1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ModifyItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ModifyItem, 0, sizeof(ngwt__ModifyItem), 0, soap_copy_ngwt__ModifyItem);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_new_ngwt__ModifyItem(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ModifyItem(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_instantiate_ngwt__ModifyItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ModifyItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ModifyItem, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ModifyItem;
- if (size)
- *size = sizeof(ngwt__ModifyItem);
- ((ngwt__ModifyItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ModifyItem[n];
- if (size)
- *size = n * sizeof(ngwt__ModifyItem);
- for (int i = 0; i < n; i++)
- ((ngwt__ModifyItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ModifyItem*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ModifyItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ModifyItem %p -> %p\n", q, p));
- *(ngwt__ModifyItem*)p = *(ngwt__ModifyItem*)q;
-}
-
-void ngwt__MessagePart::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__MessagePart*)this)->__item, SOAP_TYPE_xsd__base64Binary);
- ((ngwt__MessagePart*)this)->__item.soap_serialize(soap);
- /* transient soap skipped */
-}
-
-void ngwt__MessagePart::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__MessagePart*)this)->__item.xsd__base64Binary::soap_default(soap);
- ((ngwt__MessagePart*)this)->id = NULL;
- ((ngwt__MessagePart*)this)->contentId = NULL;
- ((ngwt__MessagePart*)this)->contentType = NULL;
- ((ngwt__MessagePart*)this)->length = NULL;
- ((ngwt__MessagePart*)this)->offset = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__MessagePart::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MessagePart);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__MessagePart::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__MessagePart(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessagePart(struct soap *soap, const char *tag, int id, const ngwt__MessagePart *a, const char *type)
-{
- if (((ngwt__MessagePart *)a)->id)
- soap_set_attr(soap, "id", ((ngwt__MessagePart *)a)->id->c_str());
- if (((ngwt__MessagePart *)a)->contentId)
- soap_set_attr(soap, "contentId", ((ngwt__MessagePart *)a)->contentId->c_str());
- if (((ngwt__MessagePart *)a)->contentType)
- soap_set_attr(soap, "contentType", ((ngwt__MessagePart *)a)->contentType->c_str());
- if (((ngwt__MessagePart *)a)->length)
- soap_set_attr(soap, "length", soap_int2s(soap, *((ngwt__MessagePart *)a)->length));
- if (((ngwt__MessagePart *)a)->offset)
- soap_set_attr(soap, "offset", soap_int2s(soap, *((ngwt__MessagePart *)a)->offset));
- (((ngwt__MessagePart*)a)->__item).soap_out(soap, tag, id, "");
- return SOAP_OK;
-}
-
-void *ngwt__MessagePart::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__MessagePart(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_get_ngwt__MessagePart(struct soap *soap, ngwt__MessagePart *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MessagePart(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__MessagePart::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__MessagePart(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_in_ngwt__MessagePart(struct soap *soap, const char *tag, ngwt__MessagePart *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__MessagePart *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessagePart, sizeof(ngwt__MessagePart), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__MessagePart)
- return (ngwt__MessagePart *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "id", 0);
- if (t)
- { if (!(((ngwt__MessagePart *)a)->id = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__MessagePart *)a)->id = soap_new_std__string(soap, -1);
- ((ngwt__MessagePart *)a)->id->assign(s);
- }
- }
- }
- { const char *t = soap_attr_value(soap, "contentId", 0);
- if (t)
- { if (!(((ngwt__MessagePart *)a)->contentId = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__MessagePart *)a)->contentId = soap_new_std__string(soap, -1);
- ((ngwt__MessagePart *)a)->contentId->assign(s);
- }
- }
- }
- { const char *t = soap_attr_value(soap, "contentType", 0);
- if (t)
- { if (!(((ngwt__MessagePart *)a)->contentType = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__MessagePart *)a)->contentType = soap_new_std__string(soap, -1);
- ((ngwt__MessagePart *)a)->contentType->assign(s);
- }
- }
- }
- { const char *t = soap_attr_value(soap, "length", 0);
- if (t)
- { if (!(((ngwt__MessagePart *)a)->length = (int *)soap_malloc(soap, sizeof(int))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2int(soap, t, ((ngwt__MessagePart *)a)->length))
- return NULL;
- }
- }
- { const char *t = soap_attr_value(soap, "offset", 0);
- if (t)
- { if (!(((ngwt__MessagePart *)a)->offset = (int *)soap_malloc(soap, sizeof(int))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2int(soap, t, ((ngwt__MessagePart *)a)->offset))
- return NULL;
- }
- }
- if (!(((ngwt__MessagePart*)a)->__item).soap_in(soap, tag, "ngwt:MessagePart"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_new_ngwt__MessagePart(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__MessagePart(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessagePart(struct soap *soap, ngwt__MessagePart *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_instantiate_ngwt__MessagePart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MessagePart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MessagePart, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__MessagePart;
- if (size)
- *size = sizeof(ngwt__MessagePart);
- ((ngwt__MessagePart*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__MessagePart[n];
- if (size)
- *size = n * sizeof(ngwt__MessagePart);
- for (int i = 0; i < n; i++)
- ((ngwt__MessagePart*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__MessagePart*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessagePart(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MessagePart %p -> %p\n", q, p));
- *(ngwt__MessagePart*)p = *(ngwt__MessagePart*)q;
-}
-
-void ngwt__MessageBody::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(soap, &((ngwt__MessageBody*)this)->part);
- /* transient soap skipped */
-}
-
-void ngwt__MessageBody::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(soap, &((ngwt__MessageBody*)this)->part);
- /* transient soap skipped */
-}
-
-int ngwt__MessageBody::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MessageBody);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__MessageBody::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__MessageBody(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageBody(struct soap *soap, const char *tag, int id, const ngwt__MessageBody *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageBody), type);
- soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(soap, "ngwt:part", -1, &(((ngwt__MessageBody*)a)->part), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__MessageBody::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__MessageBody(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_get_ngwt__MessageBody(struct soap *soap, ngwt__MessageBody *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__MessageBody(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__MessageBody::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__MessageBody(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_in_ngwt__MessageBody(struct soap *soap, const char *tag, ngwt__MessageBody *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__MessageBody *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageBody, sizeof(ngwt__MessageBody), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__MessageBody)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__MessageBody *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(soap, "ngwt:part", &(((ngwt__MessageBody*)a)->part), "ngwt:MessagePart"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__MessageBody *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageBody, 0, sizeof(ngwt__MessageBody), 0, soap_copy_ngwt__MessageBody);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_new_ngwt__MessageBody(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__MessageBody(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessageBody(struct soap *soap, ngwt__MessageBody *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_instantiate_ngwt__MessageBody(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MessageBody(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MessageBody, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__MessageBody;
- if (size)
- *size = sizeof(ngwt__MessageBody);
- ((ngwt__MessageBody*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__MessageBody[n];
- if (size)
- *size = n * sizeof(ngwt__MessageBody);
- for (int i = 0; i < n; i++)
- ((ngwt__MessageBody*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__MessageBody*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessageBody(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MessageBody %p -> %p\n", q, p));
- *(ngwt__MessageBody*)p = *(ngwt__MessageBody*)q;
-}
-
-void ngwt__Mail::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Mail::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Mail::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Mail);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Mail::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Mail(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Mail(struct soap *soap, const char *tag, int id, const ngwt__Mail *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Mail), "ngwt:Mail");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Mail::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Mail(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_get_ngwt__Mail(struct soap *soap, ngwt__Mail *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Mail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Mail::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Mail(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_in_ngwt__Mail(struct soap *soap, const char *tag, ngwt__Mail *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Mail *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Mail, sizeof(ngwt__Mail), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Mail)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Mail *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_status2 = 1, soap_flag_thread2 = 1, soap_flag_msgId2 = 1, soap_flag_messageId2 = 1, soap_flag_source2 = 1, soap_flag_returnSentItemsId2 = 1, soap_flag_delivered2 = 1, soap_flag_class_2 = 1, soap_flag_security2 = 1, soap_flag_comment2 = 1, soap_flag_subject1 = 1, soap_flag_originalSubject1 = 1, soap_flag_subjectPrefix1 = 1, soap_flag_distribution1 = 1, soap_flag_message1 = 1, soap_flag_attachments1 = 1, soap_flag_options1 = 1, soap_flag_link1 = 1, soap_flag_hasAttachment1 = 1, soap_flag_size1 = 1, soap_flag_subType1 = 1, soap_flag_nntpOrImap1 = 1, soap_flag_smimeType1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories3 = 0;
- continue;
- }
- if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created3 = 0;
- continue;
- }
- if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs3 = 0;
- continue;
- }
- if (soap_flag_status2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status2 = 0;
- continue;
- }
- if (soap_flag_thread2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread2 = 0;
- continue;
- }
- if (soap_flag_msgId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId2 = 0;
- continue;
- }
- if (soap_flag_messageId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId2 = 0;
- continue;
- }
- if (soap_flag_source2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source2 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId2 = 0;
- continue;
- }
- if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered2 = 0;
- continue;
- }
- if (soap_flag_class_2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_2 = 0;
- continue;
- }
- if (soap_flag_security2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security2 = 0;
- continue;
- }
- if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment2 = 0;
- continue;
- }
- if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject1 = 0;
- continue;
- }
- if (soap_flag_originalSubject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject1 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix1 = 0;
- continue;
- }
- if (soap_flag_distribution1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution1 = 0;
- continue;
- }
- if (soap_flag_message1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message1 = 0;
- continue;
- }
- if (soap_flag_attachments1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments1 = 0;
- continue;
- }
- if (soap_flag_options1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options1 = 0;
- continue;
- }
- if (soap_flag_link1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link1 = 0;
- continue;
- }
- if (soap_flag_hasAttachment1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment1 = 0;
- continue;
- }
- if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size1 = 0;
- continue;
- }
- if (soap_flag_subType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType1 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap1 = 0;
- continue;
- }
- if (soap_flag_smimeType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Mail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Mail, 0, sizeof(ngwt__Mail), 0, soap_copy_ngwt__Mail);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_new_ngwt__Mail(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Mail(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Mail(struct soap *soap, ngwt__Mail *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_instantiate_ngwt__Mail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Mail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Mail, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem"))
- { cp->type = SOAP_TYPE_ngwt__CalendarItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarItem;
- if (size)
- *size = sizeof(ngwt__CalendarItem);
- ((ngwt__CalendarItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarItem[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarItem);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef"))
- { cp->type = SOAP_TYPE_ngwt__DocumentRef;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentRef;
- if (size)
- *size = sizeof(ngwt__DocumentRef);
- ((ngwt__DocumentRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentRef[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentRef);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentRef*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage"))
- { cp->type = SOAP_TYPE_ngwt__PhoneMessage;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneMessage;
- if (size)
- *size = sizeof(ngwt__PhoneMessage);
- ((ngwt__PhoneMessage*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneMessage[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneMessage);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneMessage*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification"))
- { cp->type = SOAP_TYPE_ngwt__SharedNotification;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedNotification;
- if (size)
- *size = sizeof(ngwt__SharedNotification);
- ((ngwt__SharedNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedNotification*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Appointment"))
- { cp->type = SOAP_TYPE_ngwt__Appointment;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Note"))
- { cp->type = SOAP_TYPE_ngwt__Note;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Task"))
- { cp->type = SOAP_TYPE_ngwt__Task;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Mail;
- if (size)
- *size = sizeof(ngwt__Mail);
- ((ngwt__Mail*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Mail[n];
- if (size)
- *size = n * sizeof(ngwt__Mail);
- for (int i = 0; i < n; i++)
- ((ngwt__Mail*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Mail*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Mail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Mail %p -> %p\n", q, p));
- *(ngwt__Mail*)p = *(ngwt__Mail*)q;
-}
-
-void ngwt__LinkInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__LinkInfo*)this)->id, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__LinkInfo*)this)->id);
- soap_embedded(soap, &((ngwt__LinkInfo*)this)->type, SOAP_TYPE_ngwt__LinkType);
- /* transient soap skipped */
-}
-
-void ngwt__LinkInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__LinkInfo*)this)->id);
- soap_default_ngwt__LinkType(soap, &((ngwt__LinkInfo*)this)->type);
- /* transient soap skipped */
-}
-
-int ngwt__LinkInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__LinkInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__LinkInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__LinkInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkInfo(struct soap *soap, const char *tag, int id, const ngwt__LinkInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LinkInfo), type);
- soap_out_std__string(soap, "ngwt:id", -1, &(((ngwt__LinkInfo*)a)->id), "");
- soap_out_ngwt__LinkType(soap, "ngwt:type", -1, &(((ngwt__LinkInfo*)a)->type), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__LinkInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__LinkInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_get_ngwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__LinkInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__LinkInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__LinkInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_in_ngwt__LinkInfo(struct soap *soap, const char *tag, ngwt__LinkInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__LinkInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LinkInfo, sizeof(ngwt__LinkInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__LinkInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__LinkInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_type1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:id", &(((ngwt__LinkInfo*)a)->id), ""))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__LinkType(soap, "ngwt:type", &(((ngwt__LinkInfo*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_type1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__LinkInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkInfo, 0, sizeof(ngwt__LinkInfo), 0, soap_copy_ngwt__LinkInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_new_ngwt__LinkInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__LinkInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_instantiate_ngwt__LinkInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__LinkInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__LinkInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__LinkInfo;
- if (size)
- *size = sizeof(ngwt__LinkInfo);
- ((ngwt__LinkInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__LinkInfo[n];
- if (size)
- *size = n * sizeof(ngwt__LinkInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__LinkInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__LinkInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LinkInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__LinkInfo %p -> %p\n", q, p));
- *(ngwt__LinkInfo*)p = *(ngwt__LinkInfo*)q;
-}
-
-void ngwt__LibraryList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Library(soap, &((ngwt__LibraryList*)this)->library);
- /* transient soap skipped */
-}
-
-void ngwt__LibraryList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Library(soap, &((ngwt__LibraryList*)this)->library);
- /* transient soap skipped */
-}
-
-int ngwt__LibraryList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__LibraryList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__LibraryList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__LibraryList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LibraryList(struct soap *soap, const char *tag, int id, const ngwt__LibraryList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LibraryList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Library(soap, "ngwt:library", -1, &(((ngwt__LibraryList*)a)->library), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__LibraryList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__LibraryList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_get_ngwt__LibraryList(struct soap *soap, ngwt__LibraryList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__LibraryList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__LibraryList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__LibraryList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_in_ngwt__LibraryList(struct soap *soap, const char *tag, ngwt__LibraryList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__LibraryList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LibraryList, sizeof(ngwt__LibraryList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__LibraryList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__LibraryList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Library(soap, "ngwt:library", &(((ngwt__LibraryList*)a)->library), "ngwt:Library"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__LibraryList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LibraryList, 0, sizeof(ngwt__LibraryList), 0, soap_copy_ngwt__LibraryList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_new_ngwt__LibraryList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__LibraryList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LibraryList(struct soap *soap, ngwt__LibraryList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_instantiate_ngwt__LibraryList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__LibraryList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__LibraryList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__LibraryList;
- if (size)
- *size = sizeof(ngwt__LibraryList);
- ((ngwt__LibraryList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__LibraryList[n];
- if (size)
- *size = n * sizeof(ngwt__LibraryList);
- for (int i = 0; i < n; i++)
- ((ngwt__LibraryList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__LibraryList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LibraryList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__LibraryList %p -> %p\n", q, p));
- *(ngwt__LibraryList*)p = *(ngwt__LibraryList*)q;
-}
-
-void ngwt__Library::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Library*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->description);
- soap_embedded(soap, &((ngwt__Library*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->domain);
- soap_embedded(soap, &((ngwt__Library*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->postOffice);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Library::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Library*)this)->description = NULL;
- ((ngwt__Library*)this)->domain = NULL;
- ((ngwt__Library*)this)->postOffice = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Library::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Library);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Library::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Library(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Library(struct soap *soap, const char *tag, int id, const ngwt__Library *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Library), "ngwt:Library");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Library*)a)->description), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__Library*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__Library*)a)->postOffice), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Library::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Library(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_get_ngwt__Library(struct soap *soap, ngwt__Library *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Library(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Library::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Library(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_in_ngwt__Library(struct soap *soap, const char *tag, ngwt__Library *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Library *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Library, sizeof(ngwt__Library), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Library)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Library *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_description1 = 1, soap_flag_domain1 = 1, soap_flag_postOffice1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id2 = 0;
- continue;
- }
- if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name2 = 0;
- continue;
- }
- if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version2 = 0;
- continue;
- }
- if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified2 = 0;
- continue;
- }
- if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Library*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_domain1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__Library*)a)->domain), ""))
- { soap_flag_domain1 = 0;
- continue;
- }
- if (soap_flag_postOffice1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__Library*)a)->postOffice), ""))
- { soap_flag_postOffice1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Library *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Library, 0, sizeof(ngwt__Library), 0, soap_copy_ngwt__Library);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_new_ngwt__Library(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Library(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Library(struct soap *soap, ngwt__Library *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_instantiate_ngwt__Library(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Library(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Library, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Library;
- if (size)
- *size = sizeof(ngwt__Library);
- ((ngwt__Library*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Library[n];
- if (size)
- *size = n * sizeof(ngwt__Library);
- for (int i = 0; i < n; i++)
- ((ngwt__Library*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Library*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Library(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Library %p -> %p\n", q, p));
- *(ngwt__Library*)p = *(ngwt__Library*)q;
-}
-
-void ngwt__JunkHandlingList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, &((ngwt__JunkHandlingList*)this)->entry);
- /* transient soap skipped */
-}
-
-void ngwt__JunkHandlingList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, &((ngwt__JunkHandlingList*)this)->entry);
- /* transient soap skipped */
-}
-
-int ngwt__JunkHandlingList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__JunkHandlingList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__JunkHandlingList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__JunkHandlingList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingList(struct soap *soap, const char *tag, int id, const ngwt__JunkHandlingList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkHandlingList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, "ngwt:entry", -1, &(((ngwt__JunkHandlingList*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__JunkHandlingList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__JunkHandlingList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_get_ngwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__JunkHandlingList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__JunkHandlingList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__JunkHandlingList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_in_ngwt__JunkHandlingList(struct soap *soap, const char *tag, ngwt__JunkHandlingList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__JunkHandlingList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkHandlingList, sizeof(ngwt__JunkHandlingList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__JunkHandlingList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__JunkHandlingList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, "ngwt:entry", &(((ngwt__JunkHandlingList*)a)->entry), "ngwt:JunkEntry"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__JunkHandlingList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingList, 0, sizeof(ngwt__JunkHandlingList), 0, soap_copy_ngwt__JunkHandlingList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_new_ngwt__JunkHandlingList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__JunkHandlingList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_instantiate_ngwt__JunkHandlingList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__JunkHandlingList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__JunkHandlingList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__JunkHandlingList;
- if (size)
- *size = sizeof(ngwt__JunkHandlingList);
- ((ngwt__JunkHandlingList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__JunkHandlingList[n];
- if (size)
- *size = n * sizeof(ngwt__JunkHandlingList);
- for (int i = 0; i < n; i++)
- ((ngwt__JunkHandlingList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__JunkHandlingList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkHandlingList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__JunkHandlingList %p -> %p\n", q, p));
- *(ngwt__JunkHandlingList*)p = *(ngwt__JunkHandlingList*)q;
-}
-
-void ngwt__JunkEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__JunkEntry*)this)->id);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->match, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__JunkEntry*)this)->match);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->matchType, SOAP_TYPE_ngwt__JunkMatchType);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->listType, SOAP_TYPE_PointerTongwt__JunkHandlingListType);
- soap_serialize_PointerTongwt__JunkHandlingListType(soap, &((ngwt__JunkEntry*)this)->listType);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->useCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__JunkEntry*)this)->useCount);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->lastUsed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__JunkEntry*)this)->lastUsed);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__JunkEntry*)this)->version);
- soap_embedded(soap, &((ngwt__JunkEntry*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__JunkEntry*)this)->modified);
- /* transient soap skipped */
-}
-
-void ngwt__JunkEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__JunkEntry*)this)->id = NULL;
- soap_default_std__string(soap, &((ngwt__JunkEntry*)this)->match);
- soap_default_ngwt__JunkMatchType(soap, &((ngwt__JunkEntry*)this)->matchType);
- ((ngwt__JunkEntry*)this)->listType = NULL;
- ((ngwt__JunkEntry*)this)->useCount = NULL;
- soap_default_string(soap, &((ngwt__JunkEntry*)this)->lastUsed);
- ((ngwt__JunkEntry*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__JunkEntry*)this)->modified);
- /* transient soap skipped */
-}
-
-int ngwt__JunkEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__JunkEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__JunkEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__JunkEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkEntry(struct soap *soap, const char *tag, int id, const ngwt__JunkEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkEntry), type);
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__JunkEntry*)a)->id), "");
- soap_out_std__string(soap, "ngwt:match", -1, &(((ngwt__JunkEntry*)a)->match), "");
- soap_out_ngwt__JunkMatchType(soap, "ngwt:matchType", -1, &(((ngwt__JunkEntry*)a)->matchType), "");
- soap_out_PointerTongwt__JunkHandlingListType(soap, "ngwt:listType", -1, &(((ngwt__JunkEntry*)a)->listType), "");
- soap_out_PointerToint(soap, "ngwt:useCount", -1, &(((ngwt__JunkEntry*)a)->useCount), "");
- soap_out_string(soap, "ngwt:lastUsed", -1, &(((ngwt__JunkEntry*)a)->lastUsed), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__JunkEntry*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__JunkEntry*)a)->modified), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__JunkEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__JunkEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_get_ngwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__JunkEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__JunkEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__JunkEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_in_ngwt__JunkEntry(struct soap *soap, const char *tag, ngwt__JunkEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__JunkEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkEntry, sizeof(ngwt__JunkEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__JunkEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__JunkEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_match1 = 1, soap_flag_matchType1 = 1, soap_flag_listType1 = 1, soap_flag_useCount1 = 1, soap_flag_lastUsed1 = 1, soap_flag_version1 = 1, soap_flag_modified1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__JunkEntry*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_match1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:match", &(((ngwt__JunkEntry*)a)->match), ""))
- { soap_flag_match1 = 0;
- continue;
- }
- if (soap_flag_matchType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__JunkMatchType(soap, "ngwt:matchType", &(((ngwt__JunkEntry*)a)->matchType), ""))
- { soap_flag_matchType1 = 0;
- continue;
- }
- if (soap_flag_listType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__JunkHandlingListType(soap, "ngwt:listType", &(((ngwt__JunkEntry*)a)->listType), ""))
- { soap_flag_listType1 = 0;
- continue;
- }
- if (soap_flag_useCount1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:useCount", &(((ngwt__JunkEntry*)a)->useCount), ""))
- { soap_flag_useCount1 = 0;
- continue;
- }
- if (soap_flag_lastUsed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:lastUsed", &(((ngwt__JunkEntry*)a)->lastUsed), ""))
- { soap_flag_lastUsed1 = 0;
- continue;
- }
- if (soap_flag_version1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__JunkEntry*)a)->version), ""))
- { soap_flag_version1 = 0;
- continue;
- }
- if (soap_flag_modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__JunkEntry*)a)->modified), ""))
- { soap_flag_modified1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_match1 || soap_flag_matchType1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__JunkEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkEntry, 0, sizeof(ngwt__JunkEntry), 0, soap_copy_ngwt__JunkEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_new_ngwt__JunkEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__JunkEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_instantiate_ngwt__JunkEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__JunkEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__JunkEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__JunkEntry;
- if (size)
- *size = sizeof(ngwt__JunkEntry);
- ((ngwt__JunkEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__JunkEntry[n];
- if (size)
- *size = n * sizeof(ngwt__JunkEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__JunkEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__JunkEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__JunkEntry %p -> %p\n", q, p));
- *(ngwt__JunkEntry*)p = *(ngwt__JunkEntry*)q;
-}
-
-void ngwt__ItemStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->accepted, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->accepted);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->completed, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->completed);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->delegated, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->delegated);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->deleted, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->deleted);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->forwarded, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->forwarded);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->private_, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->private_);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->opened, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->opened);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->read, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->read);
- soap_embedded(soap, &((ngwt__ItemStatus*)this)->replied, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->replied);
- /* transient soap skipped */
-}
-
-void ngwt__ItemStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ItemStatus*)this)->accepted = NULL;
- ((ngwt__ItemStatus*)this)->completed = NULL;
- ((ngwt__ItemStatus*)this)->delegated = NULL;
- ((ngwt__ItemStatus*)this)->deleted = NULL;
- ((ngwt__ItemStatus*)this)->forwarded = NULL;
- ((ngwt__ItemStatus*)this)->private_ = NULL;
- ((ngwt__ItemStatus*)this)->opened = NULL;
- ((ngwt__ItemStatus*)this)->read = NULL;
- ((ngwt__ItemStatus*)this)->replied = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ItemStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemStatus(struct soap *soap, const char *tag, int id, const ngwt__ItemStatus *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemStatus), type);
- soap_out_PointerTobool(soap, "ngwt:accepted", -1, &(((ngwt__ItemStatus*)a)->accepted), "");
- soap_out_PointerTobool(soap, "ngwt:completed", -1, &(((ngwt__ItemStatus*)a)->completed), "");
- soap_out_PointerTobool(soap, "ngwt:delegated", -1, &(((ngwt__ItemStatus*)a)->delegated), "");
- soap_out_PointerTobool(soap, "ngwt:deleted", -1, &(((ngwt__ItemStatus*)a)->deleted), "");
- soap_out_PointerTobool(soap, "ngwt:forwarded", -1, &(((ngwt__ItemStatus*)a)->forwarded), "");
- soap_out_PointerTobool(soap, "ngwt:private", -1, &(((ngwt__ItemStatus*)a)->private_), "");
- soap_out_PointerTobool(soap, "ngwt:opened", -1, &(((ngwt__ItemStatus*)a)->opened), "");
- soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__ItemStatus*)a)->read), "");
- soap_out_PointerTobool(soap, "ngwt:replied", -1, &(((ngwt__ItemStatus*)a)->replied), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ItemStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_get_ngwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_in_ngwt__ItemStatus(struct soap *soap, const char *tag, ngwt__ItemStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ItemStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemStatus, sizeof(ngwt__ItemStatus), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemStatus)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ItemStatus *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_accepted1 = 1, soap_flag_completed1 = 1, soap_flag_delegated1 = 1, soap_flag_deleted1 = 1, soap_flag_forwarded1 = 1, soap_flag_private_1 = 1, soap_flag_opened1 = 1, soap_flag_read1 = 1, soap_flag_replied1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:accepted", &(((ngwt__ItemStatus*)a)->accepted), ""))
- { soap_flag_accepted1 = 0;
- continue;
- }
- if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:completed", &(((ngwt__ItemStatus*)a)->completed), ""))
- { soap_flag_completed1 = 0;
- continue;
- }
- if (soap_flag_delegated1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:delegated", &(((ngwt__ItemStatus*)a)->delegated), ""))
- { soap_flag_delegated1 = 0;
- continue;
- }
- if (soap_flag_deleted1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:deleted", &(((ngwt__ItemStatus*)a)->deleted), ""))
- { soap_flag_deleted1 = 0;
- continue;
- }
- if (soap_flag_forwarded1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:forwarded", &(((ngwt__ItemStatus*)a)->forwarded), ""))
- { soap_flag_forwarded1 = 0;
- continue;
- }
- if (soap_flag_private_1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:private", &(((ngwt__ItemStatus*)a)->private_), ""))
- { soap_flag_private_1 = 0;
- continue;
- }
- if (soap_flag_opened1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:opened", &(((ngwt__ItemStatus*)a)->opened), ""))
- { soap_flag_opened1 = 0;
- continue;
- }
- if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__ItemStatus*)a)->read), ""))
- { soap_flag_read1 = 0;
- continue;
- }
- if (soap_flag_replied1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:replied", &(((ngwt__ItemStatus*)a)->replied), ""))
- { soap_flag_replied1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ItemStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemStatus, 0, sizeof(ngwt__ItemStatus), 0, soap_copy_ngwt__ItemStatus);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_new_ngwt__ItemStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_instantiate_ngwt__ItemStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemStatus;
- if (size)
- *size = sizeof(ngwt__ItemStatus);
- ((ngwt__ItemStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemStatus[n];
- if (size)
- *size = n * sizeof(ngwt__ItemStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemStatus %p -> %p\n", q, p));
- *(ngwt__ItemStatus*)p = *(ngwt__ItemStatus*)q;
-}
-
-void ngwt__Items::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__Items*)this)->item);
- /* transient soap skipped */
-}
-
-void ngwt__Items::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__Items*)this)->item);
- /* transient soap skipped */
-}
-
-int ngwt__Items::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Items);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Items::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Items(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Items(struct soap *soap, const char *tag, int id, const ngwt__Items *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Items), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", -1, &(((ngwt__Items*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Items::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Items(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_get_ngwt__Items(struct soap *soap, ngwt__Items *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Items(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Items::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Items(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_in_ngwt__Items(struct soap *soap, const char *tag, ngwt__Items *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Items *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Items, sizeof(ngwt__Items), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Items)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Items *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", &(((ngwt__Items*)a)->item), "ngwt:Item"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Items *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Items, 0, sizeof(ngwt__Items), 0, soap_copy_ngwt__Items);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_new_ngwt__Items(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Items(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Items(struct soap *soap, ngwt__Items *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_instantiate_ngwt__Items(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Items(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Items, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Items;
- if (size)
- *size = sizeof(ngwt__Items);
- ((ngwt__Items*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Items[n];
- if (size)
- *size = n * sizeof(ngwt__Items);
- for (int i = 0; i < n; i++)
- ((ngwt__Items*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Items*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Items(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Items %p -> %p\n", q, p));
- *(ngwt__Items*)p = *(ngwt__Items*)q;
-}
-
-void ngwt__ItemRefList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__ItemRefList*)this)->item);
- /* transient soap skipped */
-}
-
-void ngwt__ItemRefList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__ItemRefList*)this)->item);
- /* transient soap skipped */
-}
-
-int ngwt__ItemRefList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemRefList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemRefList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemRefList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRefList(struct soap *soap, const char *tag, int id, const ngwt__ItemRefList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemRefList), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:item", -1, &(((ngwt__ItemRefList*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ItemRefList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemRefList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_get_ngwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemRefList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemRefList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemRefList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_in_ngwt__ItemRefList(struct soap *soap, const char *tag, ngwt__ItemRefList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ItemRefList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemRefList, sizeof(ngwt__ItemRefList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemRefList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ItemRefList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:item", &(((ngwt__ItemRefList*)a)->item), "ngwt:uid"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ItemRefList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRefList, 0, sizeof(ngwt__ItemRefList), 0, soap_copy_ngwt__ItemRefList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_new_ngwt__ItemRefList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemRefList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_instantiate_ngwt__ItemRefList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemRefList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemRefList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemRefList;
- if (size)
- *size = sizeof(ngwt__ItemRefList);
- ((ngwt__ItemRefList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemRefList[n];
- if (size)
- *size = n * sizeof(ngwt__ItemRefList);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemRefList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemRefList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRefList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemRefList %p -> %p\n", q, p));
- *(ngwt__ItemRefList*)p = *(ngwt__ItemRefList*)q;
-}
-
-void ngwt__ItemRef::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ItemRef*)this)->__item, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__ItemRef*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__ItemRef::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__ItemRef*)this)->__item);
- ((ngwt__ItemRef*)this)->uid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ItemRef::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemRef);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemRef(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRef(struct soap *soap, const char *tag, int id, const ngwt__ItemRef *a, const char *type)
-{
- if (((ngwt__ItemRef *)a)->uid)
- soap_set_attr(soap, "uid", ((ngwt__ItemRef *)a)->uid->c_str());
- soap_out_std__string(soap, tag, id, &(((ngwt__ItemRef*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__ItemRef::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemRef(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_get_ngwt__ItemRef(struct soap *soap, ngwt__ItemRef *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemRef::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemRef(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_in_ngwt__ItemRef(struct soap *soap, const char *tag, ngwt__ItemRef *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__ItemRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemRef, sizeof(ngwt__ItemRef), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemRef)
- return (ngwt__ItemRef *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "uid", 0);
- if (t)
- { if (!(((ngwt__ItemRef *)a)->uid = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__ItemRef *)a)->uid = soap_new_std__string(soap, -1);
- ((ngwt__ItemRef *)a)->uid->assign(s);
- }
- }
- }
- if (!soap_in_std__string(soap, tag, &(((ngwt__ItemRef*)a)->__item), "ngwt:ItemRef"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_new_ngwt__ItemRef(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemRef(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRef(struct soap *soap, ngwt__ItemRef *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_instantiate_ngwt__ItemRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemRef, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemRef;
- if (size)
- *size = sizeof(ngwt__ItemRef);
- ((ngwt__ItemRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemRef[n];
- if (size)
- *size = n * sizeof(ngwt__ItemRef);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemRef*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemRef %p -> %p\n", q, p));
- *(ngwt__ItemRef*)p = *(ngwt__ItemRef*)q;
-}
-
-void ngwt__ItemOptions::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ItemOptions*)this)->priority, SOAP_TYPE_ngwt__ItemOptionsPriority);
- soap_embedded(soap, &((ngwt__ItemOptions*)this)->expires, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ItemOptions*)this)->expires);
- soap_embedded(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil);
- soap_embedded(soap, &((ngwt__ItemOptions*)this)->concealSubject, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemOptions*)this)->concealSubject);
- soap_embedded(soap, &((ngwt__ItemOptions*)this)->hidden, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__ItemOptions*)this)->hidden);
- /* transient soap skipped */
-}
-
-void ngwt__ItemOptions::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ItemOptions*)this)->priority = (enum ngwt__ItemOptionsPriority)1;
- soap_default_string(soap, &((ngwt__ItemOptions*)this)->expires);
- soap_default_string(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil);
- ((ngwt__ItemOptions*)this)->concealSubject = NULL;
- ((ngwt__ItemOptions*)this)->hidden = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ItemOptions::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemOptions);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemOptions(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptions(struct soap *soap, const char *tag, int id, const ngwt__ItemOptions *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemOptions), type);
- soap_out_ngwt__ItemOptionsPriority(soap, "ngwt:priority", -1, &(((ngwt__ItemOptions*)a)->priority), "");
- soap_out_string(soap, "ngwt:expires", -1, &(((ngwt__ItemOptions*)a)->expires), "");
- soap_out_string(soap, "ngwt:delayDeliveryUntil", -1, &(((ngwt__ItemOptions*)a)->delayDeliveryUntil), "");
- soap_out_PointerTobool(soap, "ngwt:concealSubject", -1, &(((ngwt__ItemOptions*)a)->concealSubject), "");
- soap_out_PointerTobool(soap, "ngwt:hidden", -1, &(((ngwt__ItemOptions*)a)->hidden), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ItemOptions::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemOptions(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_get_ngwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemOptions::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemOptions(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_in_ngwt__ItemOptions(struct soap *soap, const char *tag, ngwt__ItemOptions *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ItemOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemOptions, sizeof(ngwt__ItemOptions), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemOptions)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ItemOptions *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_priority1 = 1, soap_flag_expires1 = 1, soap_flag_delayDeliveryUntil1 = 1, soap_flag_concealSubject1 = 1, soap_flag_hidden1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_priority1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__ItemOptionsPriority(soap, "ngwt:priority", &(((ngwt__ItemOptions*)a)->priority), ""))
- { soap_flag_priority1 = 0;
- continue;
- }
- if (soap_flag_expires1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:expires", &(((ngwt__ItemOptions*)a)->expires), ""))
- { soap_flag_expires1 = 0;
- continue;
- }
- if (soap_flag_delayDeliveryUntil1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delayDeliveryUntil", &(((ngwt__ItemOptions*)a)->delayDeliveryUntil), ""))
- { soap_flag_delayDeliveryUntil1 = 0;
- continue;
- }
- if (soap_flag_concealSubject1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:concealSubject", &(((ngwt__ItemOptions*)a)->concealSubject), ""))
- { soap_flag_concealSubject1 = 0;
- continue;
- }
- if (soap_flag_hidden1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hidden", &(((ngwt__ItemOptions*)a)->hidden), ""))
- { soap_flag_hidden1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ItemOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptions, 0, sizeof(ngwt__ItemOptions), 0, soap_copy_ngwt__ItemOptions);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_new_ngwt__ItemOptions(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemOptions(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_instantiate_ngwt__ItemOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemOptions, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemOptions;
- if (size)
- *size = sizeof(ngwt__ItemOptions);
- ((ngwt__ItemOptions*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemOptions[n];
- if (size)
- *size = n * sizeof(ngwt__ItemOptions);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemOptions*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemOptions*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemOptions %p -> %p\n", q, p));
- *(ngwt__ItemOptions*)p = *(ngwt__ItemOptions*)q;
-}
-
-void ngwt__ItemList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__ItemList*)this)->item);
- /* transient soap skipped */
-}
-
-void ngwt__ItemList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__ItemList*)this)->item);
- ((ngwt__ItemList*)this)->offset = NULL;
- ((ngwt__ItemList*)this)->count = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ItemList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemList(struct soap *soap, const char *tag, int id, const ngwt__ItemList *a, const char *type)
-{
- if (((ngwt__ItemList *)a)->offset)
- soap_set_attr(soap, "offset", soap_int2s(soap, *((ngwt__ItemList *)a)->offset));
- if (((ngwt__ItemList *)a)->count)
- soap_set_attr(soap, "count", soap_int2s(soap, *((ngwt__ItemList *)a)->count));
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", -1, &(((ngwt__ItemList*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ItemList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_get_ngwt__ItemList(struct soap *soap, ngwt__ItemList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_in_ngwt__ItemList(struct soap *soap, const char *tag, ngwt__ItemList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ItemList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemList, sizeof(ngwt__ItemList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ItemList *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "offset", 0);
- if (t)
- { if (!(((ngwt__ItemList *)a)->offset = (int *)soap_malloc(soap, sizeof(int))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2int(soap, t, ((ngwt__ItemList *)a)->offset))
- return NULL;
- }
- }
- { const char *t = soap_attr_value(soap, "count", 0);
- if (t)
- { if (!(((ngwt__ItemList *)a)->count = (int *)soap_malloc(soap, sizeof(int))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2int(soap, t, ((ngwt__ItemList *)a)->count))
- return NULL;
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", &(((ngwt__ItemList*)a)->item), "ngwt:Item"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ItemList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemList, 0, sizeof(ngwt__ItemList), 0, soap_copy_ngwt__ItemList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_new_ngwt__ItemList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemList(struct soap *soap, ngwt__ItemList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_instantiate_ngwt__ItemList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemList;
- if (size)
- *size = sizeof(ngwt__ItemList);
- ((ngwt__ItemList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemList[n];
- if (size)
- *size = n * sizeof(ngwt__ItemList);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemList %p -> %p\n", q, p));
- *(ngwt__ItemList*)p = *(ngwt__ItemList*)q;
-}
-
-void ngwt__ItemChanges::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ItemChanges*)this)->add, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->add);
- soap_embedded(soap, &((ngwt__ItemChanges*)this)->_delete, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->_delete);
- soap_embedded(soap, &((ngwt__ItemChanges*)this)->update, SOAP_TYPE_PointerTongwt__Item);
- soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->update);
- /* transient soap skipped */
-}
-
-void ngwt__ItemChanges::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ItemChanges*)this)->add = NULL;
- ((ngwt__ItemChanges*)this)->_delete = NULL;
- ((ngwt__ItemChanges*)this)->update = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ItemChanges::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemChanges);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ItemChanges::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ItemChanges(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemChanges(struct soap *soap, const char *tag, int id, const ngwt__ItemChanges *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemChanges), type);
- soap_out_PointerTongwt__Item(soap, "ngwt:add", -1, &(((ngwt__ItemChanges*)a)->add), "");
- soap_out_PointerTongwt__Item(soap, "ngwt:delete", -1, &(((ngwt__ItemChanges*)a)->_delete), "");
- soap_out_PointerTongwt__Item(soap, "ngwt:update", -1, &(((ngwt__ItemChanges*)a)->update), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ItemChanges::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ItemChanges(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_get_ngwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ItemChanges(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ItemChanges::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ItemChanges(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_in_ngwt__ItemChanges(struct soap *soap, const char *tag, ngwt__ItemChanges *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ItemChanges *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemChanges, sizeof(ngwt__ItemChanges), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ItemChanges)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ItemChanges *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_add1 = 1, soap_flag_delete1 = 1, soap_flag_update1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwt:add", &(((ngwt__ItemChanges*)a)->add), "ngwt:Item"))
- { soap_flag_add1 = 0;
- continue;
- }
- if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwt:delete", &(((ngwt__ItemChanges*)a)->_delete), "ngwt:Item"))
- { soap_flag_delete1 = 0;
- continue;
- }
- if (soap_flag_update1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Item(soap, "ngwt:update", &(((ngwt__ItemChanges*)a)->update), "ngwt:Item"))
- { soap_flag_update1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ItemChanges *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemChanges, 0, sizeof(ngwt__ItemChanges), 0, soap_copy_ngwt__ItemChanges);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_new_ngwt__ItemChanges(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ItemChanges(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_instantiate_ngwt__ItemChanges(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemChanges(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemChanges, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ItemChanges;
- if (size)
- *size = sizeof(ngwt__ItemChanges);
- ((ngwt__ItemChanges*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ItemChanges[n];
- if (size)
- *size = n * sizeof(ngwt__ItemChanges);
- for (int i = 0; i < n; i++)
- ((ngwt__ItemChanges*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ItemChanges*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemChanges(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemChanges %p -> %p\n", q, p));
- *(ngwt__ItemChanges*)p = *(ngwt__ItemChanges*)q;
-}
-
-void ngwt__Item::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Item::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Item::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Item);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Item::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Item(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Item(struct soap *soap, const char *tag, int id, const ngwt__Item *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Item), type);
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Item::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Item(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_get_ngwt__Item(struct soap *soap, ngwt__Item *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Item(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Item::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Item(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_in_ngwt__Item(struct soap *soap, const char *tag, ngwt__Item *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Item *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Item, sizeof(ngwt__Item), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Item)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Item *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_version1 = 1, soap_flag_modified1 = 1, soap_flag_changes1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_version1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version1 = 0;
- continue;
- }
- if (soap_flag_modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified1 = 0;
- continue;
- }
- if (soap_flag_changes1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Item *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Item, 0, sizeof(ngwt__Item), 0, soap_copy_ngwt__Item);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_new_ngwt__Item(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Item(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Item(struct soap *soap, ngwt__Item *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_instantiate_ngwt__Item(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Item(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Item, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:AddressBook"))
- { cp->type = SOAP_TYPE_ngwt__AddressBook;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBook;
- if (size)
- *size = sizeof(ngwt__AddressBook);
- ((ngwt__AddressBook*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBook[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBook);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBook*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBook*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Category"))
- { cp->type = SOAP_TYPE_ngwt__Category;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Category;
- if (size)
- *size = sizeof(ngwt__Category);
- ((ngwt__Category*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Category[n];
- if (size)
- *size = n * sizeof(ngwt__Category);
- for (int i = 0; i < n; i++)
- ((ngwt__Category*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Category*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:ContainerItem"))
- { cp->type = SOAP_TYPE_ngwt__ContainerItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContainerItem;
- if (size)
- *size = sizeof(ngwt__ContainerItem);
- ((ngwt__ContainerItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContainerItem[n];
- if (size)
- *size = n * sizeof(ngwt__ContainerItem);
- for (int i = 0; i < n; i++)
- ((ngwt__ContainerItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContainerItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Folder"))
- { cp->type = SOAP_TYPE_ngwt__Folder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Folder;
- if (size)
- *size = sizeof(ngwt__Folder);
- ((ngwt__Folder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Folder[n];
- if (size)
- *size = n * sizeof(ngwt__Folder);
- for (int i = 0; i < n; i++)
- ((ngwt__Folder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Folder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Library"))
- { cp->type = SOAP_TYPE_ngwt__Library;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Library;
- if (size)
- *size = sizeof(ngwt__Library);
- ((ngwt__Library*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Library[n];
- if (size)
- *size = n * sizeof(ngwt__Library);
- for (int i = 0; i < n; i++)
- ((ngwt__Library*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Library*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:AddressBookItem"))
- { cp->type = SOAP_TYPE_ngwt__AddressBookItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBookItem;
- if (size)
- *size = sizeof(ngwt__AddressBookItem);
- ((ngwt__AddressBookItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBookItem[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBookItem);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBookItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:BoxEntry"))
- { cp->type = SOAP_TYPE_ngwt__BoxEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__BoxEntry;
- if (size)
- *size = sizeof(ngwt__BoxEntry);
- ((ngwt__BoxEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__BoxEntry[n];
- if (size)
- *size = n * sizeof(ngwt__BoxEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__BoxEntry*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Document"))
- { cp->type = SOAP_TYPE_ngwt__Document;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Document;
- if (size)
- *size = sizeof(ngwt__Document);
- ((ngwt__Document*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Document[n];
- if (size)
- *size = n * sizeof(ngwt__Document);
- for (int i = 0; i < n; i++)
- ((ngwt__Document*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Document*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:QueryFolder"))
- { cp->type = SOAP_TYPE_ngwt__QueryFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__QueryFolder;
- if (size)
- *size = sizeof(ngwt__QueryFolder);
- ((ngwt__QueryFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__QueryFolder[n];
- if (size)
- *size = n * sizeof(ngwt__QueryFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__QueryFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Rule"))
- { cp->type = SOAP_TYPE_ngwt__Rule;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Rule;
- if (size)
- *size = sizeof(ngwt__Rule);
- ((ngwt__Rule*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Rule[n];
- if (size)
- *size = n * sizeof(ngwt__Rule);
- for (int i = 0; i < n; i++)
- ((ngwt__Rule*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Rule*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedFolder"))
- { cp->type = SOAP_TYPE_ngwt__SharedFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedFolder;
- if (size)
- *size = sizeof(ngwt__SharedFolder);
- ((ngwt__SharedFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SharedFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SystemFolder"))
- { cp->type = SOAP_TYPE_ngwt__SystemFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SystemFolder;
- if (size)
- *size = sizeof(ngwt__SystemFolder);
- ((ngwt__SystemFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SystemFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SystemFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SystemFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Version"))
- { cp->type = SOAP_TYPE_ngwt__Version;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Version;
- if (size)
- *size = sizeof(ngwt__Version);
- ((ngwt__Version*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Version[n];
- if (size)
- *size = n * sizeof(ngwt__Version);
- for (int i = 0; i < n; i++)
- ((ngwt__Version*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Version*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:VersionEvent"))
- { cp->type = SOAP_TYPE_ngwt__VersionEvent;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__VersionEvent;
- if (size)
- *size = sizeof(ngwt__VersionEvent);
- ((ngwt__VersionEvent*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__VersionEvent[n];
- if (size)
- *size = n * sizeof(ngwt__VersionEvent);
- for (int i = 0; i < n; i++)
- ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__VersionEvent*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Contact"))
- { cp->type = SOAP_TYPE_ngwt__Contact;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Contact;
- if (size)
- *size = sizeof(ngwt__Contact);
- ((ngwt__Contact*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Contact[n];
- if (size)
- *size = n * sizeof(ngwt__Contact);
- for (int i = 0; i < n; i++)
- ((ngwt__Contact*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Contact*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder"))
- { cp->type = SOAP_TYPE_ngwt__ContactFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContactFolder;
- if (size)
- *size = sizeof(ngwt__ContactFolder);
- ((ngwt__ContactFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContactFolder[n];
- if (size)
- *size = n * sizeof(ngwt__ContactFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContactFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Group"))
- { cp->type = SOAP_TYPE_ngwt__Group;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Group;
- if (size)
- *size = sizeof(ngwt__Group);
- ((ngwt__Group*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Group[n];
- if (size)
- *size = n * sizeof(ngwt__Group);
- for (int i = 0; i < n; i++)
- ((ngwt__Group*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Group*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Mail"))
- { cp->type = SOAP_TYPE_ngwt__Mail;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Mail;
- if (size)
- *size = sizeof(ngwt__Mail);
- ((ngwt__Mail*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Mail[n];
- if (size)
- *size = n * sizeof(ngwt__Mail);
- for (int i = 0; i < n; i++)
- ((ngwt__Mail*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Mail*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Organization"))
- { cp->type = SOAP_TYPE_ngwt__Organization;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Organization;
- if (size)
- *size = sizeof(ngwt__Organization);
- ((ngwt__Organization*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Organization[n];
- if (size)
- *size = n * sizeof(ngwt__Organization);
- for (int i = 0; i < n; i++)
- ((ngwt__Organization*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Organization*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Resource"))
- { cp->type = SOAP_TYPE_ngwt__Resource;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Resource;
- if (size)
- *size = sizeof(ngwt__Resource);
- ((ngwt__Resource*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Resource[n];
- if (size)
- *size = n * sizeof(ngwt__Resource);
- for (int i = 0; i < n; i++)
- ((ngwt__Resource*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Resource*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem"))
- { cp->type = SOAP_TYPE_ngwt__CalendarItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarItem;
- if (size)
- *size = sizeof(ngwt__CalendarItem);
- ((ngwt__CalendarItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarItem[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarItem);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef"))
- { cp->type = SOAP_TYPE_ngwt__DocumentRef;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentRef;
- if (size)
- *size = sizeof(ngwt__DocumentRef);
- ((ngwt__DocumentRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentRef[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentRef);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentRef*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage"))
- { cp->type = SOAP_TYPE_ngwt__PhoneMessage;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneMessage;
- if (size)
- *size = sizeof(ngwt__PhoneMessage);
- ((ngwt__PhoneMessage*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneMessage[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneMessage);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneMessage*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification"))
- { cp->type = SOAP_TYPE_ngwt__SharedNotification;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedNotification;
- if (size)
- *size = sizeof(ngwt__SharedNotification);
- ((ngwt__SharedNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedNotification*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Appointment"))
- { cp->type = SOAP_TYPE_ngwt__Appointment;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Note"))
- { cp->type = SOAP_TYPE_ngwt__Note;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Task"))
- { cp->type = SOAP_TYPE_ngwt__Task;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Item;
- if (size)
- *size = sizeof(ngwt__Item);
- ((ngwt__Item*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Item[n];
- if (size)
- *size = n * sizeof(ngwt__Item);
- for (int i = 0; i < n; i++)
- ((ngwt__Item*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Item*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Item(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Item %p -> %p\n", q, p));
- *(ngwt__Item*)p = *(ngwt__Item*)q;
-}
-
-void ngwt__ImAddressList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(soap, &((ngwt__ImAddressList*)this)->im);
- /* transient soap skipped */
-}
-
-void ngwt__ImAddressList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(soap, &((ngwt__ImAddressList*)this)->im);
- /* transient soap skipped */
-}
-
-int ngwt__ImAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ImAddressList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ImAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ImAddressList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddressList(struct soap *soap, const char *tag, int id, const ngwt__ImAddressList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ImAddressList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(soap, "ngwt:im", -1, &(((ngwt__ImAddressList*)a)->im), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ImAddressList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ImAddressList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_get_ngwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ImAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ImAddressList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ImAddressList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_in_ngwt__ImAddressList(struct soap *soap, const char *tag, ngwt__ImAddressList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ImAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ImAddressList, sizeof(ngwt__ImAddressList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ImAddressList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ImAddressList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(soap, "ngwt:im", &(((ngwt__ImAddressList*)a)->im), "ngwt:ImAddress"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ImAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddressList, 0, sizeof(ngwt__ImAddressList), 0, soap_copy_ngwt__ImAddressList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_new_ngwt__ImAddressList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ImAddressList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_instantiate_ngwt__ImAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ImAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ImAddressList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ImAddressList;
- if (size)
- *size = sizeof(ngwt__ImAddressList);
- ((ngwt__ImAddressList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ImAddressList[n];
- if (size)
- *size = n * sizeof(ngwt__ImAddressList);
- for (int i = 0; i < n; i++)
- ((ngwt__ImAddressList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ImAddressList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ImAddressList %p -> %p\n", q, p));
- *(ngwt__ImAddressList*)p = *(ngwt__ImAddressList*)q;
-}
-
-void ngwt__ImAddress::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ImAddress*)this)->service, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->service);
- soap_embedded(soap, &((ngwt__ImAddress*)this)->address, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->address);
- soap_embedded(soap, &((ngwt__ImAddress*)this)->type, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->type);
- /* transient soap skipped */
-}
-
-void ngwt__ImAddress::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ImAddress*)this)->service = NULL;
- ((ngwt__ImAddress*)this)->address = NULL;
- ((ngwt__ImAddress*)this)->type = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ImAddress::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ImAddress);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ImAddress::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ImAddress(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddress(struct soap *soap, const char *tag, int id, const ngwt__ImAddress *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ImAddress), type);
- soap_out_PointerTostd__string(soap, "ngwt:service", -1, &(((ngwt__ImAddress*)a)->service), "");
- soap_out_PointerTostd__string(soap, "ngwt:address", -1, &(((ngwt__ImAddress*)a)->address), "");
- soap_out_PointerTostd__string(soap, "ngwt:type", -1, &(((ngwt__ImAddress*)a)->type), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ImAddress::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ImAddress(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_get_ngwt__ImAddress(struct soap *soap, ngwt__ImAddress *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ImAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ImAddress::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ImAddress(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_in_ngwt__ImAddress(struct soap *soap, const char *tag, ngwt__ImAddress *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ImAddress *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ImAddress, sizeof(ngwt__ImAddress), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ImAddress)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ImAddress *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_service1 = 1, soap_flag_address1 = 1, soap_flag_type1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_service1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:service", &(((ngwt__ImAddress*)a)->service), ""))
- { soap_flag_service1 = 0;
- continue;
- }
- if (soap_flag_address1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:address", &(((ngwt__ImAddress*)a)->address), ""))
- { soap_flag_address1 = 0;
- continue;
- }
- if (soap_flag_type1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:type", &(((ngwt__ImAddress*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ImAddress *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddress, 0, sizeof(ngwt__ImAddress), 0, soap_copy_ngwt__ImAddress);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_new_ngwt__ImAddress(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ImAddress(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddress(struct soap *soap, ngwt__ImAddress *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_instantiate_ngwt__ImAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ImAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ImAddress, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ImAddress;
- if (size)
- *size = sizeof(ngwt__ImAddress);
- ((ngwt__ImAddress*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ImAddress[n];
- if (size)
- *size = n * sizeof(ngwt__ImAddress);
- for (int i = 0; i < n; i++)
- ((ngwt__ImAddress*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ImAddress*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ImAddress %p -> %p\n", q, p));
- *(ngwt__ImAddress*)p = *(ngwt__ImAddress*)q;
-}
-
-void ngwt__Host::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Host*)this)->ipAddress, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Host*)this)->ipAddress);
- soap_embedded(soap, &((ngwt__Host*)this)->port, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Host*)this)->port);
- /* transient soap skipped */
-}
-
-void ngwt__Host::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Host*)this)->ipAddress = NULL;
- ((ngwt__Host*)this)->port = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Host::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Host);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Host::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Host(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Host(struct soap *soap, const char *tag, int id, const ngwt__Host *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Host), type);
- soap_out_PointerTostd__string(soap, "ngwt:ipAddress", -1, &(((ngwt__Host*)a)->ipAddress), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:port", -1, &(((ngwt__Host*)a)->port), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Host::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Host(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_get_ngwt__Host(struct soap *soap, ngwt__Host *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Host(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Host::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Host(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_in_ngwt__Host(struct soap *soap, const char *tag, ngwt__Host *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Host *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Host, sizeof(ngwt__Host), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Host)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Host *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_ipAddress1 = 1, soap_flag_port1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ipAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:ipAddress", &(((ngwt__Host*)a)->ipAddress), ""))
- { soap_flag_ipAddress1 = 0;
- continue;
- }
- if (soap_flag_port1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:port", &(((ngwt__Host*)a)->port), ""))
- { soap_flag_port1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Host *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Host, 0, sizeof(ngwt__Host), 0, soap_copy_ngwt__Host);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_new_ngwt__Host(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Host(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Host(struct soap *soap, ngwt__Host *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_instantiate_ngwt__Host(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Host(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Host, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Host;
- if (size)
- *size = sizeof(ngwt__Host);
- ((ngwt__Host*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Host[n];
- if (size)
- *size = n * sizeof(ngwt__Host);
- for (int i = 0; i < n; i++)
- ((ngwt__Host*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Host*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Host(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Host %p -> %p\n", q, p));
- *(ngwt__Host*)p = *(ngwt__Host*)q;
-}
-
-void ngwt__GroupMemberList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(soap, &((ngwt__GroupMemberList*)this)->member);
- /* transient soap skipped */
-}
-
-void ngwt__GroupMemberList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(soap, &((ngwt__GroupMemberList*)this)->member);
- /* transient soap skipped */
-}
-
-int ngwt__GroupMemberList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__GroupMemberList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__GroupMemberList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__GroupMemberList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMemberList(struct soap *soap, const char *tag, int id, const ngwt__GroupMemberList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__GroupMemberList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(soap, "ngwt:member", -1, &(((ngwt__GroupMemberList*)a)->member), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__GroupMemberList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__GroupMemberList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_get_ngwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__GroupMemberList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__GroupMemberList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__GroupMemberList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_in_ngwt__GroupMemberList(struct soap *soap, const char *tag, ngwt__GroupMemberList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__GroupMemberList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__GroupMemberList, sizeof(ngwt__GroupMemberList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__GroupMemberList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__GroupMemberList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(soap, "ngwt:member", &(((ngwt__GroupMemberList*)a)->member), "ngwt:GroupMember"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__GroupMemberList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMemberList, 0, sizeof(ngwt__GroupMemberList), 0, soap_copy_ngwt__GroupMemberList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_new_ngwt__GroupMemberList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__GroupMemberList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_instantiate_ngwt__GroupMemberList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__GroupMemberList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__GroupMemberList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__GroupMemberList;
- if (size)
- *size = sizeof(ngwt__GroupMemberList);
- ((ngwt__GroupMemberList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__GroupMemberList[n];
- if (size)
- *size = n * sizeof(ngwt__GroupMemberList);
- for (int i = 0; i < n; i++)
- ((ngwt__GroupMemberList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__GroupMemberList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMemberList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__GroupMemberList %p -> %p\n", q, p));
- *(ngwt__GroupMemberList*)p = *(ngwt__GroupMemberList*)q;
-}
-
-void ngwt__GroupMember::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__GroupMember*)this)->id, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__GroupMember*)this)->id);
- soap_embedded(soap, &((ngwt__GroupMember*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__GroupMember*)this)->name);
- soap_embedded(soap, &((ngwt__GroupMember*)this)->email, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__GroupMember*)this)->email);
- soap_embedded(soap, &((ngwt__GroupMember*)this)->distType, SOAP_TYPE_ngwt__DistributionType);
- soap_embedded(soap, &((ngwt__GroupMember*)this)->itemType, SOAP_TYPE_ngwt__ContactType);
- soap_embedded(soap, &((ngwt__GroupMember*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList);
- soap_serialize_PointerTongwt__GroupMemberList(soap, &((ngwt__GroupMember*)this)->members);
- /* transient soap skipped */
-}
-
-void ngwt__GroupMember::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((ngwt__GroupMember*)this)->id);
- ((ngwt__GroupMember*)this)->name = NULL;
- soap_default_std__string(soap, &((ngwt__GroupMember*)this)->email);
- ((ngwt__GroupMember*)this)->distType = (enum ngwt__DistributionType)0;
- ((ngwt__GroupMember*)this)->itemType = (enum ngwt__ContactType)0;
- ((ngwt__GroupMember*)this)->members = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__GroupMember::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__GroupMember);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__GroupMember::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__GroupMember(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMember(struct soap *soap, const char *tag, int id, const ngwt__GroupMember *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__GroupMember), type);
- soap_out_ngwt__uid(soap, "ngwt:id", -1, &(((ngwt__GroupMember*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__GroupMember*)a)->name), "");
- soap_out_std__string(soap, "ngwt:email", -1, &(((ngwt__GroupMember*)a)->email), "");
- soap_out_ngwt__DistributionType(soap, "ngwt:distType", -1, &(((ngwt__GroupMember*)a)->distType), "");
- soap_out_ngwt__ContactType(soap, "ngwt:itemType", -1, &(((ngwt__GroupMember*)a)->itemType), "");
- soap_out_PointerTongwt__GroupMemberList(soap, "ngwt:members", -1, &(((ngwt__GroupMember*)a)->members), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__GroupMember::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__GroupMember(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_get_ngwt__GroupMember(struct soap *soap, ngwt__GroupMember *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__GroupMember(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__GroupMember::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__GroupMember(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_in_ngwt__GroupMember(struct soap *soap, const char *tag, ngwt__GroupMember *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__GroupMember *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__GroupMember, sizeof(ngwt__GroupMember), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__GroupMember)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__GroupMember *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_email1 = 1, soap_flag_distType1 = 1, soap_flag_itemType1 = 1, soap_flag_members1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:id", &(((ngwt__GroupMember*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__GroupMember*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:email", &(((ngwt__GroupMember*)a)->email), ""))
- { soap_flag_email1 = 0;
- continue;
- }
- if (soap_flag_distType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__DistributionType(soap, "ngwt:distType", &(((ngwt__GroupMember*)a)->distType), ""))
- { soap_flag_distType1 = 0;
- continue;
- }
- if (soap_flag_itemType1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__ContactType(soap, "ngwt:itemType", &(((ngwt__GroupMember*)a)->itemType), ""))
- { soap_flag_itemType1 = 0;
- continue;
- }
- if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwt:members", &(((ngwt__GroupMember*)a)->members), "ngwt:GroupMemberList"))
- { soap_flag_members1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_email1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__GroupMember *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMember, 0, sizeof(ngwt__GroupMember), 0, soap_copy_ngwt__GroupMember);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_new_ngwt__GroupMember(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__GroupMember(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMember(struct soap *soap, ngwt__GroupMember *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_instantiate_ngwt__GroupMember(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__GroupMember(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__GroupMember, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__GroupMember;
- if (size)
- *size = sizeof(ngwt__GroupMember);
- ((ngwt__GroupMember*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__GroupMember[n];
- if (size)
- *size = n * sizeof(ngwt__GroupMember);
- for (int i = 0; i < n; i++)
- ((ngwt__GroupMember*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__GroupMember*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMember(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__GroupMember %p -> %p\n", q, p));
- *(ngwt__GroupMember*)p = *(ngwt__GroupMember*)q;
-}
-
-void ngwt__Group::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Group*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList);
- soap_serialize_PointerTongwt__GroupMemberList(soap, &((ngwt__Group*)this)->members);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Group::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Group*)this)->members = NULL;
- ((ngwt__AddressBookItem*)this)->uuid = NULL;
- ((ngwt__AddressBookItem*)this)->comment = NULL;
- ((ngwt__AddressBookItem*)this)->sync = NULL;
- ((ngwt__AddressBookItem*)this)->domain = NULL;
- ((ngwt__AddressBookItem*)this)->postOffice = NULL;
- ((ngwt__AddressBookItem*)this)->distinguishedName = NULL;
- ((ngwt__AddressBookItem*)this)->userid = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Group::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Group);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Group::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Group(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Group(struct soap *soap, const char *tag, int id, const ngwt__Group *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Group), "ngwt:Group");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), "");
- soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), "");
- soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), "");
- soap_out_PointerTongwt__GroupMemberList(soap, "ngwt:members", -1, &(((ngwt__Group*)a)->members), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Group::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Group(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_get_ngwt__Group(struct soap *soap, ngwt__Group *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Group(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Group::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Group(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_in_ngwt__Group(struct soap *soap, const char *tag, ngwt__Group *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Group *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Group, sizeof(ngwt__Group), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Group)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Group *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_members1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories3 = 0;
- continue;
- }
- if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created3 = 0;
- continue;
- }
- if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs3 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), ""))
- { soap_flag_comment2 = 0;
- continue;
- }
- if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), ""))
- { soap_flag_sync2 = 0;
- continue;
- }
- if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), ""))
- { soap_flag_domain2 = 0;
- continue;
- }
- if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), ""))
- { soap_flag_postOffice2 = 0;
- continue;
- }
- if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), ""))
- { soap_flag_distinguishedName2 = 0;
- continue;
- }
- if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), ""))
- { soap_flag_userid2 = 0;
- continue;
- }
- if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwt:members", &(((ngwt__Group*)a)->members), "ngwt:GroupMemberList"))
- { soap_flag_members1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Group *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Group, 0, sizeof(ngwt__Group), 0, soap_copy_ngwt__Group);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_new_ngwt__Group(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Group(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Group(struct soap *soap, ngwt__Group *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_instantiate_ngwt__Group(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Group(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Group, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Group;
- if (size)
- *size = sizeof(ngwt__Group);
- ((ngwt__Group*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Group[n];
- if (size)
- *size = n * sizeof(ngwt__Group);
- for (int i = 0; i < n; i++)
- ((ngwt__Group*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Group*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Group(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Group %p -> %p\n", q, p));
- *(ngwt__Group*)p = *(ngwt__Group*)q;
-}
-
-void ngwt__FullName::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FullName*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->displayName);
- soap_embedded(soap, &((ngwt__FullName*)this)->namePrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->namePrefix);
- soap_embedded(soap, &((ngwt__FullName*)this)->firstName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->firstName);
- soap_embedded(soap, &((ngwt__FullName*)this)->middleName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->middleName);
- soap_embedded(soap, &((ngwt__FullName*)this)->lastName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->lastName);
- soap_embedded(soap, &((ngwt__FullName*)this)->nameSuffix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->nameSuffix);
- /* transient soap skipped */
-}
-
-void ngwt__FullName::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__FullName*)this)->displayName = NULL;
- ((ngwt__FullName*)this)->namePrefix = NULL;
- ((ngwt__FullName*)this)->firstName = NULL;
- ((ngwt__FullName*)this)->middleName = NULL;
- ((ngwt__FullName*)this)->lastName = NULL;
- ((ngwt__FullName*)this)->nameSuffix = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__FullName::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FullName);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FullName::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FullName(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FullName(struct soap *soap, const char *tag, int id, const ngwt__FullName *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FullName), type);
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__FullName*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:namePrefix", -1, &(((ngwt__FullName*)a)->namePrefix), "");
- soap_out_PointerTostd__string(soap, "ngwt:firstName", -1, &(((ngwt__FullName*)a)->firstName), "");
- soap_out_PointerTostd__string(soap, "ngwt:middleName", -1, &(((ngwt__FullName*)a)->middleName), "");
- soap_out_PointerTostd__string(soap, "ngwt:lastName", -1, &(((ngwt__FullName*)a)->lastName), "");
- soap_out_PointerTostd__string(soap, "ngwt:nameSuffix", -1, &(((ngwt__FullName*)a)->nameSuffix), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FullName::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FullName(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_get_ngwt__FullName(struct soap *soap, ngwt__FullName *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FullName(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FullName::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FullName(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_in_ngwt__FullName(struct soap *soap, const char *tag, ngwt__FullName *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FullName *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FullName, sizeof(ngwt__FullName), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FullName)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FullName *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName1 = 1, soap_flag_namePrefix1 = 1, soap_flag_firstName1 = 1, soap_flag_middleName1 = 1, soap_flag_lastName1 = 1, soap_flag_nameSuffix1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__FullName*)a)->displayName), ""))
- { soap_flag_displayName1 = 0;
- continue;
- }
- if (soap_flag_namePrefix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:namePrefix", &(((ngwt__FullName*)a)->namePrefix), ""))
- { soap_flag_namePrefix1 = 0;
- continue;
- }
- if (soap_flag_firstName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:firstName", &(((ngwt__FullName*)a)->firstName), ""))
- { soap_flag_firstName1 = 0;
- continue;
- }
- if (soap_flag_middleName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:middleName", &(((ngwt__FullName*)a)->middleName), ""))
- { soap_flag_middleName1 = 0;
- continue;
- }
- if (soap_flag_lastName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:lastName", &(((ngwt__FullName*)a)->lastName), ""))
- { soap_flag_lastName1 = 0;
- continue;
- }
- if (soap_flag_nameSuffix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:nameSuffix", &(((ngwt__FullName*)a)->nameSuffix), ""))
- { soap_flag_nameSuffix1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FullName *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FullName, 0, sizeof(ngwt__FullName), 0, soap_copy_ngwt__FullName);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_new_ngwt__FullName(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FullName(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FullName(struct soap *soap, ngwt__FullName *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_instantiate_ngwt__FullName(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FullName(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FullName, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FullName;
- if (size)
- *size = sizeof(ngwt__FullName);
- ((ngwt__FullName*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FullName[n];
- if (size)
- *size = n * sizeof(ngwt__FullName);
- for (int i = 0; i < n; i++)
- ((ngwt__FullName*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FullName*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FullName(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FullName %p -> %p\n", q, p));
- *(ngwt__FullName*)p = *(ngwt__FullName*)q;
-}
-
-void ngwt__From::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__From*)this)->replyTo, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__From*)this)->replyTo);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__From::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__From*)this)->replyTo = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__From::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__From);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__From::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__From(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__From(struct soap *soap, const char *tag, int id, const ngwt__From *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__From), "ngwt:From");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTostd__string(soap, "ngwt:replyTo", -1, &(((ngwt__From*)a)->replyTo), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__From::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__From(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_get_ngwt__From(struct soap *soap, ngwt__From *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__From(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__From::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__From(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_in_ngwt__From(struct soap *soap, const char *tag, ngwt__From *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__From *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__From, sizeof(ngwt__From), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__From)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__From *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_replyTo1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_replyTo1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:replyTo", &(((ngwt__From*)a)->replyTo), ""))
- { soap_flag_replyTo1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__From *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__From, 0, sizeof(ngwt__From), 0, soap_copy_ngwt__From);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_new_ngwt__From(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__From(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__From(struct soap *soap, ngwt__From *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_instantiate_ngwt__From(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__From(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__From, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__From;
- if (size)
- *size = sizeof(ngwt__From);
- ((ngwt__From*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__From[n];
- if (size)
- *size = n * sizeof(ngwt__From);
- for (int i = 0; i < n; i++)
- ((ngwt__From*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__From*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__From(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__From %p -> %p\n", q, p));
- *(ngwt__From*)p = *(ngwt__From*)q;
-}
-
-void ngwt__FreeBusyStats::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->responded, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->outstanding, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->total, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyStats::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->responded);
- soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->outstanding);
- soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->total);
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyStats::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyStats);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyStats::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyStats(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyStats(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyStats *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyStats), type);
- soap_out_int(soap, "ngwt:responded", -1, &(((ngwt__FreeBusyStats*)a)->responded), "");
- soap_out_int(soap, "ngwt:outstanding", -1, &(((ngwt__FreeBusyStats*)a)->outstanding), "");
- soap_out_int(soap, "ngwt:total", -1, &(((ngwt__FreeBusyStats*)a)->total), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyStats::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyStats(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_get_ngwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyStats(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyStats::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyStats(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_in_ngwt__FreeBusyStats(struct soap *soap, const char *tag, ngwt__FreeBusyStats *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyStats *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyStats, sizeof(ngwt__FreeBusyStats), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyStats)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyStats *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_responded1 = 1, soap_flag_outstanding1 = 1, soap_flag_total1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_responded1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:responded", &(((ngwt__FreeBusyStats*)a)->responded), ""))
- { soap_flag_responded1 = 0;
- continue;
- }
- if (soap_flag_outstanding1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:outstanding", &(((ngwt__FreeBusyStats*)a)->outstanding), ""))
- { soap_flag_outstanding1 = 0;
- continue;
- }
- if (soap_flag_total1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:total", &(((ngwt__FreeBusyStats*)a)->total), ""))
- { soap_flag_total1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_responded1 || soap_flag_outstanding1 || soap_flag_total1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyStats *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyStats, 0, sizeof(ngwt__FreeBusyStats), 0, soap_copy_ngwt__FreeBusyStats);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_new_ngwt__FreeBusyStats(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyStats(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyStats(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyStats(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyStats, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyStats;
- if (size)
- *size = sizeof(ngwt__FreeBusyStats);
- ((ngwt__FreeBusyStats*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyStats[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyStats);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyStats*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyStats*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyStats(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyStats %p -> %p\n", q, p));
- *(ngwt__FreeBusyStats*)p = *(ngwt__FreeBusyStats*)q;
-}
-
-void ngwt__FreeBusyInfoList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, &((ngwt__FreeBusyInfoList*)this)->user);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyInfoList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, &((ngwt__FreeBusyInfoList*)this)->user);
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyInfoList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyInfoList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyInfoList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyInfoList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfoList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyInfoList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyInfoList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, "ngwt:user", -1, &(((ngwt__FreeBusyInfoList*)a)->user), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyInfoList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyInfoList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyInfoList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyInfoList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyInfoList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfoList(struct soap *soap, const char *tag, ngwt__FreeBusyInfoList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyInfoList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyInfoList, sizeof(ngwt__FreeBusyInfoList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyInfoList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyInfoList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, "ngwt:user", &(((ngwt__FreeBusyInfoList*)a)->user), "ngwt:FreeBusyInfo"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyInfoList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfoList, 0, sizeof(ngwt__FreeBusyInfoList), 0, soap_copy_ngwt__FreeBusyInfoList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfoList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyInfoList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfoList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyInfoList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyInfoList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyInfoList;
- if (size)
- *size = sizeof(ngwt__FreeBusyInfoList);
- ((ngwt__FreeBusyInfoList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyInfoList[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyInfoList);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyInfoList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyInfoList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfoList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyInfoList %p -> %p\n", q, p));
- *(ngwt__FreeBusyInfoList*)p = *(ngwt__FreeBusyInfoList*)q;
-}
-
-void ngwt__FreeBusyUserList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, &((ngwt__FreeBusyUserList*)this)->user);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyUserList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, &((ngwt__FreeBusyUserList*)this)->user);
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyUserList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyUserList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyUserList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyUserList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyUserList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyUserList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyUserList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, "ngwt:user", -1, &(((ngwt__FreeBusyUserList*)a)->user), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyUserList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyUserList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_get_ngwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyUserList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyUserList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyUserList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_in_ngwt__FreeBusyUserList(struct soap *soap, const char *tag, ngwt__FreeBusyUserList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyUserList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyUserList, sizeof(ngwt__FreeBusyUserList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyUserList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyUserList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, "ngwt:user", &(((ngwt__FreeBusyUserList*)a)->user), "ngwt:NameAndEmail"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyUserList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyUserList, 0, sizeof(ngwt__FreeBusyUserList), 0, soap_copy_ngwt__FreeBusyUserList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_new_ngwt__FreeBusyUserList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyUserList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyUserList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyUserList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyUserList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyUserList;
- if (size)
- *size = sizeof(ngwt__FreeBusyUserList);
- ((ngwt__FreeBusyUserList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyUserList[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyUserList);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyUserList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyUserList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyUserList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyUserList %p -> %p\n", q, p));
- *(ngwt__FreeBusyUserList*)p = *(ngwt__FreeBusyUserList*)q;
-}
-
-void ngwt__FreeBusyInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FreeBusyInfo*)this)->blocks, SOAP_TYPE_PointerTongwt__FreeBusyBlockList);
- soap_serialize_PointerTongwt__FreeBusyBlockList(soap, &((ngwt__FreeBusyInfo*)this)->blocks);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__FreeBusyInfo*)this)->blocks = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyInfo), "ngwt:FreeBusyInfo");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__FreeBusyBlockList(soap, "ngwt:blocks", -1, &(((ngwt__FreeBusyInfo*)a)->blocks), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfo(struct soap *soap, const char *tag, ngwt__FreeBusyInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_blocks1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_blocks1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FreeBusyBlockList(soap, "ngwt:blocks", &(((ngwt__FreeBusyInfo*)a)->blocks), "ngwt:FreeBusyBlockList"))
- { soap_flag_blocks1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_blocks1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfo, 0, sizeof(ngwt__FreeBusyInfo), 0, soap_copy_ngwt__FreeBusyInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyInfo;
- if (size)
- *size = sizeof(ngwt__FreeBusyInfo);
- ((ngwt__FreeBusyInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyInfo[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyInfo %p -> %p\n", q, p));
- *(ngwt__FreeBusyInfo*)p = *(ngwt__FreeBusyInfo*)q;
-}
-
-void ngwt__FreeBusyBlock::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->startDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__FreeBusyBlock*)this)->startDate);
- soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->endDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__FreeBusyBlock*)this)->endDate);
- soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel);
- soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__FreeBusyBlock*)this)->acceptLevel);
- soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FreeBusyBlock*)this)->subject);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyBlock::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((ngwt__FreeBusyBlock*)this)->startDate);
- soap_default_string(soap, &((ngwt__FreeBusyBlock*)this)->endDate);
- ((ngwt__FreeBusyBlock*)this)->acceptLevel = NULL;
- ((ngwt__FreeBusyBlock*)this)->subject = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyBlock::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyBlock);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyBlock::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyBlock(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyBlock *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyBlock), type);
- soap_out_string(soap, "ngwt:startDate", -1, &(((ngwt__FreeBusyBlock*)a)->startDate), "");
- soap_out_string(soap, "ngwt:endDate", -1, &(((ngwt__FreeBusyBlock*)a)->endDate), "");
- soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__FreeBusyBlock*)a)->acceptLevel), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__FreeBusyBlock*)a)->subject), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyBlock::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyBlock(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyBlock(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyBlock::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyBlock(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlock(struct soap *soap, const char *tag, ngwt__FreeBusyBlock *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyBlock *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyBlock)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyBlock *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_startDate1 = 1, soap_flag_endDate1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_subject1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:startDate", &(((ngwt__FreeBusyBlock*)a)->startDate), ""))
- { soap_flag_startDate1 = 0;
- continue;
- }
- if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:endDate", &(((ngwt__FreeBusyBlock*)a)->endDate), ""))
- { soap_flag_endDate1 = 0;
- continue;
- }
- if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__FreeBusyBlock*)a)->acceptLevel), ""))
- { soap_flag_acceptLevel1 = 0;
- continue;
- }
- if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__FreeBusyBlock*)a)->subject), ""))
- { soap_flag_subject1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_startDate1 || soap_flag_endDate1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyBlock *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlock, 0, sizeof(ngwt__FreeBusyBlock), 0, soap_copy_ngwt__FreeBusyBlock);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlock(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyBlock(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlock(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyBlock(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyBlock, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyBlock;
- if (size)
- *size = sizeof(ngwt__FreeBusyBlock);
- ((ngwt__FreeBusyBlock*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyBlock[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyBlock);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyBlock*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyBlock*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlock(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyBlock %p -> %p\n", q, p));
- *(ngwt__FreeBusyBlock*)p = *(ngwt__FreeBusyBlock*)q;
-}
-
-void ngwt__FreeBusyBlockList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, &((ngwt__FreeBusyBlockList*)this)->block);
- /* transient soap skipped */
-}
-
-void ngwt__FreeBusyBlockList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, &((ngwt__FreeBusyBlockList*)this)->block);
- /* transient soap skipped */
-}
-
-int ngwt__FreeBusyBlockList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyBlockList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FreeBusyBlockList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FreeBusyBlockList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlockList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyBlockList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyBlockList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, "ngwt:block", -1, &(((ngwt__FreeBusyBlockList*)a)->block), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FreeBusyBlockList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FreeBusyBlockList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FreeBusyBlockList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FreeBusyBlockList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FreeBusyBlockList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlockList(struct soap *soap, const char *tag, ngwt__FreeBusyBlockList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FreeBusyBlockList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyBlockList, sizeof(ngwt__FreeBusyBlockList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyBlockList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FreeBusyBlockList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, "ngwt:block", &(((ngwt__FreeBusyBlockList*)a)->block), "ngwt:FreeBusyBlock"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyBlockList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlockList, 0, sizeof(ngwt__FreeBusyBlockList), 0, soap_copy_ngwt__FreeBusyBlockList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlockList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FreeBusyBlockList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlockList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyBlockList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyBlockList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FreeBusyBlockList;
- if (size)
- *size = sizeof(ngwt__FreeBusyBlockList);
- ((ngwt__FreeBusyBlockList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FreeBusyBlockList[n];
- if (size)
- *size = n * sizeof(ngwt__FreeBusyBlockList);
- for (int i = 0; i < n; i++)
- ((ngwt__FreeBusyBlockList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FreeBusyBlockList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlockList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyBlockList %p -> %p\n", q, p));
- *(ngwt__FreeBusyBlockList*)p = *(ngwt__FreeBusyBlockList*)q;
-}
-
-void ngwt__FolderList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(soap, &((ngwt__FolderList*)this)->folder);
- /* transient soap skipped */
-}
-
-void ngwt__FolderList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Folder(soap, &((ngwt__FolderList*)this)->folder);
- /* transient soap skipped */
-}
-
-int ngwt__FolderList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FolderList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FolderList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderList(struct soap *soap, const char *tag, int id, const ngwt__FolderList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Folder(soap, "ngwt:folder", -1, &(((ngwt__FolderList*)a)->folder), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FolderList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FolderList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_get_ngwt__FolderList(struct soap *soap, ngwt__FolderList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FolderList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FolderList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FolderList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_in_ngwt__FolderList(struct soap *soap, const char *tag, ngwt__FolderList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FolderList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderList, sizeof(ngwt__FolderList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FolderList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FolderList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Folder(soap, "ngwt:folder", &(((ngwt__FolderList*)a)->folder), "ngwt:Folder"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FolderList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderList, 0, sizeof(ngwt__FolderList), 0, soap_copy_ngwt__FolderList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_new_ngwt__FolderList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FolderList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderList(struct soap *soap, ngwt__FolderList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_instantiate_ngwt__FolderList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FolderList;
- if (size)
- *size = sizeof(ngwt__FolderList);
- ((ngwt__FolderList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FolderList[n];
- if (size)
- *size = n * sizeof(ngwt__FolderList);
- for (int i = 0; i < n; i++)
- ((ngwt__FolderList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FolderList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderList %p -> %p\n", q, p));
- *(ngwt__FolderList*)p = *(ngwt__FolderList*)q;
-}
-
-void ngwt__FolderACLEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FolderACLEntry*)this)->status, SOAP_TYPE_PointerTongwt__FolderACLStatus);
- soap_serialize_PointerTongwt__FolderACLStatus(soap, &((ngwt__FolderACLEntry*)this)->status);
- soap_embedded(soap, &((ngwt__AccessControlListEntry*)this)->rights, SOAP_TYPE_PointerTongwt__Rights);
- soap_serialize_PointerTongwt__Rights(soap, &((ngwt__AccessControlListEntry*)this)->rights);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__FolderACLEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__FolderACLEntry*)this)->status = NULL;
- ((ngwt__AccessControlListEntry*)this)->rights = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__FolderACLEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACLEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FolderACLEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FolderACLEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLEntry(struct soap *soap, const char *tag, int id, const ngwt__FolderACLEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACLEntry), "ngwt:FolderACLEntry");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__AccessControlListEntry*)a)->rights), "");
- soap_out_PointerTongwt__FolderACLStatus(soap, "ngwt:status", -1, &(((ngwt__FolderACLEntry*)a)->status), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FolderACLEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FolderACLEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_get_ngwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FolderACLEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FolderACLEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FolderACLEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_in_ngwt__FolderACLEntry(struct soap *soap, const char *tag, ngwt__FolderACLEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FolderACLEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FolderACLEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FolderACLEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName3 = 1, soap_flag_email3 = 1, soap_flag_uuid3 = 1, soap_flag_rights2 = 1, soap_flag_status1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName3 = 0;
- continue;
- }
- if (soap_flag_email3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email3 = 0;
- continue;
- }
- if (soap_flag_uuid3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_rights2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__AccessControlListEntry*)a)->rights), "ngwt:Rights"))
- { soap_flag_rights2 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderACLStatus(soap, "ngwt:status", &(((ngwt__FolderACLEntry*)a)->status), ""))
- { soap_flag_status1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_rights2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FolderACLEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLEntry, 0, sizeof(ngwt__FolderACLEntry), 0, soap_copy_ngwt__FolderACLEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_new_ngwt__FolderACLEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FolderACLEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_instantiate_ngwt__FolderACLEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderACLEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderACLEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FolderACLEntry;
- if (size)
- *size = sizeof(ngwt__FolderACLEntry);
- ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FolderACLEntry[n];
- if (size)
- *size = n * sizeof(ngwt__FolderACLEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FolderACLEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACLEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderACLEntry %p -> %p\n", q, p));
- *(ngwt__FolderACLEntry*)p = *(ngwt__FolderACLEntry*)q;
-}
-
-void ngwt__FolderACL::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, &((ngwt__FolderACL*)this)->entry);
- /* transient soap skipped */
-}
-
-void ngwt__FolderACL::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, &((ngwt__FolderACL*)this)->entry);
- /* transient soap skipped */
-}
-
-int ngwt__FolderACL::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACL);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FolderACL::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FolderACL(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACL(struct soap *soap, const char *tag, int id, const ngwt__FolderACL *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACL), type);
- soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, "ngwt:entry", -1, &(((ngwt__FolderACL*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FolderACL::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FolderACL(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_get_ngwt__FolderACL(struct soap *soap, ngwt__FolderACL *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FolderACL(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FolderACL::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FolderACL(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_in_ngwt__FolderACL(struct soap *soap, const char *tag, ngwt__FolderACL *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FolderACL *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACL, sizeof(ngwt__FolderACL), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FolderACL)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FolderACL *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, "ngwt:entry", &(((ngwt__FolderACL*)a)->entry), "ngwt:FolderACLEntry"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FolderACL *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACL, 0, sizeof(ngwt__FolderACL), 0, soap_copy_ngwt__FolderACL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_new_ngwt__FolderACL(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FolderACL(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACL(struct soap *soap, ngwt__FolderACL *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_instantiate_ngwt__FolderACL(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderACL(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderACL, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FolderACL;
- if (size)
- *size = sizeof(ngwt__FolderACL);
- ((ngwt__FolderACL*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FolderACL[n];
- if (size)
- *size = n * sizeof(ngwt__FolderACL);
- for (int i = 0; i < n; i++)
- ((ngwt__FolderACL*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FolderACL*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACL(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderACL %p -> %p\n", q, p));
- *(ngwt__FolderACL*)p = *(ngwt__FolderACL*)q;
-}
-
-void ngwt__Folder::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description);
- soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count);
- soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread);
- soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount);
- soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence);
- soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings);
- soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Folder::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- ((ngwt__Folder*)this)->description = NULL;
- ((ngwt__Folder*)this)->count = NULL;
- ((ngwt__Folder*)this)->hasUnread = NULL;
- ((ngwt__Folder*)this)->unreadCount = NULL;
- ((ngwt__Folder*)this)->sequence = NULL;
- ((ngwt__Folder*)this)->settings = NULL;
- ((ngwt__Folder*)this)->calendarAttribute = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Folder::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Folder);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Folder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Folder(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Folder(struct soap *soap, const char *tag, int id, const ngwt__Folder *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Folder), "ngwt:Folder");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), "");
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), "");
- soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), "");
- soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), "");
- soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Folder::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Folder(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_get_ngwt__Folder(struct soap *soap, ngwt__Folder *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Folder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Folder::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Folder(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_in_ngwt__Folder(struct soap *soap, const char *tag, ngwt__Folder *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Folder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Folder, sizeof(ngwt__Folder), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Folder)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Folder *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_parent1 = 1, soap_flag_description1 = 1, soap_flag_count1 = 1, soap_flag_hasUnread1 = 1, soap_flag_unreadCount1 = 1, soap_flag_sequence1 = 1, soap_flag_settings1 = 1, soap_flag_calendarAttribute1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id2 = 0;
- continue;
- }
- if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name2 = 0;
- continue;
- }
- if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version2 = 0;
- continue;
- }
- if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified2 = 0;
- continue;
- }
- if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_parent1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid"))
- { soap_flag_parent1 = 0;
- continue;
- }
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- if (soap_flag_hasUnread1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), ""))
- { soap_flag_hasUnread1 = 0;
- continue;
- }
- if (soap_flag_unreadCount1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), ""))
- { soap_flag_unreadCount1 = 0;
- continue;
- }
- if (soap_flag_sequence1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), ""))
- { soap_flag_sequence1 = 0;
- continue;
- }
- if (soap_flag_settings1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid"))
- { soap_flag_settings1 = 0;
- continue;
- }
- if (soap_flag_calendarAttribute1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute"))
- { soap_flag_calendarAttribute1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Folder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Folder, 0, sizeof(ngwt__Folder), 0, soap_copy_ngwt__Folder);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_new_ngwt__Folder(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Folder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Folder(struct soap *soap, ngwt__Folder *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_instantiate_ngwt__Folder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Folder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Folder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:QueryFolder"))
- { cp->type = SOAP_TYPE_ngwt__QueryFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__QueryFolder;
- if (size)
- *size = sizeof(ngwt__QueryFolder);
- ((ngwt__QueryFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__QueryFolder[n];
- if (size)
- *size = n * sizeof(ngwt__QueryFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__QueryFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedFolder"))
- { cp->type = SOAP_TYPE_ngwt__SharedFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedFolder;
- if (size)
- *size = sizeof(ngwt__SharedFolder);
- ((ngwt__SharedFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SharedFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SystemFolder"))
- { cp->type = SOAP_TYPE_ngwt__SystemFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SystemFolder;
- if (size)
- *size = sizeof(ngwt__SystemFolder);
- ((ngwt__SystemFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SystemFolder[n];
- if (size)
- *size = n * sizeof(ngwt__SystemFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SystemFolder*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder"))
- { cp->type = SOAP_TYPE_ngwt__ContactFolder;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContactFolder;
- if (size)
- *size = sizeof(ngwt__ContactFolder);
- ((ngwt__ContactFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContactFolder[n];
- if (size)
- *size = n * sizeof(ngwt__ContactFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContactFolder*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Folder;
- if (size)
- *size = sizeof(ngwt__Folder);
- ((ngwt__Folder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Folder[n];
- if (size)
- *size = n * sizeof(ngwt__Folder);
- for (int i = 0; i < n; i++)
- ((ngwt__Folder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Folder*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Folder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Folder %p -> %p\n", q, p));
- *(ngwt__Folder*)p = *(ngwt__Folder*)q;
-}
-
-void ngwt__FilterGroup::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(soap, &((ngwt__FilterGroup*)this)->element);
- soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp);
- /* transient soap skipped */
-}
-
-void ngwt__FilterGroup::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(soap, &((ngwt__FilterGroup*)this)->element);
- soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op);
- /* transient soap skipped */
-}
-
-int ngwt__FilterGroup::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterGroup);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FilterGroup::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FilterGroup(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterGroup(struct soap *soap, const char *tag, int id, const ngwt__FilterGroup *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterGroup), "ngwt:FilterGroup");
- soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(soap, "ngwt:element", -1, &(((ngwt__FilterGroup*)a)->element), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FilterGroup::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FilterGroup(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_get_ngwt__FilterGroup(struct soap *soap, ngwt__FilterGroup *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FilterGroup(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FilterGroup::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FilterGroup(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_in_ngwt__FilterGroup(struct soap *soap, const char *tag, ngwt__FilterGroup *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FilterGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterGroup, sizeof(ngwt__FilterGroup), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FilterGroup)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FilterGroup *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_op2 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_op2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), ""))
- { soap_flag_op2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(soap, "ngwt:element", &(((ngwt__FilterGroup*)a)->element), "ngwt:FilterElement"))
- continue;
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FilterGroup *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterGroup, 0, sizeof(ngwt__FilterGroup), 0, soap_copy_ngwt__FilterGroup);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_new_ngwt__FilterGroup(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FilterGroup(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterGroup(struct soap *soap, ngwt__FilterGroup *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_instantiate_ngwt__FilterGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterGroup, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FilterGroup;
- if (size)
- *size = sizeof(ngwt__FilterGroup);
- ((ngwt__FilterGroup*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FilterGroup[n];
- if (size)
- *size = n * sizeof(ngwt__FilterGroup);
- for (int i = 0; i < n; i++)
- ((ngwt__FilterGroup*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FilterGroup*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterGroup %p -> %p\n", q, p));
- *(ngwt__FilterGroup*)p = *(ngwt__FilterGroup*)q;
-}
-
-void ngwt__FilterEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FilterEntry*)this)->field, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FilterEntry*)this)->field);
- soap_embedded(soap, &((ngwt__FilterEntry*)this)->custom, SOAP_TYPE_PointerTongwt__Custom);
- soap_serialize_PointerTongwt__Custom(soap, &((ngwt__FilterEntry*)this)->custom);
- soap_embedded(soap, &((ngwt__FilterEntry*)this)->value, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__FilterEntry*)this)->value);
- soap_embedded(soap, &((ngwt__FilterEntry*)this)->date, SOAP_TYPE_PointerTongwt__FilterDate);
- soap_serialize_PointerTongwt__FilterDate(soap, &((ngwt__FilterEntry*)this)->date);
- soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp);
- /* transient soap skipped */
-}
-
-void ngwt__FilterEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__FilterEntry*)this)->field = NULL;
- ((ngwt__FilterEntry*)this)->custom = NULL;
- ((ngwt__FilterEntry*)this)->value = NULL;
- ((ngwt__FilterEntry*)this)->date = NULL;
- soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op);
- /* transient soap skipped */
-}
-
-int ngwt__FilterEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FilterEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FilterEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterEntry(struct soap *soap, const char *tag, int id, const ngwt__FilterEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterEntry), "ngwt:FilterEntry");
- soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), "");
- /* transient soap skipped */
- soap_out_PointerTostd__string(soap, "ngwt:field", -1, &(((ngwt__FilterEntry*)a)->field), "");
- soap_out_PointerTongwt__Custom(soap, "ngwt:custom", -1, &(((ngwt__FilterEntry*)a)->custom), "");
- soap_out_PointerTostd__string(soap, "ngwt:value", -1, &(((ngwt__FilterEntry*)a)->value), "");
- soap_out_PointerTongwt__FilterDate(soap, "ngwt:date", -1, &(((ngwt__FilterEntry*)a)->date), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FilterEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FilterEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_get_ngwt__FilterEntry(struct soap *soap, ngwt__FilterEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FilterEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FilterEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FilterEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_in_ngwt__FilterEntry(struct soap *soap, const char *tag, ngwt__FilterEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FilterEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterEntry, sizeof(ngwt__FilterEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FilterEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FilterEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_op2 = 1, soap_flag_field1 = 1, soap_flag_custom1 = 1, soap_flag_value1 = 1, soap_flag_date1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_op2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), ""))
- { soap_flag_op2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_field1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:field", &(((ngwt__FilterEntry*)a)->field), ""))
- { soap_flag_field1 = 0;
- continue;
- }
- if (soap_flag_custom1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Custom(soap, "ngwt:custom", &(((ngwt__FilterEntry*)a)->custom), "ngwt:Custom"))
- { soap_flag_custom1 = 0;
- continue;
- }
- if (soap_flag_value1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:value", &(((ngwt__FilterEntry*)a)->value), ""))
- { soap_flag_value1 = 0;
- continue;
- }
- if (soap_flag_date1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FilterDate(soap, "ngwt:date", &(((ngwt__FilterEntry*)a)->date), ""))
- { soap_flag_date1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FilterEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterEntry, 0, sizeof(ngwt__FilterEntry), 0, soap_copy_ngwt__FilterEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_new_ngwt__FilterEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FilterEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterEntry(struct soap *soap, ngwt__FilterEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_instantiate_ngwt__FilterEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FilterEntry;
- if (size)
- *size = sizeof(ngwt__FilterEntry);
- ((ngwt__FilterEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FilterEntry[n];
- if (size)
- *size = n * sizeof(ngwt__FilterEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__FilterEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FilterEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterEntry %p -> %p\n", q, p));
- *(ngwt__FilterEntry*)p = *(ngwt__FilterEntry*)q;
-}
-
-void ngwt__FilterElement::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp);
- /* transient soap skipped */
-}
-
-void ngwt__FilterElement::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op);
- /* transient soap skipped */
-}
-
-int ngwt__FilterElement::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterElement);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__FilterElement::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__FilterElement(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterElement(struct soap *soap, const char *tag, int id, const ngwt__FilterElement *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterElement), type);
- soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__FilterElement::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__FilterElement(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_get_ngwt__FilterElement(struct soap *soap, ngwt__FilterElement *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__FilterElement(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__FilterElement::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__FilterElement(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_in_ngwt__FilterElement(struct soap *soap, const char *tag, ngwt__FilterElement *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__FilterElement *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterElement, sizeof(ngwt__FilterElement), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__FilterElement)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__FilterElement *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_op1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_op1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), ""))
- { soap_flag_op1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__FilterElement *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterElement, 0, sizeof(ngwt__FilterElement), 0, soap_copy_ngwt__FilterElement);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_new_ngwt__FilterElement(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__FilterElement(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterElement(struct soap *soap, ngwt__FilterElement *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_instantiate_ngwt__FilterElement(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterElement(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterElement, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:FilterEntry"))
- { cp->type = SOAP_TYPE_ngwt__FilterEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FilterEntry;
- if (size)
- *size = sizeof(ngwt__FilterEntry);
- ((ngwt__FilterEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FilterEntry[n];
- if (size)
- *size = n * sizeof(ngwt__FilterEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__FilterEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FilterEntry*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:FilterGroup"))
- { cp->type = SOAP_TYPE_ngwt__FilterGroup;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FilterGroup;
- if (size)
- *size = sizeof(ngwt__FilterGroup);
- ((ngwt__FilterGroup*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FilterGroup[n];
- if (size)
- *size = n * sizeof(ngwt__FilterGroup);
- for (int i = 0; i < n; i++)
- ((ngwt__FilterGroup*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FilterGroup*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FilterElement;
- if (size)
- *size = sizeof(ngwt__FilterElement);
- ((ngwt__FilterElement*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FilterElement[n];
- if (size)
- *size = n * sizeof(ngwt__FilterElement);
- for (int i = 0; i < n; i++)
- ((ngwt__FilterElement*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FilterElement*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterElement(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterElement %p -> %p\n", q, p));
- *(ngwt__FilterElement*)p = *(ngwt__FilterElement*)q;
-}
-
-void ngwt__Filter::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Filter*)this)->element, SOAP_TYPE_PointerTongwt__FilterElement);
- soap_serialize_PointerTongwt__FilterElement(soap, &((ngwt__Filter*)this)->element);
- /* transient soap skipped */
-}
-
-void ngwt__Filter::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Filter*)this)->element = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Filter::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Filter);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Filter::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Filter(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Filter(struct soap *soap, const char *tag, int id, const ngwt__Filter *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Filter), type);
- soap_out_PointerTongwt__FilterElement(soap, "ngwt:element", -1, &(((ngwt__Filter*)a)->element), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Filter::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Filter(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_get_ngwt__Filter(struct soap *soap, ngwt__Filter *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Filter(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Filter::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Filter(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_in_ngwt__Filter(struct soap *soap, const char *tag, ngwt__Filter *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Filter *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Filter, sizeof(ngwt__Filter), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Filter)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Filter *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_element1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_element1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FilterElement(soap, "ngwt:element", &(((ngwt__Filter*)a)->element), "ngwt:FilterElement"))
- { soap_flag_element1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Filter *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Filter, 0, sizeof(ngwt__Filter), 0, soap_copy_ngwt__Filter);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_new_ngwt__Filter(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Filter(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Filter(struct soap *soap, ngwt__Filter *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_instantiate_ngwt__Filter(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Filter(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Filter, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Filter;
- if (size)
- *size = sizeof(ngwt__Filter);
- ((ngwt__Filter*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Filter[n];
- if (size)
- *size = n * sizeof(ngwt__Filter);
- for (int i = 0; i < n; i++)
- ((ngwt__Filter*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Filter*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Filter(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Filter %p -> %p\n", q, p));
- *(ngwt__Filter*)p = *(ngwt__Filter*)q;
-}
-
-void ngwt__EmailAddressList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfstd__string(soap, &((ngwt__EmailAddressList*)this)->email);
- /* transient soap skipped */
-}
-
-void ngwt__EmailAddressList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfstd__string(soap, &((ngwt__EmailAddressList*)this)->email);
- ((ngwt__EmailAddressList*)this)->primary = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__EmailAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__EmailAddressList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__EmailAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__EmailAddressList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__EmailAddressList(struct soap *soap, const char *tag, int id, const ngwt__EmailAddressList *a, const char *type)
-{
- if (((ngwt__EmailAddressList *)a)->primary)
- soap_set_attr(soap, "primary", ((ngwt__EmailAddressList *)a)->primary->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__EmailAddressList), type);
- soap_out_std__vectorTemplateOfstd__string(soap, "ngwt:email", -1, &(((ngwt__EmailAddressList*)a)->email), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__EmailAddressList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__EmailAddressList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_get_ngwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__EmailAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__EmailAddressList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__EmailAddressList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_in_ngwt__EmailAddressList(struct soap *soap, const char *tag, ngwt__EmailAddressList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__EmailAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__EmailAddressList, sizeof(ngwt__EmailAddressList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__EmailAddressList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__EmailAddressList *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "primary", 0);
- if (t)
- { if (!(((ngwt__EmailAddressList *)a)->primary = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__EmailAddressList *)a)->primary = soap_new_std__string(soap, -1);
- ((ngwt__EmailAddressList *)a)->primary->assign(s);
- }
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfstd__string(soap, "ngwt:email", &(((ngwt__EmailAddressList*)a)->email), ""))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__EmailAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__EmailAddressList, 0, sizeof(ngwt__EmailAddressList), 0, soap_copy_ngwt__EmailAddressList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_new_ngwt__EmailAddressList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__EmailAddressList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_instantiate_ngwt__EmailAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__EmailAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__EmailAddressList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__EmailAddressList;
- if (size)
- *size = sizeof(ngwt__EmailAddressList);
- ((ngwt__EmailAddressList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__EmailAddressList[n];
- if (size)
- *size = n * sizeof(ngwt__EmailAddressList);
- for (int i = 0; i < n; i++)
- ((ngwt__EmailAddressList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__EmailAddressList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__EmailAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__EmailAddressList %p -> %p\n", q, p));
- *(ngwt__EmailAddressList*)p = *(ngwt__EmailAddressList*)q;
-}
-
-void ngwt__DocumentTypeList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(soap, &((ngwt__DocumentTypeList*)this)->item);
- /* transient soap skipped */
-}
-
-void ngwt__DocumentTypeList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(soap, &((ngwt__DocumentTypeList*)this)->item);
- /* transient soap skipped */
-}
-
-int ngwt__DocumentTypeList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentTypeList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DocumentTypeList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DocumentTypeList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentTypeList(struct soap *soap, const char *tag, int id, const ngwt__DocumentTypeList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentTypeList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(soap, "ngwt:item", -1, &(((ngwt__DocumentTypeList*)a)->item), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DocumentTypeList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DocumentTypeList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_get_ngwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DocumentTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DocumentTypeList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DocumentTypeList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_in_ngwt__DocumentTypeList(struct soap *soap, const char *tag, ngwt__DocumentTypeList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DocumentTypeList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentTypeList, sizeof(ngwt__DocumentTypeList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DocumentTypeList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DocumentTypeList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(soap, "ngwt:item", &(((ngwt__DocumentTypeList*)a)->item), "ngwt:DocumentType"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DocumentTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentTypeList, 0, sizeof(ngwt__DocumentTypeList), 0, soap_copy_ngwt__DocumentTypeList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_new_ngwt__DocumentTypeList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DocumentTypeList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_instantiate_ngwt__DocumentTypeList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentTypeList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentTypeList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentTypeList;
- if (size)
- *size = sizeof(ngwt__DocumentTypeList);
- ((ngwt__DocumentTypeList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentTypeList[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentTypeList);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentTypeList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentTypeList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentTypeList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentTypeList %p -> %p\n", q, p));
- *(ngwt__DocumentTypeList*)p = *(ngwt__DocumentTypeList*)q;
-}
-
-void ngwt__DocumentType::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DocumentType*)this)->name, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__DocumentType*)this)->name);
- soap_embedded(soap, &((ngwt__DocumentType*)this)->life, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentType*)this)->life);
- soap_embedded(soap, &((ngwt__DocumentType*)this)->maximumVersions, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentType*)this)->maximumVersions);
- soap_embedded(soap, &((ngwt__DocumentType*)this)->ageAction, SOAP_TYPE_PointerTongwt__AgeAction);
- soap_serialize_PointerTongwt__AgeAction(soap, &((ngwt__DocumentType*)this)->ageAction);
- /* transient soap skipped */
-}
-
-void ngwt__DocumentType::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__DocumentType*)this)->name);
- ((ngwt__DocumentType*)this)->life = NULL;
- ((ngwt__DocumentType*)this)->maximumVersions = NULL;
- ((ngwt__DocumentType*)this)->ageAction = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__DocumentType::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentType);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DocumentType::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DocumentType(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentType(struct soap *soap, const char *tag, int id, const ngwt__DocumentType *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentType), type);
- soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__DocumentType*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:life", -1, &(((ngwt__DocumentType*)a)->life), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:maximumVersions", -1, &(((ngwt__DocumentType*)a)->maximumVersions), "");
- soap_out_PointerTongwt__AgeAction(soap, "ngwt:ageAction", -1, &(((ngwt__DocumentType*)a)->ageAction), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DocumentType::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DocumentType(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_get_ngwt__DocumentType(struct soap *soap, ngwt__DocumentType *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DocumentType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DocumentType::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DocumentType(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_in_ngwt__DocumentType(struct soap *soap, const char *tag, ngwt__DocumentType *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DocumentType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentType, sizeof(ngwt__DocumentType), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DocumentType)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DocumentType *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_name1 = 1, soap_flag_life1 = 1, soap_flag_maximumVersions1 = 1, soap_flag_ageAction1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__DocumentType*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_life1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:life", &(((ngwt__DocumentType*)a)->life), ""))
- { soap_flag_life1 = 0;
- continue;
- }
- if (soap_flag_maximumVersions1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:maximumVersions", &(((ngwt__DocumentType*)a)->maximumVersions), ""))
- { soap_flag_maximumVersions1 = 0;
- continue;
- }
- if (soap_flag_ageAction1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AgeAction(soap, "ngwt:ageAction", &(((ngwt__DocumentType*)a)->ageAction), ""))
- { soap_flag_ageAction1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DocumentType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentType, 0, sizeof(ngwt__DocumentType), 0, soap_copy_ngwt__DocumentType);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_new_ngwt__DocumentType(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DocumentType(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentType(struct soap *soap, ngwt__DocumentType *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_instantiate_ngwt__DocumentType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentType, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentType;
- if (size)
- *size = sizeof(ngwt__DocumentType);
- ((ngwt__DocumentType*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentType[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentType);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentType*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentType*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentType %p -> %p\n", q, p));
- *(ngwt__DocumentType*)p = *(ngwt__DocumentType*)q;
-}
-
-void ngwt__DocumentRef::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->library);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->documentNumber);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->filename, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__DocumentRef*)this)->filename);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->documentTypeName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__DocumentRef*)this)->documentTypeName);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->author, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->author);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->creator);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->officialVersion, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->officialVersion);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->currentVersion, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->currentVersion);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->versionNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->versionNumber);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->fileSize, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->fileSize);
- soap_embedded(soap, &((ngwt__DocumentRef*)this)->acl, SOAP_TYPE_PointerTongwt__AccessControlList);
- soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__DocumentRef*)this)->acl);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__DocumentRef::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__DocumentRef*)this)->library = NULL;
- ((ngwt__DocumentRef*)this)->documentNumber = NULL;
- ((ngwt__DocumentRef*)this)->filename = NULL;
- ((ngwt__DocumentRef*)this)->documentTypeName = NULL;
- ((ngwt__DocumentRef*)this)->author = NULL;
- ((ngwt__DocumentRef*)this)->creator = NULL;
- ((ngwt__DocumentRef*)this)->officialVersion = NULL;
- ((ngwt__DocumentRef*)this)->currentVersion = NULL;
- ((ngwt__DocumentRef*)this)->versionNumber = NULL;
- ((ngwt__DocumentRef*)this)->versionDescription = NULL;
- ((ngwt__DocumentRef*)this)->fileSize = NULL;
- ((ngwt__DocumentRef*)this)->acl = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__DocumentRef::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentRef);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DocumentRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DocumentRef(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentRef(struct soap *soap, const char *tag, int id, const ngwt__DocumentRef *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentRef), "ngwt:DocumentRef");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__DocumentRef*)a)->library), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__DocumentRef*)a)->documentNumber), "");
- soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__DocumentRef*)a)->filename), "");
- soap_out_PointerTostd__string(soap, "ngwt:documentTypeName", -1, &(((ngwt__DocumentRef*)a)->documentTypeName), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:author", -1, &(((ngwt__DocumentRef*)a)->author), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__DocumentRef*)a)->creator), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:officialVersion", -1, &(((ngwt__DocumentRef*)a)->officialVersion), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:currentVersion", -1, &(((ngwt__DocumentRef*)a)->currentVersion), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__DocumentRef*)a)->versionNumber), "");
- soap_outliteral(soap, "ngwt:versionDescription", &(((ngwt__DocumentRef*)a)->versionDescription));
- soap_out_PointerTounsignedLong(soap, "ngwt:fileSize", -1, &(((ngwt__DocumentRef*)a)->fileSize), "");
- soap_out_PointerTongwt__AccessControlList(soap, "ngwt:acl", -1, &(((ngwt__DocumentRef*)a)->acl), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DocumentRef::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DocumentRef(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_get_ngwt__DocumentRef(struct soap *soap, ngwt__DocumentRef *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DocumentRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DocumentRef::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DocumentRef(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_in_ngwt__DocumentRef(struct soap *soap, const char *tag, ngwt__DocumentRef *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DocumentRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentRef, sizeof(ngwt__DocumentRef), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DocumentRef)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DocumentRef *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_filename1 = 1, soap_flag_documentTypeName1 = 1, soap_flag_author1 = 1, soap_flag_creator1 = 1, soap_flag_officialVersion1 = 1, soap_flag_currentVersion1 = 1, soap_flag_versionNumber1 = 1, soap_flag_versionDescription1 = 1, soap_flag_fileSize1 = 1, soap_flag_acl1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id5 = 0;
- continue;
- }
- if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name5 = 0;
- continue;
- }
- if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version5 = 0;
- continue;
- }
- if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified5 = 0;
- continue;
- }
- if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes5 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories4 = 0;
- continue;
- }
- if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created4 = 0;
- continue;
- }
- if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs4 = 0;
- continue;
- }
- if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status3 = 0;
- continue;
- }
- if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread3 = 0;
- continue;
- }
- if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId3 = 0;
- continue;
- }
- if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId3 = 0;
- continue;
- }
- if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source3 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId3 = 0;
- continue;
- }
- if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered3 = 0;
- continue;
- }
- if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_3 = 0;
- continue;
- }
- if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security3 = 0;
- continue;
- }
- if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment3 = 0;
- continue;
- }
- if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject2 = 0;
- continue;
- }
- if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject2 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix2 = 0;
- continue;
- }
- if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution2 = 0;
- continue;
- }
- if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message2 = 0;
- continue;
- }
- if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments2 = 0;
- continue;
- }
- if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options2 = 0;
- continue;
- }
- if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link2 = 0;
- continue;
- }
- if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment2 = 0;
- continue;
- }
- if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size2 = 0;
- continue;
- }
- if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType2 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap2 = 0;
- continue;
- }
- if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType2 = 0;
- continue;
- }
- if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__DocumentRef*)a)->library), "ngwt:NameAndEmail"))
- { soap_flag_library1 = 0;
- continue;
- }
- if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__DocumentRef*)a)->documentNumber), ""))
- { soap_flag_documentNumber1 = 0;
- continue;
- }
- if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__DocumentRef*)a)->filename), ""))
- { soap_flag_filename1 = 0;
- continue;
- }
- if (soap_flag_documentTypeName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:documentTypeName", &(((ngwt__DocumentRef*)a)->documentTypeName), ""))
- { soap_flag_documentTypeName1 = 0;
- continue;
- }
- if (soap_flag_author1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:author", &(((ngwt__DocumentRef*)a)->author), "ngwt:NameAndEmail"))
- { soap_flag_author1 = 0;
- continue;
- }
- if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__DocumentRef*)a)->creator), "ngwt:NameAndEmail"))
- { soap_flag_creator1 = 0;
- continue;
- }
- if (soap_flag_officialVersion1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:officialVersion", &(((ngwt__DocumentRef*)a)->officialVersion), ""))
- { soap_flag_officialVersion1 = 0;
- continue;
- }
- if (soap_flag_currentVersion1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:currentVersion", &(((ngwt__DocumentRef*)a)->currentVersion), ""))
- { soap_flag_currentVersion1 = 0;
- continue;
- }
- if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:versionNumber", &(((ngwt__DocumentRef*)a)->versionNumber), ""))
- { soap_flag_versionNumber1 = 0;
- continue;
- }
- if (soap_flag_versionDescription1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_inliteral(soap, "ngwt:versionDescription", &(((ngwt__DocumentRef*)a)->versionDescription)))
- { soap_flag_versionDescription1 = 0;
- continue;
- }
- if (soap_flag_fileSize1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:fileSize", &(((ngwt__DocumentRef*)a)->fileSize), ""))
- { soap_flag_fileSize1 = 0;
- continue;
- }
- if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:acl", &(((ngwt__DocumentRef*)a)->acl), "ngwt:AccessControlList"))
- { soap_flag_acl1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DocumentRef *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentRef, 0, sizeof(ngwt__DocumentRef), 0, soap_copy_ngwt__DocumentRef);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_new_ngwt__DocumentRef(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DocumentRef(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentRef(struct soap *soap, ngwt__DocumentRef *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_instantiate_ngwt__DocumentRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentRef, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentRef;
- if (size)
- *size = sizeof(ngwt__DocumentRef);
- ((ngwt__DocumentRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentRef[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentRef);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentRef*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentRef %p -> %p\n", q, p));
- *(ngwt__DocumentRef*)p = *(ngwt__DocumentRef*)q;
-}
-
-void ngwt__Document::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Document*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Document*)this)->subject);
- soap_embedded(soap, &((ngwt__Document*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->library);
- soap_embedded(soap, &((ngwt__Document*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->documentNumber);
- soap_embedded(soap, &((ngwt__Document*)this)->documentTypeName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Document*)this)->documentTypeName);
- soap_embedded(soap, &((ngwt__Document*)this)->author, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->author);
- soap_embedded(soap, &((ngwt__Document*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail);
- soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->creator);
- soap_embedded(soap, &((ngwt__Document*)this)->officialVersion, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->officialVersion);
- soap_embedded(soap, &((ngwt__Document*)this)->currentVersion, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->currentVersion);
- soap_embedded(soap, &((ngwt__Document*)this)->current, SOAP_TYPE_PointerTongwt__AccessControlList);
- soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->current);
- soap_embedded(soap, &((ngwt__Document*)this)->official, SOAP_TYPE_PointerTongwt__AccessControlList);
- soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->official);
- soap_embedded(soap, &((ngwt__Document*)this)->other, SOAP_TYPE_PointerTongwt__AccessControlList);
- soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->other);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Document::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Document*)this)->subject = NULL;
- ((ngwt__Document*)this)->library = NULL;
- ((ngwt__Document*)this)->documentNumber = NULL;
- ((ngwt__Document*)this)->documentTypeName = NULL;
- ((ngwt__Document*)this)->author = NULL;
- ((ngwt__Document*)this)->creator = NULL;
- ((ngwt__Document*)this)->officialVersion = NULL;
- ((ngwt__Document*)this)->currentVersion = NULL;
- ((ngwt__Document*)this)->current = NULL;
- ((ngwt__Document*)this)->official = NULL;
- ((ngwt__Document*)this)->other = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Document::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Document);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Document::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Document(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Document(struct soap *soap, const char *tag, int id, const ngwt__Document *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Document), "ngwt:Document");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Document*)a)->subject), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__Document*)a)->library), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__Document*)a)->documentNumber), "");
- soap_out_PointerTostd__string(soap, "ngwt:documentTypeName", -1, &(((ngwt__Document*)a)->documentTypeName), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:author", -1, &(((ngwt__Document*)a)->author), "");
- soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__Document*)a)->creator), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:officialVersion", -1, &(((ngwt__Document*)a)->officialVersion), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:currentVersion", -1, &(((ngwt__Document*)a)->currentVersion), "");
- soap_out_PointerTongwt__AccessControlList(soap, "ngwt:current", -1, &(((ngwt__Document*)a)->current), "");
- soap_out_PointerTongwt__AccessControlList(soap, "ngwt:official", -1, &(((ngwt__Document*)a)->official), "");
- soap_out_PointerTongwt__AccessControlList(soap, "ngwt:other", -1, &(((ngwt__Document*)a)->other), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Document::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Document(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_get_ngwt__Document(struct soap *soap, ngwt__Document *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Document(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Document::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Document(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_in_ngwt__Document(struct soap *soap, const char *tag, ngwt__Document *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Document *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Document, sizeof(ngwt__Document), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Document)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Document *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_subject1 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_documentTypeName1 = 1, soap_flag_author1 = 1, soap_flag_creator1 = 1, soap_flag_officialVersion1 = 1, soap_flag_currentVersion1 = 1, soap_flag_current1 = 1, soap_flag_official1 = 1, soap_flag_other1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Document*)a)->subject), ""))
- { soap_flag_subject1 = 0;
- continue;
- }
- if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__Document*)a)->library), "ngwt:NameAndEmail"))
- { soap_flag_library1 = 0;
- continue;
- }
- if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__Document*)a)->documentNumber), ""))
- { soap_flag_documentNumber1 = 0;
- continue;
- }
- if (soap_flag_documentTypeName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:documentTypeName", &(((ngwt__Document*)a)->documentTypeName), ""))
- { soap_flag_documentTypeName1 = 0;
- continue;
- }
- if (soap_flag_author1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:author", &(((ngwt__Document*)a)->author), "ngwt:NameAndEmail"))
- { soap_flag_author1 = 0;
- continue;
- }
- if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__Document*)a)->creator), "ngwt:NameAndEmail"))
- { soap_flag_creator1 = 0;
- continue;
- }
- if (soap_flag_officialVersion1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:officialVersion", &(((ngwt__Document*)a)->officialVersion), ""))
- { soap_flag_officialVersion1 = 0;
- continue;
- }
- if (soap_flag_currentVersion1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:currentVersion", &(((ngwt__Document*)a)->currentVersion), ""))
- { soap_flag_currentVersion1 = 0;
- continue;
- }
- if (soap_flag_current1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:current", &(((ngwt__Document*)a)->current), "ngwt:AccessControlList"))
- { soap_flag_current1 = 0;
- continue;
- }
- if (soap_flag_official1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:official", &(((ngwt__Document*)a)->official), "ngwt:AccessControlList"))
- { soap_flag_official1 = 0;
- continue;
- }
- if (soap_flag_other1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:other", &(((ngwt__Document*)a)->other), "ngwt:AccessControlList"))
- { soap_flag_other1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Document *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Document, 0, sizeof(ngwt__Document), 0, soap_copy_ngwt__Document);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_new_ngwt__Document(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Document(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Document(struct soap *soap, ngwt__Document *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_instantiate_ngwt__Document(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Document(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Document, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Document;
- if (size)
- *size = sizeof(ngwt__Document);
- ((ngwt__Document*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Document[n];
- if (size)
- *size = n * sizeof(ngwt__Document);
- for (int i = 0; i < n; i++)
- ((ngwt__Document*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Document*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Document(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Document %p -> %p\n", q, p));
- *(ngwt__Document*)p = *(ngwt__Document*)q;
-}
-
-void ngwt__Distribution::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Distribution*)this)->from, SOAP_TYPE_PointerTongwt__From);
- soap_serialize_PointerTongwt__From(soap, &((ngwt__Distribution*)this)->from);
- soap_embedded(soap, &((ngwt__Distribution*)this)->to, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->to);
- soap_embedded(soap, &((ngwt__Distribution*)this)->cc, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->cc);
- soap_embedded(soap, &((ngwt__Distribution*)this)->bc, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->bc);
- soap_embedded(soap, &((ngwt__Distribution*)this)->recipients, SOAP_TYPE_PointerTongwt__RecipientList);
- soap_serialize_PointerTongwt__RecipientList(soap, &((ngwt__Distribution*)this)->recipients);
- soap_embedded(soap, &((ngwt__Distribution*)this)->sendoptions, SOAP_TYPE_PointerTongwt__SendOptions);
- soap_serialize_PointerTongwt__SendOptions(soap, &((ngwt__Distribution*)this)->sendoptions);
- /* transient soap skipped */
-}
-
-void ngwt__Distribution::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Distribution*)this)->from = NULL;
- ((ngwt__Distribution*)this)->to = NULL;
- ((ngwt__Distribution*)this)->cc = NULL;
- ((ngwt__Distribution*)this)->bc = NULL;
- ((ngwt__Distribution*)this)->recipients = NULL;
- ((ngwt__Distribution*)this)->sendoptions = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Distribution::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Distribution);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Distribution::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Distribution(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Distribution(struct soap *soap, const char *tag, int id, const ngwt__Distribution *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Distribution), type);
- soap_out_PointerTongwt__From(soap, "ngwt:from", -1, &(((ngwt__Distribution*)a)->from), "");
- soap_out_PointerTostd__string(soap, "ngwt:to", -1, &(((ngwt__Distribution*)a)->to), "");
- soap_out_PointerTostd__string(soap, "ngwt:cc", -1, &(((ngwt__Distribution*)a)->cc), "");
- soap_out_PointerTostd__string(soap, "ngwt:bc", -1, &(((ngwt__Distribution*)a)->bc), "");
- soap_out_PointerTongwt__RecipientList(soap, "ngwt:recipients", -1, &(((ngwt__Distribution*)a)->recipients), "");
- soap_out_PointerTongwt__SendOptions(soap, "ngwt:sendoptions", -1, &(((ngwt__Distribution*)a)->sendoptions), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Distribution::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Distribution(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_get_ngwt__Distribution(struct soap *soap, ngwt__Distribution *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Distribution(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Distribution::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Distribution(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_in_ngwt__Distribution(struct soap *soap, const char *tag, ngwt__Distribution *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Distribution *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Distribution, sizeof(ngwt__Distribution), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Distribution)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Distribution *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_from1 = 1, soap_flag_to1 = 1, soap_flag_cc1 = 1, soap_flag_bc1 = 1, soap_flag_recipients1 = 1, soap_flag_sendoptions1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_from1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__From(soap, "ngwt:from", &(((ngwt__Distribution*)a)->from), "ngwt:From"))
- { soap_flag_from1 = 0;
- continue;
- }
- if (soap_flag_to1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:to", &(((ngwt__Distribution*)a)->to), ""))
- { soap_flag_to1 = 0;
- continue;
- }
- if (soap_flag_cc1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:cc", &(((ngwt__Distribution*)a)->cc), ""))
- { soap_flag_cc1 = 0;
- continue;
- }
- if (soap_flag_bc1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:bc", &(((ngwt__Distribution*)a)->bc), ""))
- { soap_flag_bc1 = 0;
- continue;
- }
- if (soap_flag_recipients1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecipientList(soap, "ngwt:recipients", &(((ngwt__Distribution*)a)->recipients), "ngwt:RecipientList"))
- { soap_flag_recipients1 = 0;
- continue;
- }
- if (soap_flag_sendoptions1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SendOptions(soap, "ngwt:sendoptions", &(((ngwt__Distribution*)a)->sendoptions), "ngwt:SendOptions"))
- { soap_flag_sendoptions1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Distribution *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Distribution, 0, sizeof(ngwt__Distribution), 0, soap_copy_ngwt__Distribution);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_new_ngwt__Distribution(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Distribution(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Distribution(struct soap *soap, ngwt__Distribution *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_instantiate_ngwt__Distribution(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Distribution(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Distribution, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Distribution;
- if (size)
- *size = sizeof(ngwt__Distribution);
- ((ngwt__Distribution*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Distribution[n];
- if (size)
- *size = n * sizeof(ngwt__Distribution);
- for (int i = 0; i < n; i++)
- ((ngwt__Distribution*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Distribution*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Distribution(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Distribution %p -> %p\n", q, p));
- *(ngwt__Distribution*)p = *(ngwt__Distribution*)q;
-}
-
-void ngwt__DeltaInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DeltaInfo*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__DeltaInfo*)this)->count);
- soap_embedded(soap, &((ngwt__DeltaInfo*)this)->firstSequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DeltaInfo*)this)->firstSequence);
- soap_embedded(soap, &((ngwt__DeltaInfo*)this)->lastSequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__DeltaInfo*)this)->lastSequence);
- soap_embedded(soap, &((ngwt__DeltaInfo*)this)->lastTimePORebuild, SOAP_TYPE_unsignedLong);
- /* transient soap skipped */
-}
-
-void ngwt__DeltaInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__DeltaInfo*)this)->count = NULL;
- ((ngwt__DeltaInfo*)this)->firstSequence = NULL;
- ((ngwt__DeltaInfo*)this)->lastSequence = NULL;
- soap_default_unsignedLong(soap, &((ngwt__DeltaInfo*)this)->lastTimePORebuild);
- /* transient soap skipped */
-}
-
-int ngwt__DeltaInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DeltaInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DeltaInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DeltaInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaInfo(struct soap *soap, const char *tag, int id, const ngwt__DeltaInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DeltaInfo), type);
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__DeltaInfo*)a)->count), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:firstSequence", -1, &(((ngwt__DeltaInfo*)a)->firstSequence), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:lastSequence", -1, &(((ngwt__DeltaInfo*)a)->lastSequence), "");
- soap_out_unsignedLong(soap, "ngwt:lastTimePORebuild", -1, &(((ngwt__DeltaInfo*)a)->lastTimePORebuild), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DeltaInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DeltaInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_get_ngwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DeltaInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DeltaInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DeltaInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_in_ngwt__DeltaInfo(struct soap *soap, const char *tag, ngwt__DeltaInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DeltaInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DeltaInfo, sizeof(ngwt__DeltaInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DeltaInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DeltaInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_count1 = 1, soap_flag_firstSequence1 = 1, soap_flag_lastSequence1 = 1, soap_flag_lastTimePORebuild1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__DeltaInfo*)a)->count), ""))
- { soap_flag_count1 = 0;
- continue;
- }
- if (soap_flag_firstSequence1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:firstSequence", &(((ngwt__DeltaInfo*)a)->firstSequence), ""))
- { soap_flag_firstSequence1 = 0;
- continue;
- }
- if (soap_flag_lastSequence1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:lastSequence", &(((ngwt__DeltaInfo*)a)->lastSequence), ""))
- { soap_flag_lastSequence1 = 0;
- continue;
- }
- if (soap_flag_lastTimePORebuild1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_unsignedLong(soap, "ngwt:lastTimePORebuild", &(((ngwt__DeltaInfo*)a)->lastTimePORebuild), ""))
- { soap_flag_lastTimePORebuild1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_lastTimePORebuild1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DeltaInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaInfo, 0, sizeof(ngwt__DeltaInfo), 0, soap_copy_ngwt__DeltaInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_new_ngwt__DeltaInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DeltaInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_instantiate_ngwt__DeltaInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DeltaInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DeltaInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DeltaInfo;
- if (size)
- *size = sizeof(ngwt__DeltaInfo);
- ((ngwt__DeltaInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DeltaInfo[n];
- if (size)
- *size = n * sizeof(ngwt__DeltaInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__DeltaInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DeltaInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DeltaInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DeltaInfo %p -> %p\n", q, p));
- *(ngwt__DeltaInfo*)p = *(ngwt__DeltaInfo*)q;
-}
-
-void ngwt__DelegateeStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus);
- soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus);
- soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated);
- soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-void ngwt__DelegateeStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__DelegateeStatus*)this)->userid = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed);
- ((ngwt__RecipientStatus*)this)->transferFailed = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged);
- ((ngwt__RecipientStatus*)this)->accepted = NULL;
- ((ngwt__RecipientStatus*)this)->declined = NULL;
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed);
- soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete);
- ((ngwt__RecipientStatus*)this)->delegated = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus);
- /* transient soap skipped */
-}
-
-int ngwt__DelegateeStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DelegateeStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DelegateeStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DelegateeStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegateeStatus(struct soap *soap, const char *tag, int id, const ngwt__DelegateeStatus *a, const char *type)
-{
- if (((ngwt__DelegateeStatus *)a)->userid)
- soap_set_attr(soap, "userid", ((ngwt__DelegateeStatus *)a)->userid->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DelegateeStatus), "ngwt:DelegateeStatus");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), "");
- soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), "");
- soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), "");
- soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), "");
- soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), "");
- soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), "");
- soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "");
- soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), "");
- soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), "");
- soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), "");
- soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), "");
- soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), "");
- soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), "");
- soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), "");
- soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), "");
- soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), "");
- soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), "");
- soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), "");
- soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), "");
- soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), "");
- soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), "");
- soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DelegateeStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DelegateeStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_get_ngwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DelegateeStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DelegateeStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DelegateeStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_in_ngwt__DelegateeStatus(struct soap *soap, const char *tag, ngwt__DelegateeStatus *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DelegateeStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DelegateeStatus)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DelegateeStatus *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "userid", 0);
- if (t)
- { if (!(((ngwt__DelegateeStatus *)a)->userid = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__DelegateeStatus *)a)->userid = soap_new_std__string(soap, -1);
- ((ngwt__DelegateeStatus *)a)->userid->assign(s);
- }
- }
- }
- short soap_flag_delivered2 = 1, soap_flag_undeliverable2 = 1, soap_flag_transferred2 = 1, soap_flag_transferDelayed2 = 1, soap_flag_transferFailed2 = 1, soap_flag_downloaded2 = 1, soap_flag_downloadedByThirdParty2 = 1, soap_flag_retractRequested2 = 1, soap_flag_retracted2 = 1, soap_flag_opened2 = 1, soap_flag_deleted2 = 1, soap_flag_undeleted2 = 1, soap_flag_purged2 = 1, soap_flag_accepted2 = 1, soap_flag_declined2 = 1, soap_flag_replied2 = 1, soap_flag_forwarded2 = 1, soap_flag_shared2 = 1, soap_flag_started2 = 1, soap_flag_completed2 = 1, soap_flag_incomplete2 = 1, soap_flag_delegated2 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), ""))
- { soap_flag_delivered2 = 0;
- continue;
- }
- if (soap_flag_undeliverable2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), ""))
- { soap_flag_undeliverable2 = 0;
- continue;
- }
- if (soap_flag_transferred2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), ""))
- { soap_flag_transferred2 = 0;
- continue;
- }
- if (soap_flag_transferDelayed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), ""))
- { soap_flag_transferDelayed2 = 0;
- continue;
- }
- if (soap_flag_transferFailed2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus"))
- { soap_flag_transferFailed2 = 0;
- continue;
- }
- if (soap_flag_downloaded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), ""))
- { soap_flag_downloaded2 = 0;
- continue;
- }
- if (soap_flag_downloadedByThirdParty2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""))
- { soap_flag_downloadedByThirdParty2 = 0;
- continue;
- }
- if (soap_flag_retractRequested2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), ""))
- { soap_flag_retractRequested2 = 0;
- continue;
- }
- if (soap_flag_retracted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), ""))
- { soap_flag_retracted2 = 0;
- continue;
- }
- if (soap_flag_opened2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), ""))
- { soap_flag_opened2 = 0;
- continue;
- }
- if (soap_flag_deleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), ""))
- { soap_flag_deleted2 = 0;
- continue;
- }
- if (soap_flag_undeleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), ""))
- { soap_flag_undeleted2 = 0;
- continue;
- }
- if (soap_flag_purged2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), ""))
- { soap_flag_purged2 = 0;
- continue;
- }
- if (soap_flag_accepted2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus"))
- { soap_flag_accepted2 = 0;
- continue;
- }
- if (soap_flag_declined2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus"))
- { soap_flag_declined2 = 0;
- continue;
- }
- if (soap_flag_replied2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), ""))
- { soap_flag_replied2 = 0;
- continue;
- }
- if (soap_flag_forwarded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), ""))
- { soap_flag_forwarded2 = 0;
- continue;
- }
- if (soap_flag_shared2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), ""))
- { soap_flag_shared2 = 0;
- continue;
- }
- if (soap_flag_started2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), ""))
- { soap_flag_started2 = 0;
- continue;
- }
- if (soap_flag_completed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), ""))
- { soap_flag_completed2 = 0;
- continue;
- }
- if (soap_flag_incomplete2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), ""))
- { soap_flag_incomplete2 = 0;
- continue;
- }
- if (soap_flag_delegated2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus"))
- { soap_flag_delegated2 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DelegateeStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegateeStatus, 0, sizeof(ngwt__DelegateeStatus), 0, soap_copy_ngwt__DelegateeStatus);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_new_ngwt__DelegateeStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DelegateeStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegateeStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DelegateeStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DelegateeStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DelegateeStatus;
- if (size)
- *size = sizeof(ngwt__DelegateeStatus);
- ((ngwt__DelegateeStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DelegateeStatus[n];
- if (size)
- *size = n * sizeof(ngwt__DelegateeStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__DelegateeStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DelegateeStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegateeStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DelegateeStatus %p -> %p\n", q, p));
- *(ngwt__DelegateeStatus*)p = *(ngwt__DelegateeStatus*)q;
-}
-
-void ngwt__DelegatedStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DelegatedStatus*)this)->__item, SOAP_TYPE_PointerTongwt__CommentStatus);
- soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__DelegatedStatus*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__DelegatedStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__DelegatedStatus*)this)->__item = NULL;
- ((ngwt__DelegatedStatus*)this)->userid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__DelegatedStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DelegatedStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DelegatedStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DelegatedStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegatedStatus(struct soap *soap, const char *tag, int id, const ngwt__DelegatedStatus *a, const char *type)
-{
- if (((ngwt__DelegatedStatus *)a)->userid)
- soap_set_attr(soap, "userid", ((ngwt__DelegatedStatus *)a)->userid->c_str());
- soap_out_PointerTongwt__CommentStatus(soap, tag, id, &(((ngwt__DelegatedStatus*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__DelegatedStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DelegatedStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_get_ngwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DelegatedStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DelegatedStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DelegatedStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_in_ngwt__DelegatedStatus(struct soap *soap, const char *tag, ngwt__DelegatedStatus *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__DelegatedStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DelegatedStatus, sizeof(ngwt__DelegatedStatus), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DelegatedStatus)
- return (ngwt__DelegatedStatus *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "userid", 0);
- if (t)
- { if (!(((ngwt__DelegatedStatus *)a)->userid = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__DelegatedStatus *)a)->userid = soap_new_std__string(soap, -1);
- ((ngwt__DelegatedStatus *)a)->userid->assign(s);
- }
- }
- }
- if (!soap_in_PointerTongwt__CommentStatus(soap, tag, &(((ngwt__DelegatedStatus*)a)->__item), "ngwt:DelegatedStatus"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_new_ngwt__DelegatedStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DelegatedStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegatedStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DelegatedStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DelegatedStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DelegatedStatus;
- if (size)
- *size = sizeof(ngwt__DelegatedStatus);
- ((ngwt__DelegatedStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DelegatedStatus[n];
- if (size)
- *size = n * sizeof(ngwt__DelegatedStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__DelegatedStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DelegatedStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegatedStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DelegatedStatus %p -> %p\n", q, p));
- *(ngwt__DelegatedStatus*)p = *(ngwt__DelegatedStatus*)q;
-}
-
-void ngwt__DayOfYearWeekList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, &((ngwt__DayOfYearWeekList*)this)->day);
- /* transient soap skipped */
-}
-
-void ngwt__DayOfYearWeekList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, &((ngwt__DayOfYearWeekList*)this)->day);
- /* transient soap skipped */
-}
-
-int ngwt__DayOfYearWeekList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearWeekList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DayOfYearWeekList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DayOfYearWeekList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeekList(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearWeekList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfYearWeekList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, "ngwt:day", -1, &(((ngwt__DayOfYearWeekList*)a)->day), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DayOfYearWeekList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DayOfYearWeekList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfYearWeekList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DayOfYearWeekList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DayOfYearWeekList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeekList(struct soap *soap, const char *tag, ngwt__DayOfYearWeekList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DayOfYearWeekList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearWeekList, sizeof(ngwt__DayOfYearWeekList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearWeekList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DayOfYearWeekList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, "ngwt:day", &(((ngwt__DayOfYearWeekList*)a)->day), "ngwt:DayOfYearWeek"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DayOfYearWeekList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeekList, 0, sizeof(ngwt__DayOfYearWeekList), 0, soap_copy_ngwt__DayOfYearWeekList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeekList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DayOfYearWeekList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeekList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearWeekList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearWeekList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DayOfYearWeekList;
- if (size)
- *size = sizeof(ngwt__DayOfYearWeekList);
- ((ngwt__DayOfYearWeekList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DayOfYearWeekList[n];
- if (size)
- *size = n * sizeof(ngwt__DayOfYearWeekList);
- for (int i = 0; i < n; i++)
- ((ngwt__DayOfYearWeekList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DayOfYearWeekList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeekList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearWeekList %p -> %p\n", q, p));
- *(ngwt__DayOfYearWeekList*)p = *(ngwt__DayOfYearWeekList*)q;
-}
-
-void ngwt__DayOfYearWeek::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DayOfYearWeek*)this)->__item, SOAP_TYPE_ngwt__WeekDay);
- /* transient soap skipped */
-}
-
-void ngwt__DayOfYearWeek::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__WeekDay(soap, &((ngwt__DayOfYearWeek*)this)->__item);
- ((ngwt__DayOfYearWeek*)this)->occurrence = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__DayOfYearWeek::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearWeek);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DayOfYearWeek::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DayOfYearWeek(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearWeek *a, const char *type)
-{
- if (((ngwt__DayOfYearWeek *)a)->occurrence)
- soap_set_attr(soap, "occurrence", soap_short2s(soap, *((ngwt__DayOfYearWeek *)a)->occurrence));
- soap_out_ngwt__WeekDay(soap, tag, id, &(((ngwt__DayOfYearWeek*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__DayOfYearWeek::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DayOfYearWeek(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfYearWeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DayOfYearWeek::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DayOfYearWeek(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeek(struct soap *soap, const char *tag, ngwt__DayOfYearWeek *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__DayOfYearWeek *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearWeek)
- return (ngwt__DayOfYearWeek *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "occurrence", 0);
- if (t)
- { if (!(((ngwt__DayOfYearWeek *)a)->occurrence = (short *)soap_malloc(soap, sizeof(short))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2short(soap, t, ((ngwt__DayOfYearWeek *)a)->occurrence))
- return NULL;
- }
- }
- if (!soap_in_ngwt__WeekDay(soap, tag, &(((ngwt__DayOfYearWeek*)a)->__item), "ngwt:DayOfYearWeek"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeek(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DayOfYearWeek(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearWeek, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DayOfYearWeek;
- if (size)
- *size = sizeof(ngwt__DayOfYearWeek);
- ((ngwt__DayOfYearWeek*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DayOfYearWeek[n];
- if (size)
- *size = n * sizeof(ngwt__DayOfYearWeek);
- for (int i = 0; i < n; i++)
- ((ngwt__DayOfYearWeek*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DayOfYearWeek*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearWeek %p -> %p\n", q, p));
- *(ngwt__DayOfYearWeek*)p = *(ngwt__DayOfYearWeek*)q;
-}
-
-void ngwt__DayOfYearList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__DayOfYear(soap, &((ngwt__DayOfYearList*)this)->day);
- /* transient soap skipped */
-}
-
-void ngwt__DayOfYearList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__DayOfYear(soap, &((ngwt__DayOfYearList*)this)->day);
- /* transient soap skipped */
-}
-
-int ngwt__DayOfYearList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DayOfYearList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DayOfYearList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearList(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfYearList), type);
- soap_out_std__vectorTemplateOfngwt__DayOfYear(soap, "ngwt:day", -1, &(((ngwt__DayOfYearList*)a)->day), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DayOfYearList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DayOfYearList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_get_ngwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfYearList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DayOfYearList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DayOfYearList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_in_ngwt__DayOfYearList(struct soap *soap, const char *tag, ngwt__DayOfYearList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DayOfYearList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearList, sizeof(ngwt__DayOfYearList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DayOfYearList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__DayOfYear(soap, "ngwt:day", &(((ngwt__DayOfYearList*)a)->day), "ngwt:DayOfYear"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DayOfYearList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearList, 0, sizeof(ngwt__DayOfYearList), 0, soap_copy_ngwt__DayOfYearList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_new_ngwt__DayOfYearList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DayOfYearList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DayOfYearList;
- if (size)
- *size = sizeof(ngwt__DayOfYearList);
- ((ngwt__DayOfYearList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DayOfYearList[n];
- if (size)
- *size = n * sizeof(ngwt__DayOfYearList);
- for (int i = 0; i < n; i++)
- ((ngwt__DayOfYearList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DayOfYearList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearList %p -> %p\n", q, p));
- *(ngwt__DayOfYearList*)p = *(ngwt__DayOfYearList*)q;
-}
-
-void ngwt__DayOfWeek::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__DayOfWeek*)this)->__item, SOAP_TYPE_ngwt__WeekDay);
- /* transient soap skipped */
-}
-
-void ngwt__DayOfWeek::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__WeekDay(soap, &((ngwt__DayOfWeek*)this)->__item);
- ((ngwt__DayOfWeek*)this)->occurrence = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__DayOfWeek::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfWeek);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DayOfWeek::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DayOfWeek(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfWeek(struct soap *soap, const char *tag, int id, const ngwt__DayOfWeek *a, const char *type)
-{
- if (((ngwt__DayOfWeek *)a)->occurrence)
- soap_set_attr(soap, "occurrence", soap_ngwt__OccurrenceType2s(soap, *((ngwt__DayOfWeek *)a)->occurrence));
- soap_out_ngwt__WeekDay(soap, tag, id, &(((ngwt__DayOfWeek*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__DayOfWeek::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DayOfWeek(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_get_ngwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfWeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DayOfWeek::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DayOfWeek(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_in_ngwt__DayOfWeek(struct soap *soap, const char *tag, ngwt__DayOfWeek *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__DayOfWeek *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfWeek, sizeof(ngwt__DayOfWeek), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DayOfWeek)
- return (ngwt__DayOfWeek *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "occurrence", 0);
- if (t)
- { if (!(((ngwt__DayOfWeek *)a)->occurrence = (enum ngwt__OccurrenceType *)soap_malloc(soap, sizeof(enum ngwt__OccurrenceType))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2ngwt__OccurrenceType(soap, t, ((ngwt__DayOfWeek *)a)->occurrence))
- return NULL;
- }
- }
- if (!soap_in_ngwt__WeekDay(soap, tag, &(((ngwt__DayOfWeek*)a)->__item), "ngwt:DayOfWeek"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_new_ngwt__DayOfWeek(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DayOfWeek(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfWeek, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DayOfWeek;
- if (size)
- *size = sizeof(ngwt__DayOfWeek);
- ((ngwt__DayOfWeek*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DayOfWeek[n];
- if (size)
- *size = n * sizeof(ngwt__DayOfWeek);
- for (int i = 0; i < n; i++)
- ((ngwt__DayOfWeek*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DayOfWeek*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfWeek %p -> %p\n", q, p));
- *(ngwt__DayOfWeek*)p = *(ngwt__DayOfWeek*)q;
-}
-
-void ngwt__DayOfMonthList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(soap, &((ngwt__DayOfMonthList*)this)->day);
- /* transient soap skipped */
-}
-
-void ngwt__DayOfMonthList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__DayOfMonth(soap, &((ngwt__DayOfMonthList*)this)->day);
- /* transient soap skipped */
-}
-
-int ngwt__DayOfMonthList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfMonthList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__DayOfMonthList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__DayOfMonthList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonthList(struct soap *soap, const char *tag, int id, const ngwt__DayOfMonthList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfMonthList), type);
- soap_out_std__vectorTemplateOfngwt__DayOfMonth(soap, "ngwt:day", -1, &(((ngwt__DayOfMonthList*)a)->day), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__DayOfMonthList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__DayOfMonthList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_get_ngwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__DayOfMonthList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__DayOfMonthList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__DayOfMonthList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_in_ngwt__DayOfMonthList(struct soap *soap, const char *tag, ngwt__DayOfMonthList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__DayOfMonthList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfMonthList, sizeof(ngwt__DayOfMonthList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__DayOfMonthList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__DayOfMonthList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__DayOfMonth(soap, "ngwt:day", &(((ngwt__DayOfMonthList*)a)->day), "ngwt:DayOfMonth"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__DayOfMonthList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfMonthList, 0, sizeof(ngwt__DayOfMonthList), 0, soap_copy_ngwt__DayOfMonthList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_new_ngwt__DayOfMonthList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__DayOfMonthList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfMonthList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfMonthList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfMonthList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DayOfMonthList;
- if (size)
- *size = sizeof(ngwt__DayOfMonthList);
- ((ngwt__DayOfMonthList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DayOfMonthList[n];
- if (size)
- *size = n * sizeof(ngwt__DayOfMonthList);
- for (int i = 0; i < n; i++)
- ((ngwt__DayOfMonthList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DayOfMonthList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfMonthList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfMonthList %p -> %p\n", q, p));
- *(ngwt__DayOfMonthList*)p = *(ngwt__DayOfMonthList*)q;
-}
-
-void ngwt__CustomList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__CustomList*)this)->custom);
- /* transient soap skipped */
-}
-
-void ngwt__CustomList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__CustomList*)this)->custom);
- /* transient soap skipped */
-}
-
-int ngwt__CustomList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CustomList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CustomList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CustomList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomList(struct soap *soap, const char *tag, int id, const ngwt__CustomList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CustomList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:custom", -1, &(((ngwt__CustomList*)a)->custom), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__CustomList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CustomList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_get_ngwt__CustomList(struct soap *soap, ngwt__CustomList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CustomList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CustomList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CustomList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_in_ngwt__CustomList(struct soap *soap, const char *tag, ngwt__CustomList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__CustomList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CustomList, sizeof(ngwt__CustomList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CustomList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__CustomList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:custom", &(((ngwt__CustomList*)a)->custom), "ngwt:Custom"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__CustomList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomList, 0, sizeof(ngwt__CustomList), 0, soap_copy_ngwt__CustomList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_new_ngwt__CustomList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CustomList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CustomList(struct soap *soap, ngwt__CustomList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_instantiate_ngwt__CustomList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CustomList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CustomList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CustomList;
- if (size)
- *size = sizeof(ngwt__CustomList);
- ((ngwt__CustomList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CustomList[n];
- if (size)
- *size = n * sizeof(ngwt__CustomList);
- for (int i = 0; i < n; i++)
- ((ngwt__CustomList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CustomList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CustomList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CustomList %p -> %p\n", q, p));
- *(ngwt__CustomList*)p = *(ngwt__CustomList*)q;
-}
-
-void ngwt__Custom::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Custom*)this)->field, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__Custom*)this)->field);
- soap_embedded(soap, &((ngwt__Custom*)this)->value, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Custom*)this)->value);
- soap_embedded(soap, &((ngwt__Custom*)this)->locked, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Custom*)this)->locked);
- /* transient soap skipped */
-}
-
-void ngwt__Custom::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__Custom*)this)->field);
- ((ngwt__Custom*)this)->value = NULL;
- ((ngwt__Custom*)this)->locked = NULL;
- ((ngwt__Custom*)this)->type = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Custom::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Custom);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Custom::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Custom(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Custom(struct soap *soap, const char *tag, int id, const ngwt__Custom *a, const char *type)
-{
- if (((ngwt__Custom *)a)->type)
- soap_set_attr(soap, "type", soap_ngwt__CustomType2s(soap, *((ngwt__Custom *)a)->type));
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Custom), type);
- soap_out_std__string(soap, "ngwt:field", -1, &(((ngwt__Custom*)a)->field), "");
- soap_out_PointerTostd__string(soap, "ngwt:value", -1, &(((ngwt__Custom*)a)->value), "");
- soap_out_PointerTobool(soap, "ngwt:locked", -1, &(((ngwt__Custom*)a)->locked), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Custom::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Custom(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_get_ngwt__Custom(struct soap *soap, ngwt__Custom *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Custom(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Custom::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Custom(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_in_ngwt__Custom(struct soap *soap, const char *tag, ngwt__Custom *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Custom *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Custom, sizeof(ngwt__Custom), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Custom)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Custom *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "type", 0);
- if (t)
- { if (!(((ngwt__Custom *)a)->type = (enum ngwt__CustomType *)soap_malloc(soap, sizeof(enum ngwt__CustomType))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2ngwt__CustomType(soap, t, ((ngwt__Custom *)a)->type))
- return NULL;
- }
- }
- short soap_flag_field1 = 1, soap_flag_value1 = 1, soap_flag_locked1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_field1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:field", &(((ngwt__Custom*)a)->field), ""))
- { soap_flag_field1 = 0;
- continue;
- }
- if (soap_flag_value1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:value", &(((ngwt__Custom*)a)->value), ""))
- { soap_flag_value1 = 0;
- continue;
- }
- if (soap_flag_locked1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:locked", &(((ngwt__Custom*)a)->locked), ""))
- { soap_flag_locked1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_field1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Custom *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Custom, 0, sizeof(ngwt__Custom), 0, soap_copy_ngwt__Custom);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_new_ngwt__Custom(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Custom(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Custom(struct soap *soap, ngwt__Custom *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_instantiate_ngwt__Custom(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Custom(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Custom, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Custom;
- if (size)
- *size = sizeof(ngwt__Custom);
- ((ngwt__Custom*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Custom[n];
- if (size)
- *size = n * sizeof(ngwt__Custom);
- for (int i = 0; i < n; i++)
- ((ngwt__Custom*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Custom*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Custom(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Custom %p -> %p\n", q, p));
- *(ngwt__Custom*)p = *(ngwt__Custom*)q;
-}
-
-void ngwt__ContainerRef::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ContainerRef*)this)->__item, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &((ngwt__ContainerRef*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__ContainerRef::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__string(soap, &((ngwt__ContainerRef*)this)->__item);
- soap_default_string(soap, &((ngwt__ContainerRef*)this)->deleted);
- /* transient soap skipped */
-}
-
-int ngwt__ContainerRef::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContainerRef);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ContainerRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ContainerRef(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerRef(struct soap *soap, const char *tag, int id, const ngwt__ContainerRef *a, const char *type)
-{
- if (((ngwt__ContainerRef *)a)->deleted)
- soap_set_attr(soap, "deleted", ((ngwt__ContainerRef *)a)->deleted);
- soap_out_std__string(soap, tag, id, &(((ngwt__ContainerRef*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__ContainerRef::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ContainerRef(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_get_ngwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ContainerRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ContainerRef::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ContainerRef(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_in_ngwt__ContainerRef(struct soap *soap, const char *tag, ngwt__ContainerRef *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__ContainerRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContainerRef, sizeof(ngwt__ContainerRef), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ContainerRef)
- return (ngwt__ContainerRef *)a->soap_in(soap, tag, type);
- }
- if (soap_s2string(soap, soap_attr_value(soap, "deleted", 0), &((ngwt__ContainerRef *)a)->deleted))
- return NULL;
- if (!soap_in_std__string(soap, tag, &(((ngwt__ContainerRef*)a)->__item), "ngwt:ContainerRef"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_new_ngwt__ContainerRef(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ContainerRef(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_instantiate_ngwt__ContainerRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContainerRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContainerRef, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContainerRef;
- if (size)
- *size = sizeof(ngwt__ContainerRef);
- ((ngwt__ContainerRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContainerRef[n];
- if (size)
- *size = n * sizeof(ngwt__ContainerRef);
- for (int i = 0; i < n; i++)
- ((ngwt__ContainerRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContainerRef*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContainerRef %p -> %p\n", q, p));
- *(ngwt__ContainerRef*)p = *(ngwt__ContainerRef*)q;
-}
-
-void ngwt__ContainerItem::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__ContainerItem::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ContainerItem::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContainerItem);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ContainerItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ContainerItem(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerItem(struct soap *soap, const char *tag, int id, const ngwt__ContainerItem *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContainerItem), "ngwt:ContainerItem");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ContainerItem::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ContainerItem(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_get_ngwt__ContainerItem(struct soap *soap, ngwt__ContainerItem *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ContainerItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ContainerItem::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ContainerItem(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_in_ngwt__ContainerItem(struct soap *soap, const char *tag, ngwt__ContainerItem *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ContainerItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContainerItem, sizeof(ngwt__ContainerItem), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ContainerItem)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ContainerItem *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_categories1 = 1, soap_flag_created1 = 1, soap_flag_customs1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id2 = 0;
- continue;
- }
- if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name2 = 0;
- continue;
- }
- if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version2 = 0;
- continue;
- }
- if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified2 = 0;
- continue;
- }
- if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories1 = 0;
- continue;
- }
- if (soap_flag_created1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created1 = 0;
- continue;
- }
- if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ContainerItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContainerItem, 0, sizeof(ngwt__ContainerItem), 0, soap_copy_ngwt__ContainerItem);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_new_ngwt__ContainerItem(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ContainerItem(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerItem(struct soap *soap, ngwt__ContainerItem *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_instantiate_ngwt__ContainerItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContainerItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContainerItem, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:AddressBookItem"))
- { cp->type = SOAP_TYPE_ngwt__AddressBookItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBookItem;
- if (size)
- *size = sizeof(ngwt__AddressBookItem);
- ((ngwt__AddressBookItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBookItem[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBookItem);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBookItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:BoxEntry"))
- { cp->type = SOAP_TYPE_ngwt__BoxEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__BoxEntry;
- if (size)
- *size = sizeof(ngwt__BoxEntry);
- ((ngwt__BoxEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__BoxEntry[n];
- if (size)
- *size = n * sizeof(ngwt__BoxEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__BoxEntry*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Document"))
- { cp->type = SOAP_TYPE_ngwt__Document;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Document;
- if (size)
- *size = sizeof(ngwt__Document);
- ((ngwt__Document*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Document[n];
- if (size)
- *size = n * sizeof(ngwt__Document);
- for (int i = 0; i < n; i++)
- ((ngwt__Document*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Document*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Rule"))
- { cp->type = SOAP_TYPE_ngwt__Rule;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Rule;
- if (size)
- *size = sizeof(ngwt__Rule);
- ((ngwt__Rule*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Rule[n];
- if (size)
- *size = n * sizeof(ngwt__Rule);
- for (int i = 0; i < n; i++)
- ((ngwt__Rule*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Rule*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Version"))
- { cp->type = SOAP_TYPE_ngwt__Version;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Version;
- if (size)
- *size = sizeof(ngwt__Version);
- ((ngwt__Version*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Version[n];
- if (size)
- *size = n * sizeof(ngwt__Version);
- for (int i = 0; i < n; i++)
- ((ngwt__Version*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Version*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:VersionEvent"))
- { cp->type = SOAP_TYPE_ngwt__VersionEvent;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__VersionEvent;
- if (size)
- *size = sizeof(ngwt__VersionEvent);
- ((ngwt__VersionEvent*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__VersionEvent[n];
- if (size)
- *size = n * sizeof(ngwt__VersionEvent);
- for (int i = 0; i < n; i++)
- ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__VersionEvent*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Contact"))
- { cp->type = SOAP_TYPE_ngwt__Contact;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Contact;
- if (size)
- *size = sizeof(ngwt__Contact);
- ((ngwt__Contact*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Contact[n];
- if (size)
- *size = n * sizeof(ngwt__Contact);
- for (int i = 0; i < n; i++)
- ((ngwt__Contact*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Contact*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Group"))
- { cp->type = SOAP_TYPE_ngwt__Group;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Group;
- if (size)
- *size = sizeof(ngwt__Group);
- ((ngwt__Group*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Group[n];
- if (size)
- *size = n * sizeof(ngwt__Group);
- for (int i = 0; i < n; i++)
- ((ngwt__Group*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Group*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Mail"))
- { cp->type = SOAP_TYPE_ngwt__Mail;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Mail;
- if (size)
- *size = sizeof(ngwt__Mail);
- ((ngwt__Mail*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Mail[n];
- if (size)
- *size = n * sizeof(ngwt__Mail);
- for (int i = 0; i < n; i++)
- ((ngwt__Mail*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Mail*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Organization"))
- { cp->type = SOAP_TYPE_ngwt__Organization;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Organization;
- if (size)
- *size = sizeof(ngwt__Organization);
- ((ngwt__Organization*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Organization[n];
- if (size)
- *size = n * sizeof(ngwt__Organization);
- for (int i = 0; i < n; i++)
- ((ngwt__Organization*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Organization*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Resource"))
- { cp->type = SOAP_TYPE_ngwt__Resource;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Resource;
- if (size)
- *size = sizeof(ngwt__Resource);
- ((ngwt__Resource*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Resource[n];
- if (size)
- *size = n * sizeof(ngwt__Resource);
- for (int i = 0; i < n; i++)
- ((ngwt__Resource*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Resource*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem"))
- { cp->type = SOAP_TYPE_ngwt__CalendarItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarItem;
- if (size)
- *size = sizeof(ngwt__CalendarItem);
- ((ngwt__CalendarItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarItem[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarItem);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef"))
- { cp->type = SOAP_TYPE_ngwt__DocumentRef;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentRef;
- if (size)
- *size = sizeof(ngwt__DocumentRef);
- ((ngwt__DocumentRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentRef[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentRef);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentRef*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage"))
- { cp->type = SOAP_TYPE_ngwt__PhoneMessage;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneMessage;
- if (size)
- *size = sizeof(ngwt__PhoneMessage);
- ((ngwt__PhoneMessage*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneMessage[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneMessage);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneMessage*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification"))
- { cp->type = SOAP_TYPE_ngwt__SharedNotification;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedNotification;
- if (size)
- *size = sizeof(ngwt__SharedNotification);
- ((ngwt__SharedNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedNotification*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Appointment"))
- { cp->type = SOAP_TYPE_ngwt__Appointment;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Note"))
- { cp->type = SOAP_TYPE_ngwt__Note;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Task"))
- { cp->type = SOAP_TYPE_ngwt__Task;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContainerItem;
- if (size)
- *size = sizeof(ngwt__ContainerItem);
- ((ngwt__ContainerItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContainerItem[n];
- if (size)
- *size = n * sizeof(ngwt__ContainerItem);
- for (int i = 0; i < n; i++)
- ((ngwt__ContainerItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContainerItem*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContainerItem %p -> %p\n", q, p));
- *(ngwt__ContainerItem*)p = *(ngwt__ContainerItem*)q;
-}
-
-void ngwt__ContactFolder::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__ContactFolder*)this)->addressBook, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__ContactFolder*)this)->addressBook);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSystemFolder, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSystemFolder);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType);
- soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__SystemFolder*)this)->folderType);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL);
- soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SystemFolder*)this)->acl);
- soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSharedByMe);
- soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description);
- soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count);
- soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread);
- soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint);
- soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount);
- soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence);
- soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings);
- soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__ContactFolder::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__ContactFolder*)this)->addressBook = NULL;
- ((ngwt__SystemFolder*)this)->isSystemFolder = NULL;
- ((ngwt__SystemFolder*)this)->folderType = NULL;
- ((ngwt__SystemFolder*)this)->acl = NULL;
- ((ngwt__SystemFolder*)this)->isSharedByMe = NULL;
- soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent);
- ((ngwt__Folder*)this)->description = NULL;
- ((ngwt__Folder*)this)->count = NULL;
- ((ngwt__Folder*)this)->hasUnread = NULL;
- ((ngwt__Folder*)this)->unreadCount = NULL;
- ((ngwt__Folder*)this)->sequence = NULL;
- ((ngwt__Folder*)this)->settings = NULL;
- ((ngwt__Folder*)this)->calendarAttribute = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__ContactFolder::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContactFolder);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__ContactFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__ContactFolder(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactFolder(struct soap *soap, const char *tag, int id, const ngwt__ContactFolder *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContactFolder), "ngwt:ContactFolder");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), "");
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), "");
- soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), "");
- soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), "");
- soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), "");
- soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), "");
- soap_out_PointerTobool(soap, "ngwt:isSystemFolder", -1, &(((ngwt__SystemFolder*)a)->isSystemFolder), "");
- soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__SystemFolder*)a)->folderType), "");
- soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SystemFolder*)a)->acl), "");
- soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SystemFolder*)a)->isSharedByMe), "");
- soap_out_PointerTongwt__uid(soap, "ngwt:addressBook", -1, &(((ngwt__ContactFolder*)a)->addressBook), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__ContactFolder::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__ContactFolder(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_get_ngwt__ContactFolder(struct soap *soap, ngwt__ContactFolder *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__ContactFolder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__ContactFolder::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__ContactFolder(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_in_ngwt__ContactFolder(struct soap *soap, const char *tag, ngwt__ContactFolder *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__ContactFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContactFolder, sizeof(ngwt__ContactFolder), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__ContactFolder)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__ContactFolder *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_parent3 = 1, soap_flag_description3 = 1, soap_flag_count3 = 1, soap_flag_hasUnread3 = 1, soap_flag_unreadCount3 = 1, soap_flag_sequence3 = 1, soap_flag_settings3 = 1, soap_flag_calendarAttribute3 = 1, soap_flag_isSystemFolder2 = 1, soap_flag_folderType2 = 1, soap_flag_acl2 = 1, soap_flag_isSharedByMe2 = 1, soap_flag_addressBook1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_parent3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid"))
- { soap_flag_parent3 = 0;
- continue;
- }
- if (soap_flag_description3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), ""))
- { soap_flag_description3 = 0;
- continue;
- }
- if (soap_flag_count3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), ""))
- { soap_flag_count3 = 0;
- continue;
- }
- if (soap_flag_hasUnread3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), ""))
- { soap_flag_hasUnread3 = 0;
- continue;
- }
- if (soap_flag_unreadCount3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), ""))
- { soap_flag_unreadCount3 = 0;
- continue;
- }
- if (soap_flag_sequence3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), ""))
- { soap_flag_sequence3 = 0;
- continue;
- }
- if (soap_flag_settings3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid"))
- { soap_flag_settings3 = 0;
- continue;
- }
- if (soap_flag_calendarAttribute3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute"))
- { soap_flag_calendarAttribute3 = 0;
- continue;
- }
- if (soap_flag_isSystemFolder2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSystemFolder", &(((ngwt__SystemFolder*)a)->isSystemFolder), ""))
- { soap_flag_isSystemFolder2 = 0;
- continue;
- }
- if (soap_flag_folderType2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__SystemFolder*)a)->folderType), ""))
- { soap_flag_folderType2 = 0;
- continue;
- }
- if (soap_flag_acl2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SystemFolder*)a)->acl), "ngwt:FolderACL"))
- { soap_flag_acl2 = 0;
- continue;
- }
- if (soap_flag_isSharedByMe2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SystemFolder*)a)->isSharedByMe), ""))
- { soap_flag_isSharedByMe2 = 0;
- continue;
- }
- if (soap_flag_addressBook1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:addressBook", &(((ngwt__ContactFolder*)a)->addressBook), "ngwt:uid"))
- { soap_flag_addressBook1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent3))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__ContactFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContactFolder, 0, sizeof(ngwt__ContactFolder), 0, soap_copy_ngwt__ContactFolder);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_new_ngwt__ContactFolder(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__ContactFolder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContactFolder(struct soap *soap, ngwt__ContactFolder *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_instantiate_ngwt__ContactFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContactFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContactFolder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__ContactFolder;
- if (size)
- *size = sizeof(ngwt__ContactFolder);
- ((ngwt__ContactFolder*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__ContactFolder[n];
- if (size)
- *size = n * sizeof(ngwt__ContactFolder);
- for (int i = 0; i < n; i++)
- ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__ContactFolder*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContactFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContactFolder %p -> %p\n", q, p));
- *(ngwt__ContactFolder*)p = *(ngwt__ContactFolder*)q;
-}
-
-void ngwt__Contact::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Contact*)this)->fullName, SOAP_TYPE_PointerTongwt__FullName);
- soap_serialize_PointerTongwt__FullName(soap, &((ngwt__Contact*)this)->fullName);
- soap_embedded(soap, &((ngwt__Contact*)this)->emailList, SOAP_TYPE_PointerTongwt__EmailAddressList);
- soap_serialize_PointerTongwt__EmailAddressList(soap, &((ngwt__Contact*)this)->emailList);
- soap_embedded(soap, &((ngwt__Contact*)this)->imList, SOAP_TYPE_PointerTongwt__ImAddressList);
- soap_serialize_PointerTongwt__ImAddressList(soap, &((ngwt__Contact*)this)->imList);
- soap_embedded(soap, &((ngwt__Contact*)this)->phoneList, SOAP_TYPE_PointerTongwt__PhoneList);
- soap_serialize_PointerTongwt__PhoneList(soap, &((ngwt__Contact*)this)->phoneList);
- soap_embedded(soap, &((ngwt__Contact*)this)->addressList, SOAP_TYPE_PointerTongwt__PostalAddressList);
- soap_serialize_PointerTongwt__PostalAddressList(soap, &((ngwt__Contact*)this)->addressList);
- soap_embedded(soap, &((ngwt__Contact*)this)->officeInfo, SOAP_TYPE_PointerTongwt__OfficeInfo);
- soap_serialize_PointerTongwt__OfficeInfo(soap, &((ngwt__Contact*)this)->officeInfo);
- soap_embedded(soap, &((ngwt__Contact*)this)->personalInfo, SOAP_TYPE_PointerTongwt__PersonalInfo);
- soap_serialize_PointerTongwt__PersonalInfo(soap, &((ngwt__Contact*)this)->personalInfo);
- soap_embedded(soap, &((ngwt__Contact*)this)->referenceInfo, SOAP_TYPE_PointerTongwt__ReferenceInfo);
- soap_serialize_PointerTongwt__ReferenceInfo(soap, &((ngwt__Contact*)this)->referenceInfo);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Contact::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Contact*)this)->fullName = NULL;
- ((ngwt__Contact*)this)->emailList = NULL;
- ((ngwt__Contact*)this)->imList = NULL;
- ((ngwt__Contact*)this)->phoneList = NULL;
- ((ngwt__Contact*)this)->addressList = NULL;
- ((ngwt__Contact*)this)->officeInfo = NULL;
- ((ngwt__Contact*)this)->personalInfo = NULL;
- ((ngwt__Contact*)this)->referenceInfo = NULL;
- ((ngwt__AddressBookItem*)this)->uuid = NULL;
- ((ngwt__AddressBookItem*)this)->comment = NULL;
- ((ngwt__AddressBookItem*)this)->sync = NULL;
- ((ngwt__AddressBookItem*)this)->domain = NULL;
- ((ngwt__AddressBookItem*)this)->postOffice = NULL;
- ((ngwt__AddressBookItem*)this)->distinguishedName = NULL;
- ((ngwt__AddressBookItem*)this)->userid = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Contact::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Contact);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Contact::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Contact(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Contact(struct soap *soap, const char *tag, int id, const ngwt__Contact *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Contact), "ngwt:Contact");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), "");
- soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), "");
- soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), "");
- soap_out_PointerTongwt__FullName(soap, "ngwt:fullName", -1, &(((ngwt__Contact*)a)->fullName), "");
- soap_out_PointerTongwt__EmailAddressList(soap, "ngwt:emailList", -1, &(((ngwt__Contact*)a)->emailList), "");
- soap_out_PointerTongwt__ImAddressList(soap, "ngwt:imList", -1, &(((ngwt__Contact*)a)->imList), "");
- soap_out_PointerTongwt__PhoneList(soap, "ngwt:phoneList", -1, &(((ngwt__Contact*)a)->phoneList), "");
- soap_out_PointerTongwt__PostalAddressList(soap, "ngwt:addressList", -1, &(((ngwt__Contact*)a)->addressList), "");
- soap_out_PointerTongwt__OfficeInfo(soap, "ngwt:officeInfo", -1, &(((ngwt__Contact*)a)->officeInfo), "");
- soap_out_PointerTongwt__PersonalInfo(soap, "ngwt:personalInfo", -1, &(((ngwt__Contact*)a)->personalInfo), "");
- soap_out_PointerTongwt__ReferenceInfo(soap, "ngwt:referenceInfo", -1, &(((ngwt__Contact*)a)->referenceInfo), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Contact::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Contact(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_get_ngwt__Contact(struct soap *soap, ngwt__Contact *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Contact(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Contact::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Contact(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_in_ngwt__Contact(struct soap *soap, const char *tag, ngwt__Contact *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Contact *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Contact, sizeof(ngwt__Contact), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Contact)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Contact *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_fullName1 = 1, soap_flag_emailList1 = 1, soap_flag_imList1 = 1, soap_flag_phoneList1 = 1, soap_flag_addressList1 = 1, soap_flag_officeInfo1 = 1, soap_flag_personalInfo1 = 1, soap_flag_referenceInfo1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id4 = 0;
- continue;
- }
- if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name4 = 0;
- continue;
- }
- if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version4 = 0;
- continue;
- }
- if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified4 = 0;
- continue;
- }
- if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes4 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories3 = 0;
- continue;
- }
- if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created3 = 0;
- continue;
- }
- if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs3 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), ""))
- { soap_flag_comment2 = 0;
- continue;
- }
- if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), ""))
- { soap_flag_sync2 = 0;
- continue;
- }
- if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), ""))
- { soap_flag_domain2 = 0;
- continue;
- }
- if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), ""))
- { soap_flag_postOffice2 = 0;
- continue;
- }
- if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), ""))
- { soap_flag_distinguishedName2 = 0;
- continue;
- }
- if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), ""))
- { soap_flag_userid2 = 0;
- continue;
- }
- if (soap_flag_fullName1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__FullName(soap, "ngwt:fullName", &(((ngwt__Contact*)a)->fullName), "ngwt:FullName"))
- { soap_flag_fullName1 = 0;
- continue;
- }
- if (soap_flag_emailList1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__EmailAddressList(soap, "ngwt:emailList", &(((ngwt__Contact*)a)->emailList), "ngwt:EmailAddressList"))
- { soap_flag_emailList1 = 0;
- continue;
- }
- if (soap_flag_imList1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ImAddressList(soap, "ngwt:imList", &(((ngwt__Contact*)a)->imList), "ngwt:ImAddressList"))
- { soap_flag_imList1 = 0;
- continue;
- }
- if (soap_flag_phoneList1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__PhoneList(soap, "ngwt:phoneList", &(((ngwt__Contact*)a)->phoneList), "ngwt:PhoneList"))
- { soap_flag_phoneList1 = 0;
- continue;
- }
- if (soap_flag_addressList1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__PostalAddressList(soap, "ngwt:addressList", &(((ngwt__Contact*)a)->addressList), "ngwt:PostalAddressList"))
- { soap_flag_addressList1 = 0;
- continue;
- }
- if (soap_flag_officeInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__OfficeInfo(soap, "ngwt:officeInfo", &(((ngwt__Contact*)a)->officeInfo), "ngwt:OfficeInfo"))
- { soap_flag_officeInfo1 = 0;
- continue;
- }
- if (soap_flag_personalInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__PersonalInfo(soap, "ngwt:personalInfo", &(((ngwt__Contact*)a)->personalInfo), "ngwt:PersonalInfo"))
- { soap_flag_personalInfo1 = 0;
- continue;
- }
- if (soap_flag_referenceInfo1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ReferenceInfo(soap, "ngwt:referenceInfo", &(((ngwt__Contact*)a)->referenceInfo), "ngwt:ReferenceInfo"))
- { soap_flag_referenceInfo1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Contact *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Contact, 0, sizeof(ngwt__Contact), 0, soap_copy_ngwt__Contact);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_new_ngwt__Contact(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Contact(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Contact(struct soap *soap, ngwt__Contact *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_instantiate_ngwt__Contact(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Contact(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Contact, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Contact;
- if (size)
- *size = sizeof(ngwt__Contact);
- ((ngwt__Contact*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Contact[n];
- if (size)
- *size = n * sizeof(ngwt__Contact);
- for (int i = 0; i < n; i++)
- ((ngwt__Contact*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Contact*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Contact(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Contact %p -> %p\n", q, p));
- *(ngwt__Contact*)p = *(ngwt__Contact*)q;
-}
-
-void ngwt__CommentStatus::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__CommentStatus*)this)->__item, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__CommentStatus*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__CommentStatus::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((ngwt__CommentStatus*)this)->__item);
- ((ngwt__CommentStatus*)this)->comment = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__CommentStatus::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CommentStatus);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CommentStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CommentStatus(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CommentStatus(struct soap *soap, const char *tag, int id, const ngwt__CommentStatus *a, const char *type)
-{
- if (((ngwt__CommentStatus *)a)->comment)
- soap_set_attr(soap, "comment", ((ngwt__CommentStatus *)a)->comment->c_str());
- soap_out_string(soap, tag, id, &(((ngwt__CommentStatus*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__CommentStatus::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CommentStatus(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_get_ngwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CommentStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CommentStatus::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CommentStatus(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_in_ngwt__CommentStatus(struct soap *soap, const char *tag, ngwt__CommentStatus *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__CommentStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CommentStatus, sizeof(ngwt__CommentStatus), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CommentStatus)
- return (ngwt__CommentStatus *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "comment", 0);
- if (t)
- { if (!(((ngwt__CommentStatus *)a)->comment = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__CommentStatus *)a)->comment = soap_new_std__string(soap, -1);
- ((ngwt__CommentStatus *)a)->comment->assign(s);
- }
- }
- }
- if (!soap_in_string(soap, tag, &(((ngwt__CommentStatus*)a)->__item), "ngwt:CommentStatus"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_new_ngwt__CommentStatus(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CommentStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_instantiate_ngwt__CommentStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CommentStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CommentStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CommentStatus;
- if (size)
- *size = sizeof(ngwt__CommentStatus);
- ((ngwt__CommentStatus*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CommentStatus[n];
- if (size)
- *size = n * sizeof(ngwt__CommentStatus);
- for (int i = 0; i < n; i++)
- ((ngwt__CommentStatus*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CommentStatus*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CommentStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CommentStatus %p -> %p\n", q, p));
- *(ngwt__CommentStatus*)p = *(ngwt__CommentStatus*)q;
-}
-
-void ngwt__CategoryRefList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__CategoryRefList*)this)->category);
- /* transient soap skipped */
-}
-
-void ngwt__CategoryRefList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__CategoryRefList*)this)->category);
- ((ngwt__CategoryRefList*)this)->primary = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__CategoryRefList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryRefList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CategoryRefList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CategoryRefList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryRefList(struct soap *soap, const char *tag, int id, const ngwt__CategoryRefList *a, const char *type)
-{
- if (((ngwt__CategoryRefList *)a)->primary)
- soap_set_attr(soap, "primary", ((ngwt__CategoryRefList *)a)->primary->c_str());
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryRefList), type);
- soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:category", -1, &(((ngwt__CategoryRefList*)a)->category), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__CategoryRefList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CategoryRefList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_get_ngwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CategoryRefList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CategoryRefList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CategoryRefList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_in_ngwt__CategoryRefList(struct soap *soap, const char *tag, ngwt__CategoryRefList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__CategoryRefList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryRefList, sizeof(ngwt__CategoryRefList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CategoryRefList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__CategoryRefList *)a->soap_in(soap, tag, type);
- }
- }
- { const char *t = soap_attr_value(soap, "primary", 0);
- if (t)
- { if (!(((ngwt__CategoryRefList *)a)->primary = (std::string *)soap_malloc(soap, sizeof(std::string))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- char *s;
- if (soap_s2string(soap, t, &s))
- return NULL;
- if (s)
- { ((ngwt__CategoryRefList *)a)->primary = soap_new_std__string(soap, -1);
- ((ngwt__CategoryRefList *)a)->primary->assign(s);
- }
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:category", &(((ngwt__CategoryRefList*)a)->category), "ngwt:uid"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__CategoryRefList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryRefList, 0, sizeof(ngwt__CategoryRefList), 0, soap_copy_ngwt__CategoryRefList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_new_ngwt__CategoryRefList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CategoryRefList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryRefList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CategoryRefList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CategoryRefList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CategoryRefList;
- if (size)
- *size = sizeof(ngwt__CategoryRefList);
- ((ngwt__CategoryRefList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CategoryRefList[n];
- if (size)
- *size = n * sizeof(ngwt__CategoryRefList);
- for (int i = 0; i < n; i++)
- ((ngwt__CategoryRefList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CategoryRefList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryRefList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CategoryRefList %p -> %p\n", q, p));
- *(ngwt__CategoryRefList*)p = *(ngwt__CategoryRefList*)q;
-}
-
-void ngwt__CategoryList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__Category(soap, &((ngwt__CategoryList*)this)->category);
- /* transient soap skipped */
-}
-
-void ngwt__CategoryList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__Category(soap, &((ngwt__CategoryList*)this)->category);
- /* transient soap skipped */
-}
-
-int ngwt__CategoryList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CategoryList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CategoryList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryList(struct soap *soap, const char *tag, int id, const ngwt__CategoryList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__Category(soap, "ngwt:category", -1, &(((ngwt__CategoryList*)a)->category), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__CategoryList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CategoryList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_get_ngwt__CategoryList(struct soap *soap, ngwt__CategoryList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CategoryList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CategoryList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CategoryList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_in_ngwt__CategoryList(struct soap *soap, const char *tag, ngwt__CategoryList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__CategoryList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryList, sizeof(ngwt__CategoryList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CategoryList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__CategoryList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__Category(soap, "ngwt:category", &(((ngwt__CategoryList*)a)->category), "ngwt:Category"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__CategoryList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryList, 0, sizeof(ngwt__CategoryList), 0, soap_copy_ngwt__CategoryList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_new_ngwt__CategoryList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CategoryList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryList(struct soap *soap, ngwt__CategoryList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CategoryList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CategoryList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CategoryList;
- if (size)
- *size = sizeof(ngwt__CategoryList);
- ((ngwt__CategoryList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CategoryList[n];
- if (size)
- *size = n * sizeof(ngwt__CategoryList);
- for (int i = 0; i < n; i++)
- ((ngwt__CategoryList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CategoryList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CategoryList %p -> %p\n", q, p));
- *(ngwt__CategoryList*)p = *(ngwt__CategoryList*)q;
-}
-
-void ngwt__Category::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Category*)this)->type, SOAP_TYPE_PointerTongwt__CategoryType);
- soap_serialize_PointerTongwt__CategoryType(soap, &((ngwt__Category*)this)->type);
- soap_embedded(soap, &((ngwt__Category*)this)->color, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Category*)this)->color);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Category::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__Category*)this)->type = NULL;
- ((ngwt__Category*)this)->color = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Category::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Category);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Category::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Category(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Category(struct soap *soap, const char *tag, int id, const ngwt__Category *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Category), "ngwt:Category");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__CategoryType(soap, "ngwt:type", -1, &(((ngwt__Category*)a)->type), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:color", -1, &(((ngwt__Category*)a)->color), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Category::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Category(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_get_ngwt__Category(struct soap *soap, ngwt__Category *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Category(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Category::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Category(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_in_ngwt__Category(struct soap *soap, const char *tag, ngwt__Category *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Category *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Category, sizeof(ngwt__Category), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Category)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Category *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_type1 = 1, soap_flag_color1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id2 = 0;
- continue;
- }
- if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name2 = 0;
- continue;
- }
- if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version2 = 0;
- continue;
- }
- if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified2 = 0;
- continue;
- }
- if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryType(soap, "ngwt:type", &(((ngwt__Category*)a)->type), ""))
- { soap_flag_type1 = 0;
- continue;
- }
- if (soap_flag_color1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:color", &(((ngwt__Category*)a)->color), ""))
- { soap_flag_color1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Category *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Category, 0, sizeof(ngwt__Category), 0, soap_copy_ngwt__Category);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_new_ngwt__Category(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Category(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Category(struct soap *soap, ngwt__Category *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_instantiate_ngwt__Category(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Category(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Category, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Category;
- if (size)
- *size = sizeof(ngwt__Category);
- ((ngwt__Category*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Category[n];
- if (size)
- *size = n * sizeof(ngwt__Category);
- for (int i = 0; i < n; i++)
- ((ngwt__Category*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Category*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Category(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Category %p -> %p\n", q, p));
- *(ngwt__Category*)p = *(ngwt__Category*)q;
-}
-
-void ngwt__CalendarItem::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule);
- soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__CalendarItem::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__CalendarItem*)this)->rdate = NULL;
- ((ngwt__CalendarItem*)this)->rrule = NULL;
- ((ngwt__CalendarItem*)this)->exdate = NULL;
- ((ngwt__CalendarItem*)this)->recurrenceKey = NULL;
- ((ngwt__CalendarItem*)this)->iCalId = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__CalendarItem::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarItem);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CalendarItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CalendarItem(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarItem(struct soap *soap, const char *tag, int id, const ngwt__CalendarItem *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarItem), "ngwt:CalendarItem");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), "");
- soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), "");
- soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__CalendarItem::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CalendarItem(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_get_ngwt__CalendarItem(struct soap *soap, ngwt__CalendarItem *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CalendarItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CalendarItem::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CalendarItem(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_in_ngwt__CalendarItem(struct soap *soap, const char *tag, ngwt__CalendarItem *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__CalendarItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarItem, sizeof(ngwt__CalendarItem), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CalendarItem)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__CalendarItem *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_rdate1 = 1, soap_flag_rrule1 = 1, soap_flag_exdate1 = 1, soap_flag_recurrenceKey1 = 1, soap_flag_iCalId1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id5 = 0;
- continue;
- }
- if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name5 = 0;
- continue;
- }
- if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version5 = 0;
- continue;
- }
- if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified5 = 0;
- continue;
- }
- if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes5 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories4 = 0;
- continue;
- }
- if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created4 = 0;
- continue;
- }
- if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs4 = 0;
- continue;
- }
- if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status3 = 0;
- continue;
- }
- if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread3 = 0;
- continue;
- }
- if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId3 = 0;
- continue;
- }
- if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId3 = 0;
- continue;
- }
- if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source3 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId3 = 0;
- continue;
- }
- if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered3 = 0;
- continue;
- }
- if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_3 = 0;
- continue;
- }
- if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security3 = 0;
- continue;
- }
- if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment3 = 0;
- continue;
- }
- if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject2 = 0;
- continue;
- }
- if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject2 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix2 = 0;
- continue;
- }
- if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution2 = 0;
- continue;
- }
- if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message2 = 0;
- continue;
- }
- if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments2 = 0;
- continue;
- }
- if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options2 = 0;
- continue;
- }
- if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link2 = 0;
- continue;
- }
- if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment2 = 0;
- continue;
- }
- if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size2 = 0;
- continue;
- }
- if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType2 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap2 = 0;
- continue;
- }
- if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType2 = 0;
- continue;
- }
- if (soap_flag_rdate1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType"))
- { soap_flag_rdate1 = 0;
- continue;
- }
- if (soap_flag_rrule1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule"))
- { soap_flag_rrule1 = 0;
- continue;
- }
- if (soap_flag_exdate1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType"))
- { soap_flag_exdate1 = 0;
- continue;
- }
- if (soap_flag_recurrenceKey1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), ""))
- { soap_flag_recurrenceKey1 = 0;
- continue;
- }
- if (soap_flag_iCalId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), ""))
- { soap_flag_iCalId1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__CalendarItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarItem, 0, sizeof(ngwt__CalendarItem), 0, soap_copy_ngwt__CalendarItem);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_new_ngwt__CalendarItem(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CalendarItem(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarItem(struct soap *soap, ngwt__CalendarItem *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_instantiate_ngwt__CalendarItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CalendarItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CalendarItem, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:Appointment"))
- { cp->type = SOAP_TYPE_ngwt__Appointment;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Note"))
- { cp->type = SOAP_TYPE_ngwt__Note;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Task"))
- { cp->type = SOAP_TYPE_ngwt__Task;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarItem;
- if (size)
- *size = sizeof(ngwt__CalendarItem);
- ((ngwt__CalendarItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarItem[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarItem);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarItem*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CalendarItem %p -> %p\n", q, p));
- *(ngwt__CalendarItem*)p = *(ngwt__CalendarItem*)q;
-}
-
-void ngwt__CalendarFolderAttribute::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, &((ngwt__CalendarFolderAttribute*)this)->flags);
- soap_embedded(soap, &((ngwt__CalendarFolderAttribute*)this)->color, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarFolderAttribute*)this)->color);
- /* transient soap skipped */
-}
-
-void ngwt__CalendarFolderAttribute::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, &((ngwt__CalendarFolderAttribute*)this)->flags);
- ((ngwt__CalendarFolderAttribute*)this)->color = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__CalendarFolderAttribute::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarFolderAttribute);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__CalendarFolderAttribute::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__CalendarFolderAttribute(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderAttribute(struct soap *soap, const char *tag, int id, const ngwt__CalendarFolderAttribute *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarFolderAttribute), type);
- soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, "ngwt:flags", -1, &(((ngwt__CalendarFolderAttribute*)a)->flags), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:color", -1, &(((ngwt__CalendarFolderAttribute*)a)->color), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__CalendarFolderAttribute::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__CalendarFolderAttribute(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_get_ngwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__CalendarFolderAttribute(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__CalendarFolderAttribute::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__CalendarFolderAttribute(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_in_ngwt__CalendarFolderAttribute(struct soap *soap, const char *tag, ngwt__CalendarFolderAttribute *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__CalendarFolderAttribute *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarFolderAttribute, sizeof(ngwt__CalendarFolderAttribute), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__CalendarFolderAttribute)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__CalendarFolderAttribute *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_color1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, "ngwt:flags", &(((ngwt__CalendarFolderAttribute*)a)->flags), ""))
- continue;
- if (soap_flag_color1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:color", &(((ngwt__CalendarFolderAttribute*)a)->color), ""))
- { soap_flag_color1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (((ngwt__CalendarFolderAttribute*)a)->flags.size() > 2))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__CalendarFolderAttribute *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderAttribute, 0, sizeof(ngwt__CalendarFolderAttribute), 0, soap_copy_ngwt__CalendarFolderAttribute);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_new_ngwt__CalendarFolderAttribute(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__CalendarFolderAttribute(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_instantiate_ngwt__CalendarFolderAttribute(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CalendarFolderAttribute(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CalendarFolderAttribute, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarFolderAttribute;
- if (size)
- *size = sizeof(ngwt__CalendarFolderAttribute);
- ((ngwt__CalendarFolderAttribute*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarFolderAttribute[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarFolderAttribute);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarFolderAttribute*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarFolderAttribute*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarFolderAttribute(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CalendarFolderAttribute %p -> %p\n", q, p));
- *(ngwt__CalendarFolderAttribute*)p = *(ngwt__CalendarFolderAttribute*)q;
-}
-
-void ngwt__BoxEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__BoxEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__BoxEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__BoxEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__BoxEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__BoxEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__BoxEntry(struct soap *soap, const char *tag, int id, const ngwt__BoxEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__BoxEntry), "ngwt:BoxEntry");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__BoxEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__BoxEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_get_ngwt__BoxEntry(struct soap *soap, ngwt__BoxEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__BoxEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__BoxEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__BoxEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_in_ngwt__BoxEntry(struct soap *soap, const char *tag, ngwt__BoxEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__BoxEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__BoxEntry, sizeof(ngwt__BoxEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__BoxEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__BoxEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_status1 = 1, soap_flag_thread1 = 1, soap_flag_msgId1 = 1, soap_flag_messageId1 = 1, soap_flag_source1 = 1, soap_flag_returnSentItemsId1 = 1, soap_flag_delivered1 = 1, soap_flag_class_1 = 1, soap_flag_security1 = 1, soap_flag_comment1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status1 = 0;
- continue;
- }
- if (soap_flag_thread1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread1 = 0;
- continue;
- }
- if (soap_flag_msgId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId1 = 0;
- continue;
- }
- if (soap_flag_messageId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId1 = 0;
- continue;
- }
- if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source1 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId1 = 0;
- continue;
- }
- if (soap_flag_delivered1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered1 = 0;
- continue;
- }
- if (soap_flag_class_1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_1 = 0;
- continue;
- }
- if (soap_flag_security1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security1 = 0;
- continue;
- }
- if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__BoxEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__BoxEntry, 0, sizeof(ngwt__BoxEntry), 0, soap_copy_ngwt__BoxEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_new_ngwt__BoxEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__BoxEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__BoxEntry(struct soap *soap, ngwt__BoxEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_instantiate_ngwt__BoxEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__BoxEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__BoxEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:Mail"))
- { cp->type = SOAP_TYPE_ngwt__Mail;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Mail;
- if (size)
- *size = sizeof(ngwt__Mail);
- ((ngwt__Mail*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Mail[n];
- if (size)
- *size = n * sizeof(ngwt__Mail);
- for (int i = 0; i < n; i++)
- ((ngwt__Mail*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Mail*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem"))
- { cp->type = SOAP_TYPE_ngwt__CalendarItem;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__CalendarItem;
- if (size)
- *size = sizeof(ngwt__CalendarItem);
- ((ngwt__CalendarItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__CalendarItem[n];
- if (size)
- *size = n * sizeof(ngwt__CalendarItem);
- for (int i = 0; i < n; i++)
- ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__CalendarItem*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef"))
- { cp->type = SOAP_TYPE_ngwt__DocumentRef;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__DocumentRef;
- if (size)
- *size = sizeof(ngwt__DocumentRef);
- ((ngwt__DocumentRef*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__DocumentRef[n];
- if (size)
- *size = n * sizeof(ngwt__DocumentRef);
- for (int i = 0; i < n; i++)
- ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__DocumentRef*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage"))
- { cp->type = SOAP_TYPE_ngwt__PhoneMessage;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PhoneMessage;
- if (size)
- *size = sizeof(ngwt__PhoneMessage);
- ((ngwt__PhoneMessage*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PhoneMessage[n];
- if (size)
- *size = n * sizeof(ngwt__PhoneMessage);
- for (int i = 0; i < n; i++)
- ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PhoneMessage*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification"))
- { cp->type = SOAP_TYPE_ngwt__SharedNotification;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__SharedNotification;
- if (size)
- *size = sizeof(ngwt__SharedNotification);
- ((ngwt__SharedNotification*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__SharedNotification[n];
- if (size)
- *size = n * sizeof(ngwt__SharedNotification);
- for (int i = 0; i < n; i++)
- ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__SharedNotification*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Appointment"))
- { cp->type = SOAP_TYPE_ngwt__Appointment;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Note"))
- { cp->type = SOAP_TYPE_ngwt__Note;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Note;
- if (size)
- *size = sizeof(ngwt__Note);
- ((ngwt__Note*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Note[n];
- if (size)
- *size = n * sizeof(ngwt__Note);
- for (int i = 0; i < n; i++)
- ((ngwt__Note*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Note*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Task"))
- { cp->type = SOAP_TYPE_ngwt__Task;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Task;
- if (size)
- *size = sizeof(ngwt__Task);
- ((ngwt__Task*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Task[n];
- if (size)
- *size = n * sizeof(ngwt__Task);
- for (int i = 0; i < n; i++)
- ((ngwt__Task*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Task*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__BoxEntry;
- if (size)
- *size = sizeof(ngwt__BoxEntry);
- ((ngwt__BoxEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__BoxEntry[n];
- if (size)
- *size = n * sizeof(ngwt__BoxEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__BoxEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__BoxEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__BoxEntry %p -> %p\n", q, p));
- *(ngwt__BoxEntry*)p = *(ngwt__BoxEntry*)q;
-}
-
-void ngwt__Authentication::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- /* transient soap skipped */
-}
-
-void ngwt__Authentication::soap_default(struct soap *soap)
-{
- this->soap = soap;
- /* transient soap skipped */
-}
-
-int ngwt__Authentication::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Authentication);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Authentication::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Authentication(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Authentication(struct soap *soap, const char *tag, int id, const ngwt__Authentication *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Authentication), type);
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Authentication::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Authentication(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_get_ngwt__Authentication(struct soap *soap, ngwt__Authentication *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Authentication(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Authentication::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Authentication(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_in_ngwt__Authentication(struct soap *soap, const char *tag, ngwt__Authentication *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Authentication *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Authentication, sizeof(ngwt__Authentication), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Authentication)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Authentication *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Authentication *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Authentication, 0, sizeof(ngwt__Authentication), 0, soap_copy_ngwt__Authentication);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_new_ngwt__Authentication(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Authentication(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Authentication(struct soap *soap, ngwt__Authentication *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_instantiate_ngwt__Authentication(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Authentication(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Authentication, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:PlainText"))
- { cp->type = SOAP_TYPE_ngwt__PlainText;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__PlainText;
- if (size)
- *size = sizeof(ngwt__PlainText);
- ((ngwt__PlainText*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__PlainText[n];
- if (size)
- *size = n * sizeof(ngwt__PlainText);
- for (int i = 0; i < n; i++)
- ((ngwt__PlainText*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__PlainText*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Proxy"))
- { cp->type = SOAP_TYPE_ngwt__Proxy;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Proxy;
- if (size)
- *size = sizeof(ngwt__Proxy);
- ((ngwt__Proxy*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Proxy[n];
- if (size)
- *size = n * sizeof(ngwt__Proxy);
- for (int i = 0; i < n; i++)
- ((ngwt__Proxy*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Proxy*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:TrustedApplication"))
- { cp->type = SOAP_TYPE_ngwt__TrustedApplication;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__TrustedApplication;
- if (size)
- *size = sizeof(ngwt__TrustedApplication);
- ((ngwt__TrustedApplication*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__TrustedApplication[n];
- if (size)
- *size = n * sizeof(ngwt__TrustedApplication);
- for (int i = 0; i < n; i++)
- ((ngwt__TrustedApplication*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__TrustedApplication*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Authentication;
- if (size)
- *size = sizeof(ngwt__Authentication);
- ((ngwt__Authentication*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Authentication[n];
- if (size)
- *size = n * sizeof(ngwt__Authentication);
- for (int i = 0; i < n; i++)
- ((ngwt__Authentication*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Authentication*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Authentication(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Authentication %p -> %p\n", q, p));
- *(ngwt__Authentication*)p = *(ngwt__Authentication*)q;
-}
-
-void ngwt__AttachmentItemInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->id, SOAP_TYPE_PointerTongwt__AttachmentID);
- soap_serialize_PointerTongwt__AttachmentID(soap, &((ngwt__AttachmentItemInfo*)this)->id);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->name);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->contentId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->contentId);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->contentType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->contentType);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->size, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__AttachmentItemInfo*)this)->size);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->date, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__AttachmentItemInfo*)this)->date);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->data, SOAP_TYPE_PointerToxsd__base64Binary);
- soap_serialize_PointerToxsd__base64Binary(soap, &((ngwt__AttachmentItemInfo*)this)->data);
- soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->hidden, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AttachmentItemInfo*)this)->hidden);
- /* transient soap skipped */
-}
-
-void ngwt__AttachmentItemInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AttachmentItemInfo*)this)->id = NULL;
- ((ngwt__AttachmentItemInfo*)this)->name = NULL;
- ((ngwt__AttachmentItemInfo*)this)->contentId = NULL;
- ((ngwt__AttachmentItemInfo*)this)->contentType = NULL;
- ((ngwt__AttachmentItemInfo*)this)->size = NULL;
- soap_default_string(soap, &((ngwt__AttachmentItemInfo*)this)->date);
- ((ngwt__AttachmentItemInfo*)this)->data = NULL;
- ((ngwt__AttachmentItemInfo*)this)->hidden = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AttachmentItemInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentItemInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AttachmentItemInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AttachmentItemInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, const ngwt__AttachmentItemInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AttachmentItemInfo), type);
- soap_out_PointerTongwt__AttachmentID(soap, "ngwt:id", -1, &(((ngwt__AttachmentItemInfo*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__AttachmentItemInfo*)a)->name), "");
- soap_out_PointerTostd__string(soap, "ngwt:contentId", -1, &(((ngwt__AttachmentItemInfo*)a)->contentId), "");
- soap_out_PointerTostd__string(soap, "ngwt:contentType", -1, &(((ngwt__AttachmentItemInfo*)a)->contentType), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:size", -1, &(((ngwt__AttachmentItemInfo*)a)->size), "");
- soap_out_string(soap, "ngwt:date", -1, &(((ngwt__AttachmentItemInfo*)a)->date), "");
- soap_out_PointerToxsd__base64Binary(soap, "ngwt:data", -1, &(((ngwt__AttachmentItemInfo*)a)->data), "");
- soap_out_PointerTobool(soap, "ngwt:hidden", -1, &(((ngwt__AttachmentItemInfo*)a)->hidden), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AttachmentItemInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AttachmentItemInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AttachmentItemInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AttachmentItemInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AttachmentItemInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentItemInfo(struct soap *soap, const char *tag, ngwt__AttachmentItemInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AttachmentItemInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentItemInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AttachmentItemInfo *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_contentId1 = 1, soap_flag_contentType1 = 1, soap_flag_size1 = 1, soap_flag_date1 = 1, soap_flag_data1 = 1, soap_flag_hidden1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentID(soap, "ngwt:id", &(((ngwt__AttachmentItemInfo*)a)->id), "ngwt:AttachmentID"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__AttachmentItemInfo*)a)->name), ""))
- { soap_flag_name1 = 0;
- continue;
- }
- if (soap_flag_contentId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:contentId", &(((ngwt__AttachmentItemInfo*)a)->contentId), ""))
- { soap_flag_contentId1 = 0;
- continue;
- }
- if (soap_flag_contentType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:contentType", &(((ngwt__AttachmentItemInfo*)a)->contentType), ""))
- { soap_flag_contentType1 = 0;
- continue;
- }
- if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:size", &(((ngwt__AttachmentItemInfo*)a)->size), ""))
- { soap_flag_size1 = 0;
- continue;
- }
- if (soap_flag_date1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:date", &(((ngwt__AttachmentItemInfo*)a)->date), ""))
- { soap_flag_date1 = 0;
- continue;
- }
- if (soap_flag_data1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToxsd__base64Binary(soap, "ngwt:data", &(((ngwt__AttachmentItemInfo*)a)->data), "xsd:base64Binary"))
- { soap_flag_data1 = 0;
- continue;
- }
- if (soap_flag_hidden1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:hidden", &(((ngwt__AttachmentItemInfo*)a)->hidden), ""))
- { soap_flag_hidden1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AttachmentItemInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentItemInfo, 0, sizeof(ngwt__AttachmentItemInfo), 0, soap_copy_ngwt__AttachmentItemInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentItemInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AttachmentItemInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentItemInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentItemInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentItemInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AttachmentItemInfo;
- if (size)
- *size = sizeof(ngwt__AttachmentItemInfo);
- ((ngwt__AttachmentItemInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AttachmentItemInfo[n];
- if (size)
- *size = n * sizeof(ngwt__AttachmentItemInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__AttachmentItemInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AttachmentItemInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentItemInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentItemInfo %p -> %p\n", q, p));
- *(ngwt__AttachmentItemInfo*)p = *(ngwt__AttachmentItemInfo*)q;
-}
-
-void ngwt__AttachmentInfo::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, &((ngwt__AttachmentInfo*)this)->attachment);
- /* transient soap skipped */
-}
-
-void ngwt__AttachmentInfo::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, &((ngwt__AttachmentInfo*)this)->attachment);
- /* transient soap skipped */
-}
-
-int ngwt__AttachmentInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentInfo);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AttachmentInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AttachmentInfo(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentInfo(struct soap *soap, const char *tag, int id, const ngwt__AttachmentInfo *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AttachmentInfo), type);
- soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, "ngwt:attachment", -1, &(((ngwt__AttachmentInfo*)a)->attachment), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AttachmentInfo::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AttachmentInfo(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AttachmentInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AttachmentInfo::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AttachmentInfo(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentInfo(struct soap *soap, const char *tag, ngwt__AttachmentInfo *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AttachmentInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentInfo, sizeof(ngwt__AttachmentInfo), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentInfo)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AttachmentInfo *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, "ngwt:attachment", &(((ngwt__AttachmentInfo*)a)->attachment), "ngwt:AttachmentItemInfo"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AttachmentInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentInfo, 0, sizeof(ngwt__AttachmentInfo), 0, soap_copy_ngwt__AttachmentInfo);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentInfo(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AttachmentInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AttachmentInfo;
- if (size)
- *size = sizeof(ngwt__AttachmentInfo);
- ((ngwt__AttachmentInfo*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AttachmentInfo[n];
- if (size)
- *size = n * sizeof(ngwt__AttachmentInfo);
- for (int i = 0; i < n; i++)
- ((ngwt__AttachmentInfo*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AttachmentInfo*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentInfo %p -> %p\n", q, p));
- *(ngwt__AttachmentInfo*)p = *(ngwt__AttachmentInfo*)q;
-}
-
-void ngwt__AttachmentID::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AttachmentID*)this)->__item, SOAP_TYPE_ngwt__uid);
- soap_serialize_ngwt__uid(soap, &((ngwt__AttachmentID*)this)->__item);
- /* transient soap skipped */
-}
-
-void ngwt__AttachmentID::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_ngwt__uid(soap, &((ngwt__AttachmentID*)this)->__item);
- ((ngwt__AttachmentID*)this)->itemReference = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AttachmentID::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentID);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AttachmentID::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AttachmentID(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentID(struct soap *soap, const char *tag, int id, const ngwt__AttachmentID *a, const char *type)
-{
- if (((ngwt__AttachmentID *)a)->itemReference)
- soap_set_attr(soap, "itemReference", soap_bool2s(soap, *((ngwt__AttachmentID *)a)->itemReference));
- soap_out_ngwt__uid(soap, tag, id, &(((ngwt__AttachmentID*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__AttachmentID::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AttachmentID(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_get_ngwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AttachmentID(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AttachmentID::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AttachmentID(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_in_ngwt__AttachmentID(struct soap *soap, const char *tag, ngwt__AttachmentID *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__AttachmentID *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentID, sizeof(ngwt__AttachmentID), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentID)
- return (ngwt__AttachmentID *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "itemReference", 0);
- if (t)
- { if (!(((ngwt__AttachmentID *)a)->itemReference = (bool *)soap_malloc(soap, sizeof(bool))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2bool(soap, t, ((ngwt__AttachmentID *)a)->itemReference))
- return NULL;
- }
- }
- if (!soap_in_ngwt__uid(soap, tag, &(((ngwt__AttachmentID*)a)->__item), "ngwt:AttachmentID"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_new_ngwt__AttachmentID(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AttachmentID(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentID(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentID(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentID, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AttachmentID;
- if (size)
- *size = sizeof(ngwt__AttachmentID);
- ((ngwt__AttachmentID*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AttachmentID[n];
- if (size)
- *size = n * sizeof(ngwt__AttachmentID);
- for (int i = 0; i < n; i++)
- ((ngwt__AttachmentID*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AttachmentID*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentID(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentID %p -> %p\n", q, p));
- *(ngwt__AttachmentID*)p = *(ngwt__AttachmentID*)q;
-}
-
-void ngwt__Appointment::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Appointment*)this)->startDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Appointment*)this)->startDate);
- soap_embedded(soap, &((ngwt__Appointment*)this)->endDate, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Appointment*)this)->endDate);
- soap_embedded(soap, &((ngwt__Appointment*)this)->startDay, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Appointment*)this)->startDay);
- soap_embedded(soap, &((ngwt__Appointment*)this)->endDay, SOAP_TYPE_PointerToxsd__date);
- soap_serialize_PointerToxsd__date(soap, &((ngwt__Appointment*)this)->endDay);
- soap_embedded(soap, &((ngwt__Appointment*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel);
- soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__Appointment*)this)->acceptLevel);
- soap_embedded(soap, &((ngwt__Appointment*)this)->alarm, SOAP_TYPE_PointerTongwt__Alarm);
- soap_serialize_PointerTongwt__Alarm(soap, &((ngwt__Appointment*)this)->alarm);
- soap_embedded(soap, &((ngwt__Appointment*)this)->allDayEvent, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Appointment*)this)->allDayEvent);
- soap_embedded(soap, &((ngwt__Appointment*)this)->place, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Appointment*)this)->place);
- soap_embedded(soap, &((ngwt__Appointment*)this)->timezone, SOAP_TYPE_PointerTongwt__Timezone);
- soap_serialize_PointerTongwt__Timezone(soap, &((ngwt__Appointment*)this)->timezone);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule);
- soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey);
- soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId);
- soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject);
- soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject);
- soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix);
- soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution);
- soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution);
- soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody);
- soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message);
- soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments);
- soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions);
- soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options);
- soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo);
- soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link);
- soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool);
- soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int);
- soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType);
- soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap);
- soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation);
- soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus);
- soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource);
- soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass);
- soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity);
- soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security);
- soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__Appointment::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_string(soap, &((ngwt__Appointment*)this)->startDate);
- soap_default_string(soap, &((ngwt__Appointment*)this)->endDate);
- ((ngwt__Appointment*)this)->startDay = NULL;
- ((ngwt__Appointment*)this)->endDay = NULL;
- ((ngwt__Appointment*)this)->acceptLevel = NULL;
- ((ngwt__Appointment*)this)->alarm = NULL;
- ((ngwt__Appointment*)this)->allDayEvent = NULL;
- ((ngwt__Appointment*)this)->place = NULL;
- ((ngwt__Appointment*)this)->timezone = NULL;
- ((ngwt__CalendarItem*)this)->rdate = NULL;
- ((ngwt__CalendarItem*)this)->rrule = NULL;
- ((ngwt__CalendarItem*)this)->exdate = NULL;
- ((ngwt__CalendarItem*)this)->recurrenceKey = NULL;
- ((ngwt__CalendarItem*)this)->iCalId = NULL;
- ((ngwt__Mail*)this)->subject = NULL;
- ((ngwt__Mail*)this)->originalSubject = NULL;
- ((ngwt__Mail*)this)->subjectPrefix = NULL;
- ((ngwt__Mail*)this)->distribution = NULL;
- ((ngwt__Mail*)this)->message = NULL;
- ((ngwt__Mail*)this)->attachments = NULL;
- ((ngwt__Mail*)this)->options = NULL;
- ((ngwt__Mail*)this)->link = NULL;
- ((ngwt__Mail*)this)->hasAttachment = (bool)0;
- ((ngwt__Mail*)this)->size = 0;
- ((ngwt__Mail*)this)->subType = NULL;
- ((ngwt__Mail*)this)->nntpOrImap = NULL;
- ((ngwt__Mail*)this)->smimeType = NULL;
- ((ngwt__BoxEntry*)this)->status = NULL;
- ((ngwt__BoxEntry*)this)->thread = NULL;
- ((ngwt__BoxEntry*)this)->msgId = NULL;
- ((ngwt__BoxEntry*)this)->messageId = NULL;
- ((ngwt__BoxEntry*)this)->source = NULL;
- ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL;
- soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered);
- ((ngwt__BoxEntry*)this)->class_ = NULL;
- ((ngwt__BoxEntry*)this)->security = NULL;
- ((ngwt__BoxEntry*)this)->comment = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Appointment::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Appointment);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Appointment::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Appointment(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Appointment(struct soap *soap, const char *tag, int id, const ngwt__Appointment *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Appointment), "ngwt:Appointment");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), "");
- soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), "");
- soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), "");
- soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), "");
- soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), "");
- soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), "");
- soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), "");
- soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), "");
- soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), "");
- soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), "");
- soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), "");
- soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), "");
- soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), "");
- soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), "");
- soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), "");
- soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), "");
- soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), "");
- soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), "");
- soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), "");
- soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), "");
- soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), "");
- soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), "");
- soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), "");
- soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), "");
- soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), "");
- soap_out_string(soap, "ngwt:startDate", -1, &(((ngwt__Appointment*)a)->startDate), "");
- soap_out_string(soap, "ngwt:endDate", -1, &(((ngwt__Appointment*)a)->endDate), "");
- soap_out_PointerToxsd__date(soap, "ngwt:startDay", -1, &(((ngwt__Appointment*)a)->startDay), "");
- soap_out_PointerToxsd__date(soap, "ngwt:endDay", -1, &(((ngwt__Appointment*)a)->endDay), "");
- soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__Appointment*)a)->acceptLevel), "");
- soap_out_PointerTongwt__Alarm(soap, "ngwt:alarm", -1, &(((ngwt__Appointment*)a)->alarm), "");
- soap_out_PointerTobool(soap, "ngwt:allDayEvent", -1, &(((ngwt__Appointment*)a)->allDayEvent), "");
- soap_out_PointerTostd__string(soap, "ngwt:place", -1, &(((ngwt__Appointment*)a)->place), "");
- soap_out_PointerTongwt__Timezone(soap, "ngwt:timezone", -1, &(((ngwt__Appointment*)a)->timezone), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__Appointment::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Appointment(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_get_ngwt__Appointment(struct soap *soap, ngwt__Appointment *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Appointment(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Appointment::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Appointment(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_in_ngwt__Appointment(struct soap *soap, const char *tag, ngwt__Appointment *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__Appointment *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Appointment, sizeof(ngwt__Appointment), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Appointment)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__Appointment *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1, soap_flag_endDate1 = 1, soap_flag_startDay1 = 1, soap_flag_endDay1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_alarm1 = 1, soap_flag_allDayEvent1 = 1, soap_flag_place1 = 1, soap_flag_timezone1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id6 = 0;
- continue;
- }
- if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name6 = 0;
- continue;
- }
- if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version6 = 0;
- continue;
- }
- if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified6 = 0;
- continue;
- }
- if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes6 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories5 = 0;
- continue;
- }
- if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created5 = 0;
- continue;
- }
- if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs5 = 0;
- continue;
- }
- if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus"))
- { soap_flag_status4 = 0;
- continue;
- }
- if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), ""))
- { soap_flag_thread4 = 0;
- continue;
- }
- if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), ""))
- { soap_flag_msgId4 = 0;
- continue;
- }
- if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), ""))
- { soap_flag_messageId4 = 0;
- continue;
- }
- if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), ""))
- { soap_flag_source4 = 0;
- continue;
- }
- if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""))
- { soap_flag_returnSentItemsId4 = 0;
- continue;
- }
- if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), ""))
- { soap_flag_delivered4 = 0;
- continue;
- }
- if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), ""))
- { soap_flag_class_4 = 0;
- continue;
- }
- if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), ""))
- { soap_flag_security4 = 0;
- continue;
- }
- if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), ""))
- { soap_flag_comment4 = 0;
- continue;
- }
- if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), ""))
- { soap_flag_subject3 = 0;
- continue;
- }
- if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), ""))
- { soap_flag_originalSubject3 = 0;
- continue;
- }
- if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), ""))
- { soap_flag_subjectPrefix3 = 0;
- continue;
- }
- if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution"))
- { soap_flag_distribution3 = 0;
- continue;
- }
- if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody"))
- { soap_flag_message3 = 0;
- continue;
- }
- if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo"))
- { soap_flag_attachments3 = 0;
- continue;
- }
- if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions"))
- { soap_flag_options3 = 0;
- continue;
- }
- if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo"))
- { soap_flag_link3 = 0;
- continue;
- }
- if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), ""))
- { soap_flag_hasAttachment3 = 0;
- continue;
- }
- if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), ""))
- { soap_flag_size3 = 0;
- continue;
- }
- if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), ""))
- { soap_flag_subType3 = 0;
- continue;
- }
- if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), ""))
- { soap_flag_nntpOrImap3 = 0;
- continue;
- }
- if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation"))
- { soap_flag_smimeType3 = 0;
- continue;
- }
- if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType"))
- { soap_flag_rdate2 = 0;
- continue;
- }
- if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule"))
- { soap_flag_rrule2 = 0;
- continue;
- }
- if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType"))
- { soap_flag_exdate2 = 0;
- continue;
- }
- if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), ""))
- { soap_flag_recurrenceKey2 = 0;
- continue;
- }
- if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), ""))
- { soap_flag_iCalId2 = 0;
- continue;
- }
- if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:startDate", &(((ngwt__Appointment*)a)->startDate), ""))
- { soap_flag_startDate1 = 0;
- continue;
- }
- if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:endDate", &(((ngwt__Appointment*)a)->endDate), ""))
- { soap_flag_endDate1 = 0;
- continue;
- }
- if (soap_flag_startDay1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:startDay", &(((ngwt__Appointment*)a)->startDay), "xsd:date"))
- { soap_flag_startDay1 = 0;
- continue;
- }
- if (soap_flag_endDay1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerToxsd__date(soap, "ngwt:endDay", &(((ngwt__Appointment*)a)->endDay), "xsd:date"))
- { soap_flag_endDay1 = 0;
- continue;
- }
- if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__Appointment*)a)->acceptLevel), ""))
- { soap_flag_acceptLevel1 = 0;
- continue;
- }
- if (soap_flag_alarm1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Alarm(soap, "ngwt:alarm", &(((ngwt__Appointment*)a)->alarm), "ngwt:Alarm"))
- { soap_flag_alarm1 = 0;
- continue;
- }
- if (soap_flag_allDayEvent1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:allDayEvent", &(((ngwt__Appointment*)a)->allDayEvent), ""))
- { soap_flag_allDayEvent1 = 0;
- continue;
- }
- if (soap_flag_place1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:place", &(((ngwt__Appointment*)a)->place), ""))
- { soap_flag_place1 = 0;
- continue;
- }
- if (soap_flag_timezone1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Timezone(soap, "ngwt:timezone", &(((ngwt__Appointment*)a)->timezone), "ngwt:Timezone"))
- { soap_flag_timezone1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__Appointment *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Appointment, 0, sizeof(ngwt__Appointment), 0, soap_copy_ngwt__Appointment);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_new_ngwt__Appointment(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Appointment(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Appointment(struct soap *soap, ngwt__Appointment *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_instantiate_ngwt__Appointment(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Appointment(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Appointment, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Appointment;
- if (size)
- *size = sizeof(ngwt__Appointment);
- ((ngwt__Appointment*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Appointment[n];
- if (size)
- *size = n * sizeof(ngwt__Appointment);
- for (int i = 0; i < n; i++)
- ((ngwt__Appointment*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Appointment*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Appointment(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Appointment %p -> %p\n", q, p));
- *(ngwt__Appointment*)p = *(ngwt__Appointment*)q;
-}
-
-void ngwt__Alarm::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__Alarm*)this)->__item, SOAP_TYPE_int);
- /* transient soap skipped */
-}
-
-void ngwt__Alarm::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_int(soap, &((ngwt__Alarm*)this)->__item);
- ((ngwt__Alarm*)this)->enabled = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__Alarm::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Alarm);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__Alarm::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__Alarm(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Alarm(struct soap *soap, const char *tag, int id, const ngwt__Alarm *a, const char *type)
-{
- if (((ngwt__Alarm *)a)->enabled)
- soap_set_attr(soap, "enabled", soap_bool2s(soap, *((ngwt__Alarm *)a)->enabled));
- soap_out_int(soap, tag, id, &(((ngwt__Alarm*)a)->__item), "");
- return SOAP_OK;
-}
-
-void *ngwt__Alarm::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__Alarm(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_get_ngwt__Alarm(struct soap *soap, ngwt__Alarm *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__Alarm(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__Alarm::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__Alarm(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_in_ngwt__Alarm(struct soap *soap, const char *tag, ngwt__Alarm *a, const char *type)
-{
- if (soap_peek_element(soap))
- return NULL;
- if (!(a = (ngwt__Alarm *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Alarm, sizeof(ngwt__Alarm), soap->type, soap->arrayType)))
- { soap->error = SOAP_TAG_MISMATCH;
- return NULL;
- }
- *soap->id = '\0';
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__Alarm)
- return (ngwt__Alarm *)a->soap_in(soap, tag, type);
- }
- { const char *t = soap_attr_value(soap, "enabled", 0);
- if (t)
- { if (!(((ngwt__Alarm *)a)->enabled = (bool *)soap_malloc(soap, sizeof(bool))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- if (soap_s2bool(soap, t, ((ngwt__Alarm *)a)->enabled))
- return NULL;
- }
- }
- if (!soap_in_int(soap, tag, &(((ngwt__Alarm*)a)->__item), "ngwt:Alarm"))
- return NULL;
- return a;
-}
-
-SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_new_ngwt__Alarm(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__Alarm(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Alarm(struct soap *soap, ngwt__Alarm *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_instantiate_ngwt__Alarm(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Alarm(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Alarm, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Alarm;
- if (size)
- *size = sizeof(ngwt__Alarm);
- ((ngwt__Alarm*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Alarm[n];
- if (size)
- *size = n * sizeof(ngwt__Alarm);
- for (int i = 0; i < n; i++)
- ((ngwt__Alarm*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Alarm*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Alarm(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Alarm %p -> %p\n", q, p));
- *(ngwt__Alarm*)p = *(ngwt__Alarm*)q;
-}
-
-void ngwt__AddressBookList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(soap, &((ngwt__AddressBookList*)this)->book);
- /* transient soap skipped */
-}
-
-void ngwt__AddressBookList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(soap, &((ngwt__AddressBookList*)this)->book);
- /* transient soap skipped */
-}
-
-int ngwt__AddressBookList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBookList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AddressBookList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AddressBookList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookList(struct soap *soap, const char *tag, int id, const ngwt__AddressBookList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBookList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(soap, "ngwt:book", -1, &(((ngwt__AddressBookList*)a)->book), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AddressBookList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AddressBookList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_get_ngwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AddressBookList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AddressBookList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AddressBookList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_in_ngwt__AddressBookList(struct soap *soap, const char *tag, ngwt__AddressBookList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AddressBookList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBookList, sizeof(ngwt__AddressBookList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AddressBookList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AddressBookList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(soap, "ngwt:book", &(((ngwt__AddressBookList*)a)->book), "ngwt:AddressBook"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AddressBookList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookList, 0, sizeof(ngwt__AddressBookList), 0, soap_copy_ngwt__AddressBookList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_new_ngwt__AddressBookList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AddressBookList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBookList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBookList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBookList;
- if (size)
- *size = sizeof(ngwt__AddressBookList);
- ((ngwt__AddressBookList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBookList[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBookList);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBookList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBookList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBookList %p -> %p\n", q, p));
- *(ngwt__AddressBookList*)p = *(ngwt__AddressBookList*)q;
-}
-
-void ngwt__AddressBookItem::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName);
- soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid);
- soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList);
- soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created);
- soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList);
- soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__AddressBookItem::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AddressBookItem*)this)->uuid = NULL;
- ((ngwt__AddressBookItem*)this)->comment = NULL;
- ((ngwt__AddressBookItem*)this)->sync = NULL;
- ((ngwt__AddressBookItem*)this)->domain = NULL;
- ((ngwt__AddressBookItem*)this)->postOffice = NULL;
- ((ngwt__AddressBookItem*)this)->distinguishedName = NULL;
- ((ngwt__AddressBookItem*)this)->userid = NULL;
- soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container);
- ((ngwt__ContainerItem*)this)->categories = NULL;
- soap_default_string(soap, &((ngwt__ContainerItem*)this)->created);
- ((ngwt__ContainerItem*)this)->customs = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AddressBookItem::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBookItem);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AddressBookItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AddressBookItem(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookItem(struct soap *soap, const char *tag, int id, const ngwt__AddressBookItem *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBookItem), "ngwt:AddressBookItem");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), "");
- soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), "");
- soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), "");
- soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), "");
- soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), "");
- soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), "");
- soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), "");
- soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), "");
- soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), "");
- soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AddressBookItem::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AddressBookItem(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_get_ngwt__AddressBookItem(struct soap *soap, ngwt__AddressBookItem *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AddressBookItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AddressBookItem::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AddressBookItem(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_in_ngwt__AddressBookItem(struct soap *soap, const char *tag, ngwt__AddressBookItem *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AddressBookItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBookItem, sizeof(ngwt__AddressBookItem), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AddressBookItem)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AddressBookItem *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_uuid1 = 1, soap_flag_comment1 = 1, soap_flag_sync1 = 1, soap_flag_domain1 = 1, soap_flag_postOffice1 = 1, soap_flag_distinguishedName1 = 1, soap_flag_userid1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id3 = 0;
- continue;
- }
- if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name3 = 0;
- continue;
- }
- if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version3 = 0;
- continue;
- }
- if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified3 = 0;
- continue;
- }
- if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes3 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef"))
- continue;
- if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList"))
- { soap_flag_categories2 = 0;
- continue;
- }
- if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), ""))
- { soap_flag_created2 = 0;
- continue;
- }
- if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList"))
- { soap_flag_customs2 = 0;
- continue;
- }
- if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid1 = 0;
- continue;
- }
- if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), ""))
- { soap_flag_comment1 = 0;
- continue;
- }
- if (soap_flag_sync1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), ""))
- { soap_flag_sync1 = 0;
- continue;
- }
- if (soap_flag_domain1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), ""))
- { soap_flag_domain1 = 0;
- continue;
- }
- if (soap_flag_postOffice1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), ""))
- { soap_flag_postOffice1 = 0;
- continue;
- }
- if (soap_flag_distinguishedName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), ""))
- { soap_flag_distinguishedName1 = 0;
- continue;
- }
- if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), ""))
- { soap_flag_userid1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AddressBookItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookItem, 0, sizeof(ngwt__AddressBookItem), 0, soap_copy_ngwt__AddressBookItem);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_new_ngwt__AddressBookItem(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AddressBookItem(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookItem(struct soap *soap, ngwt__AddressBookItem *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBookItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBookItem, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:Contact"))
- { cp->type = SOAP_TYPE_ngwt__Contact;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Contact;
- if (size)
- *size = sizeof(ngwt__Contact);
- ((ngwt__Contact*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Contact[n];
- if (size)
- *size = n * sizeof(ngwt__Contact);
- for (int i = 0; i < n; i++)
- ((ngwt__Contact*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Contact*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Group"))
- { cp->type = SOAP_TYPE_ngwt__Group;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Group;
- if (size)
- *size = sizeof(ngwt__Group);
- ((ngwt__Group*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Group[n];
- if (size)
- *size = n * sizeof(ngwt__Group);
- for (int i = 0; i < n; i++)
- ((ngwt__Group*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Group*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Organization"))
- { cp->type = SOAP_TYPE_ngwt__Organization;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Organization;
- if (size)
- *size = sizeof(ngwt__Organization);
- ((ngwt__Organization*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Organization[n];
- if (size)
- *size = n * sizeof(ngwt__Organization);
- for (int i = 0; i < n; i++)
- ((ngwt__Organization*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Organization*)cp->ptr;
- }
- if (type && !soap_match_tag(soap, type, "ngwt:Resource"))
- { cp->type = SOAP_TYPE_ngwt__Resource;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__Resource;
- if (size)
- *size = sizeof(ngwt__Resource);
- ((ngwt__Resource*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__Resource[n];
- if (size)
- *size = n * sizeof(ngwt__Resource);
- for (int i = 0; i < n; i++)
- ((ngwt__Resource*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__Resource*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBookItem;
- if (size)
- *size = sizeof(ngwt__AddressBookItem);
- ((ngwt__AddressBookItem*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBookItem[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBookItem);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBookItem*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBookItem %p -> %p\n", q, p));
- *(ngwt__AddressBookItem*)p = *(ngwt__AddressBookItem*)q;
-}
-
-void ngwt__AddressBook::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AddressBook*)this)->description, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBook*)this)->description);
- soap_embedded(soap, &((ngwt__AddressBook*)this)->isPersonal, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AddressBook*)this)->isPersonal);
- soap_embedded(soap, &((ngwt__AddressBook*)this)->isFrequentContacts, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AddressBook*)this)->isFrequentContacts);
- soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id);
- soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name);
- soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong);
- soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version);
- soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string);
- soap_serialize_string(soap, &((ngwt__Item*)this)->modified);
- soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges);
- soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes);
- /* transient soap skipped */
-}
-
-void ngwt__AddressBook::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AddressBook*)this)->description = NULL;
- ((ngwt__AddressBook*)this)->isPersonal = NULL;
- ((ngwt__AddressBook*)this)->isFrequentContacts = NULL;
- ((ngwt__Item*)this)->id = NULL;
- ((ngwt__Item*)this)->name = NULL;
- ((ngwt__Item*)this)->version = NULL;
- soap_default_string(soap, &((ngwt__Item*)this)->modified);
- ((ngwt__Item*)this)->changes = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AddressBook::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBook);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AddressBook::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AddressBook(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBook(struct soap *soap, const char *tag, int id, const ngwt__AddressBook *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBook), "ngwt:AddressBook");
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), "");
- soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), "");
- soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), "");
- soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), "");
- soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), "");
- /* transient soap skipped */
- soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__AddressBook*)a)->description), "");
- soap_out_PointerTobool(soap, "ngwt:isPersonal", -1, &(((ngwt__AddressBook*)a)->isPersonal), "");
- soap_out_PointerTobool(soap, "ngwt:isFrequentContacts", -1, &(((ngwt__AddressBook*)a)->isFrequentContacts), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AddressBook::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AddressBook(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_get_ngwt__AddressBook(struct soap *soap, ngwt__AddressBook *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AddressBook(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AddressBook::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AddressBook(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_in_ngwt__AddressBook(struct soap *soap, const char *tag, ngwt__AddressBook *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AddressBook *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBook, sizeof(ngwt__AddressBook), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AddressBook)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AddressBook *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_description1 = 1, soap_flag_isPersonal1 = 1, soap_flag_isFrequentContacts1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid"))
- { soap_flag_id2 = 0;
- continue;
- }
- if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), ""))
- { soap_flag_name2 = 0;
- continue;
- }
- if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), ""))
- { soap_flag_version2 = 0;
- continue;
- }
- if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), ""))
- { soap_flag_modified2 = 0;
- continue;
- }
- if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges"))
- { soap_flag_changes2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__AddressBook*)a)->description), ""))
- { soap_flag_description1 = 0;
- continue;
- }
- if (soap_flag_isPersonal1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isPersonal", &(((ngwt__AddressBook*)a)->isPersonal), ""))
- { soap_flag_isPersonal1 = 0;
- continue;
- }
- if (soap_flag_isFrequentContacts1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:isFrequentContacts", &(((ngwt__AddressBook*)a)->isFrequentContacts), ""))
- { soap_flag_isFrequentContacts1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AddressBook *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBook, 0, sizeof(ngwt__AddressBook), 0, soap_copy_ngwt__AddressBook);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_new_ngwt__AddressBook(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AddressBook(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBook(struct soap *soap, ngwt__AddressBook *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_instantiate_ngwt__AddressBook(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBook(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBook, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AddressBook;
- if (size)
- *size = sizeof(ngwt__AddressBook);
- ((ngwt__AddressBook*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AddressBook[n];
- if (size)
- *size = n * sizeof(ngwt__AddressBook);
- for (int i = 0; i < n; i++)
- ((ngwt__AddressBook*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AddressBook*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBook(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBook %p -> %p\n", q, p));
- *(ngwt__AddressBook*)p = *(ngwt__AddressBook*)q;
-}
-
-void ngwt__AccessRightList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightList*)this)->entry);
- /* transient soap skipped */
-}
-
-void ngwt__AccessRightList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightList*)this)->entry);
- /* transient soap skipped */
-}
-
-int ngwt__AccessRightList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessRightList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessRightList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightList(struct soap *soap, const char *tag, int id, const ngwt__AccessRightList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, "ngwt:entry", -1, &(((ngwt__AccessRightList*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessRightList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessRightList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_get_ngwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessRightList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessRightList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessRightList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_in_ngwt__AccessRightList(struct soap *soap, const char *tag, ngwt__AccessRightList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessRightList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightList, sizeof(ngwt__AccessRightList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessRightList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, "ngwt:entry", &(((ngwt__AccessRightList*)a)->entry), "ngwt:AccessRightEntry"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightList, 0, sizeof(ngwt__AccessRightList), 0, soap_copy_ngwt__AccessRightList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_new_ngwt__AccessRightList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessRightList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessRightList;
- if (size)
- *size = sizeof(ngwt__AccessRightList);
- ((ngwt__AccessRightList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessRightList[n];
- if (size)
- *size = n * sizeof(ngwt__AccessRightList);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessRightList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessRightList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightList %p -> %p\n", q, p));
- *(ngwt__AccessRightList*)p = *(ngwt__AccessRightList*)q;
-}
-
-void ngwt__AccessRightEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->id, SOAP_TYPE_PointerTongwt__uid);
- soap_serialize_PointerTongwt__uid(soap, &((ngwt__AccessRightEntry*)this)->id);
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->appointment, SOAP_TYPE_PointerTongwt__AccessRight);
- soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->appointment);
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->mail, SOAP_TYPE_PointerTongwt__AccessRight);
- soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->mail);
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->misc, SOAP_TYPE_PointerTongwt__AccessMiscRight);
- soap_serialize_PointerTongwt__AccessMiscRight(soap, &((ngwt__AccessRightEntry*)this)->misc);
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->note, SOAP_TYPE_PointerTongwt__AccessRight);
- soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->note);
- soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->task, SOAP_TYPE_PointerTongwt__AccessRight);
- soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->task);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__AccessRightEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AccessRightEntry*)this)->id = NULL;
- ((ngwt__AccessRightEntry*)this)->appointment = NULL;
- ((ngwt__AccessRightEntry*)this)->mail = NULL;
- ((ngwt__AccessRightEntry*)this)->misc = NULL;
- ((ngwt__AccessRightEntry*)this)->note = NULL;
- ((ngwt__AccessRightEntry*)this)->task = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AccessRightEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessRightEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessRightEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightEntry(struct soap *soap, const char *tag, int id, const ngwt__AccessRightEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightEntry), "ngwt:AccessRightEntry");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__AccessRightEntry*)a)->id), "");
- soap_out_PointerTongwt__AccessRight(soap, "ngwt:appointment", -1, &(((ngwt__AccessRightEntry*)a)->appointment), "");
- soap_out_PointerTongwt__AccessRight(soap, "ngwt:mail", -1, &(((ngwt__AccessRightEntry*)a)->mail), "");
- soap_out_PointerTongwt__AccessMiscRight(soap, "ngwt:misc", -1, &(((ngwt__AccessRightEntry*)a)->misc), "");
- soap_out_PointerTongwt__AccessRight(soap, "ngwt:note", -1, &(((ngwt__AccessRightEntry*)a)->note), "");
- soap_out_PointerTongwt__AccessRight(soap, "ngwt:task", -1, &(((ngwt__AccessRightEntry*)a)->task), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessRightEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessRightEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_get_ngwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessRightEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessRightEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessRightEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_in_ngwt__AccessRightEntry(struct soap *soap, const char *tag, ngwt__AccessRightEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessRightEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessRightEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_id1 = 1, soap_flag_appointment1 = 1, soap_flag_mail1 = 1, soap_flag_misc1 = 1, soap_flag_note1 = 1, soap_flag_task1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__AccessRightEntry*)a)->id), "ngwt:uid"))
- { soap_flag_id1 = 0;
- continue;
- }
- if (soap_flag_appointment1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:appointment", &(((ngwt__AccessRightEntry*)a)->appointment), "ngwt:AccessRight"))
- { soap_flag_appointment1 = 0;
- continue;
- }
- if (soap_flag_mail1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:mail", &(((ngwt__AccessRightEntry*)a)->mail), "ngwt:AccessRight"))
- { soap_flag_mail1 = 0;
- continue;
- }
- if (soap_flag_misc1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessMiscRight(soap, "ngwt:misc", &(((ngwt__AccessRightEntry*)a)->misc), "ngwt:AccessMiscRight"))
- { soap_flag_misc1 = 0;
- continue;
- }
- if (soap_flag_note1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:note", &(((ngwt__AccessRightEntry*)a)->note), "ngwt:AccessRight"))
- { soap_flag_note1 = 0;
- continue;
- }
- if (soap_flag_task1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:task", &(((ngwt__AccessRightEntry*)a)->task), "ngwt:AccessRight"))
- { soap_flag_task1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightEntry, 0, sizeof(ngwt__AccessRightEntry), 0, soap_copy_ngwt__AccessRightEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_new_ngwt__AccessRightEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessRightEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessRightEntry;
- if (size)
- *size = sizeof(ngwt__AccessRightEntry);
- ((ngwt__AccessRightEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessRightEntry[n];
- if (size)
- *size = n * sizeof(ngwt__AccessRightEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessRightEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessRightEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightEntry %p -> %p\n", q, p));
- *(ngwt__AccessRightEntry*)p = *(ngwt__AccessRightEntry*)q;
-}
-
-void ngwt__AccessRightChanges::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->add, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->add);
- soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->_delete, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->_delete);
- soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->update, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->update);
- /* transient soap skipped */
-}
-
-void ngwt__AccessRightChanges::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AccessRightChanges*)this)->add = NULL;
- ((ngwt__AccessRightChanges*)this)->_delete = NULL;
- ((ngwt__AccessRightChanges*)this)->update = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AccessRightChanges::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightChanges);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessRightChanges::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessRightChanges(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightChanges(struct soap *soap, const char *tag, int id, const ngwt__AccessRightChanges *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightChanges), type);
- soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:add", -1, &(((ngwt__AccessRightChanges*)a)->add), "");
- soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:delete", -1, &(((ngwt__AccessRightChanges*)a)->_delete), "");
- soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:update", -1, &(((ngwt__AccessRightChanges*)a)->update), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessRightChanges::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessRightChanges(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_get_ngwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessRightChanges(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessRightChanges::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessRightChanges(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_in_ngwt__AccessRightChanges(struct soap *soap, const char *tag, ngwt__AccessRightChanges *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessRightChanges *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightChanges, sizeof(ngwt__AccessRightChanges), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightChanges)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessRightChanges *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_add1 = 1, soap_flag_delete1 = 1, soap_flag_update1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:add", &(((ngwt__AccessRightChanges*)a)->add), "ngwt:AccessRightEntry"))
- { soap_flag_add1 = 0;
- continue;
- }
- if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:delete", &(((ngwt__AccessRightChanges*)a)->_delete), "ngwt:AccessRightEntry"))
- { soap_flag_delete1 = 0;
- continue;
- }
- if (soap_flag_update1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:update", &(((ngwt__AccessRightChanges*)a)->update), "ngwt:AccessRightEntry"))
- { soap_flag_update1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightChanges *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightChanges, 0, sizeof(ngwt__AccessRightChanges), 0, soap_copy_ngwt__AccessRightChanges);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_new_ngwt__AccessRightChanges(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessRightChanges(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightChanges(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightChanges(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightChanges, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessRightChanges;
- if (size)
- *size = sizeof(ngwt__AccessRightChanges);
- ((ngwt__AccessRightChanges*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessRightChanges[n];
- if (size)
- *size = n * sizeof(ngwt__AccessRightChanges);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessRightChanges*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessRightChanges*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightChanges(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightChanges %p -> %p\n", q, p));
- *(ngwt__AccessRightChanges*)p = *(ngwt__AccessRightChanges*)q;
-}
-
-void ngwt__AccessRight::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AccessRight*)this)->read, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessRight*)this)->read);
- soap_embedded(soap, &((ngwt__AccessRight*)this)->write, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessRight*)this)->write);
- /* transient soap skipped */
-}
-
-void ngwt__AccessRight::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AccessRight*)this)->read = NULL;
- ((ngwt__AccessRight*)this)->write = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AccessRight::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRight);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessRight::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessRight(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRight(struct soap *soap, const char *tag, int id, const ngwt__AccessRight *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRight), type);
- soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__AccessRight*)a)->read), "");
- soap_out_PointerTobool(soap, "ngwt:write", -1, &(((ngwt__AccessRight*)a)->write), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessRight::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessRight(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_get_ngwt__AccessRight(struct soap *soap, ngwt__AccessRight *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessRight(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessRight::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessRight(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_in_ngwt__AccessRight(struct soap *soap, const char *tag, ngwt__AccessRight *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessRight *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRight, sizeof(ngwt__AccessRight), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessRight)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessRight *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_read1 = 1, soap_flag_write1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__AccessRight*)a)->read), ""))
- { soap_flag_read1 = 0;
- continue;
- }
- if (soap_flag_write1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:write", &(((ngwt__AccessRight*)a)->write), ""))
- { soap_flag_write1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessRight *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRight, 0, sizeof(ngwt__AccessRight), 0, soap_copy_ngwt__AccessRight);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_new_ngwt__AccessRight(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessRight(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRight(struct soap *soap, ngwt__AccessRight *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessRight(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRight(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRight, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessRight;
- if (size)
- *size = sizeof(ngwt__AccessRight);
- ((ngwt__AccessRight*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessRight[n];
- if (size)
- *size = n * sizeof(ngwt__AccessRight);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessRight*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessRight*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRight(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRight %p -> %p\n", q, p));
- *(ngwt__AccessRight*)p = *(ngwt__AccessRight*)q;
-}
-
-void ngwt__AccessMiscRight::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->alarms, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->alarms);
- soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->notify, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->notify);
- soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->readHidden, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->readHidden);
- soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->setup, SOAP_TYPE_PointerTobool);
- soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->setup);
- /* transient soap skipped */
-}
-
-void ngwt__AccessMiscRight::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AccessMiscRight*)this)->alarms = NULL;
- ((ngwt__AccessMiscRight*)this)->notify = NULL;
- ((ngwt__AccessMiscRight*)this)->readHidden = NULL;
- ((ngwt__AccessMiscRight*)this)->setup = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AccessMiscRight::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessMiscRight);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessMiscRight::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessMiscRight(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessMiscRight(struct soap *soap, const char *tag, int id, const ngwt__AccessMiscRight *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessMiscRight), type);
- soap_out_PointerTobool(soap, "ngwt:alarms", -1, &(((ngwt__AccessMiscRight*)a)->alarms), "");
- soap_out_PointerTobool(soap, "ngwt:notify", -1, &(((ngwt__AccessMiscRight*)a)->notify), "");
- soap_out_PointerTobool(soap, "ngwt:readHidden", -1, &(((ngwt__AccessMiscRight*)a)->readHidden), "");
- soap_out_PointerTobool(soap, "ngwt:setup", -1, &(((ngwt__AccessMiscRight*)a)->setup), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessMiscRight::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessMiscRight(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_get_ngwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessMiscRight(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessMiscRight::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessMiscRight(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_in_ngwt__AccessMiscRight(struct soap *soap, const char *tag, ngwt__AccessMiscRight *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessMiscRight *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessMiscRight, sizeof(ngwt__AccessMiscRight), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessMiscRight)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessMiscRight *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_alarms1 = 1, soap_flag_notify1 = 1, soap_flag_readHidden1 = 1, soap_flag_setup1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_alarms1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:alarms", &(((ngwt__AccessMiscRight*)a)->alarms), ""))
- { soap_flag_alarms1 = 0;
- continue;
- }
- if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:notify", &(((ngwt__AccessMiscRight*)a)->notify), ""))
- { soap_flag_notify1 = 0;
- continue;
- }
- if (soap_flag_readHidden1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:readHidden", &(((ngwt__AccessMiscRight*)a)->readHidden), ""))
- { soap_flag_readHidden1 = 0;
- continue;
- }
- if (soap_flag_setup1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTobool(soap, "ngwt:setup", &(((ngwt__AccessMiscRight*)a)->setup), ""))
- { soap_flag_setup1 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessMiscRight *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessMiscRight, 0, sizeof(ngwt__AccessMiscRight), 0, soap_copy_ngwt__AccessMiscRight);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_new_ngwt__AccessMiscRight(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessMiscRight(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessMiscRight(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessMiscRight(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessMiscRight, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessMiscRight;
- if (size)
- *size = sizeof(ngwt__AccessMiscRight);
- ((ngwt__AccessMiscRight*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessMiscRight[n];
- if (size)
- *size = n * sizeof(ngwt__AccessMiscRight);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessMiscRight*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessMiscRight*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessMiscRight(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessMiscRight %p -> %p\n", q, p));
- *(ngwt__AccessMiscRight*)p = *(ngwt__AccessMiscRight*)q;
-}
-
-void ngwt__AccessControlList::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, &((ngwt__AccessControlList*)this)->entry);
- /* transient soap skipped */
-}
-
-void ngwt__AccessControlList::soap_default(struct soap *soap)
-{
- this->soap = soap;
- soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, &((ngwt__AccessControlList*)this)->entry);
- /* transient soap skipped */
-}
-
-int ngwt__AccessControlList::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessControlList);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessControlList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessControlList(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlList(struct soap *soap, const char *tag, int id, const ngwt__AccessControlList *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessControlList), type);
- soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, "ngwt:entry", -1, &(((ngwt__AccessControlList*)a)->entry), "");
- /* transient soap skipped */
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessControlList::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessControlList(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_get_ngwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessControlList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessControlList::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessControlList(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_in_ngwt__AccessControlList(struct soap *soap, const char *tag, ngwt__AccessControlList *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessControlList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessControlList, sizeof(ngwt__AccessControlList), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessControlList)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessControlList *)a->soap_in(soap, tag, type);
- }
- };
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, "ngwt:entry", &(((ngwt__AccessControlList*)a)->entry), "ngwt:AccessControlListEntry"))
- continue;
- /* transient soap skipped */
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessControlList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlList, 0, sizeof(ngwt__AccessControlList), 0, soap_copy_ngwt__AccessControlList);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_new_ngwt__AccessControlList(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessControlList(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessControlList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessControlList, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessControlList;
- if (size)
- *size = sizeof(ngwt__AccessControlList);
- ((ngwt__AccessControlList*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessControlList[n];
- if (size)
- *size = n * sizeof(ngwt__AccessControlList);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessControlList*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessControlList*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessControlList %p -> %p\n", q, p));
- *(ngwt__AccessControlList*)p = *(ngwt__AccessControlList*)q;
-}
-
-void ngwt__AccessControlListEntry::soap_serialize(struct soap *soap) const
-{
- (void)soap; /* appease -Wall -Werror */
- soap_embedded(soap, &((ngwt__AccessControlListEntry*)this)->rights, SOAP_TYPE_PointerTongwt__Rights);
- soap_serialize_PointerTongwt__Rights(soap, &((ngwt__AccessControlListEntry*)this)->rights);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string);
- soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email);
- soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID);
- soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid);
- /* transient soap skipped */
-}
-
-void ngwt__AccessControlListEntry::soap_default(struct soap *soap)
-{
- this->soap = soap;
- ((ngwt__AccessControlListEntry*)this)->rights = NULL;
- ((ngwt__NameAndEmail*)this)->displayName = NULL;
- ((ngwt__NameAndEmail*)this)->email = NULL;
- ((ngwt__NameAndEmail*)this)->uuid = NULL;
- /* transient soap skipped */
-}
-
-int ngwt__AccessControlListEntry::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessControlListEntry);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int ngwt__AccessControlListEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{
- return soap_out_ngwt__AccessControlListEntry(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, const ngwt__AccessControlListEntry *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessControlListEntry), "ngwt:AccessControlListEntry");
- soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), "");
- soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), "");
- soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), "");
- /* transient soap skipped */
- soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__AccessControlListEntry*)a)->rights), "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *ngwt__AccessControlListEntry::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_ngwt__AccessControlListEntry(soap, this, tag, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_get_ngwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *p, const char *tag, const char *type)
-{
- if ((p = soap_in_ngwt__AccessControlListEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *ngwt__AccessControlListEntry::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_ngwt__AccessControlListEntry(soap, tag, this, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_in_ngwt__AccessControlListEntry(struct soap *soap, const char *tag, ngwt__AccessControlListEntry *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- a = (ngwt__AccessControlListEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- { a->soap_default(soap);
- if (soap->clist->type != SOAP_TYPE_ngwt__AccessControlListEntry)
- { soap_revert(soap);
- *soap->id = '\0';
- return (ngwt__AccessControlListEntry *)a->soap_in(soap, tag, type);
- }
- }
- short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_rights1 = 1;
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), ""))
- { soap_flag_displayName2 = 0;
- continue;
- }
- if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), ""))
- { soap_flag_email2 = 0;
- continue;
- }
- if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID"))
- { soap_flag_uuid2 = 0;
- continue;
- }
- /* transient soap skipped */
- if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__AccessControlListEntry*)a)->rights), "ngwt:Rights"))
- { soap_flag_rights1 = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_rights1))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (ngwt__AccessControlListEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlListEntry, 0, sizeof(ngwt__AccessControlListEntry), 0, soap_copy_ngwt__AccessControlListEntry);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_new_ngwt__AccessControlListEntry(struct soap *soap, int n)
-{ return soap_instantiate_ngwt__AccessControlListEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlListEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessControlListEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessControlListEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (type && !soap_match_tag(soap, type, "ngwt:FolderACLEntry"))
- { cp->type = SOAP_TYPE_ngwt__FolderACLEntry;
- if (n < 0)
- { cp->ptr = (void*)new ngwt__FolderACLEntry;
- if (size)
- *size = sizeof(ngwt__FolderACLEntry);
- ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__FolderACLEntry[n];
- if (size)
- *size = n * sizeof(ngwt__FolderACLEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__FolderACLEntry*)cp->ptr;
- }
- if (n < 0)
- { cp->ptr = (void*)new ngwt__AccessControlListEntry;
- if (size)
- *size = sizeof(ngwt__AccessControlListEntry);
- ((ngwt__AccessControlListEntry*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new ngwt__AccessControlListEntry[n];
- if (size)
- *size = n * sizeof(ngwt__AccessControlListEntry);
- for (int i = 0; i < n; i++)
- ((ngwt__AccessControlListEntry*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (ngwt__AccessControlListEntry*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlListEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessControlListEntry %p -> %p\n", q, p));
- *(ngwt__AccessControlListEntry*)p = *(ngwt__AccessControlListEntry*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__language(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__language(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__language(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__language);
- if (soap_out_xsd__language(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__language(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__language), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__language(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_xsd__language(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__language(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__language, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__language, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__language, 0, sizeof(std::string), 0, soap_copy_xsd__language);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__language(struct soap *soap, int n)
-{ return soap_instantiate_xsd__language(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__language(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__language(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__language(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__language, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__language(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__duration(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__duration(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__duration(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__duration);
- if (soap_out_xsd__duration(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__duration(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__duration), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__duration(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_xsd__duration(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__duration(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__duration, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__duration, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__duration, 0, sizeof(std::string), 0, soap_copy_xsd__duration);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__duration(struct soap *soap, int n)
-{ return soap_instantiate_xsd__duration(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__duration(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__duration(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__duration(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__duration, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__duration(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__decimal(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__decimal(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__decimal);
- if (soap_out_xsd__decimal(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__decimal), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__decimal(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_xsd__decimal(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__decimal(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__decimal, 0, sizeof(std::string), 0, soap_copy_xsd__decimal);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__decimal(struct soap *soap, int n)
-{ return soap_instantiate_xsd__decimal(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__decimal(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__decimal(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__decimal(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__decimal, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__decimal(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__date(struct soap *soap, std::string const*a)
-{ soap_serialize_std__string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__date(struct soap *soap, std::string *a)
-{ soap_default_std__string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__date(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__date);
- if (soap_out_xsd__date(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__date(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__date), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__date(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_xsd__date(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__date(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__date, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__date, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__date, 0, sizeof(std::string), 0, soap_copy_xsd__date);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__date(struct soap *soap, int n)
-{ return soap_instantiate_xsd__date(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__date(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__date(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__date(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__date, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__date(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap *soap, const std::string *p)
-{ }
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap *soap, std::string *p)
-{
-(void)soap; /* appease -Wall -Werror */
- p->erase();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap *soap, const std::string *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__string);
- if (soap_out_std__string(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
-{
- if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_std__string), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap *soap, std::string *p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__string(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_std__string(struct soap *soap, const char *tag, std::string *s, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!s)
- s = soap_new_std__string(soap, -1);
- if (soap->null)
- if (s)
- s->erase();
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- if (soap->body && !*soap->href)
- { char *t;
- s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType);
- if (s)
- if ((t = soap_string_in(soap, 1, 0, -1)))
- s->assign(t);
- else
- return NULL;
- }
- else
- s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_std__string, 0, sizeof(std::string), 0, soap_copy_std__string);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return s;
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_std__string(struct soap *soap, int n)
-{ return soap_instantiate_std__string(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__string(struct soap *soap, std::string *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_std__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__string, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::string;
- if (size)
- *size = sizeof(std::string);
- }
- else
- { cp->ptr = (void*)new std::string[n];
- if (size)
- *size = n * sizeof(std::string);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::string*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__string(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
- *(std::string*)p = *(std::string*)q;
-}
-
-void xsd__base64Binary::soap_serialize(struct soap *soap) const
-{
- if (this->__ptr)
- soap_array_reference(soap, this, (struct soap_array*)&this->__ptr, 1, SOAP_TYPE_xsd__base64Binary);
-}
-
-void xsd__base64Binary::soap_default(struct soap *soap)
-{
- this->soap = soap;
- this->__size = 0;
- this->__ptr = NULL;
-}
-
-int xsd__base64Binary::soap_put(struct soap *soap, const char *tag, const char *type) const
-{
- register int id = soap_embed(soap, (void*)this, (struct soap_array*)&this->__ptr, 1, tag, SOAP_TYPE_xsd__base64Binary);
- if (this->soap_out(soap, tag, id, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-int xsd__base64Binary::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
-{ return soap_out_xsd__base64Binary(soap, tag, id, this, type);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__base64Binary(struct soap *soap, const char *tag, int id, const xsd__base64Binary *a, const char *type)
-{
- id = soap_element_id(soap, tag, id, a, (struct soap_array*)&a->__ptr, 1, type, SOAP_TYPE_xsd__base64Binary);
- if (id < 0)
- return soap->error;
- soap_element_begin_out(soap, tag, id, type);
- soap_putbase64(soap, a->__ptr, a->__size);
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-void *xsd__base64Binary::soap_get(struct soap *soap, const char *tag, const char *type)
-{
- return soap_get_xsd__base64Binary(soap, this, tag, type);
-}
-
-SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_get_xsd__base64Binary(struct soap *soap, xsd__base64Binary *p, const char *tag, const char *type)
-{
- if ((p = soap_in_xsd__base64Binary(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-void *xsd__base64Binary::soap_in(struct soap *soap, const char *tag, const char *type)
-{ return soap_in_xsd__base64Binary(soap, tag, this, type);
-}
-
-SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_in_xsd__base64Binary(struct soap *soap, const char *tag, xsd__base64Binary *a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":base64Binary") && soap_match_tag(soap, soap->type, ":base64"))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (xsd__base64Binary *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_xsd__base64Binary, sizeof(xsd__base64Binary), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- if (soap->alloced)
- a->soap_default(soap);
- if (soap->body && !*soap->href)
- {
- a->__ptr = soap_getbase64(soap, &a->__size, 0);
- if ((!a->__ptr && soap->error) || soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (xsd__base64Binary *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_xsd__base64Binary, 0, sizeof(xsd__base64Binary), 0, soap_copy_xsd__base64Binary);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_new_xsd__base64Binary(struct soap *soap, int n)
-{ return soap_instantiate_xsd__base64Binary(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__base64Binary(struct soap *soap, xsd__base64Binary *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_instantiate_xsd__base64Binary(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__base64Binary(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__base64Binary, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new xsd__base64Binary;
- if (size)
- *size = sizeof(xsd__base64Binary);
- ((xsd__base64Binary*)cp->ptr)->soap = soap;
- }
- else
- { cp->ptr = (void*)new xsd__base64Binary[n];
- if (size)
- *size = n * sizeof(xsd__base64Binary);
- for (int i = 0; i < n; i++)
- ((xsd__base64Binary*)cp->ptr)[i].soap = soap;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (xsd__base64Binary*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__base64Binary(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying xsd__base64Binary %p -> %p\n", q, p));
- *(xsd__base64Binary*)p = *(xsd__base64Binary*)q;
-}
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->faultcode, SOAP_TYPE__TQName);
- soap_serialize__TQName(soap, &a->faultcode);
- soap_embedded(soap, &a->faultstring, SOAP_TYPE_string);
- soap_serialize_string(soap, &a->faultstring);
- soap_embedded(soap, &a->faultactor, SOAP_TYPE_string);
- soap_serialize_string(soap, &a->faultactor);
- soap_embedded(soap, &a->detail, SOAP_TYPE_PointerToSOAP_ENV__Detail);
- soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->detail);
- soap_embedded(soap, &a->SOAP_ENV__Code, SOAP_TYPE_PointerToSOAP_ENV__Code);
- soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Code);
- soap_embedded(soap, &a->SOAP_ENV__Reason, SOAP_TYPE_string);
- soap_serialize_string(soap, &a->SOAP_ENV__Reason);
- soap_embedded(soap, &a->SOAP_ENV__Node, SOAP_TYPE_string);
- soap_serialize_string(soap, &a->SOAP_ENV__Node);
- soap_embedded(soap, &a->SOAP_ENV__Role, SOAP_TYPE_string);
- soap_serialize_string(soap, &a->SOAP_ENV__Role);
- soap_embedded(soap, &a->SOAP_ENV__Detail, SOAP_TYPE_PointerToSOAP_ENV__Detail);
- soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_default__TQName(soap, &a->faultcode);
- soap_default_string(soap, &a->faultstring);
- soap_default_string(soap, &a->faultactor);
- a->detail = NULL;
- a->SOAP_ENV__Code = NULL;
- soap_default_string(soap, &a->SOAP_ENV__Reason);
- soap_default_string(soap, &a->SOAP_ENV__Node);
- soap_default_string(soap, &a->SOAP_ENV__Role);
- a->SOAP_ENV__Detail = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Fault);
- if (soap_out_SOAP_ENV__Fault(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Fault *a, const char *type)
-{
- const char *soap_tmp_faultcode = soap_TQName2s(soap, a->faultcode);
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Fault), type);
- soap_out__TQName(soap, "faultcode", -1, (char*const*)&soap_tmp_faultcode, "");
- soap_out_string(soap, "faultstring", -1, &a->faultstring, "");
- soap_out_string(soap, "faultactor", -1, &a->faultactor, "");
- soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, "");
- soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", -1, &a->SOAP_ENV__Code, "");
- soap_out_string(soap, "SOAP-ENV:Reason", -1, &a->SOAP_ENV__Reason, "");
- soap_out_string(soap, "SOAP-ENV:Node", -1, &a->SOAP_ENV__Node, "");
- soap_out_string(soap, "SOAP-ENV:Role", -1, &a->SOAP_ENV__Role, "");
- soap_out_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", -1, &a->SOAP_ENV__Detail, "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p, const char *tag, const char *type)
-{
- if ((p = soap_in_SOAP_ENV__Fault(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap *soap, const char *tag, struct SOAP_ENV__Fault *a, const char *type)
-{
- short soap_flag_faultcode = 1, soap_flag_faultstring = 1, soap_flag_faultactor = 1, soap_flag_detail = 1, soap_flag_SOAP_ENV__Code = 1, soap_flag_SOAP_ENV__Reason = 1, soap_flag_SOAP_ENV__Node = 1, soap_flag_SOAP_ENV__Role = 1, soap_flag_SOAP_ENV__Detail = 1;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default_SOAP_ENV__Fault(soap, a);
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in__TQName(soap, "faultcode", &a->faultcode, ""))
- { soap_flag_faultcode = 0;
- continue;
- }
- if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "faultstring", &a->faultstring, ""))
- { soap_flag_faultstring = 0;
- continue;
- }
- if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "faultactor", &a->faultactor, ""))
- { soap_flag_faultactor = 0;
- continue;
- }
- if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, ""))
- { soap_flag_detail = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, ""))
- { soap_flag_SOAP_ENV__Code = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Reason && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, ""))
- { soap_flag_SOAP_ENV__Reason = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "SOAP-ENV:Node", &a->SOAP_ENV__Node, ""))
- { soap_flag_SOAP_ENV__Node = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_string(soap, "SOAP-ENV:Role", &a->SOAP_ENV__Role, ""))
- { soap_flag_SOAP_ENV__Role = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, ""))
- { soap_flag_SOAP_ENV__Detail = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Fault, 0, sizeof(struct SOAP_ENV__Fault), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_markelement(soap, a->fault, a->__type);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->__type = 0;
- a->fault = NULL;
- a->__any = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Detail);
- if (soap_out_SOAP_ENV__Detail(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Detail *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type);
- soap_putelement(soap, a->fault, "fault", -1, a->__type);
- soap_outliteral(soap, "-any", &a->__any);
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p, const char *tag, const char *type)
-{
- if ((p = soap_in_SOAP_ENV__Detail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap *soap, const char *tag, struct SOAP_ENV__Detail *a, const char *type)
-{
- short soap_flag_fault = 1, soap_flag___any = 1;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default_SOAP_ENV__Detail(soap, a);
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH)
- if ((a->fault = soap_getelement(soap, &a->__type)))
- { soap_flag_fault = 0;
- continue;
- }
- if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_inliteral(soap, "-any", &a->__any))
- { soap_flag___any = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, 0, sizeof(struct SOAP_ENV__Detail), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->SOAP_ENV__Value, SOAP_TYPE__TQName);
- soap_serialize__TQName(soap, &a->SOAP_ENV__Value);
- soap_embedded(soap, &a->SOAP_ENV__Subcode, SOAP_TYPE_PointerToSOAP_ENV__Code);
- soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_default__TQName(soap, &a->SOAP_ENV__Value);
- a->SOAP_ENV__Subcode = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Code);
- if (soap_out_SOAP_ENV__Code(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Code *a, const char *type)
-{
- const char *soap_tmp_SOAP_ENV__Value = soap_TQName2s(soap, a->SOAP_ENV__Value);
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Code), type);
- soap_out__TQName(soap, "SOAP-ENV:Value", -1, (char*const*)&soap_tmp_SOAP_ENV__Value, "");
- soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", -1, &a->SOAP_ENV__Subcode, "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p, const char *tag, const char *type)
-{
- if ((p = soap_in_SOAP_ENV__Code(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap *soap, const char *tag, struct SOAP_ENV__Code *a, const char *type)
-{
- short soap_flag_SOAP_ENV__Value = 1, soap_flag_SOAP_ENV__Subcode = 1;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default_SOAP_ENV__Code(soap, a);
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in__TQName(soap, "SOAP-ENV:Value", &a->SOAP_ENV__Value, ""))
- { soap_flag_SOAP_ENV__Value = 0;
- continue;
- }
- if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, ""))
- { soap_flag_SOAP_ENV__Subcode = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, 0, sizeof(struct SOAP_ENV__Code), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-#endif
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventsRequest(struct soap *soap, const struct __ngw__removeEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__removeEventsRequest, SOAP_TYPE_PointerTo_ngwe__removeEventsRequest);
- soap_serialize_PointerTo_ngwe__removeEventsRequest(soap, &a->ngwe__removeEventsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventsRequest(struct soap *soap, struct __ngw__removeEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__removeEventsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventsRequest(struct soap *soap, const struct __ngw__removeEventsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeEventsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__removeEventsRequest(soap, "ngwe:removeEventsRequest", -1, &a->ngwe__removeEventsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_get___ngw__removeEventsRequest(struct soap *soap, struct __ngw__removeEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_in___ngw__removeEventsRequest(struct soap *soap, const char *tag, struct __ngw__removeEventsRequest *a, const char *type)
-{
- short soap_flag_ngwe__removeEventsRequest = 1;
- a = (struct __ngw__removeEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeEventsRequest, sizeof(struct __ngw__removeEventsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeEventsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__removeEventsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__removeEventsRequest(soap, "ngwe:removeEventsRequest", &a->ngwe__removeEventsRequest, ""))
- { soap_flag_ngwe__removeEventsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventConfigurationRequest(struct soap *soap, const struct __ngw__removeEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__removeEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest);
- soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(soap, &a->ngwe__removeEventConfigurationRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventConfigurationRequest(struct soap *soap, struct __ngw__removeEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__removeEventConfigurationRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventConfigurationRequest(struct soap *soap, const struct __ngw__removeEventConfigurationRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeEventConfigurationRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, "ngwe:removeEventConfigurationRequest", -1, &a->ngwe__removeEventConfigurationRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__removeEventConfigurationRequest(struct soap *soap, struct __ngw__removeEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__removeEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__removeEventConfigurationRequest *a, const char *type)
-{
- short soap_flag_ngwe__removeEventConfigurationRequest = 1;
- a = (struct __ngw__removeEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeEventConfigurationRequest, sizeof(struct __ngw__removeEventConfigurationRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeEventConfigurationRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__removeEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, "ngwe:removeEventConfigurationRequest", &a->ngwe__removeEventConfigurationRequest, ""))
- { soap_flag_ngwe__removeEventConfigurationRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventsRequest(struct soap *soap, const struct __ngw__getEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__getEventsRequest, SOAP_TYPE_PointerTo_ngwe__getEventsRequest);
- soap_serialize_PointerTo_ngwe__getEventsRequest(soap, &a->ngwe__getEventsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventsRequest(struct soap *soap, struct __ngw__getEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__getEventsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventsRequest(struct soap *soap, const struct __ngw__getEventsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getEventsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__getEventsRequest(soap, "ngwe:getEventsRequest", -1, &a->ngwe__getEventsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_get___ngw__getEventsRequest(struct soap *soap, struct __ngw__getEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_in___ngw__getEventsRequest(struct soap *soap, const char *tag, struct __ngw__getEventsRequest *a, const char *type)
-{
- short soap_flag_ngwe__getEventsRequest = 1;
- a = (struct __ngw__getEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getEventsRequest, sizeof(struct __ngw__getEventsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getEventsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__getEventsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__getEventsRequest(soap, "ngwe:getEventsRequest", &a->ngwe__getEventsRequest, ""))
- { soap_flag_ngwe__getEventsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventConfigurationRequest(struct soap *soap, const struct __ngw__getEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__getEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest);
- soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(soap, &a->ngwe__getEventConfigurationRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventConfigurationRequest(struct soap *soap, struct __ngw__getEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__getEventConfigurationRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventConfigurationRequest(struct soap *soap, const struct __ngw__getEventConfigurationRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getEventConfigurationRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, "ngwe:getEventConfigurationRequest", -1, &a->ngwe__getEventConfigurationRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__getEventConfigurationRequest(struct soap *soap, struct __ngw__getEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__getEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__getEventConfigurationRequest *a, const char *type)
-{
- short soap_flag_ngwe__getEventConfigurationRequest = 1;
- a = (struct __ngw__getEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getEventConfigurationRequest, sizeof(struct __ngw__getEventConfigurationRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getEventConfigurationRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__getEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, "ngwe:getEventConfigurationRequest", &a->ngwe__getEventConfigurationRequest, ""))
- { soap_flag_ngwe__getEventConfigurationRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__configureEventsRequest(struct soap *soap, const struct __ngw__configureEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__configureEventsRequest, SOAP_TYPE_PointerTo_ngwe__configureEventsRequest);
- soap_serialize_PointerTo_ngwe__configureEventsRequest(soap, &a->ngwe__configureEventsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__configureEventsRequest(struct soap *soap, struct __ngw__configureEventsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__configureEventsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__configureEventsRequest(struct soap *soap, const struct __ngw__configureEventsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__configureEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__configureEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__configureEventsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__configureEventsRequest(soap, "ngwe:configureEventsRequest", -1, &a->ngwe__configureEventsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_get___ngw__configureEventsRequest(struct soap *soap, struct __ngw__configureEventsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__configureEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_in___ngw__configureEventsRequest(struct soap *soap, const char *tag, struct __ngw__configureEventsRequest *a, const char *type)
-{
- short soap_flag_ngwe__configureEventsRequest = 1;
- a = (struct __ngw__configureEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__configureEventsRequest, sizeof(struct __ngw__configureEventsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__configureEventsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__configureEventsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__configureEventsRequest(soap, "ngwe:configureEventsRequest", &a->ngwe__configureEventsRequest, ""))
- { soap_flag_ngwe__configureEventsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__cleanEventConfigurationRequest(struct soap *soap, const struct __ngw__cleanEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwe__cleanEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest);
- soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(soap, &a->ngwe__cleanEventConfigurationRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__cleanEventConfigurationRequest(struct soap *soap, struct __ngw__cleanEventConfigurationRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwe__cleanEventConfigurationRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__cleanEventConfigurationRequest(struct soap *soap, const struct __ngw__cleanEventConfigurationRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__cleanEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__cleanEventConfigurationRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, "ngwe:cleanEventConfigurationRequest", -1, &a->ngwe__cleanEventConfigurationRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__cleanEventConfigurationRequest(struct soap *soap, struct __ngw__cleanEventConfigurationRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__cleanEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__cleanEventConfigurationRequest *a, const char *type)
-{
- short soap_flag_ngwe__cleanEventConfigurationRequest = 1;
- a = (struct __ngw__cleanEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__cleanEventConfigurationRequest, sizeof(struct __ngw__cleanEventConfigurationRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__cleanEventConfigurationRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwe__cleanEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, "ngwe:cleanEventConfigurationRequest", &a->ngwe__cleanEventConfigurationRequest, ""))
- { soap_flag_ngwe__cleanEventConfigurationRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__updateVersionStatusRequest(struct soap *soap, const struct __ngw__updateVersionStatusRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__updateVersionStatusRequest, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest);
- soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(soap, &a->ngwm__updateVersionStatusRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__updateVersionStatusRequest(struct soap *soap, struct __ngw__updateVersionStatusRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__updateVersionStatusRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__updateVersionStatusRequest(struct soap *soap, const struct __ngw__updateVersionStatusRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__updateVersionStatusRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, const struct __ngw__updateVersionStatusRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, "ngwm:updateVersionStatusRequest", -1, &a->ngwm__updateVersionStatusRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_get___ngw__updateVersionStatusRequest(struct soap *soap, struct __ngw__updateVersionStatusRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__updateVersionStatusRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_in___ngw__updateVersionStatusRequest(struct soap *soap, const char *tag, struct __ngw__updateVersionStatusRequest *a, const char *type)
-{
- short soap_flag_ngwm__updateVersionStatusRequest = 1;
- a = (struct __ngw__updateVersionStatusRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__updateVersionStatusRequest, sizeof(struct __ngw__updateVersionStatusRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__updateVersionStatusRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__updateVersionStatusRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, "ngwm:updateVersionStatusRequest", &a->ngwm__updateVersionStatusRequest, ""))
- { soap_flag_ngwm__updateVersionStatusRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__uncompleteRequest(struct soap *soap, const struct __ngw__uncompleteRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__uncompleteRequest, SOAP_TYPE_PointerTo_ngwm__uncompleteRequest);
- soap_serialize_PointerTo_ngwm__uncompleteRequest(soap, &a->ngwm__uncompleteRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__uncompleteRequest(struct soap *soap, struct __ngw__uncompleteRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__uncompleteRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__uncompleteRequest(struct soap *soap, const struct __ngw__uncompleteRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__uncompleteRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__uncompleteRequest(struct soap *soap, const char *tag, int id, const struct __ngw__uncompleteRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__uncompleteRequest(soap, "ngwm:uncompleteRequest", -1, &a->ngwm__uncompleteRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_get___ngw__uncompleteRequest(struct soap *soap, struct __ngw__uncompleteRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__uncompleteRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_in___ngw__uncompleteRequest(struct soap *soap, const char *tag, struct __ngw__uncompleteRequest *a, const char *type)
-{
- short soap_flag_ngwm__uncompleteRequest = 1;
- a = (struct __ngw__uncompleteRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__uncompleteRequest, sizeof(struct __ngw__uncompleteRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__uncompleteRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__uncompleteRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__uncompleteRequest(soap, "ngwm:uncompleteRequest", &a->ngwm__uncompleteRequest, ""))
- { soap_flag_ngwm__uncompleteRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__unacceptRequest(struct soap *soap, const struct __ngw__unacceptRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__unacceptRequest, SOAP_TYPE_PointerTo_ngwm__unacceptRequest);
- soap_serialize_PointerTo_ngwm__unacceptRequest(soap, &a->ngwm__unacceptRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__unacceptRequest(struct soap *soap, struct __ngw__unacceptRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__unacceptRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__unacceptRequest(struct soap *soap, const struct __ngw__unacceptRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__unacceptRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__unacceptRequest(struct soap *soap, const char *tag, int id, const struct __ngw__unacceptRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__unacceptRequest(soap, "ngwm:unacceptRequest", -1, &a->ngwm__unacceptRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_get___ngw__unacceptRequest(struct soap *soap, struct __ngw__unacceptRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__unacceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_in___ngw__unacceptRequest(struct soap *soap, const char *tag, struct __ngw__unacceptRequest *a, const char *type)
-{
- short soap_flag_ngwm__unacceptRequest = 1;
- a = (struct __ngw__unacceptRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__unacceptRequest, sizeof(struct __ngw__unacceptRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__unacceptRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__unacceptRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__unacceptRequest(soap, "ngwm:unacceptRequest", &a->ngwm__unacceptRequest, ""))
- { soap_flag_ngwm__unacceptRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__startFreeBusySessionRequest(struct soap *soap, const struct __ngw__startFreeBusySessionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__startFreeBusySessionRequest, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest);
- soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(soap, &a->ngwm__startFreeBusySessionRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__startFreeBusySessionRequest(struct soap *soap, struct __ngw__startFreeBusySessionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__startFreeBusySessionRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__startFreeBusySessionRequest(struct soap *soap, const struct __ngw__startFreeBusySessionRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__startFreeBusySessionRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__startFreeBusySessionRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, "ngwm:startFreeBusySessionRequest", -1, &a->ngwm__startFreeBusySessionRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__startFreeBusySessionRequest(struct soap *soap, struct __ngw__startFreeBusySessionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__startFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__startFreeBusySessionRequest(struct soap *soap, const char *tag, struct __ngw__startFreeBusySessionRequest *a, const char *type)
-{
- short soap_flag_ngwm__startFreeBusySessionRequest = 1;
- a = (struct __ngw__startFreeBusySessionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__startFreeBusySessionRequest, sizeof(struct __ngw__startFreeBusySessionRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__startFreeBusySessionRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__startFreeBusySessionRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, "ngwm:startFreeBusySessionRequest", &a->ngwm__startFreeBusySessionRequest, ""))
- { soap_flag_ngwm__startFreeBusySessionRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__setTimestampRequest(struct soap *soap, const struct __ngw__setTimestampRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__setTimestampRequest, SOAP_TYPE_PointerTo_ngwm__setTimestampRequest);
- soap_serialize_PointerTo_ngwm__setTimestampRequest(soap, &a->ngwm__setTimestampRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__setTimestampRequest(struct soap *soap, struct __ngw__setTimestampRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__setTimestampRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__setTimestampRequest(struct soap *soap, const struct __ngw__setTimestampRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__setTimestampRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__setTimestampRequest(struct soap *soap, const char *tag, int id, const struct __ngw__setTimestampRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__setTimestampRequest(soap, "ngwm:setTimestampRequest", -1, &a->ngwm__setTimestampRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_get___ngw__setTimestampRequest(struct soap *soap, struct __ngw__setTimestampRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__setTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_in___ngw__setTimestampRequest(struct soap *soap, const char *tag, struct __ngw__setTimestampRequest *a, const char *type)
-{
- short soap_flag_ngwm__setTimestampRequest = 1;
- a = (struct __ngw__setTimestampRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__setTimestampRequest, sizeof(struct __ngw__setTimestampRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__setTimestampRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__setTimestampRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__setTimestampRequest(soap, "ngwm:setTimestampRequest", &a->ngwm__setTimestampRequest, ""))
- { soap_flag_ngwm__setTimestampRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__sendItemRequest(struct soap *soap, const struct __ngw__sendItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__sendItemRequest, SOAP_TYPE_PointerTo_ngwm__sendItemRequest);
- soap_serialize_PointerTo_ngwm__sendItemRequest(soap, &a->ngwm__sendItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__sendItemRequest(struct soap *soap, struct __ngw__sendItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__sendItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__sendItemRequest(struct soap *soap, const struct __ngw__sendItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__sendItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__sendItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__sendItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__sendItemRequest(soap, "ngwm:sendItemRequest", -1, &a->ngwm__sendItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_get___ngw__sendItemRequest(struct soap *soap, struct __ngw__sendItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__sendItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_in___ngw__sendItemRequest(struct soap *soap, const char *tag, struct __ngw__sendItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__sendItemRequest = 1;
- a = (struct __ngw__sendItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__sendItemRequest, sizeof(struct __ngw__sendItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__sendItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__sendItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__sendItemRequest(soap, "ngwm:sendItemRequest", &a->ngwm__sendItemRequest, ""))
- { soap_flag_ngwm__sendItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__retractRequest(struct soap *soap, const struct __ngw__retractRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__retractRequest, SOAP_TYPE_PointerTo_ngwm__retractRequest);
- soap_serialize_PointerTo_ngwm__retractRequest(soap, &a->ngwm__retractRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__retractRequest(struct soap *soap, struct __ngw__retractRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__retractRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__retractRequest(struct soap *soap, const struct __ngw__retractRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__retractRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__retractRequest(struct soap *soap, const char *tag, int id, const struct __ngw__retractRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__retractRequest(soap, "ngwm:retractRequest", -1, &a->ngwm__retractRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_get___ngw__retractRequest(struct soap *soap, struct __ngw__retractRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__retractRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_in___ngw__retractRequest(struct soap *soap, const char *tag, struct __ngw__retractRequest *a, const char *type)
-{
- short soap_flag_ngwm__retractRequest = 1;
- a = (struct __ngw__retractRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__retractRequest, sizeof(struct __ngw__retractRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__retractRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__retractRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__retractRequest(soap, "ngwm:retractRequest", &a->ngwm__retractRequest, ""))
- { soap_flag_ngwm__retractRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__replyRequest(struct soap *soap, const struct __ngw__replyRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__replyRequest, SOAP_TYPE_PointerTo_ngwm__replyRequest);
- soap_serialize_PointerTo_ngwm__replyRequest(soap, &a->ngwm__replyRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__replyRequest(struct soap *soap, struct __ngw__replyRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__replyRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__replyRequest(struct soap *soap, const struct __ngw__replyRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__replyRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__replyRequest(struct soap *soap, const char *tag, int id, const struct __ngw__replyRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__replyRequest(soap, "ngwm:replyRequest", -1, &a->ngwm__replyRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_get___ngw__replyRequest(struct soap *soap, struct __ngw__replyRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__replyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_in___ngw__replyRequest(struct soap *soap, const char *tag, struct __ngw__replyRequest *a, const char *type)
-{
- short soap_flag_ngwm__replyRequest = 1;
- a = (struct __ngw__replyRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__replyRequest, sizeof(struct __ngw__replyRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__replyRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__replyRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__replyRequest(soap, "ngwm:replyRequest", &a->ngwm__replyRequest, ""))
- { soap_flag_ngwm__replyRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeSignatureRequest(struct soap *soap, const struct __ngw__removeSignatureRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeSignatureRequest, SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest);
- soap_serialize_PointerTo_ngwm__removeSignatureRequest(soap, &a->ngwm__removeSignatureRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeSignatureRequest(struct soap *soap, struct __ngw__removeSignatureRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeSignatureRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeSignatureRequest(struct soap *soap, const struct __ngw__removeSignatureRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeSignatureRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeSignatureRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeSignatureRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeSignatureRequest(soap, "ngwm:removeSignatureRequest", -1, &a->ngwm__removeSignatureRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_get___ngw__removeSignatureRequest(struct soap *soap, struct __ngw__removeSignatureRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_in___ngw__removeSignatureRequest(struct soap *soap, const char *tag, struct __ngw__removeSignatureRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeSignatureRequest = 1;
- a = (struct __ngw__removeSignatureRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeSignatureRequest, sizeof(struct __ngw__removeSignatureRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeSignatureRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeSignatureRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeSignatureRequest(soap, "ngwm:removeSignatureRequest", &a->ngwm__removeSignatureRequest, ""))
- { soap_flag_ngwm__removeSignatureRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyUserRequest(struct soap *soap, const struct __ngw__removeProxyUserRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeProxyUserRequest, SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest);
- soap_serialize_PointerTo_ngwm__removeProxyUserRequest(soap, &a->ngwm__removeProxyUserRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyUserRequest(struct soap *soap, struct __ngw__removeProxyUserRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeProxyUserRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyUserRequest(struct soap *soap, const struct __ngw__removeProxyUserRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeProxyUserRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyUserRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeProxyUserRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, "ngwm:removeProxyUserRequest", -1, &a->ngwm__removeProxyUserRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_get___ngw__removeProxyUserRequest(struct soap *soap, struct __ngw__removeProxyUserRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeProxyUserRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_in___ngw__removeProxyUserRequest(struct soap *soap, const char *tag, struct __ngw__removeProxyUserRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeProxyUserRequest = 1;
- a = (struct __ngw__removeProxyUserRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeProxyUserRequest, sizeof(struct __ngw__removeProxyUserRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeProxyUserRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeProxyUserRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, "ngwm:removeProxyUserRequest", &a->ngwm__removeProxyUserRequest, ""))
- { soap_flag_ngwm__removeProxyUserRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyAccessRequest(struct soap *soap, const struct __ngw__removeProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest);
- soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(soap, &a->ngwm__removeProxyAccessRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyAccessRequest(struct soap *soap, struct __ngw__removeProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeProxyAccessRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyAccessRequest(struct soap *soap, const struct __ngw__removeProxyAccessRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeProxyAccessRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, "ngwm:removeProxyAccessRequest", -1, &a->ngwm__removeProxyAccessRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__removeProxyAccessRequest(struct soap *soap, struct __ngw__removeProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__removeProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__removeProxyAccessRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeProxyAccessRequest = 1;
- a = (struct __ngw__removeProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeProxyAccessRequest, sizeof(struct __ngw__removeProxyAccessRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeProxyAccessRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, "ngwm:removeProxyAccessRequest", &a->ngwm__removeProxyAccessRequest, ""))
- { soap_flag_ngwm__removeProxyAccessRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeMembersRequest(struct soap *soap, const struct __ngw__removeMembersRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeMembersRequest, SOAP_TYPE_PointerTo_ngwm__removeMembersRequest);
- soap_serialize_PointerTo_ngwm__removeMembersRequest(soap, &a->ngwm__removeMembersRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeMembersRequest(struct soap *soap, struct __ngw__removeMembersRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeMembersRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeMembersRequest(struct soap *soap, const struct __ngw__removeMembersRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeMembersRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeMembersRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeMembersRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeMembersRequest(soap, "ngwm:removeMembersRequest", -1, &a->ngwm__removeMembersRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_get___ngw__removeMembersRequest(struct soap *soap, struct __ngw__removeMembersRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_in___ngw__removeMembersRequest(struct soap *soap, const char *tag, struct __ngw__removeMembersRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeMembersRequest = 1;
- a = (struct __ngw__removeMembersRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeMembersRequest, sizeof(struct __ngw__removeMembersRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeMembersRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeMembersRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeMembersRequest(soap, "ngwm:removeMembersRequest", &a->ngwm__removeMembersRequest, ""))
- { soap_flag_ngwm__removeMembersRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeJunkEntryRequest(struct soap *soap, const struct __ngw__removeJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest);
- soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(soap, &a->ngwm__removeJunkEntryRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeJunkEntryRequest(struct soap *soap, struct __ngw__removeJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeJunkEntryRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeJunkEntryRequest(struct soap *soap, const struct __ngw__removeJunkEntryRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeJunkEntryRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, "ngwm:removeJunkEntryRequest", -1, &a->ngwm__removeJunkEntryRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__removeJunkEntryRequest(struct soap *soap, struct __ngw__removeJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__removeJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__removeJunkEntryRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeJunkEntryRequest = 1;
- a = (struct __ngw__removeJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeJunkEntryRequest, sizeof(struct __ngw__removeJunkEntryRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeJunkEntryRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, "ngwm:removeJunkEntryRequest", &a->ngwm__removeJunkEntryRequest, ""))
- { soap_flag_ngwm__removeJunkEntryRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemsRequest(struct soap *soap, const struct __ngw__removeItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeItemsRequest, SOAP_TYPE_PointerTo_ngwm__removeItemsRequest);
- soap_serialize_PointerTo_ngwm__removeItemsRequest(soap, &a->ngwm__removeItemsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemsRequest(struct soap *soap, struct __ngw__removeItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeItemsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemsRequest(struct soap *soap, const struct __ngw__removeItemsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeItemsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeItemsRequest(soap, "ngwm:removeItemsRequest", -1, &a->ngwm__removeItemsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_get___ngw__removeItemsRequest(struct soap *soap, struct __ngw__removeItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_in___ngw__removeItemsRequest(struct soap *soap, const char *tag, struct __ngw__removeItemsRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeItemsRequest = 1;
- a = (struct __ngw__removeItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeItemsRequest, sizeof(struct __ngw__removeItemsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeItemsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeItemsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeItemsRequest(soap, "ngwm:removeItemsRequest", &a->ngwm__removeItemsRequest, ""))
- { soap_flag_ngwm__removeItemsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemRequest(struct soap *soap, const struct __ngw__removeItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeItemRequest, SOAP_TYPE_PointerTo_ngwm__removeItemRequest);
- soap_serialize_PointerTo_ngwm__removeItemRequest(soap, &a->ngwm__removeItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemRequest(struct soap *soap, struct __ngw__removeItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemRequest(struct soap *soap, const struct __ngw__removeItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeItemRequest(soap, "ngwm:removeItemRequest", -1, &a->ngwm__removeItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_get___ngw__removeItemRequest(struct soap *soap, struct __ngw__removeItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_in___ngw__removeItemRequest(struct soap *soap, const char *tag, struct __ngw__removeItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeItemRequest = 1;
- a = (struct __ngw__removeItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeItemRequest, sizeof(struct __ngw__removeItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeItemRequest(soap, "ngwm:removeItemRequest", &a->ngwm__removeItemRequest, ""))
- { soap_flag_ngwm__removeItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeCustomDefinitionRequest(struct soap *soap, const struct __ngw__removeCustomDefinitionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__removeCustomDefinitionRequest, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest);
- soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(soap, &a->ngwm__removeCustomDefinitionRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeCustomDefinitionRequest(struct soap *soap, struct __ngw__removeCustomDefinitionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__removeCustomDefinitionRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeCustomDefinitionRequest(struct soap *soap, const struct __ngw__removeCustomDefinitionRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__removeCustomDefinitionRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeCustomDefinitionRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, "ngwm:removeCustomDefinitionRequest", -1, &a->ngwm__removeCustomDefinitionRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get___ngw__removeCustomDefinitionRequest(struct soap *soap, struct __ngw__removeCustomDefinitionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__removeCustomDefinitionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *tag, struct __ngw__removeCustomDefinitionRequest *a, const char *type)
-{
- short soap_flag_ngwm__removeCustomDefinitionRequest = 1;
- a = (struct __ngw__removeCustomDefinitionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeCustomDefinitionRequest, sizeof(struct __ngw__removeCustomDefinitionRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__removeCustomDefinitionRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__removeCustomDefinitionRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, "ngwm:removeCustomDefinitionRequest", &a->ngwm__removeCustomDefinitionRequest, ""))
- { soap_flag_ngwm__removeCustomDefinitionRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__readCursorRequest(struct soap *soap, const struct __ngw__readCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__readCursorRequest, SOAP_TYPE_PointerTo_ngwm__readCursorRequest);
- soap_serialize_PointerTo_ngwm__readCursorRequest(soap, &a->ngwm__readCursorRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__readCursorRequest(struct soap *soap, struct __ngw__readCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__readCursorRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__readCursorRequest(struct soap *soap, const struct __ngw__readCursorRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__readCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__readCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__readCursorRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__readCursorRequest(soap, "ngwm:readCursorRequest", -1, &a->ngwm__readCursorRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_get___ngw__readCursorRequest(struct soap *soap, struct __ngw__readCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__readCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_in___ngw__readCursorRequest(struct soap *soap, const char *tag, struct __ngw__readCursorRequest *a, const char *type)
-{
- short soap_flag_ngwm__readCursorRequest = 1;
- a = (struct __ngw__readCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__readCursorRequest, sizeof(struct __ngw__readCursorRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__readCursorRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__readCursorRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__readCursorRequest(soap, "ngwm:readCursorRequest", &a->ngwm__readCursorRequest, ""))
- { soap_flag_ngwm__readCursorRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeRequest(struct soap *soap, const struct __ngw__purgeRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__purgeRequest, SOAP_TYPE_PointerTo_ngwm__purgeRequest);
- soap_serialize_PointerTo_ngwm__purgeRequest(soap, &a->ngwm__purgeRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeRequest(struct soap *soap, struct __ngw__purgeRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__purgeRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeRequest(struct soap *soap, const struct __ngw__purgeRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__purgeRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeRequest(struct soap *soap, const char *tag, int id, const struct __ngw__purgeRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__purgeRequest(soap, "ngwm:purgeRequest", -1, &a->ngwm__purgeRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_get___ngw__purgeRequest(struct soap *soap, struct __ngw__purgeRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__purgeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_in___ngw__purgeRequest(struct soap *soap, const char *tag, struct __ngw__purgeRequest *a, const char *type)
-{
- short soap_flag_ngwm__purgeRequest = 1;
- a = (struct __ngw__purgeRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__purgeRequest, sizeof(struct __ngw__purgeRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__purgeRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__purgeRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__purgeRequest(soap, "ngwm:purgeRequest", &a->ngwm__purgeRequest, ""))
- { soap_flag_ngwm__purgeRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeDeletedItemsRequest(struct soap *soap, const struct __ngw__purgeDeletedItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__purgeDeletedItemsRequest, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest);
- soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(soap, &a->ngwm__purgeDeletedItemsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeDeletedItemsRequest(struct soap *soap, struct __ngw__purgeDeletedItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__purgeDeletedItemsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeDeletedItemsRequest(struct soap *soap, const struct __ngw__purgeDeletedItemsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__purgeDeletedItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__purgeDeletedItemsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, "ngwm:purgeDeletedItemsRequest", -1, &a->ngwm__purgeDeletedItemsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get___ngw__purgeDeletedItemsRequest(struct soap *soap, struct __ngw__purgeDeletedItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__purgeDeletedItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *tag, struct __ngw__purgeDeletedItemsRequest *a, const char *type)
-{
- short soap_flag_ngwm__purgeDeletedItemsRequest = 1;
- a = (struct __ngw__purgeDeletedItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__purgeDeletedItemsRequest, sizeof(struct __ngw__purgeDeletedItemsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__purgeDeletedItemsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__purgeDeletedItemsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, "ngwm:purgeDeletedItemsRequest", &a->ngwm__purgeDeletedItemsRequest, ""))
- { soap_flag_ngwm__purgeDeletedItemsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__positionCursorRequest(struct soap *soap, const struct __ngw__positionCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__positionCursorRequest, SOAP_TYPE_PointerTo_ngwm__positionCursorRequest);
- soap_serialize_PointerTo_ngwm__positionCursorRequest(soap, &a->ngwm__positionCursorRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__positionCursorRequest(struct soap *soap, struct __ngw__positionCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__positionCursorRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__positionCursorRequest(struct soap *soap, const struct __ngw__positionCursorRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__positionCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__positionCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__positionCursorRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__positionCursorRequest(soap, "ngwm:positionCursorRequest", -1, &a->ngwm__positionCursorRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_get___ngw__positionCursorRequest(struct soap *soap, struct __ngw__positionCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__positionCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_in___ngw__positionCursorRequest(struct soap *soap, const char *tag, struct __ngw__positionCursorRequest *a, const char *type)
-{
- short soap_flag_ngwm__positionCursorRequest = 1;
- a = (struct __ngw__positionCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__positionCursorRequest, sizeof(struct __ngw__positionCursorRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__positionCursorRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__positionCursorRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__positionCursorRequest(soap, "ngwm:positionCursorRequest", &a->ngwm__positionCursorRequest, ""))
- { soap_flag_ngwm__positionCursorRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__moveItemRequest(struct soap *soap, const struct __ngw__moveItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__moveItemRequest, SOAP_TYPE_PointerTo_ngwm__moveItemRequest);
- soap_serialize_PointerTo_ngwm__moveItemRequest(soap, &a->ngwm__moveItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__moveItemRequest(struct soap *soap, struct __ngw__moveItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__moveItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__moveItemRequest(struct soap *soap, const struct __ngw__moveItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__moveItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__moveItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__moveItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__moveItemRequest(soap, "ngwm:moveItemRequest", -1, &a->ngwm__moveItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_get___ngw__moveItemRequest(struct soap *soap, struct __ngw__moveItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__moveItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_in___ngw__moveItemRequest(struct soap *soap, const char *tag, struct __ngw__moveItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__moveItemRequest = 1;
- a = (struct __ngw__moveItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__moveItemRequest, sizeof(struct __ngw__moveItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__moveItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__moveItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__moveItemRequest(soap, "ngwm:moveItemRequest", &a->ngwm__moveItemRequest, ""))
- { soap_flag_ngwm__moveItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySignaturesRequest(struct soap *soap, const struct __ngw__modifySignaturesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifySignaturesRequest, SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest);
- soap_serialize_PointerTo_ngwm__modifySignaturesRequest(soap, &a->ngwm__modifySignaturesRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySignaturesRequest(struct soap *soap, struct __ngw__modifySignaturesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifySignaturesRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySignaturesRequest(struct soap *soap, const struct __ngw__modifySignaturesRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifySignaturesRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySignaturesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifySignaturesRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, "ngwm:modifySignaturesRequest", -1, &a->ngwm__modifySignaturesRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_get___ngw__modifySignaturesRequest(struct soap *soap, struct __ngw__modifySignaturesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifySignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_in___ngw__modifySignaturesRequest(struct soap *soap, const char *tag, struct __ngw__modifySignaturesRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifySignaturesRequest = 1;
- a = (struct __ngw__modifySignaturesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifySignaturesRequest, sizeof(struct __ngw__modifySignaturesRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifySignaturesRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifySignaturesRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, "ngwm:modifySignaturesRequest", &a->ngwm__modifySignaturesRequest, ""))
- { soap_flag_ngwm__modifySignaturesRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySettingsRequest(struct soap *soap, const struct __ngw__modifySettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifySettingsRequest, SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest);
- soap_serialize_PointerTo_ngwm__modifySettingsRequest(soap, &a->ngwm__modifySettingsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySettingsRequest(struct soap *soap, struct __ngw__modifySettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifySettingsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySettingsRequest(struct soap *soap, const struct __ngw__modifySettingsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifySettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifySettingsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifySettingsRequest(soap, "ngwm:modifySettingsRequest", -1, &a->ngwm__modifySettingsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_get___ngw__modifySettingsRequest(struct soap *soap, struct __ngw__modifySettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifySettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_in___ngw__modifySettingsRequest(struct soap *soap, const char *tag, struct __ngw__modifySettingsRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifySettingsRequest = 1;
- a = (struct __ngw__modifySettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifySettingsRequest, sizeof(struct __ngw__modifySettingsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifySettingsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifySettingsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifySettingsRequest(soap, "ngwm:modifySettingsRequest", &a->ngwm__modifySettingsRequest, ""))
- { soap_flag_ngwm__modifySettingsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyProxyAccessRequest(struct soap *soap, const struct __ngw__modifyProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifyProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest);
- soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(soap, &a->ngwm__modifyProxyAccessRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyProxyAccessRequest(struct soap *soap, struct __ngw__modifyProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifyProxyAccessRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyProxyAccessRequest(struct soap *soap, const struct __ngw__modifyProxyAccessRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifyProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyProxyAccessRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, "ngwm:modifyProxyAccessRequest", -1, &a->ngwm__modifyProxyAccessRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__modifyProxyAccessRequest(struct soap *soap, struct __ngw__modifyProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifyProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__modifyProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__modifyProxyAccessRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifyProxyAccessRequest = 1;
- a = (struct __ngw__modifyProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyProxyAccessRequest, sizeof(struct __ngw__modifyProxyAccessRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifyProxyAccessRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifyProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, "ngwm:modifyProxyAccessRequest", &a->ngwm__modifyProxyAccessRequest, ""))
- { soap_flag_ngwm__modifyProxyAccessRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyPasswordRequest(struct soap *soap, const struct __ngw__modifyPasswordRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifyPasswordRequest, SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest);
- soap_serialize_PointerTo_ngwm__modifyPasswordRequest(soap, &a->ngwm__modifyPasswordRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyPasswordRequest(struct soap *soap, struct __ngw__modifyPasswordRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifyPasswordRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyPasswordRequest(struct soap *soap, const struct __ngw__modifyPasswordRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifyPasswordRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyPasswordRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyPasswordRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, "ngwm:modifyPasswordRequest", -1, &a->ngwm__modifyPasswordRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_get___ngw__modifyPasswordRequest(struct soap *soap, struct __ngw__modifyPasswordRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifyPasswordRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_in___ngw__modifyPasswordRequest(struct soap *soap, const char *tag, struct __ngw__modifyPasswordRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifyPasswordRequest = 1;
- a = (struct __ngw__modifyPasswordRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyPasswordRequest, sizeof(struct __ngw__modifyPasswordRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifyPasswordRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifyPasswordRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, "ngwm:modifyPasswordRequest", &a->ngwm__modifyPasswordRequest, ""))
- { soap_flag_ngwm__modifyPasswordRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const struct __ngw__modifyJunkMailSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifyJunkMailSettingsRequest, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest);
- soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, &a->ngwm__modifyJunkMailSettingsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkMailSettingsRequest(struct soap *soap, struct __ngw__modifyJunkMailSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifyJunkMailSettingsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const struct __ngw__modifyJunkMailSettingsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifyJunkMailSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyJunkMailSettingsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, "ngwm:modifyJunkMailSettingsRequest", -1, &a->ngwm__modifyJunkMailSettingsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkMailSettingsRequest(struct soap *soap, struct __ngw__modifyJunkMailSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifyJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, struct __ngw__modifyJunkMailSettingsRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifyJunkMailSettingsRequest = 1;
- a = (struct __ngw__modifyJunkMailSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyJunkMailSettingsRequest, sizeof(struct __ngw__modifyJunkMailSettingsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifyJunkMailSettingsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifyJunkMailSettingsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, "ngwm:modifyJunkMailSettingsRequest", &a->ngwm__modifyJunkMailSettingsRequest, ""))
- { soap_flag_ngwm__modifyJunkMailSettingsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkEntryRequest(struct soap *soap, const struct __ngw__modifyJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifyJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest);
- soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(soap, &a->ngwm__modifyJunkEntryRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkEntryRequest(struct soap *soap, struct __ngw__modifyJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifyJunkEntryRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkEntryRequest(struct soap *soap, const struct __ngw__modifyJunkEntryRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifyJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyJunkEntryRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, "ngwm:modifyJunkEntryRequest", -1, &a->ngwm__modifyJunkEntryRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkEntryRequest(struct soap *soap, struct __ngw__modifyJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifyJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__modifyJunkEntryRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifyJunkEntryRequest = 1;
- a = (struct __ngw__modifyJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyJunkEntryRequest, sizeof(struct __ngw__modifyJunkEntryRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifyJunkEntryRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifyJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, "ngwm:modifyJunkEntryRequest", &a->ngwm__modifyJunkEntryRequest, ""))
- { soap_flag_ngwm__modifyJunkEntryRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyItemRequest(struct soap *soap, const struct __ngw__modifyItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__modifyItemRequest, SOAP_TYPE_PointerTo_ngwm__modifyItemRequest);
- soap_serialize_PointerTo_ngwm__modifyItemRequest(soap, &a->ngwm__modifyItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyItemRequest(struct soap *soap, struct __ngw__modifyItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__modifyItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyItemRequest(struct soap *soap, const struct __ngw__modifyItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__modifyItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__modifyItemRequest(soap, "ngwm:modifyItemRequest", -1, &a->ngwm__modifyItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_get___ngw__modifyItemRequest(struct soap *soap, struct __ngw__modifyItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__modifyItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_in___ngw__modifyItemRequest(struct soap *soap, const char *tag, struct __ngw__modifyItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__modifyItemRequest = 1;
- a = (struct __ngw__modifyItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyItemRequest, sizeof(struct __ngw__modifyItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__modifyItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__modifyItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__modifyItemRequest(soap, "ngwm:modifyItemRequest", &a->ngwm__modifyItemRequest, ""))
- { soap_flag_ngwm__modifyItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnReadRequest(struct soap *soap, const struct __ngw__markUnReadRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__markUnReadRequest, SOAP_TYPE_PointerTo_ngwm__markUnReadRequest);
- soap_serialize_PointerTo_ngwm__markUnReadRequest(soap, &a->ngwm__markUnReadRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnReadRequest(struct soap *soap, struct __ngw__markUnReadRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__markUnReadRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnReadRequest(struct soap *soap, const struct __ngw__markUnReadRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__markUnReadRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnReadRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markUnReadRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__markUnReadRequest(soap, "ngwm:markUnReadRequest", -1, &a->ngwm__markUnReadRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_get___ngw__markUnReadRequest(struct soap *soap, struct __ngw__markUnReadRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__markUnReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_in___ngw__markUnReadRequest(struct soap *soap, const char *tag, struct __ngw__markUnReadRequest *a, const char *type)
-{
- short soap_flag_ngwm__markUnReadRequest = 1;
- a = (struct __ngw__markUnReadRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markUnReadRequest, sizeof(struct __ngw__markUnReadRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__markUnReadRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__markUnReadRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__markUnReadRequest(soap, "ngwm:markUnReadRequest", &a->ngwm__markUnReadRequest, ""))
- { soap_flag_ngwm__markUnReadRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnPrivateRequest(struct soap *soap, const struct __ngw__markUnPrivateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__markUnPrivateRequest, SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest);
- soap_serialize_PointerTo_ngwm__markUnPrivateRequest(soap, &a->ngwm__markUnPrivateRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnPrivateRequest(struct soap *soap, struct __ngw__markUnPrivateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__markUnPrivateRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnPrivateRequest(struct soap *soap, const struct __ngw__markUnPrivateRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__markUnPrivateRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnPrivateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markUnPrivateRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, "ngwm:markUnPrivateRequest", -1, &a->ngwm__markUnPrivateRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_get___ngw__markUnPrivateRequest(struct soap *soap, struct __ngw__markUnPrivateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__markUnPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_in___ngw__markUnPrivateRequest(struct soap *soap, const char *tag, struct __ngw__markUnPrivateRequest *a, const char *type)
-{
- short soap_flag_ngwm__markUnPrivateRequest = 1;
- a = (struct __ngw__markUnPrivateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markUnPrivateRequest, sizeof(struct __ngw__markUnPrivateRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__markUnPrivateRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__markUnPrivateRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, "ngwm:markUnPrivateRequest", &a->ngwm__markUnPrivateRequest, ""))
- { soap_flag_ngwm__markUnPrivateRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markReadRequest(struct soap *soap, const struct __ngw__markReadRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__markReadRequest, SOAP_TYPE_PointerTo_ngwm__markReadRequest);
- soap_serialize_PointerTo_ngwm__markReadRequest(soap, &a->ngwm__markReadRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markReadRequest(struct soap *soap, struct __ngw__markReadRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__markReadRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markReadRequest(struct soap *soap, const struct __ngw__markReadRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__markReadRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markReadRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markReadRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__markReadRequest(soap, "ngwm:markReadRequest", -1, &a->ngwm__markReadRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_get___ngw__markReadRequest(struct soap *soap, struct __ngw__markReadRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__markReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_in___ngw__markReadRequest(struct soap *soap, const char *tag, struct __ngw__markReadRequest *a, const char *type)
-{
- short soap_flag_ngwm__markReadRequest = 1;
- a = (struct __ngw__markReadRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markReadRequest, sizeof(struct __ngw__markReadRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__markReadRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__markReadRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__markReadRequest(soap, "ngwm:markReadRequest", &a->ngwm__markReadRequest, ""))
- { soap_flag_ngwm__markReadRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markPrivateRequest(struct soap *soap, const struct __ngw__markPrivateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__markPrivateRequest, SOAP_TYPE_PointerTo_ngwm__markPrivateRequest);
- soap_serialize_PointerTo_ngwm__markPrivateRequest(soap, &a->ngwm__markPrivateRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markPrivateRequest(struct soap *soap, struct __ngw__markPrivateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__markPrivateRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markPrivateRequest(struct soap *soap, const struct __ngw__markPrivateRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__markPrivateRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markPrivateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markPrivateRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__markPrivateRequest(soap, "ngwm:markPrivateRequest", -1, &a->ngwm__markPrivateRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_get___ngw__markPrivateRequest(struct soap *soap, struct __ngw__markPrivateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__markPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_in___ngw__markPrivateRequest(struct soap *soap, const char *tag, struct __ngw__markPrivateRequest *a, const char *type)
-{
- short soap_flag_ngwm__markPrivateRequest = 1;
- a = (struct __ngw__markPrivateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markPrivateRequest, sizeof(struct __ngw__markPrivateRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__markPrivateRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__markPrivateRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__markPrivateRequest(soap, "ngwm:markPrivateRequest", &a->ngwm__markPrivateRequest, ""))
- { soap_flag_ngwm__markPrivateRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__logoutRequest(struct soap *soap, const struct __ngw__logoutRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__logoutRequest, SOAP_TYPE_PointerTo_ngwm__logoutRequest);
- soap_serialize_PointerTo_ngwm__logoutRequest(soap, &a->ngwm__logoutRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__logoutRequest(struct soap *soap, struct __ngw__logoutRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__logoutRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__logoutRequest(struct soap *soap, const struct __ngw__logoutRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__logoutRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__logoutRequest(struct soap *soap, const char *tag, int id, const struct __ngw__logoutRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__logoutRequest(soap, "ngwm:logoutRequest", -1, &a->ngwm__logoutRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_get___ngw__logoutRequest(struct soap *soap, struct __ngw__logoutRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__logoutRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_in___ngw__logoutRequest(struct soap *soap, const char *tag, struct __ngw__logoutRequest *a, const char *type)
-{
- short soap_flag_ngwm__logoutRequest = 1;
- a = (struct __ngw__logoutRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__logoutRequest, sizeof(struct __ngw__logoutRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__logoutRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__logoutRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__logoutRequest(soap, "ngwm:logoutRequest", &a->ngwm__logoutRequest, ""))
- { soap_flag_ngwm__logoutRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__loginRequest(struct soap *soap, const struct __ngw__loginRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__loginRequest, SOAP_TYPE_PointerTo_ngwm__loginRequest);
- soap_serialize_PointerTo_ngwm__loginRequest(soap, &a->ngwm__loginRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__loginRequest(struct soap *soap, struct __ngw__loginRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__loginRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__loginRequest(struct soap *soap, const struct __ngw__loginRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__loginRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__loginRequest(struct soap *soap, const char *tag, int id, const struct __ngw__loginRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__loginRequest(soap, "ngwm:loginRequest", -1, &a->ngwm__loginRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_get___ngw__loginRequest(struct soap *soap, struct __ngw__loginRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__loginRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_in___ngw__loginRequest(struct soap *soap, const char *tag, struct __ngw__loginRequest *a, const char *type)
-{
- short soap_flag_ngwm__loginRequest = 1;
- a = (struct __ngw__loginRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__loginRequest, sizeof(struct __ngw__loginRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__loginRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__loginRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__loginRequest(soap, "ngwm:loginRequest", &a->ngwm__loginRequest, ""))
- { soap_flag_ngwm__loginRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getUserListRequest(struct soap *soap, const struct __ngw__getUserListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getUserListRequest, SOAP_TYPE_PointerTo_ngwm__getUserListRequest);
- soap_serialize_PointerTo_ngwm__getUserListRequest(soap, &a->ngwm__getUserListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getUserListRequest(struct soap *soap, struct __ngw__getUserListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getUserListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getUserListRequest(struct soap *soap, const struct __ngw__getUserListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getUserListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getUserListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getUserListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getUserListRequest(soap, "ngwm:getUserListRequest", -1, &a->ngwm__getUserListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_get___ngw__getUserListRequest(struct soap *soap, struct __ngw__getUserListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getUserListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_in___ngw__getUserListRequest(struct soap *soap, const char *tag, struct __ngw__getUserListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getUserListRequest = 1;
- a = (struct __ngw__getUserListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getUserListRequest, sizeof(struct __ngw__getUserListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getUserListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getUserListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getUserListRequest(soap, "ngwm:getUserListRequest", &a->ngwm__getUserListRequest, ""))
- { soap_flag_ngwm__getUserListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimezoneListRequest(struct soap *soap, const struct __ngw__getTimezoneListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getTimezoneListRequest, SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest);
- soap_serialize_PointerTo_ngwm__getTimezoneListRequest(soap, &a->ngwm__getTimezoneListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimezoneListRequest(struct soap *soap, struct __ngw__getTimezoneListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getTimezoneListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimezoneListRequest(struct soap *soap, const struct __ngw__getTimezoneListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getTimezoneListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimezoneListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getTimezoneListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, "ngwm:getTimezoneListRequest", -1, &a->ngwm__getTimezoneListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_get___ngw__getTimezoneListRequest(struct soap *soap, struct __ngw__getTimezoneListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getTimezoneListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_in___ngw__getTimezoneListRequest(struct soap *soap, const char *tag, struct __ngw__getTimezoneListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getTimezoneListRequest = 1;
- a = (struct __ngw__getTimezoneListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getTimezoneListRequest, sizeof(struct __ngw__getTimezoneListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getTimezoneListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getTimezoneListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, "ngwm:getTimezoneListRequest", &a->ngwm__getTimezoneListRequest, ""))
- { soap_flag_ngwm__getTimezoneListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimestampRequest(struct soap *soap, const struct __ngw__getTimestampRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getTimestampRequest, SOAP_TYPE_PointerTo_ngwm__getTimestampRequest);
- soap_serialize_PointerTo_ngwm__getTimestampRequest(soap, &a->ngwm__getTimestampRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimestampRequest(struct soap *soap, struct __ngw__getTimestampRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getTimestampRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimestampRequest(struct soap *soap, const struct __ngw__getTimestampRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getTimestampRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimestampRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getTimestampRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getTimestampRequest(soap, "ngwm:getTimestampRequest", -1, &a->ngwm__getTimestampRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_get___ngw__getTimestampRequest(struct soap *soap, struct __ngw__getTimestampRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_in___ngw__getTimestampRequest(struct soap *soap, const char *tag, struct __ngw__getTimestampRequest *a, const char *type)
-{
- short soap_flag_ngwm__getTimestampRequest = 1;
- a = (struct __ngw__getTimestampRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getTimestampRequest, sizeof(struct __ngw__getTimestampRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getTimestampRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getTimestampRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getTimestampRequest(soap, "ngwm:getTimestampRequest", &a->ngwm__getTimestampRequest, ""))
- { soap_flag_ngwm__getTimestampRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSignaturesRequest(struct soap *soap, const struct __ngw__getSignaturesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getSignaturesRequest, SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest);
- soap_serialize_PointerTo_ngwm__getSignaturesRequest(soap, &a->ngwm__getSignaturesRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSignaturesRequest(struct soap *soap, struct __ngw__getSignaturesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getSignaturesRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSignaturesRequest(struct soap *soap, const struct __ngw__getSignaturesRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getSignaturesRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSignaturesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getSignaturesRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getSignaturesRequest(soap, "ngwm:getSignaturesRequest", -1, &a->ngwm__getSignaturesRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_get___ngw__getSignaturesRequest(struct soap *soap, struct __ngw__getSignaturesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getSignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_in___ngw__getSignaturesRequest(struct soap *soap, const char *tag, struct __ngw__getSignaturesRequest *a, const char *type)
-{
- short soap_flag_ngwm__getSignaturesRequest = 1;
- a = (struct __ngw__getSignaturesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getSignaturesRequest, sizeof(struct __ngw__getSignaturesRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getSignaturesRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getSignaturesRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getSignaturesRequest(soap, "ngwm:getSignaturesRequest", &a->ngwm__getSignaturesRequest, ""))
- { soap_flag_ngwm__getSignaturesRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSettingsRequest(struct soap *soap, const struct __ngw__getSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getSettingsRequest, SOAP_TYPE_PointerTo_ngwm__getSettingsRequest);
- soap_serialize_PointerTo_ngwm__getSettingsRequest(soap, &a->ngwm__getSettingsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSettingsRequest(struct soap *soap, struct __ngw__getSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getSettingsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSettingsRequest(struct soap *soap, const struct __ngw__getSettingsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getSettingsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getSettingsRequest(soap, "ngwm:getSettingsRequest", -1, &a->ngwm__getSettingsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_get___ngw__getSettingsRequest(struct soap *soap, struct __ngw__getSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_in___ngw__getSettingsRequest(struct soap *soap, const char *tag, struct __ngw__getSettingsRequest *a, const char *type)
-{
- short soap_flag_ngwm__getSettingsRequest = 1;
- a = (struct __ngw__getSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getSettingsRequest, sizeof(struct __ngw__getSettingsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getSettingsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getSettingsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getSettingsRequest(soap, "ngwm:getSettingsRequest", &a->ngwm__getSettingsRequest, ""))
- { soap_flag_ngwm__getSettingsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getRuleListRequest(struct soap *soap, const struct __ngw__getRuleListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getRuleListRequest, SOAP_TYPE_PointerTo_ngwm__getRuleListRequest);
- soap_serialize_PointerTo_ngwm__getRuleListRequest(soap, &a->ngwm__getRuleListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getRuleListRequest(struct soap *soap, struct __ngw__getRuleListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getRuleListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getRuleListRequest(struct soap *soap, const struct __ngw__getRuleListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getRuleListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getRuleListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getRuleListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getRuleListRequest(soap, "ngwm:getRuleListRequest", -1, &a->ngwm__getRuleListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_get___ngw__getRuleListRequest(struct soap *soap, struct __ngw__getRuleListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getRuleListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_in___ngw__getRuleListRequest(struct soap *soap, const char *tag, struct __ngw__getRuleListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getRuleListRequest = 1;
- a = (struct __ngw__getRuleListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getRuleListRequest, sizeof(struct __ngw__getRuleListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getRuleListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getRuleListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getRuleListRequest(soap, "ngwm:getRuleListRequest", &a->ngwm__getRuleListRequest, ""))
- { soap_flag_ngwm__getRuleListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyListRequest(struct soap *soap, const struct __ngw__getProxyListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getProxyListRequest, SOAP_TYPE_PointerTo_ngwm__getProxyListRequest);
- soap_serialize_PointerTo_ngwm__getProxyListRequest(soap, &a->ngwm__getProxyListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyListRequest(struct soap *soap, struct __ngw__getProxyListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getProxyListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyListRequest(struct soap *soap, const struct __ngw__getProxyListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getProxyListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getProxyListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getProxyListRequest(soap, "ngwm:getProxyListRequest", -1, &a->ngwm__getProxyListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_get___ngw__getProxyListRequest(struct soap *soap, struct __ngw__getProxyListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getProxyListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_in___ngw__getProxyListRequest(struct soap *soap, const char *tag, struct __ngw__getProxyListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getProxyListRequest = 1;
- a = (struct __ngw__getProxyListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getProxyListRequest, sizeof(struct __ngw__getProxyListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getProxyListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getProxyListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getProxyListRequest(soap, "ngwm:getProxyListRequest", &a->ngwm__getProxyListRequest, ""))
- { soap_flag_ngwm__getProxyListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyAccessListRequest(struct soap *soap, const struct __ngw__getProxyAccessListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getProxyAccessListRequest, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest);
- soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(soap, &a->ngwm__getProxyAccessListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyAccessListRequest(struct soap *soap, struct __ngw__getProxyAccessListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getProxyAccessListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyAccessListRequest(struct soap *soap, const struct __ngw__getProxyAccessListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getProxyAccessListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getProxyAccessListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, "ngwm:getProxyAccessListRequest", -1, &a->ngwm__getProxyAccessListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_get___ngw__getProxyAccessListRequest(struct soap *soap, struct __ngw__getProxyAccessListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getProxyAccessListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_in___ngw__getProxyAccessListRequest(struct soap *soap, const char *tag, struct __ngw__getProxyAccessListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getProxyAccessListRequest = 1;
- a = (struct __ngw__getProxyAccessListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getProxyAccessListRequest, sizeof(struct __ngw__getProxyAccessListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getProxyAccessListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getProxyAccessListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, "ngwm:getProxyAccessListRequest", &a->ngwm__getProxyAccessListRequest, ""))
- { soap_flag_ngwm__getProxyAccessListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getQuickMessagesRequest(struct soap *soap, const struct __ngw__getQuickMessagesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getQuickMessagesRequest, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest);
- soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(soap, &a->ngwm__getQuickMessagesRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getQuickMessagesRequest(struct soap *soap, struct __ngw__getQuickMessagesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getQuickMessagesRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getQuickMessagesRequest(struct soap *soap, const struct __ngw__getQuickMessagesRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getQuickMessagesRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getQuickMessagesRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, "ngwm:getQuickMessagesRequest", -1, &a->ngwm__getQuickMessagesRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_get___ngw__getQuickMessagesRequest(struct soap *soap, struct __ngw__getQuickMessagesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getQuickMessagesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_in___ngw__getQuickMessagesRequest(struct soap *soap, const char *tag, struct __ngw__getQuickMessagesRequest *a, const char *type)
-{
- short soap_flag_ngwm__getQuickMessagesRequest = 1;
- a = (struct __ngw__getQuickMessagesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getQuickMessagesRequest, sizeof(struct __ngw__getQuickMessagesRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getQuickMessagesRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getQuickMessagesRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, "ngwm:getQuickMessagesRequest", &a->ngwm__getQuickMessagesRequest, ""))
- { soap_flag_ngwm__getQuickMessagesRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryListRequest(struct soap *soap, const struct __ngw__getLibraryListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getLibraryListRequest, SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest);
- soap_serialize_PointerTo_ngwm__getLibraryListRequest(soap, &a->ngwm__getLibraryListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryListRequest(struct soap *soap, struct __ngw__getLibraryListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getLibraryListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryListRequest(struct soap *soap, const struct __ngw__getLibraryListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getLibraryListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getLibraryListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getLibraryListRequest(soap, "ngwm:getLibraryListRequest", -1, &a->ngwm__getLibraryListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_get___ngw__getLibraryListRequest(struct soap *soap, struct __ngw__getLibraryListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getLibraryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_in___ngw__getLibraryListRequest(struct soap *soap, const char *tag, struct __ngw__getLibraryListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getLibraryListRequest = 1;
- a = (struct __ngw__getLibraryListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getLibraryListRequest, sizeof(struct __ngw__getLibraryListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getLibraryListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getLibraryListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getLibraryListRequest(soap, "ngwm:getLibraryListRequest", &a->ngwm__getLibraryListRequest, ""))
- { soap_flag_ngwm__getLibraryListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryItemRequest(struct soap *soap, const struct __ngw__getLibraryItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getLibraryItemRequest, SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest);
- soap_serialize_PointerTo_ngwm__getLibraryItemRequest(soap, &a->ngwm__getLibraryItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryItemRequest(struct soap *soap, struct __ngw__getLibraryItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getLibraryItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryItemRequest(struct soap *soap, const struct __ngw__getLibraryItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getLibraryItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getLibraryItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, "ngwm:getLibraryItemRequest", -1, &a->ngwm__getLibraryItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_get___ngw__getLibraryItemRequest(struct soap *soap, struct __ngw__getLibraryItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getLibraryItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_in___ngw__getLibraryItemRequest(struct soap *soap, const char *tag, struct __ngw__getLibraryItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__getLibraryItemRequest = 1;
- a = (struct __ngw__getLibraryItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getLibraryItemRequest, sizeof(struct __ngw__getLibraryItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getLibraryItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getLibraryItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, "ngwm:getLibraryItemRequest", &a->ngwm__getLibraryItemRequest, ""))
- { soap_flag_ngwm__getLibraryItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkMailSettingsRequest(struct soap *soap, const struct __ngw__getJunkMailSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getJunkMailSettingsRequest, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest);
- soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(soap, &a->ngwm__getJunkMailSettingsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkMailSettingsRequest(struct soap *soap, struct __ngw__getJunkMailSettingsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getJunkMailSettingsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkMailSettingsRequest(struct soap *soap, const struct __ngw__getJunkMailSettingsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getJunkMailSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getJunkMailSettingsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, "ngwm:getJunkMailSettingsRequest", -1, &a->ngwm__getJunkMailSettingsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__getJunkMailSettingsRequest(struct soap *soap, struct __ngw__getJunkMailSettingsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *tag, struct __ngw__getJunkMailSettingsRequest *a, const char *type)
-{
- short soap_flag_ngwm__getJunkMailSettingsRequest = 1;
- a = (struct __ngw__getJunkMailSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getJunkMailSettingsRequest, sizeof(struct __ngw__getJunkMailSettingsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getJunkMailSettingsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getJunkMailSettingsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, "ngwm:getJunkMailSettingsRequest", &a->ngwm__getJunkMailSettingsRequest, ""))
- { soap_flag_ngwm__getJunkMailSettingsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkEntriesRequest(struct soap *soap, const struct __ngw__getJunkEntriesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getJunkEntriesRequest, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest);
- soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(soap, &a->ngwm__getJunkEntriesRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkEntriesRequest(struct soap *soap, struct __ngw__getJunkEntriesRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getJunkEntriesRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkEntriesRequest(struct soap *soap, const struct __ngw__getJunkEntriesRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getJunkEntriesRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getJunkEntriesRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, "ngwm:getJunkEntriesRequest", -1, &a->ngwm__getJunkEntriesRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_get___ngw__getJunkEntriesRequest(struct soap *soap, struct __ngw__getJunkEntriesRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getJunkEntriesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_in___ngw__getJunkEntriesRequest(struct soap *soap, const char *tag, struct __ngw__getJunkEntriesRequest *a, const char *type)
-{
- short soap_flag_ngwm__getJunkEntriesRequest = 1;
- a = (struct __ngw__getJunkEntriesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getJunkEntriesRequest, sizeof(struct __ngw__getJunkEntriesRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getJunkEntriesRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getJunkEntriesRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, "ngwm:getJunkEntriesRequest", &a->ngwm__getJunkEntriesRequest, ""))
- { soap_flag_ngwm__getJunkEntriesRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemsRequest(struct soap *soap, const struct __ngw__getItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getItemsRequest, SOAP_TYPE_PointerTo_ngwm__getItemsRequest);
- soap_serialize_PointerTo_ngwm__getItemsRequest(soap, &a->ngwm__getItemsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemsRequest(struct soap *soap, struct __ngw__getItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getItemsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemsRequest(struct soap *soap, const struct __ngw__getItemsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getItemsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getItemsRequest(soap, "ngwm:getItemsRequest", -1, &a->ngwm__getItemsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_get___ngw__getItemsRequest(struct soap *soap, struct __ngw__getItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_in___ngw__getItemsRequest(struct soap *soap, const char *tag, struct __ngw__getItemsRequest *a, const char *type)
-{
- short soap_flag_ngwm__getItemsRequest = 1;
- a = (struct __ngw__getItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getItemsRequest, sizeof(struct __ngw__getItemsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getItemsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getItemsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getItemsRequest(soap, "ngwm:getItemsRequest", &a->ngwm__getItemsRequest, ""))
- { soap_flag_ngwm__getItemsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemRequest(struct soap *soap, const struct __ngw__getItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getItemRequest, SOAP_TYPE_PointerTo_ngwm__getItemRequest);
- soap_serialize_PointerTo_ngwm__getItemRequest(soap, &a->ngwm__getItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemRequest(struct soap *soap, struct __ngw__getItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemRequest(struct soap *soap, const struct __ngw__getItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getItemRequest(soap, "ngwm:getItemRequest", -1, &a->ngwm__getItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_get___ngw__getItemRequest(struct soap *soap, struct __ngw__getItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_in___ngw__getItemRequest(struct soap *soap, const char *tag, struct __ngw__getItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__getItemRequest = 1;
- a = (struct __ngw__getItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getItemRequest, sizeof(struct __ngw__getItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getItemRequest(soap, "ngwm:getItemRequest", &a->ngwm__getItemRequest, ""))
- { soap_flag_ngwm__getItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFreeBusyRequest(struct soap *soap, const struct __ngw__getFreeBusyRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getFreeBusyRequest, SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest);
- soap_serialize_PointerTo_ngwm__getFreeBusyRequest(soap, &a->ngwm__getFreeBusyRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFreeBusyRequest(struct soap *soap, struct __ngw__getFreeBusyRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getFreeBusyRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFreeBusyRequest(struct soap *soap, const struct __ngw__getFreeBusyRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getFreeBusyRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFreeBusyRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFreeBusyRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, "ngwm:getFreeBusyRequest", -1, &a->ngwm__getFreeBusyRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_get___ngw__getFreeBusyRequest(struct soap *soap, struct __ngw__getFreeBusyRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getFreeBusyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_in___ngw__getFreeBusyRequest(struct soap *soap, const char *tag, struct __ngw__getFreeBusyRequest *a, const char *type)
-{
- short soap_flag_ngwm__getFreeBusyRequest = 1;
- a = (struct __ngw__getFreeBusyRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFreeBusyRequest, sizeof(struct __ngw__getFreeBusyRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getFreeBusyRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getFreeBusyRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, "ngwm:getFreeBusyRequest", &a->ngwm__getFreeBusyRequest, ""))
- { soap_flag_ngwm__getFreeBusyRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderListRequest(struct soap *soap, const struct __ngw__getFolderListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getFolderListRequest, SOAP_TYPE_PointerTo_ngwm__getFolderListRequest);
- soap_serialize_PointerTo_ngwm__getFolderListRequest(soap, &a->ngwm__getFolderListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderListRequest(struct soap *soap, struct __ngw__getFolderListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getFolderListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderListRequest(struct soap *soap, const struct __ngw__getFolderListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getFolderListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFolderListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getFolderListRequest(soap, "ngwm:getFolderListRequest", -1, &a->ngwm__getFolderListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_get___ngw__getFolderListRequest(struct soap *soap, struct __ngw__getFolderListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getFolderListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_in___ngw__getFolderListRequest(struct soap *soap, const char *tag, struct __ngw__getFolderListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getFolderListRequest = 1;
- a = (struct __ngw__getFolderListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFolderListRequest, sizeof(struct __ngw__getFolderListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getFolderListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getFolderListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getFolderListRequest(soap, "ngwm:getFolderListRequest", &a->ngwm__getFolderListRequest, ""))
- { soap_flag_ngwm__getFolderListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderRequest(struct soap *soap, const struct __ngw__getFolderRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getFolderRequest, SOAP_TYPE_PointerTo_ngwm__getFolderRequest);
- soap_serialize_PointerTo_ngwm__getFolderRequest(soap, &a->ngwm__getFolderRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderRequest(struct soap *soap, struct __ngw__getFolderRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getFolderRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderRequest(struct soap *soap, const struct __ngw__getFolderRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getFolderRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFolderRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getFolderRequest(soap, "ngwm:getFolderRequest", -1, &a->ngwm__getFolderRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_get___ngw__getFolderRequest(struct soap *soap, struct __ngw__getFolderRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getFolderRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_in___ngw__getFolderRequest(struct soap *soap, const char *tag, struct __ngw__getFolderRequest *a, const char *type)
-{
- short soap_flag_ngwm__getFolderRequest = 1;
- a = (struct __ngw__getFolderRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFolderRequest, sizeof(struct __ngw__getFolderRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getFolderRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getFolderRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getFolderRequest(soap, "ngwm:getFolderRequest", &a->ngwm__getFolderRequest, ""))
- { soap_flag_ngwm__getFolderRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDocumentTypeListRequest(struct soap *soap, const struct __ngw__getDocumentTypeListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getDocumentTypeListRequest, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest);
- soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(soap, &a->ngwm__getDocumentTypeListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDocumentTypeListRequest(struct soap *soap, struct __ngw__getDocumentTypeListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getDocumentTypeListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDocumentTypeListRequest(struct soap *soap, const struct __ngw__getDocumentTypeListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getDocumentTypeListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDocumentTypeListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, "ngwm:getDocumentTypeListRequest", -1, &a->ngwm__getDocumentTypeListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_get___ngw__getDocumentTypeListRequest(struct soap *soap, struct __ngw__getDocumentTypeListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getDocumentTypeListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_in___ngw__getDocumentTypeListRequest(struct soap *soap, const char *tag, struct __ngw__getDocumentTypeListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getDocumentTypeListRequest = 1;
- a = (struct __ngw__getDocumentTypeListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDocumentTypeListRequest, sizeof(struct __ngw__getDocumentTypeListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getDocumentTypeListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getDocumentTypeListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, "ngwm:getDocumentTypeListRequest", &a->ngwm__getDocumentTypeListRequest, ""))
- { soap_flag_ngwm__getDocumentTypeListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltaInfoRequest(struct soap *soap, const struct __ngw__getDeltaInfoRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getDeltaInfoRequest, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest);
- soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(soap, &a->ngwm__getDeltaInfoRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltaInfoRequest(struct soap *soap, struct __ngw__getDeltaInfoRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getDeltaInfoRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltaInfoRequest(struct soap *soap, const struct __ngw__getDeltaInfoRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getDeltaInfoRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDeltaInfoRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, "ngwm:getDeltaInfoRequest", -1, &a->ngwm__getDeltaInfoRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_get___ngw__getDeltaInfoRequest(struct soap *soap, struct __ngw__getDeltaInfoRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getDeltaInfoRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_in___ngw__getDeltaInfoRequest(struct soap *soap, const char *tag, struct __ngw__getDeltaInfoRequest *a, const char *type)
-{
- short soap_flag_ngwm__getDeltaInfoRequest = 1;
- a = (struct __ngw__getDeltaInfoRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDeltaInfoRequest, sizeof(struct __ngw__getDeltaInfoRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getDeltaInfoRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getDeltaInfoRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, "ngwm:getDeltaInfoRequest", &a->ngwm__getDeltaInfoRequest, ""))
- { soap_flag_ngwm__getDeltaInfoRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltasRequest(struct soap *soap, const struct __ngw__getDeltasRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getDeltasRequest, SOAP_TYPE_PointerTo_ngwm__getDeltasRequest);
- soap_serialize_PointerTo_ngwm__getDeltasRequest(soap, &a->ngwm__getDeltasRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltasRequest(struct soap *soap, struct __ngw__getDeltasRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getDeltasRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltasRequest(struct soap *soap, const struct __ngw__getDeltasRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getDeltasRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltasRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDeltasRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getDeltasRequest(soap, "ngwm:getDeltasRequest", -1, &a->ngwm__getDeltasRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_get___ngw__getDeltasRequest(struct soap *soap, struct __ngw__getDeltasRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getDeltasRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_in___ngw__getDeltasRequest(struct soap *soap, const char *tag, struct __ngw__getDeltasRequest *a, const char *type)
-{
- short soap_flag_ngwm__getDeltasRequest = 1;
- a = (struct __ngw__getDeltasRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDeltasRequest, sizeof(struct __ngw__getDeltasRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getDeltasRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getDeltasRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getDeltasRequest(soap, "ngwm:getDeltasRequest", &a->ngwm__getDeltasRequest, ""))
- { soap_flag_ngwm__getDeltasRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCustomListRequest(struct soap *soap, const struct __ngw__getCustomListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getCustomListRequest, SOAP_TYPE_PointerTo_ngwm__getCustomListRequest);
- soap_serialize_PointerTo_ngwm__getCustomListRequest(soap, &a->ngwm__getCustomListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCustomListRequest(struct soap *soap, struct __ngw__getCustomListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getCustomListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCustomListRequest(struct soap *soap, const struct __ngw__getCustomListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getCustomListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCustomListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getCustomListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getCustomListRequest(soap, "ngwm:getCustomListRequest", -1, &a->ngwm__getCustomListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_get___ngw__getCustomListRequest(struct soap *soap, struct __ngw__getCustomListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getCustomListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_in___ngw__getCustomListRequest(struct soap *soap, const char *tag, struct __ngw__getCustomListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getCustomListRequest = 1;
- a = (struct __ngw__getCustomListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getCustomListRequest, sizeof(struct __ngw__getCustomListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getCustomListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getCustomListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getCustomListRequest(soap, "ngwm:getCustomListRequest", &a->ngwm__getCustomListRequest, ""))
- { soap_flag_ngwm__getCustomListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCategoryListRequest(struct soap *soap, const struct __ngw__getCategoryListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getCategoryListRequest, SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest);
- soap_serialize_PointerTo_ngwm__getCategoryListRequest(soap, &a->ngwm__getCategoryListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCategoryListRequest(struct soap *soap, struct __ngw__getCategoryListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getCategoryListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCategoryListRequest(struct soap *soap, const struct __ngw__getCategoryListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getCategoryListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCategoryListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getCategoryListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getCategoryListRequest(soap, "ngwm:getCategoryListRequest", -1, &a->ngwm__getCategoryListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_get___ngw__getCategoryListRequest(struct soap *soap, struct __ngw__getCategoryListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getCategoryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_in___ngw__getCategoryListRequest(struct soap *soap, const char *tag, struct __ngw__getCategoryListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getCategoryListRequest = 1;
- a = (struct __ngw__getCategoryListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getCategoryListRequest, sizeof(struct __ngw__getCategoryListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getCategoryListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getCategoryListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getCategoryListRequest(soap, "ngwm:getCategoryListRequest", &a->ngwm__getCategoryListRequest, ""))
- { soap_flag_ngwm__getCategoryListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAttachmentRequestMessage(struct soap *soap, const struct __ngw__getAttachmentRequestMessage *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getAttachmentRequest, SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest);
- soap_serialize_PointerTo_ngwm__getAttachmentRequest(soap, &a->ngwm__getAttachmentRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAttachmentRequestMessage(struct soap *soap, struct __ngw__getAttachmentRequestMessage *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getAttachmentRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAttachmentRequestMessage(struct soap *soap, const struct __ngw__getAttachmentRequestMessage *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getAttachmentRequestMessage(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAttachmentRequestMessage(struct soap *soap, const char *tag, int id, const struct __ngw__getAttachmentRequestMessage *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getAttachmentRequest(soap, "ngwm:getAttachmentRequest", -1, &a->ngwm__getAttachmentRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_get___ngw__getAttachmentRequestMessage(struct soap *soap, struct __ngw__getAttachmentRequestMessage *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getAttachmentRequestMessage(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_in___ngw__getAttachmentRequestMessage(struct soap *soap, const char *tag, struct __ngw__getAttachmentRequestMessage *a, const char *type)
-{
- short soap_flag_ngwm__getAttachmentRequest = 1;
- a = (struct __ngw__getAttachmentRequestMessage *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getAttachmentRequestMessage, sizeof(struct __ngw__getAttachmentRequestMessage), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getAttachmentRequestMessage(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getAttachmentRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getAttachmentRequest(soap, "ngwm:getAttachmentRequest", &a->ngwm__getAttachmentRequest, ""))
- { soap_flag_ngwm__getAttachmentRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAddressBookListRequest(struct soap *soap, const struct __ngw__getAddressBookListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__getAddressBookListRequest, SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest);
- soap_serialize_PointerTo_ngwm__getAddressBookListRequest(soap, &a->ngwm__getAddressBookListRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAddressBookListRequest(struct soap *soap, struct __ngw__getAddressBookListRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__getAddressBookListRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAddressBookListRequest(struct soap *soap, const struct __ngw__getAddressBookListRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__getAddressBookListRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAddressBookListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getAddressBookListRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, "ngwm:getAddressBookListRequest", -1, &a->ngwm__getAddressBookListRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_get___ngw__getAddressBookListRequest(struct soap *soap, struct __ngw__getAddressBookListRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__getAddressBookListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_in___ngw__getAddressBookListRequest(struct soap *soap, const char *tag, struct __ngw__getAddressBookListRequest *a, const char *type)
-{
- short soap_flag_ngwm__getAddressBookListRequest = 1;
- a = (struct __ngw__getAddressBookListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getAddressBookListRequest, sizeof(struct __ngw__getAddressBookListRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__getAddressBookListRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__getAddressBookListRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, "ngwm:getAddressBookListRequest", &a->ngwm__getAddressBookListRequest, ""))
- { soap_flag_ngwm__getAddressBookListRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__forwardRequest(struct soap *soap, const struct __ngw__forwardRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__forwardRequest, SOAP_TYPE_PointerTo_ngwm__forwardRequest);
- soap_serialize_PointerTo_ngwm__forwardRequest(soap, &a->ngwm__forwardRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__forwardRequest(struct soap *soap, struct __ngw__forwardRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__forwardRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__forwardRequest(struct soap *soap, const struct __ngw__forwardRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__forwardRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__forwardRequest(struct soap *soap, const char *tag, int id, const struct __ngw__forwardRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__forwardRequest(soap, "ngwm:forwardRequest", -1, &a->ngwm__forwardRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_get___ngw__forwardRequest(struct soap *soap, struct __ngw__forwardRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__forwardRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_in___ngw__forwardRequest(struct soap *soap, const char *tag, struct __ngw__forwardRequest *a, const char *type)
-{
- short soap_flag_ngwm__forwardRequest = 1;
- a = (struct __ngw__forwardRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__forwardRequest, sizeof(struct __ngw__forwardRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__forwardRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__forwardRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__forwardRequest(soap, "ngwm:forwardRequest", &a->ngwm__forwardRequest, ""))
- { soap_flag_ngwm__forwardRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__executeRuleRequest(struct soap *soap, const struct __ngw__executeRuleRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__executeRuleRequest, SOAP_TYPE_PointerTo_ngwm__executeRuleRequest);
- soap_serialize_PointerTo_ngwm__executeRuleRequest(soap, &a->ngwm__executeRuleRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__executeRuleRequest(struct soap *soap, struct __ngw__executeRuleRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__executeRuleRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__executeRuleRequest(struct soap *soap, const struct __ngw__executeRuleRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__executeRuleRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__executeRuleRequest(struct soap *soap, const char *tag, int id, const struct __ngw__executeRuleRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__executeRuleRequest(soap, "ngwm:executeRuleRequest", -1, &a->ngwm__executeRuleRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_get___ngw__executeRuleRequest(struct soap *soap, struct __ngw__executeRuleRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__executeRuleRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_in___ngw__executeRuleRequest(struct soap *soap, const char *tag, struct __ngw__executeRuleRequest *a, const char *type)
-{
- short soap_flag_ngwm__executeRuleRequest = 1;
- a = (struct __ngw__executeRuleRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__executeRuleRequest, sizeof(struct __ngw__executeRuleRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__executeRuleRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__executeRuleRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__executeRuleRequest(soap, "ngwm:executeRuleRequest", &a->ngwm__executeRuleRequest, ""))
- { soap_flag_ngwm__executeRuleRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__destroyCursorRequest(struct soap *soap, const struct __ngw__destroyCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__destroyCursorRequest, SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest);
- soap_serialize_PointerTo_ngwm__destroyCursorRequest(soap, &a->ngwm__destroyCursorRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__destroyCursorRequest(struct soap *soap, struct __ngw__destroyCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__destroyCursorRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__destroyCursorRequest(struct soap *soap, const struct __ngw__destroyCursorRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__destroyCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__destroyCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__destroyCursorRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__destroyCursorRequest(soap, "ngwm:destroyCursorRequest", -1, &a->ngwm__destroyCursorRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_get___ngw__destroyCursorRequest(struct soap *soap, struct __ngw__destroyCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__destroyCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_in___ngw__destroyCursorRequest(struct soap *soap, const char *tag, struct __ngw__destroyCursorRequest *a, const char *type)
-{
- short soap_flag_ngwm__destroyCursorRequest = 1;
- a = (struct __ngw__destroyCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__destroyCursorRequest, sizeof(struct __ngw__destroyCursorRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__destroyCursorRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__destroyCursorRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__destroyCursorRequest(soap, "ngwm:destroyCursorRequest", &a->ngwm__destroyCursorRequest, ""))
- { soap_flag_ngwm__destroyCursorRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__delegateRequest(struct soap *soap, const struct __ngw__delegateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__delegateRequest, SOAP_TYPE_PointerTo_ngwm__delegateRequest);
- soap_serialize_PointerTo_ngwm__delegateRequest(soap, &a->ngwm__delegateRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__delegateRequest(struct soap *soap, struct __ngw__delegateRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__delegateRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__delegateRequest(struct soap *soap, const struct __ngw__delegateRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__delegateRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__delegateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__delegateRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__delegateRequest(soap, "ngwm:delegateRequest", -1, &a->ngwm__delegateRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_get___ngw__delegateRequest(struct soap *soap, struct __ngw__delegateRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__delegateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_in___ngw__delegateRequest(struct soap *soap, const char *tag, struct __ngw__delegateRequest *a, const char *type)
-{
- short soap_flag_ngwm__delegateRequest = 1;
- a = (struct __ngw__delegateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__delegateRequest, sizeof(struct __ngw__delegateRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__delegateRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__delegateRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__delegateRequest(soap, "ngwm:delegateRequest", &a->ngwm__delegateRequest, ""))
- { soap_flag_ngwm__delegateRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__declineRequest(struct soap *soap, const struct __ngw__declineRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__declineRequest, SOAP_TYPE_PointerTo_ngwm__declineRequest);
- soap_serialize_PointerTo_ngwm__declineRequest(soap, &a->ngwm__declineRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__declineRequest(struct soap *soap, struct __ngw__declineRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__declineRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__declineRequest(struct soap *soap, const struct __ngw__declineRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__declineRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__declineRequest(struct soap *soap, const char *tag, int id, const struct __ngw__declineRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__declineRequest(soap, "ngwm:declineRequest", -1, &a->ngwm__declineRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_get___ngw__declineRequest(struct soap *soap, struct __ngw__declineRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__declineRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_in___ngw__declineRequest(struct soap *soap, const char *tag, struct __ngw__declineRequest *a, const char *type)
-{
- short soap_flag_ngwm__declineRequest = 1;
- a = (struct __ngw__declineRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__declineRequest, sizeof(struct __ngw__declineRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__declineRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__declineRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__declineRequest(soap, "ngwm:declineRequest", &a->ngwm__declineRequest, ""))
- { soap_flag_ngwm__declineRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createSignatureRequest(struct soap *soap, const struct __ngw__createSignatureRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createSignatureRequest, SOAP_TYPE_PointerTo_ngwm__createSignatureRequest);
- soap_serialize_PointerTo_ngwm__createSignatureRequest(soap, &a->ngwm__createSignatureRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createSignatureRequest(struct soap *soap, struct __ngw__createSignatureRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createSignatureRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createSignatureRequest(struct soap *soap, const struct __ngw__createSignatureRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createSignatureRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createSignatureRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createSignatureRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createSignatureRequest(soap, "ngwm:createSignatureRequest", -1, &a->ngwm__createSignatureRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_get___ngw__createSignatureRequest(struct soap *soap, struct __ngw__createSignatureRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_in___ngw__createSignatureRequest(struct soap *soap, const char *tag, struct __ngw__createSignatureRequest *a, const char *type)
-{
- short soap_flag_ngwm__createSignatureRequest = 1;
- a = (struct __ngw__createSignatureRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createSignatureRequest, sizeof(struct __ngw__createSignatureRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createSignatureRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createSignatureRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createSignatureRequest(soap, "ngwm:createSignatureRequest", &a->ngwm__createSignatureRequest, ""))
- { soap_flag_ngwm__createSignatureRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createProxyAccessRequest(struct soap *soap, const struct __ngw__createProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest);
- soap_serialize_PointerTo_ngwm__createProxyAccessRequest(soap, &a->ngwm__createProxyAccessRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createProxyAccessRequest(struct soap *soap, struct __ngw__createProxyAccessRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createProxyAccessRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createProxyAccessRequest(struct soap *soap, const struct __ngw__createProxyAccessRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createProxyAccessRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, "ngwm:createProxyAccessRequest", -1, &a->ngwm__createProxyAccessRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__createProxyAccessRequest(struct soap *soap, struct __ngw__createProxyAccessRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__createProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__createProxyAccessRequest *a, const char *type)
-{
- short soap_flag_ngwm__createProxyAccessRequest = 1;
- a = (struct __ngw__createProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createProxyAccessRequest, sizeof(struct __ngw__createProxyAccessRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createProxyAccessRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, "ngwm:createProxyAccessRequest", &a->ngwm__createProxyAccessRequest, ""))
- { soap_flag_ngwm__createProxyAccessRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createJunkEntryRequest(struct soap *soap, const struct __ngw__createJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest);
- soap_serialize_PointerTo_ngwm__createJunkEntryRequest(soap, &a->ngwm__createJunkEntryRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createJunkEntryRequest(struct soap *soap, struct __ngw__createJunkEntryRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createJunkEntryRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createJunkEntryRequest(struct soap *soap, const struct __ngw__createJunkEntryRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createJunkEntryRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, "ngwm:createJunkEntryRequest", -1, &a->ngwm__createJunkEntryRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__createJunkEntryRequest(struct soap *soap, struct __ngw__createJunkEntryRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__createJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__createJunkEntryRequest *a, const char *type)
-{
- short soap_flag_ngwm__createJunkEntryRequest = 1;
- a = (struct __ngw__createJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createJunkEntryRequest, sizeof(struct __ngw__createJunkEntryRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createJunkEntryRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, "ngwm:createJunkEntryRequest", &a->ngwm__createJunkEntryRequest, ""))
- { soap_flag_ngwm__createJunkEntryRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemsRequest(struct soap *soap, const struct __ngw__createItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createItemsRequest, SOAP_TYPE_PointerTo_ngwm__createItemsRequest);
- soap_serialize_PointerTo_ngwm__createItemsRequest(soap, &a->ngwm__createItemsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemsRequest(struct soap *soap, struct __ngw__createItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createItemsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemsRequest(struct soap *soap, const struct __ngw__createItemsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createItemsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createItemsRequest(soap, "ngwm:createItemsRequest", -1, &a->ngwm__createItemsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_get___ngw__createItemsRequest(struct soap *soap, struct __ngw__createItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_in___ngw__createItemsRequest(struct soap *soap, const char *tag, struct __ngw__createItemsRequest *a, const char *type)
-{
- short soap_flag_ngwm__createItemsRequest = 1;
- a = (struct __ngw__createItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createItemsRequest, sizeof(struct __ngw__createItemsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createItemsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createItemsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createItemsRequest(soap, "ngwm:createItemsRequest", &a->ngwm__createItemsRequest, ""))
- { soap_flag_ngwm__createItemsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemRequest(struct soap *soap, const struct __ngw__createItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createItemRequest, SOAP_TYPE_PointerTo_ngwm__createItemRequest);
- soap_serialize_PointerTo_ngwm__createItemRequest(soap, &a->ngwm__createItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemRequest(struct soap *soap, struct __ngw__createItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemRequest(struct soap *soap, const struct __ngw__createItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createItemRequest(soap, "ngwm:createItemRequest", -1, &a->ngwm__createItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_get___ngw__createItemRequest(struct soap *soap, struct __ngw__createItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_in___ngw__createItemRequest(struct soap *soap, const char *tag, struct __ngw__createItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__createItemRequest = 1;
- a = (struct __ngw__createItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createItemRequest, sizeof(struct __ngw__createItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createItemRequest(soap, "ngwm:createItemRequest", &a->ngwm__createItemRequest, ""))
- { soap_flag_ngwm__createItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createCursorRequest(struct soap *soap, const struct __ngw__createCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__createCursorRequest, SOAP_TYPE_PointerTo_ngwm__createCursorRequest);
- soap_serialize_PointerTo_ngwm__createCursorRequest(soap, &a->ngwm__createCursorRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createCursorRequest(struct soap *soap, struct __ngw__createCursorRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__createCursorRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createCursorRequest(struct soap *soap, const struct __ngw__createCursorRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__createCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createCursorRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__createCursorRequest(soap, "ngwm:createCursorRequest", -1, &a->ngwm__createCursorRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_get___ngw__createCursorRequest(struct soap *soap, struct __ngw__createCursorRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__createCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_in___ngw__createCursorRequest(struct soap *soap, const char *tag, struct __ngw__createCursorRequest *a, const char *type)
-{
- short soap_flag_ngwm__createCursorRequest = 1;
- a = (struct __ngw__createCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createCursorRequest, sizeof(struct __ngw__createCursorRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__createCursorRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__createCursorRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__createCursorRequest(soap, "ngwm:createCursorRequest", &a->ngwm__createCursorRequest, ""))
- { soap_flag_ngwm__createCursorRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__completeRequest(struct soap *soap, const struct __ngw__completeRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__completeRequest, SOAP_TYPE_PointerTo_ngwm__completeRequest);
- soap_serialize_PointerTo_ngwm__completeRequest(soap, &a->ngwm__completeRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__completeRequest(struct soap *soap, struct __ngw__completeRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__completeRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__completeRequest(struct soap *soap, const struct __ngw__completeRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__completeRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__completeRequest(struct soap *soap, const char *tag, int id, const struct __ngw__completeRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__completeRequest(soap, "ngwm:completeRequest", -1, &a->ngwm__completeRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_get___ngw__completeRequest(struct soap *soap, struct __ngw__completeRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__completeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_in___ngw__completeRequest(struct soap *soap, const char *tag, struct __ngw__completeRequest *a, const char *type)
-{
- short soap_flag_ngwm__completeRequest = 1;
- a = (struct __ngw__completeRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__completeRequest, sizeof(struct __ngw__completeRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__completeRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__completeRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__completeRequest(soap, "ngwm:completeRequest", &a->ngwm__completeRequest, ""))
- { soap_flag_ngwm__completeRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__closeFreeBusySessionRequest(struct soap *soap, const struct __ngw__closeFreeBusySessionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__closeFreeBusySessionRequest, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest);
- soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(soap, &a->ngwm__closeFreeBusySessionRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__closeFreeBusySessionRequest(struct soap *soap, struct __ngw__closeFreeBusySessionRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__closeFreeBusySessionRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__closeFreeBusySessionRequest(struct soap *soap, const struct __ngw__closeFreeBusySessionRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__closeFreeBusySessionRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__closeFreeBusySessionRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, "ngwm:closeFreeBusySessionRequest", -1, &a->ngwm__closeFreeBusySessionRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__closeFreeBusySessionRequest(struct soap *soap, struct __ngw__closeFreeBusySessionRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__closeFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *tag, struct __ngw__closeFreeBusySessionRequest *a, const char *type)
-{
- short soap_flag_ngwm__closeFreeBusySessionRequest = 1;
- a = (struct __ngw__closeFreeBusySessionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__closeFreeBusySessionRequest, sizeof(struct __ngw__closeFreeBusySessionRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__closeFreeBusySessionRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__closeFreeBusySessionRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, "ngwm:closeFreeBusySessionRequest", &a->ngwm__closeFreeBusySessionRequest, ""))
- { soap_flag_ngwm__closeFreeBusySessionRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addMembersRequest(struct soap *soap, const struct __ngw__addMembersRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__addMembersRequest, SOAP_TYPE_PointerTo_ngwm__addMembersRequest);
- soap_serialize_PointerTo_ngwm__addMembersRequest(soap, &a->ngwm__addMembersRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addMembersRequest(struct soap *soap, struct __ngw__addMembersRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__addMembersRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addMembersRequest(struct soap *soap, const struct __ngw__addMembersRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__addMembersRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addMembersRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addMembersRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__addMembersRequest(soap, "ngwm:addMembersRequest", -1, &a->ngwm__addMembersRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_get___ngw__addMembersRequest(struct soap *soap, struct __ngw__addMembersRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__addMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_in___ngw__addMembersRequest(struct soap *soap, const char *tag, struct __ngw__addMembersRequest *a, const char *type)
-{
- short soap_flag_ngwm__addMembersRequest = 1;
- a = (struct __ngw__addMembersRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addMembersRequest, sizeof(struct __ngw__addMembersRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__addMembersRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__addMembersRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__addMembersRequest(soap, "ngwm:addMembersRequest", &a->ngwm__addMembersRequest, ""))
- { soap_flag_ngwm__addMembersRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemsRequest(struct soap *soap, const struct __ngw__addItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__addItemsRequest, SOAP_TYPE_PointerTo_ngwm__addItemsRequest);
- soap_serialize_PointerTo_ngwm__addItemsRequest(soap, &a->ngwm__addItemsRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemsRequest(struct soap *soap, struct __ngw__addItemsRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__addItemsRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemsRequest(struct soap *soap, const struct __ngw__addItemsRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__addItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addItemsRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__addItemsRequest(soap, "ngwm:addItemsRequest", -1, &a->ngwm__addItemsRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_get___ngw__addItemsRequest(struct soap *soap, struct __ngw__addItemsRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__addItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_in___ngw__addItemsRequest(struct soap *soap, const char *tag, struct __ngw__addItemsRequest *a, const char *type)
-{
- short soap_flag_ngwm__addItemsRequest = 1;
- a = (struct __ngw__addItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addItemsRequest, sizeof(struct __ngw__addItemsRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__addItemsRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__addItemsRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__addItemsRequest(soap, "ngwm:addItemsRequest", &a->ngwm__addItemsRequest, ""))
- { soap_flag_ngwm__addItemsRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemRequest(struct soap *soap, const struct __ngw__addItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__addItemRequest, SOAP_TYPE_PointerTo_ngwm__addItemRequest);
- soap_serialize_PointerTo_ngwm__addItemRequest(soap, &a->ngwm__addItemRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemRequest(struct soap *soap, struct __ngw__addItemRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__addItemRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemRequest(struct soap *soap, const struct __ngw__addItemRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__addItemRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addItemRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__addItemRequest(soap, "ngwm:addItemRequest", -1, &a->ngwm__addItemRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_get___ngw__addItemRequest(struct soap *soap, struct __ngw__addItemRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__addItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_in___ngw__addItemRequest(struct soap *soap, const char *tag, struct __ngw__addItemRequest *a, const char *type)
-{
- short soap_flag_ngwm__addItemRequest = 1;
- a = (struct __ngw__addItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addItemRequest, sizeof(struct __ngw__addItemRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__addItemRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__addItemRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__addItemRequest(soap, "ngwm:addItemRequest", &a->ngwm__addItemRequest, ""))
- { soap_flag_ngwm__addItemRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptShareRequest(struct soap *soap, const struct __ngw__acceptShareRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__acceptShareRequest, SOAP_TYPE_PointerTo_ngwm__acceptShareRequest);
- soap_serialize_PointerTo_ngwm__acceptShareRequest(soap, &a->ngwm__acceptShareRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptShareRequest(struct soap *soap, struct __ngw__acceptShareRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__acceptShareRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptShareRequest(struct soap *soap, const struct __ngw__acceptShareRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__acceptShareRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptShareRequest(struct soap *soap, const char *tag, int id, const struct __ngw__acceptShareRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__acceptShareRequest(soap, "ngwm:acceptShareRequest", -1, &a->ngwm__acceptShareRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_get___ngw__acceptShareRequest(struct soap *soap, struct __ngw__acceptShareRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__acceptShareRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_in___ngw__acceptShareRequest(struct soap *soap, const char *tag, struct __ngw__acceptShareRequest *a, const char *type)
-{
- short soap_flag_ngwm__acceptShareRequest = 1;
- a = (struct __ngw__acceptShareRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__acceptShareRequest, sizeof(struct __ngw__acceptShareRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__acceptShareRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__acceptShareRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__acceptShareRequest(soap, "ngwm:acceptShareRequest", &a->ngwm__acceptShareRequest, ""))
- { soap_flag_ngwm__acceptShareRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptRequest(struct soap *soap, const struct __ngw__acceptRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwm__acceptRequest, SOAP_TYPE_PointerTo_ngwm__acceptRequest);
- soap_serialize_PointerTo_ngwm__acceptRequest(soap, &a->ngwm__acceptRequest);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptRequest(struct soap *soap, struct __ngw__acceptRequest *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- a->ngwm__acceptRequest = NULL;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptRequest(struct soap *soap, const struct __ngw__acceptRequest *a, const char *tag, const char *type)
-{
- register int id = 0;
- if (soap_out___ngw__acceptRequest(soap, tag, id, a, type))
- return soap->error;
- return SOAP_OK;
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptRequest(struct soap *soap, const char *tag, int id, const struct __ngw__acceptRequest *a, const char *type)
-{
- soap_out_PointerTo_ngwm__acceptRequest(soap, "ngwm:acceptRequest", -1, &a->ngwm__acceptRequest, "");
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_get___ngw__acceptRequest(struct soap *soap, struct __ngw__acceptRequest *p, const char *tag, const char *type)
-{
- if ((p = soap_in___ngw__acceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_in___ngw__acceptRequest(struct soap *soap, const char *tag, struct __ngw__acceptRequest *a, const char *type)
-{
- short soap_flag_ngwm__acceptRequest = 1;
- a = (struct __ngw__acceptRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__acceptRequest, sizeof(struct __ngw__acceptRequest), 0, NULL, NULL, NULL);
- if (!a)
- return NULL;
- soap_default___ngw__acceptRequest(soap, a);
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwm__acceptRequest && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_PointerTo_ngwm__acceptRequest(soap, "ngwm:acceptRequest", &a->ngwm__acceptRequest, ""))
- { soap_flag_ngwm__acceptRequest = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- return a;
-}
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_embedded(soap, &a->ngwt__gwTrace, SOAP_TYPE_bool);
- soap_embedded(soap, &a->ngwt__session, SOAP_TYPE_std__string);
- soap_serialize_std__string(soap, &a->ngwt__session);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a)
-{
- (void)soap; (void)a; /* appease -Wall -Werror */
- soap_default_bool(soap, &a->ngwt__gwTrace);
- soap_default_std__string(soap, &a->ngwt__session);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Header);
- if (soap_out_SOAP_ENV__Header(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Header *a, const char *type)
-{
- soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type);
- soap_out_bool(soap, "ngwt:gwTrace", -1, &a->ngwt__gwTrace, "");
- soap_out_std__string(soap, "ngwt:session", -1, &a->ngwt__session, "");
- soap_element_end_out(soap, tag);
- return SOAP_OK;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p, const char *tag, const char *type)
-{
- if ((p = soap_in_SOAP_ENV__Header(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap *soap, const char *tag, struct SOAP_ENV__Header *a, const char *type)
-{
- short soap_flag_ngwt__gwTrace = 1, soap_flag_ngwt__session = 1;
- if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type && soap_match_tag(soap, soap->type, type))
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- a = (struct SOAP_ENV__Header *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), soap->type, soap->arrayType);
- if (!a)
- return NULL;
- soap_default_SOAP_ENV__Header(soap, a);
- if (soap->body && !*soap->href)
- {
- for (;;)
- { soap->error = SOAP_TAG_MISMATCH;
- if (soap_flag_ngwt__gwTrace && soap->error == SOAP_TAG_MISMATCH)
- if (soap_in_bool(soap, "ngwt:gwTrace", &a->ngwt__gwTrace, ""))
- { soap_flag_ngwt__gwTrace = 0;
- continue;
- }
- if (soap_flag_ngwt__session && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
- if (soap_in_std__string(soap, "ngwt:session", &a->ngwt__session, ""))
- { soap_flag_ngwt__session = 0;
- continue;
- }
- if (soap->error == SOAP_TAG_MISMATCH)
- soap->error = soap_ignore_element(soap);
- if (soap->error == SOAP_NO_TAG)
- break;
- if (soap->error)
- return NULL;
- }
- if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ngwt__gwTrace || soap_flag_ngwt__session))
- { soap->error = SOAP_OCCURS;
- return NULL;
- }
- if (soap_element_end_in(soap, tag))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Header, 0, sizeof(struct SOAP_ENV__Header), 0, soap_copy_SOAP_ENV__Header);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_new_SOAP_ENV__Header(struct soap *soap, int n)
-{ return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_instantiate_SOAP_ENV__Header(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new struct SOAP_ENV__Header;
- if (size)
- *size = sizeof(struct SOAP_ENV__Header);
- }
- else
- { cp->ptr = (void*)new struct SOAP_ENV__Header[n];
- if (size)
- *size = n * sizeof(struct SOAP_ENV__Header);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (struct SOAP_ENV__Header*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_SOAP_ENV__Header(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Header %p -> %p\n", q, p));
- *(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q;
-}
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Detail))
- soap_serialize_SOAP_ENV__Detail(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Detail);
- if (soap_out_PointerToSOAP_ENV__Detail(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Detail *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Detail);
- if (id < 0)
- return soap->error;
- return soap_out_SOAP_ENV__Detail(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToSOAP_ENV__Detail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap *soap, const char *tag, struct SOAP_ENV__Detail **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (struct SOAP_ENV__Detail **)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Code))
- soap_serialize_SOAP_ENV__Code(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Code);
- if (soap_out_PointerToSOAP_ENV__Code(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Code *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code);
- if (id < 0)
- return soap->error;
- return soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap *soap, const char *tag, struct SOAP_ENV__Code **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (struct SOAP_ENV__Code **)soap_malloc(soap, sizeof(struct SOAP_ENV__Code *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-#endif
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventsResponse);
- if (soap_out_PointerTo_ngwe__removeEventsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__removeEventsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__removeEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsResponse(struct soap *soap, const char *tag, _ngwe__removeEventsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__removeEventsResponse **)soap_malloc(soap, sizeof(_ngwe__removeEventsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__removeEventsResponse *)soap_instantiate__ngwe__removeEventsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsResponse, sizeof(_ngwe__removeEventsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventsRequest);
- if (soap_out_PointerTo_ngwe__removeEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__removeEventsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__removeEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsRequest(struct soap *soap, const char *tag, _ngwe__removeEventsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__removeEventsRequest **)soap_malloc(soap, sizeof(_ngwe__removeEventsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__removeEventsRequest *)soap_instantiate__ngwe__removeEventsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsRequest, sizeof(_ngwe__removeEventsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventConfigurationResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse);
- if (soap_out_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__removeEventConfigurationResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventConfigurationResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__removeEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__removeEventConfigurationResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__removeEventConfigurationResponse *)soap_instantiate__ngwe__removeEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, sizeof(_ngwe__removeEventConfigurationResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventConfigurationRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest);
- if (soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__removeEventConfigurationRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventConfigurationRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__removeEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__removeEventConfigurationRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__removeEventConfigurationRequest *)soap_instantiate__ngwe__removeEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__removeEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, sizeof(_ngwe__removeEventConfigurationRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventsResponse);
- if (soap_out_PointerTo_ngwe__getEventsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__getEventsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__getEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsResponse(struct soap *soap, const char *tag, _ngwe__getEventsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__getEventsResponse **)soap_malloc(soap, sizeof(_ngwe__getEventsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__getEventsResponse *)soap_instantiate__ngwe__getEventsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__getEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsResponse, sizeof(_ngwe__getEventsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventsRequest);
- if (soap_out_PointerTo_ngwe__getEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__getEventsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__getEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsRequest(struct soap *soap, const char *tag, _ngwe__getEventsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__getEventsRequest **)soap_malloc(soap, sizeof(_ngwe__getEventsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__getEventsRequest *)soap_instantiate__ngwe__getEventsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__getEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsRequest, sizeof(_ngwe__getEventsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventConfigurationResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse);
- if (soap_out_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__getEventConfigurationResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventConfigurationResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__getEventConfigurationResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__getEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__getEventConfigurationResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__getEventConfigurationResponse *)soap_instantiate__ngwe__getEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__getEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationResponse, sizeof(_ngwe__getEventConfigurationResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventConfigurationRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest);
- if (soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__getEventConfigurationRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventConfigurationRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__getEventConfigurationRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__getEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__getEventConfigurationRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__getEventConfigurationRequest *)soap_instantiate__ngwe__getEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__getEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationRequest, sizeof(_ngwe__getEventConfigurationRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__configureEventsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__configureEventsResponse);
- if (soap_out_PointerTo_ngwe__configureEventsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__configureEventsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__configureEventsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__configureEventsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsResponse(struct soap *soap, const char *tag, _ngwe__configureEventsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__configureEventsResponse **)soap_malloc(soap, sizeof(_ngwe__configureEventsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__configureEventsResponse *)soap_instantiate__ngwe__configureEventsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__configureEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsResponse, sizeof(_ngwe__configureEventsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__configureEventsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__configureEventsRequest);
- if (soap_out_PointerTo_ngwe__configureEventsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__configureEventsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__configureEventsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__configureEventsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsRequest(struct soap *soap, const char *tag, _ngwe__configureEventsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__configureEventsRequest **)soap_malloc(soap, sizeof(_ngwe__configureEventsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__configureEventsRequest *)soap_instantiate__ngwe__configureEventsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__configureEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsRequest, sizeof(_ngwe__configureEventsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse);
- if (soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__cleanEventConfigurationResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__cleanEventConfigurationResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__cleanEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__cleanEventConfigurationResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__cleanEventConfigurationResponse *)soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__cleanEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, sizeof(_ngwe__cleanEventConfigurationResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest);
- if (soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__cleanEventConfigurationRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__cleanEventConfigurationRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwe__cleanEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__cleanEventConfigurationRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwe__cleanEventConfigurationRequest *)soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwe__cleanEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, sizeof(_ngwe__cleanEventConfigurationRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__updateVersionStatusResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse);
- if (soap_out_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, int id, _ngwm__updateVersionStatusResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__updateVersionStatusResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, _ngwm__updateVersionStatusResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__updateVersionStatusResponse **)soap_malloc(soap, sizeof(_ngwm__updateVersionStatusResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__updateVersionStatusResponse *)soap_instantiate__ngwm__updateVersionStatusResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__updateVersionStatusResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusResponse, sizeof(_ngwm__updateVersionStatusResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__updateVersionStatusRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest);
- if (soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, _ngwm__updateVersionStatusRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__updateVersionStatusRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, _ngwm__updateVersionStatusRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__updateVersionStatusRequest **)soap_malloc(soap, sizeof(_ngwm__updateVersionStatusRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__updateVersionStatusRequest *)soap_instantiate__ngwm__updateVersionStatusRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__updateVersionStatusRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusRequest, sizeof(_ngwm__updateVersionStatusRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__uncompleteResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__uncompleteResponse);
- if (soap_out_PointerTo_ngwm__uncompleteResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteResponse(struct soap *soap, const char *tag, int id, _ngwm__uncompleteResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__uncompleteResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__uncompleteResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteResponse(struct soap *soap, const char *tag, _ngwm__uncompleteResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__uncompleteResponse **)soap_malloc(soap, sizeof(_ngwm__uncompleteResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__uncompleteResponse *)soap_instantiate__ngwm__uncompleteResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__uncompleteResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteResponse, sizeof(_ngwm__uncompleteResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__uncompleteRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__uncompleteRequest);
- if (soap_out_PointerTo_ngwm__uncompleteRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteRequest(struct soap *soap, const char *tag, int id, _ngwm__uncompleteRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__uncompleteRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__uncompleteRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteRequest(struct soap *soap, const char *tag, _ngwm__uncompleteRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__uncompleteRequest **)soap_malloc(soap, sizeof(_ngwm__uncompleteRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__uncompleteRequest *)soap_instantiate__ngwm__uncompleteRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__uncompleteRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteRequest, sizeof(_ngwm__uncompleteRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__unacceptResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__unacceptResponse);
- if (soap_out_PointerTo_ngwm__unacceptResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptResponse(struct soap *soap, const char *tag, int id, _ngwm__unacceptResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__unacceptResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__unacceptResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptResponse(struct soap *soap, const char *tag, _ngwm__unacceptResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__unacceptResponse **)soap_malloc(soap, sizeof(_ngwm__unacceptResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__unacceptResponse *)soap_instantiate__ngwm__unacceptResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__unacceptResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptResponse, sizeof(_ngwm__unacceptResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__unacceptRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__unacceptRequest);
- if (soap_out_PointerTo_ngwm__unacceptRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptRequest(struct soap *soap, const char *tag, int id, _ngwm__unacceptRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__unacceptRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__unacceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptRequest(struct soap *soap, const char *tag, _ngwm__unacceptRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__unacceptRequest **)soap_malloc(soap, sizeof(_ngwm__unacceptRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__unacceptRequest *)soap_instantiate__ngwm__unacceptRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__unacceptRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptRequest, sizeof(_ngwm__unacceptRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__startFreeBusySessionResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse);
- if (soap_out_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, int id, _ngwm__startFreeBusySessionResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__startFreeBusySessionResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__startFreeBusySessionResponse **)soap_malloc(soap, sizeof(_ngwm__startFreeBusySessionResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__startFreeBusySessionResponse *)soap_instantiate__ngwm__startFreeBusySessionResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__startFreeBusySessionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, sizeof(_ngwm__startFreeBusySessionResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__startFreeBusySessionRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest);
- if (soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, _ngwm__startFreeBusySessionRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__startFreeBusySessionRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__startFreeBusySessionRequest **)soap_malloc(soap, sizeof(_ngwm__startFreeBusySessionRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__startFreeBusySessionRequest *)soap_instantiate__ngwm__startFreeBusySessionRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__startFreeBusySessionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, sizeof(_ngwm__startFreeBusySessionRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__setTimestampResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__setTimestampResponse);
- if (soap_out_PointerTo_ngwm__setTimestampResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampResponse(struct soap *soap, const char *tag, int id, _ngwm__setTimestampResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__setTimestampResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__setTimestampResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampResponse(struct soap *soap, const char *tag, _ngwm__setTimestampResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__setTimestampResponse **)soap_malloc(soap, sizeof(_ngwm__setTimestampResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__setTimestampResponse *)soap_instantiate__ngwm__setTimestampResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__setTimestampResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampResponse, sizeof(_ngwm__setTimestampResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__setTimestampRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__setTimestampRequest);
- if (soap_out_PointerTo_ngwm__setTimestampRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampRequest(struct soap *soap, const char *tag, int id, _ngwm__setTimestampRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__setTimestampRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__setTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampRequest(struct soap *soap, const char *tag, _ngwm__setTimestampRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__setTimestampRequest **)soap_malloc(soap, sizeof(_ngwm__setTimestampRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__setTimestampRequest *)soap_instantiate__ngwm__setTimestampRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__setTimestampRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampRequest, sizeof(_ngwm__setTimestampRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__sendItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__sendItemResponse);
- if (soap_out_PointerTo_ngwm__sendItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemResponse(struct soap *soap, const char *tag, int id, _ngwm__sendItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__sendItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__sendItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemResponse(struct soap *soap, const char *tag, _ngwm__sendItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__sendItemResponse **)soap_malloc(soap, sizeof(_ngwm__sendItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__sendItemResponse *)soap_instantiate__ngwm__sendItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__sendItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemResponse, sizeof(_ngwm__sendItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__sendItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__sendItemRequest);
- if (soap_out_PointerTo_ngwm__sendItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemRequest(struct soap *soap, const char *tag, int id, _ngwm__sendItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__sendItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__sendItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemRequest(struct soap *soap, const char *tag, _ngwm__sendItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__sendItemRequest **)soap_malloc(soap, sizeof(_ngwm__sendItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__sendItemRequest *)soap_instantiate__ngwm__sendItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__sendItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemRequest, sizeof(_ngwm__sendItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__retractResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__retractResponse);
- if (soap_out_PointerTo_ngwm__retractResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractResponse(struct soap *soap, const char *tag, int id, _ngwm__retractResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__retractResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__retractResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractResponse(struct soap *soap, const char *tag, _ngwm__retractResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__retractResponse **)soap_malloc(soap, sizeof(_ngwm__retractResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__retractResponse *)soap_instantiate__ngwm__retractResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__retractResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractResponse, sizeof(_ngwm__retractResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__retractRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__retractRequest);
- if (soap_out_PointerTo_ngwm__retractRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractRequest(struct soap *soap, const char *tag, int id, _ngwm__retractRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__retractRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__retractRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractRequest(struct soap *soap, const char *tag, _ngwm__retractRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__retractRequest **)soap_malloc(soap, sizeof(_ngwm__retractRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__retractRequest *)soap_instantiate__ngwm__retractRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__retractRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractRequest, sizeof(_ngwm__retractRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__replyResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__replyResponse);
- if (soap_out_PointerTo_ngwm__replyResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyResponse(struct soap *soap, const char *tag, int id, _ngwm__replyResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__replyResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__replyResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyResponse(struct soap *soap, const char *tag, _ngwm__replyResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__replyResponse **)soap_malloc(soap, sizeof(_ngwm__replyResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__replyResponse *)soap_instantiate__ngwm__replyResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__replyResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyResponse, sizeof(_ngwm__replyResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__replyRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__replyRequest);
- if (soap_out_PointerTo_ngwm__replyRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyRequest(struct soap *soap, const char *tag, int id, _ngwm__replyRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__replyRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__replyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyRequest(struct soap *soap, const char *tag, _ngwm__replyRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__replyRequest **)soap_malloc(soap, sizeof(_ngwm__replyRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__replyRequest *)soap_instantiate__ngwm__replyRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__replyRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyRequest, sizeof(_ngwm__replyRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeSignatureResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse);
- if (soap_out_PointerTo_ngwm__removeSignatureResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, const char *tag, int id, _ngwm__removeSignatureResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeSignatureResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeSignatureResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, const char *tag, _ngwm__removeSignatureResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeSignatureResponse **)soap_malloc(soap, sizeof(_ngwm__removeSignatureResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeSignatureResponse *)soap_instantiate__ngwm__removeSignatureResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeSignatureResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureResponse, sizeof(_ngwm__removeSignatureResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeSignatureRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest);
- if (soap_out_PointerTo_ngwm__removeSignatureRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, const char *tag, int id, _ngwm__removeSignatureRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeSignatureRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, const char *tag, _ngwm__removeSignatureRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeSignatureRequest **)soap_malloc(soap, sizeof(_ngwm__removeSignatureRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeSignatureRequest *)soap_instantiate__ngwm__removeSignatureRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeSignatureRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureRequest, sizeof(_ngwm__removeSignatureRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyUserResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse);
- if (soap_out_PointerTo_ngwm__removeProxyUserResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, int id, _ngwm__removeProxyUserResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyUserResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeProxyUserResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, _ngwm__removeProxyUserResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeProxyUserResponse **)soap_malloc(soap, sizeof(_ngwm__removeProxyUserResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeProxyUserResponse *)soap_instantiate__ngwm__removeProxyUserResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyUserResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserResponse, sizeof(_ngwm__removeProxyUserResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyUserRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest);
- if (soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, int id, _ngwm__removeProxyUserRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyUserRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, _ngwm__removeProxyUserRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeProxyUserRequest **)soap_malloc(soap, sizeof(_ngwm__removeProxyUserRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeProxyUserRequest *)soap_instantiate__ngwm__removeProxyUserRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyUserRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserRequest, sizeof(_ngwm__removeProxyUserRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyAccessResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse);
- if (soap_out_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__removeProxyAccessResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyAccessResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__removeProxyAccessResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__removeProxyAccessResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeProxyAccessResponse *)soap_instantiate__ngwm__removeProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessResponse, sizeof(_ngwm__removeProxyAccessResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyAccessRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest);
- if (soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__removeProxyAccessRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyAccessRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__removeProxyAccessRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__removeProxyAccessRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeProxyAccessRequest *)soap_instantiate__ngwm__removeProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessRequest, sizeof(_ngwm__removeProxyAccessRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeMembersResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeMembersResponse);
- if (soap_out_PointerTo_ngwm__removeMembersResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersResponse(struct soap *soap, const char *tag, int id, _ngwm__removeMembersResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeMembersResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeMembersResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersResponse(struct soap *soap, const char *tag, _ngwm__removeMembersResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeMembersResponse **)soap_malloc(soap, sizeof(_ngwm__removeMembersResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeMembersResponse *)soap_instantiate__ngwm__removeMembersResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeMembersResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersResponse, sizeof(_ngwm__removeMembersResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeMembersRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeMembersRequest);
- if (soap_out_PointerTo_ngwm__removeMembersRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersRequest(struct soap *soap, const char *tag, int id, _ngwm__removeMembersRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeMembersRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersRequest(struct soap *soap, const char *tag, _ngwm__removeMembersRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeMembersRequest **)soap_malloc(soap, sizeof(_ngwm__removeMembersRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeMembersRequest *)soap_instantiate__ngwm__removeMembersRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeMembersRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersRequest, sizeof(_ngwm__removeMembersRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeJunkEntryResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse);
- if (soap_out_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__removeJunkEntryResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeJunkEntryResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__removeJunkEntryResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__removeJunkEntryResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeJunkEntryResponse *)soap_instantiate__ngwm__removeJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryResponse, sizeof(_ngwm__removeJunkEntryResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeJunkEntryRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest);
- if (soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__removeJunkEntryRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeJunkEntryRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__removeJunkEntryRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__removeJunkEntryRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeJunkEntryRequest *)soap_instantiate__ngwm__removeJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryRequest, sizeof(_ngwm__removeJunkEntryRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemsResponse);
- if (soap_out_PointerTo_ngwm__removeItemsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__removeItemsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsResponse(struct soap *soap, const char *tag, _ngwm__removeItemsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeItemsResponse **)soap_malloc(soap, sizeof(_ngwm__removeItemsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeItemsResponse *)soap_instantiate__ngwm__removeItemsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsResponse, sizeof(_ngwm__removeItemsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemsRequest);
- if (soap_out_PointerTo_ngwm__removeItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__removeItemsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsRequest(struct soap *soap, const char *tag, _ngwm__removeItemsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeItemsRequest **)soap_malloc(soap, sizeof(_ngwm__removeItemsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeItemsRequest *)soap_instantiate__ngwm__removeItemsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsRequest, sizeof(_ngwm__removeItemsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemResponse);
- if (soap_out_PointerTo_ngwm__removeItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemResponse(struct soap *soap, const char *tag, int id, _ngwm__removeItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemResponse(struct soap *soap, const char *tag, _ngwm__removeItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeItemResponse **)soap_malloc(soap, sizeof(_ngwm__removeItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeItemResponse *)soap_instantiate__ngwm__removeItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemResponse, sizeof(_ngwm__removeItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemRequest);
- if (soap_out_PointerTo_ngwm__removeItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemRequest(struct soap *soap, const char *tag, int id, _ngwm__removeItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemRequest(struct soap *soap, const char *tag, _ngwm__removeItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeItemRequest **)soap_malloc(soap, sizeof(_ngwm__removeItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeItemRequest *)soap_instantiate__ngwm__removeItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemRequest, sizeof(_ngwm__removeItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse);
- if (soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, int id, _ngwm__removeCustomDefinitionResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeCustomDefinitionResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeCustomDefinitionResponse **)soap_malloc(soap, sizeof(_ngwm__removeCustomDefinitionResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeCustomDefinitionResponse *)soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeCustomDefinitionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, sizeof(_ngwm__removeCustomDefinitionResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest);
- if (soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, _ngwm__removeCustomDefinitionRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeCustomDefinitionRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__removeCustomDefinitionRequest **)soap_malloc(soap, sizeof(_ngwm__removeCustomDefinitionRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__removeCustomDefinitionRequest *)soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__removeCustomDefinitionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, sizeof(_ngwm__removeCustomDefinitionRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__readCursorResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__readCursorResponse);
- if (soap_out_PointerTo_ngwm__readCursorResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__readCursorResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__readCursorResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__readCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorResponse(struct soap *soap, const char *tag, _ngwm__readCursorResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__readCursorResponse **)soap_malloc(soap, sizeof(_ngwm__readCursorResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__readCursorResponse *)soap_instantiate__ngwm__readCursorResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__readCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorResponse, sizeof(_ngwm__readCursorResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__readCursorRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__readCursorRequest);
- if (soap_out_PointerTo_ngwm__readCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__readCursorRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__readCursorRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__readCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorRequest(struct soap *soap, const char *tag, _ngwm__readCursorRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__readCursorRequest **)soap_malloc(soap, sizeof(_ngwm__readCursorRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__readCursorRequest *)soap_instantiate__ngwm__readCursorRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__readCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorRequest, sizeof(_ngwm__readCursorRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeResponse);
- if (soap_out_PointerTo_ngwm__purgeResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeResponse(struct soap *soap, const char *tag, int id, _ngwm__purgeResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__purgeResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeResponse(struct soap *soap, const char *tag, _ngwm__purgeResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__purgeResponse **)soap_malloc(soap, sizeof(_ngwm__purgeResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__purgeResponse *)soap_instantiate__ngwm__purgeResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__purgeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeResponse, sizeof(_ngwm__purgeResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeRequest);
- if (soap_out_PointerTo_ngwm__purgeRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeRequest(struct soap *soap, const char *tag, int id, _ngwm__purgeRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__purgeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeRequest(struct soap *soap, const char *tag, _ngwm__purgeRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__purgeRequest **)soap_malloc(soap, sizeof(_ngwm__purgeRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__purgeRequest *)soap_instantiate__ngwm__purgeRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__purgeRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeRequest, sizeof(_ngwm__purgeRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse);
- if (soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__purgeDeletedItemsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeDeletedItemsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__purgeDeletedItemsResponse **)soap_malloc(soap, sizeof(_ngwm__purgeDeletedItemsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__purgeDeletedItemsResponse *)soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__purgeDeletedItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, sizeof(_ngwm__purgeDeletedItemsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest);
- if (soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__purgeDeletedItemsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeDeletedItemsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__purgeDeletedItemsRequest **)soap_malloc(soap, sizeof(_ngwm__purgeDeletedItemsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__purgeDeletedItemsRequest *)soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__purgeDeletedItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, sizeof(_ngwm__purgeDeletedItemsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__positionCursorResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__positionCursorResponse);
- if (soap_out_PointerTo_ngwm__positionCursorResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__positionCursorResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__positionCursorResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__positionCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorResponse(struct soap *soap, const char *tag, _ngwm__positionCursorResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__positionCursorResponse **)soap_malloc(soap, sizeof(_ngwm__positionCursorResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__positionCursorResponse *)soap_instantiate__ngwm__positionCursorResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__positionCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorResponse, sizeof(_ngwm__positionCursorResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__positionCursorRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__positionCursorRequest);
- if (soap_out_PointerTo_ngwm__positionCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__positionCursorRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__positionCursorRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__positionCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorRequest(struct soap *soap, const char *tag, _ngwm__positionCursorRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__positionCursorRequest **)soap_malloc(soap, sizeof(_ngwm__positionCursorRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__positionCursorRequest *)soap_instantiate__ngwm__positionCursorRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__positionCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorRequest, sizeof(_ngwm__positionCursorRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__moveItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__moveItemResponse);
- if (soap_out_PointerTo_ngwm__moveItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemResponse(struct soap *soap, const char *tag, int id, _ngwm__moveItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__moveItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__moveItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemResponse(struct soap *soap, const char *tag, _ngwm__moveItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__moveItemResponse **)soap_malloc(soap, sizeof(_ngwm__moveItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__moveItemResponse *)soap_instantiate__ngwm__moveItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__moveItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemResponse, sizeof(_ngwm__moveItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__moveItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__moveItemRequest);
- if (soap_out_PointerTo_ngwm__moveItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemRequest(struct soap *soap, const char *tag, int id, _ngwm__moveItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__moveItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__moveItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemRequest(struct soap *soap, const char *tag, _ngwm__moveItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__moveItemRequest **)soap_malloc(soap, sizeof(_ngwm__moveItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__moveItemRequest *)soap_instantiate__ngwm__moveItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__moveItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemRequest, sizeof(_ngwm__moveItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySignaturesResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse);
- if (soap_out_PointerTo_ngwm__modifySignaturesResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, int id, _ngwm__modifySignaturesResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySignaturesResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifySignaturesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, _ngwm__modifySignaturesResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifySignaturesResponse **)soap_malloc(soap, sizeof(_ngwm__modifySignaturesResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifySignaturesResponse *)soap_instantiate__ngwm__modifySignaturesResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifySignaturesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesResponse, sizeof(_ngwm__modifySignaturesResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySignaturesRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest);
- if (soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, int id, _ngwm__modifySignaturesRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySignaturesRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, _ngwm__modifySignaturesRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifySignaturesRequest **)soap_malloc(soap, sizeof(_ngwm__modifySignaturesRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifySignaturesRequest *)soap_instantiate__ngwm__modifySignaturesRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifySignaturesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesRequest, sizeof(_ngwm__modifySignaturesRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySettingsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse);
- if (soap_out_PointerTo_ngwm__modifySettingsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__modifySettingsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySettingsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifySettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, const char *tag, _ngwm__modifySettingsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifySettingsResponse **)soap_malloc(soap, sizeof(_ngwm__modifySettingsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifySettingsResponse *)soap_instantiate__ngwm__modifySettingsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifySettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsResponse, sizeof(_ngwm__modifySettingsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySettingsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest);
- if (soap_out_PointerTo_ngwm__modifySettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__modifySettingsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySettingsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifySettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, const char *tag, _ngwm__modifySettingsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifySettingsRequest **)soap_malloc(soap, sizeof(_ngwm__modifySettingsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifySettingsRequest *)soap_instantiate__ngwm__modifySettingsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifySettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsRequest, sizeof(_ngwm__modifySettingsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyProxyAccessResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse);
- if (soap_out_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyProxyAccessResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyProxyAccessResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__modifyProxyAccessResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyProxyAccessResponse *)soap_instantiate__ngwm__modifyProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, sizeof(_ngwm__modifyProxyAccessResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyProxyAccessRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest);
- if (soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyProxyAccessRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyProxyAccessRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__modifyProxyAccessRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyProxyAccessRequest *)soap_instantiate__ngwm__modifyProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, sizeof(_ngwm__modifyProxyAccessRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyPasswordResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse);
- if (soap_out_PointerTo_ngwm__modifyPasswordResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyPasswordResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyPasswordResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyPasswordResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, _ngwm__modifyPasswordResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyPasswordResponse **)soap_malloc(soap, sizeof(_ngwm__modifyPasswordResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyPasswordResponse *)soap_instantiate__ngwm__modifyPasswordResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyPasswordResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordResponse, sizeof(_ngwm__modifyPasswordResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyPasswordRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest);
- if (soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyPasswordRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyPasswordRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, _ngwm__modifyPasswordRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyPasswordRequest **)soap_malloc(soap, sizeof(_ngwm__modifyPasswordRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyPasswordRequest *)soap_instantiate__ngwm__modifyPasswordRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyPasswordRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordRequest, sizeof(_ngwm__modifyPasswordRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse);
- if (soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkMailSettingsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyJunkMailSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__modifyJunkMailSettingsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyJunkMailSettingsResponse *)soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkMailSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, sizeof(_ngwm__modifyJunkMailSettingsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest);
- if (soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkMailSettingsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyJunkMailSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__modifyJunkMailSettingsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyJunkMailSettingsRequest *)soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkMailSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, sizeof(_ngwm__modifyJunkMailSettingsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkEntryResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse);
- if (soap_out_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkEntryResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkEntryResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__modifyJunkEntryResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyJunkEntryResponse *)soap_instantiate__ngwm__modifyJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, sizeof(_ngwm__modifyJunkEntryResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkEntryRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest);
- if (soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkEntryRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkEntryRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__modifyJunkEntryRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyJunkEntryRequest *)soap_instantiate__ngwm__modifyJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, sizeof(_ngwm__modifyJunkEntryRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyItemResponse);
- if (soap_out_PointerTo_ngwm__modifyItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemResponse(struct soap *soap, const char *tag, _ngwm__modifyItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyItemResponse **)soap_malloc(soap, sizeof(_ngwm__modifyItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyItemResponse *)soap_instantiate__ngwm__modifyItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemResponse, sizeof(_ngwm__modifyItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyItemRequest);
- if (soap_out_PointerTo_ngwm__modifyItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__modifyItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemRequest(struct soap *soap, const char *tag, _ngwm__modifyItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__modifyItemRequest **)soap_malloc(soap, sizeof(_ngwm__modifyItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__modifyItemRequest *)soap_instantiate__ngwm__modifyItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__modifyItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemRequest, sizeof(_ngwm__modifyItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnReadResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnReadResponse);
- if (soap_out_PointerTo_ngwm__markUnReadResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadResponse(struct soap *soap, const char *tag, int id, _ngwm__markUnReadResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnReadResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markUnReadResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadResponse(struct soap *soap, const char *tag, _ngwm__markUnReadResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markUnReadResponse **)soap_malloc(soap, sizeof(_ngwm__markUnReadResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markUnReadResponse *)soap_instantiate__ngwm__markUnReadResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markUnReadResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadResponse, sizeof(_ngwm__markUnReadResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnReadRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnReadRequest);
- if (soap_out_PointerTo_ngwm__markUnReadRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadRequest(struct soap *soap, const char *tag, int id, _ngwm__markUnReadRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnReadRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markUnReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadRequest(struct soap *soap, const char *tag, _ngwm__markUnReadRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markUnReadRequest **)soap_malloc(soap, sizeof(_ngwm__markUnReadRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markUnReadRequest *)soap_instantiate__ngwm__markUnReadRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markUnReadRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadRequest, sizeof(_ngwm__markUnReadRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnPrivateResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse);
- if (soap_out_PointerTo_ngwm__markUnPrivateResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, int id, _ngwm__markUnPrivateResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnPrivateResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markUnPrivateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, _ngwm__markUnPrivateResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markUnPrivateResponse **)soap_malloc(soap, sizeof(_ngwm__markUnPrivateResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markUnPrivateResponse *)soap_instantiate__ngwm__markUnPrivateResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markUnPrivateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateResponse, sizeof(_ngwm__markUnPrivateResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnPrivateRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest);
- if (soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, int id, _ngwm__markUnPrivateRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnPrivateRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, _ngwm__markUnPrivateRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markUnPrivateRequest **)soap_malloc(soap, sizeof(_ngwm__markUnPrivateRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markUnPrivateRequest *)soap_instantiate__ngwm__markUnPrivateRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markUnPrivateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateRequest, sizeof(_ngwm__markUnPrivateRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markReadResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markReadResponse);
- if (soap_out_PointerTo_ngwm__markReadResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadResponse(struct soap *soap, const char *tag, int id, _ngwm__markReadResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markReadResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markReadResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadResponse(struct soap *soap, const char *tag, _ngwm__markReadResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markReadResponse **)soap_malloc(soap, sizeof(_ngwm__markReadResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markReadResponse *)soap_instantiate__ngwm__markReadResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markReadResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadResponse, sizeof(_ngwm__markReadResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markReadRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markReadRequest);
- if (soap_out_PointerTo_ngwm__markReadRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadRequest(struct soap *soap, const char *tag, int id, _ngwm__markReadRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markReadRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markReadRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadRequest(struct soap *soap, const char *tag, _ngwm__markReadRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markReadRequest **)soap_malloc(soap, sizeof(_ngwm__markReadRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markReadRequest *)soap_instantiate__ngwm__markReadRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markReadRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadRequest, sizeof(_ngwm__markReadRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markPrivateResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markPrivateResponse);
- if (soap_out_PointerTo_ngwm__markPrivateResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateResponse(struct soap *soap, const char *tag, int id, _ngwm__markPrivateResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markPrivateResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markPrivateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateResponse(struct soap *soap, const char *tag, _ngwm__markPrivateResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markPrivateResponse **)soap_malloc(soap, sizeof(_ngwm__markPrivateResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markPrivateResponse *)soap_instantiate__ngwm__markPrivateResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markPrivateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateResponse, sizeof(_ngwm__markPrivateResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markPrivateRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markPrivateRequest);
- if (soap_out_PointerTo_ngwm__markPrivateRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateRequest(struct soap *soap, const char *tag, int id, _ngwm__markPrivateRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markPrivateRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__markPrivateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateRequest(struct soap *soap, const char *tag, _ngwm__markPrivateRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__markPrivateRequest **)soap_malloc(soap, sizeof(_ngwm__markPrivateRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__markPrivateRequest *)soap_instantiate__ngwm__markPrivateRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__markPrivateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateRequest, sizeof(_ngwm__markPrivateRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__logoutResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__logoutResponse);
- if (soap_out_PointerTo_ngwm__logoutResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutResponse(struct soap *soap, const char *tag, int id, _ngwm__logoutResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__logoutResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__logoutResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutResponse(struct soap *soap, const char *tag, _ngwm__logoutResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__logoutResponse **)soap_malloc(soap, sizeof(_ngwm__logoutResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__logoutResponse *)soap_instantiate__ngwm__logoutResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__logoutResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutResponse, sizeof(_ngwm__logoutResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__logoutRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__logoutRequest);
- if (soap_out_PointerTo_ngwm__logoutRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutRequest(struct soap *soap, const char *tag, int id, _ngwm__logoutRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__logoutRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__logoutRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutRequest(struct soap *soap, const char *tag, _ngwm__logoutRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__logoutRequest **)soap_malloc(soap, sizeof(_ngwm__logoutRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__logoutRequest *)soap_instantiate__ngwm__logoutRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__logoutRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutRequest, sizeof(_ngwm__logoutRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__loginResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__loginResponse);
- if (soap_out_PointerTo_ngwm__loginResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginResponse(struct soap *soap, const char *tag, int id, _ngwm__loginResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__loginResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__loginResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginResponse(struct soap *soap, const char *tag, _ngwm__loginResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__loginResponse **)soap_malloc(soap, sizeof(_ngwm__loginResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__loginResponse *)soap_instantiate__ngwm__loginResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__loginResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginResponse, sizeof(_ngwm__loginResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__loginRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__loginRequest);
- if (soap_out_PointerTo_ngwm__loginRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginRequest(struct soap *soap, const char *tag, int id, _ngwm__loginRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__loginRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__loginRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginRequest(struct soap *soap, const char *tag, _ngwm__loginRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__loginRequest **)soap_malloc(soap, sizeof(_ngwm__loginRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__loginRequest *)soap_instantiate__ngwm__loginRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__loginRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginRequest, sizeof(_ngwm__loginRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getUserListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getUserListResponse);
- if (soap_out_PointerTo_ngwm__getUserListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListResponse(struct soap *soap, const char *tag, int id, _ngwm__getUserListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getUserListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getUserListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListResponse(struct soap *soap, const char *tag, _ngwm__getUserListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getUserListResponse **)soap_malloc(soap, sizeof(_ngwm__getUserListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getUserListResponse *)soap_instantiate__ngwm__getUserListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getUserListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListResponse, sizeof(_ngwm__getUserListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getUserListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getUserListRequest);
- if (soap_out_PointerTo_ngwm__getUserListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListRequest(struct soap *soap, const char *tag, int id, _ngwm__getUserListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getUserListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getUserListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListRequest(struct soap *soap, const char *tag, _ngwm__getUserListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getUserListRequest **)soap_malloc(soap, sizeof(_ngwm__getUserListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getUserListRequest *)soap_instantiate__ngwm__getUserListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getUserListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListRequest, sizeof(_ngwm__getUserListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimezoneListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse);
- if (soap_out_PointerTo_ngwm__getTimezoneListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, int id, _ngwm__getTimezoneListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimezoneListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getTimezoneListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, _ngwm__getTimezoneListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getTimezoneListResponse **)soap_malloc(soap, sizeof(_ngwm__getTimezoneListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getTimezoneListResponse *)soap_instantiate__ngwm__getTimezoneListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getTimezoneListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListResponse, sizeof(_ngwm__getTimezoneListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimezoneListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest);
- if (soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, int id, _ngwm__getTimezoneListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimezoneListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, _ngwm__getTimezoneListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getTimezoneListRequest **)soap_malloc(soap, sizeof(_ngwm__getTimezoneListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getTimezoneListRequest *)soap_instantiate__ngwm__getTimezoneListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getTimezoneListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListRequest, sizeof(_ngwm__getTimezoneListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimestampResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimestampResponse);
- if (soap_out_PointerTo_ngwm__getTimestampResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampResponse(struct soap *soap, const char *tag, int id, _ngwm__getTimestampResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimestampResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getTimestampResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampResponse(struct soap *soap, const char *tag, _ngwm__getTimestampResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getTimestampResponse **)soap_malloc(soap, sizeof(_ngwm__getTimestampResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getTimestampResponse *)soap_instantiate__ngwm__getTimestampResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getTimestampResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampResponse, sizeof(_ngwm__getTimestampResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimestampRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimestampRequest);
- if (soap_out_PointerTo_ngwm__getTimestampRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampRequest(struct soap *soap, const char *tag, int id, _ngwm__getTimestampRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimestampRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getTimestampRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampRequest(struct soap *soap, const char *tag, _ngwm__getTimestampRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getTimestampRequest **)soap_malloc(soap, sizeof(_ngwm__getTimestampRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getTimestampRequest *)soap_instantiate__ngwm__getTimestampRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getTimestampRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampRequest, sizeof(_ngwm__getTimestampRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSignaturesResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse);
- if (soap_out_PointerTo_ngwm__getSignaturesResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, const char *tag, int id, _ngwm__getSignaturesResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSignaturesResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getSignaturesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, const char *tag, _ngwm__getSignaturesResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getSignaturesResponse **)soap_malloc(soap, sizeof(_ngwm__getSignaturesResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getSignaturesResponse *)soap_instantiate__ngwm__getSignaturesResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getSignaturesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesResponse, sizeof(_ngwm__getSignaturesResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSignaturesRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest);
- if (soap_out_PointerTo_ngwm__getSignaturesRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, const char *tag, int id, _ngwm__getSignaturesRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSignaturesRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getSignaturesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, const char *tag, _ngwm__getSignaturesRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getSignaturesRequest **)soap_malloc(soap, sizeof(_ngwm__getSignaturesRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getSignaturesRequest *)soap_instantiate__ngwm__getSignaturesRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getSignaturesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesRequest, sizeof(_ngwm__getSignaturesRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSettingsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSettingsResponse);
- if (soap_out_PointerTo_ngwm__getSettingsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__getSettingsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSettingsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsResponse(struct soap *soap, const char *tag, _ngwm__getSettingsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__getSettingsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getSettingsResponse *)soap_instantiate__ngwm__getSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsResponse, sizeof(_ngwm__getSettingsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSettingsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSettingsRequest);
- if (soap_out_PointerTo_ngwm__getSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__getSettingsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSettingsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsRequest(struct soap *soap, const char *tag, _ngwm__getSettingsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__getSettingsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getSettingsRequest *)soap_instantiate__ngwm__getSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsRequest, sizeof(_ngwm__getSettingsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getRuleListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getRuleListResponse);
- if (soap_out_PointerTo_ngwm__getRuleListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListResponse(struct soap *soap, const char *tag, int id, _ngwm__getRuleListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getRuleListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getRuleListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListResponse(struct soap *soap, const char *tag, _ngwm__getRuleListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getRuleListResponse **)soap_malloc(soap, sizeof(_ngwm__getRuleListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getRuleListResponse *)soap_instantiate__ngwm__getRuleListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getRuleListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListResponse, sizeof(_ngwm__getRuleListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getRuleListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getRuleListRequest);
- if (soap_out_PointerTo_ngwm__getRuleListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListRequest(struct soap *soap, const char *tag, int id, _ngwm__getRuleListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getRuleListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getRuleListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListRequest(struct soap *soap, const char *tag, _ngwm__getRuleListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getRuleListRequest **)soap_malloc(soap, sizeof(_ngwm__getRuleListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getRuleListRequest *)soap_instantiate__ngwm__getRuleListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getRuleListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListRequest, sizeof(_ngwm__getRuleListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyListResponse);
- if (soap_out_PointerTo_ngwm__getProxyListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListResponse(struct soap *soap, const char *tag, int id, _ngwm__getProxyListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getProxyListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListResponse(struct soap *soap, const char *tag, _ngwm__getProxyListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getProxyListResponse **)soap_malloc(soap, sizeof(_ngwm__getProxyListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getProxyListResponse *)soap_instantiate__ngwm__getProxyListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListResponse, sizeof(_ngwm__getProxyListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyListRequest);
- if (soap_out_PointerTo_ngwm__getProxyListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListRequest(struct soap *soap, const char *tag, int id, _ngwm__getProxyListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getProxyListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListRequest(struct soap *soap, const char *tag, _ngwm__getProxyListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getProxyListRequest **)soap_malloc(soap, sizeof(_ngwm__getProxyListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getProxyListRequest *)soap_instantiate__ngwm__getProxyListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListRequest, sizeof(_ngwm__getProxyListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyAccessListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse);
- if (soap_out_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, int id, _ngwm__getProxyAccessListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyAccessListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, _ngwm__getProxyAccessListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getProxyAccessListResponse **)soap_malloc(soap, sizeof(_ngwm__getProxyAccessListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getProxyAccessListResponse *)soap_instantiate__ngwm__getProxyAccessListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyAccessListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListResponse, sizeof(_ngwm__getProxyAccessListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyAccessListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest);
- if (soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, _ngwm__getProxyAccessListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyAccessListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, _ngwm__getProxyAccessListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getProxyAccessListRequest **)soap_malloc(soap, sizeof(_ngwm__getProxyAccessListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getProxyAccessListRequest *)soap_instantiate__ngwm__getProxyAccessListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getProxyAccessListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListRequest, sizeof(_ngwm__getProxyAccessListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getQuickMessagesResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse);
- if (soap_out_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, int id, _ngwm__getQuickMessagesResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getQuickMessagesResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, _ngwm__getQuickMessagesResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getQuickMessagesResponse **)soap_malloc(soap, sizeof(_ngwm__getQuickMessagesResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getQuickMessagesResponse *)soap_instantiate__ngwm__getQuickMessagesResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getQuickMessagesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesResponse, sizeof(_ngwm__getQuickMessagesResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getQuickMessagesRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest);
- if (soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, _ngwm__getQuickMessagesRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getQuickMessagesRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, _ngwm__getQuickMessagesRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getQuickMessagesRequest **)soap_malloc(soap, sizeof(_ngwm__getQuickMessagesRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getQuickMessagesRequest *)soap_instantiate__ngwm__getQuickMessagesRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getQuickMessagesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesRequest, sizeof(_ngwm__getQuickMessagesRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse);
- if (soap_out_PointerTo_ngwm__getLibraryListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, const char *tag, int id, _ngwm__getLibraryListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getLibraryListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, const char *tag, _ngwm__getLibraryListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getLibraryListResponse **)soap_malloc(soap, sizeof(_ngwm__getLibraryListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getLibraryListResponse *)soap_instantiate__ngwm__getLibraryListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListResponse, sizeof(_ngwm__getLibraryListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest);
- if (soap_out_PointerTo_ngwm__getLibraryListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, const char *tag, int id, _ngwm__getLibraryListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getLibraryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, const char *tag, _ngwm__getLibraryListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getLibraryListRequest **)soap_malloc(soap, sizeof(_ngwm__getLibraryListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getLibraryListRequest *)soap_instantiate__ngwm__getLibraryListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListRequest, sizeof(_ngwm__getLibraryListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse);
- if (soap_out_PointerTo_ngwm__getLibraryItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, int id, _ngwm__getLibraryItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getLibraryItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, _ngwm__getLibraryItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getLibraryItemResponse **)soap_malloc(soap, sizeof(_ngwm__getLibraryItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getLibraryItemResponse *)soap_instantiate__ngwm__getLibraryItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemResponse, sizeof(_ngwm__getLibraryItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest);
- if (soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, int id, _ngwm__getLibraryItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, _ngwm__getLibraryItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getLibraryItemRequest **)soap_malloc(soap, sizeof(_ngwm__getLibraryItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getLibraryItemRequest *)soap_instantiate__ngwm__getLibraryItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getLibraryItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemRequest, sizeof(_ngwm__getLibraryItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse);
- if (soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__getJunkMailSettingsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkMailSettingsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getJunkMailSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__getJunkMailSettingsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getJunkMailSettingsResponse *)soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkMailSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, sizeof(_ngwm__getJunkMailSettingsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest);
- if (soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__getJunkMailSettingsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkMailSettingsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getJunkMailSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__getJunkMailSettingsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getJunkMailSettingsRequest *)soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkMailSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, sizeof(_ngwm__getJunkMailSettingsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkEntriesResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse);
- if (soap_out_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, int id, _ngwm__getJunkEntriesResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkEntriesResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, _ngwm__getJunkEntriesResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getJunkEntriesResponse **)soap_malloc(soap, sizeof(_ngwm__getJunkEntriesResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getJunkEntriesResponse *)soap_instantiate__ngwm__getJunkEntriesResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkEntriesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesResponse, sizeof(_ngwm__getJunkEntriesResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkEntriesRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest);
- if (soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, _ngwm__getJunkEntriesRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkEntriesRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, _ngwm__getJunkEntriesRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getJunkEntriesRequest **)soap_malloc(soap, sizeof(_ngwm__getJunkEntriesRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getJunkEntriesRequest *)soap_instantiate__ngwm__getJunkEntriesRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getJunkEntriesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesRequest, sizeof(_ngwm__getJunkEntriesRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemsResponse);
- if (soap_out_PointerTo_ngwm__getItemsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__getItemsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsResponse(struct soap *soap, const char *tag, _ngwm__getItemsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getItemsResponse **)soap_malloc(soap, sizeof(_ngwm__getItemsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getItemsResponse *)soap_instantiate__ngwm__getItemsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsResponse, sizeof(_ngwm__getItemsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemsRequest);
- if (soap_out_PointerTo_ngwm__getItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__getItemsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsRequest(struct soap *soap, const char *tag, _ngwm__getItemsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getItemsRequest **)soap_malloc(soap, sizeof(_ngwm__getItemsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getItemsRequest *)soap_instantiate__ngwm__getItemsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsRequest, sizeof(_ngwm__getItemsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemResponse);
- if (soap_out_PointerTo_ngwm__getItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemResponse(struct soap *soap, const char *tag, int id, _ngwm__getItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemResponse(struct soap *soap, const char *tag, _ngwm__getItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getItemResponse **)soap_malloc(soap, sizeof(_ngwm__getItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getItemResponse *)soap_instantiate__ngwm__getItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemResponse, sizeof(_ngwm__getItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemRequest);
- if (soap_out_PointerTo_ngwm__getItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemRequest(struct soap *soap, const char *tag, int id, _ngwm__getItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemRequest(struct soap *soap, const char *tag, _ngwm__getItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getItemRequest **)soap_malloc(soap, sizeof(_ngwm__getItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getItemRequest *)soap_instantiate__ngwm__getItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemRequest, sizeof(_ngwm__getItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFreeBusyResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse);
- if (soap_out_PointerTo_ngwm__getFreeBusyResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, int id, _ngwm__getFreeBusyResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFreeBusyResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFreeBusyResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, _ngwm__getFreeBusyResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFreeBusyResponse **)soap_malloc(soap, sizeof(_ngwm__getFreeBusyResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFreeBusyResponse *)soap_instantiate__ngwm__getFreeBusyResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFreeBusyResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyResponse, sizeof(_ngwm__getFreeBusyResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFreeBusyRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest);
- if (soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, int id, _ngwm__getFreeBusyRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFreeBusyRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, _ngwm__getFreeBusyRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFreeBusyRequest **)soap_malloc(soap, sizeof(_ngwm__getFreeBusyRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFreeBusyRequest *)soap_instantiate__ngwm__getFreeBusyRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFreeBusyRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyRequest, sizeof(_ngwm__getFreeBusyRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderListResponse);
- if (soap_out_PointerTo_ngwm__getFolderListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListResponse(struct soap *soap, const char *tag, int id, _ngwm__getFolderListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFolderListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListResponse(struct soap *soap, const char *tag, _ngwm__getFolderListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFolderListResponse **)soap_malloc(soap, sizeof(_ngwm__getFolderListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFolderListResponse *)soap_instantiate__ngwm__getFolderListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListResponse, sizeof(_ngwm__getFolderListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderListRequest);
- if (soap_out_PointerTo_ngwm__getFolderListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListRequest(struct soap *soap, const char *tag, int id, _ngwm__getFolderListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFolderListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListRequest(struct soap *soap, const char *tag, _ngwm__getFolderListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFolderListRequest **)soap_malloc(soap, sizeof(_ngwm__getFolderListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFolderListRequest *)soap_instantiate__ngwm__getFolderListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListRequest, sizeof(_ngwm__getFolderListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderResponse);
- if (soap_out_PointerTo_ngwm__getFolderResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderResponse(struct soap *soap, const char *tag, int id, _ngwm__getFolderResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFolderResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderResponse(struct soap *soap, const char *tag, _ngwm__getFolderResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFolderResponse **)soap_malloc(soap, sizeof(_ngwm__getFolderResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFolderResponse *)soap_instantiate__ngwm__getFolderResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderResponse, sizeof(_ngwm__getFolderResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderRequest);
- if (soap_out_PointerTo_ngwm__getFolderRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderRequest(struct soap *soap, const char *tag, int id, _ngwm__getFolderRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getFolderRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderRequest(struct soap *soap, const char *tag, _ngwm__getFolderRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getFolderRequest **)soap_malloc(soap, sizeof(_ngwm__getFolderRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getFolderRequest *)soap_instantiate__ngwm__getFolderRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getFolderRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderRequest, sizeof(_ngwm__getFolderRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDocumentTypeListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse);
- if (soap_out_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, int id, _ngwm__getDocumentTypeListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDocumentTypeListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDocumentTypeListResponse **)soap_malloc(soap, sizeof(_ngwm__getDocumentTypeListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDocumentTypeListResponse *)soap_instantiate__ngwm__getDocumentTypeListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDocumentTypeListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, sizeof(_ngwm__getDocumentTypeListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDocumentTypeListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest);
- if (soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, _ngwm__getDocumentTypeListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDocumentTypeListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDocumentTypeListRequest **)soap_malloc(soap, sizeof(_ngwm__getDocumentTypeListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDocumentTypeListRequest *)soap_instantiate__ngwm__getDocumentTypeListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDocumentTypeListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, sizeof(_ngwm__getDocumentTypeListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltaInfoResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse);
- if (soap_out_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, int id, _ngwm__getDeltaInfoResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltaInfoResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, _ngwm__getDeltaInfoResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDeltaInfoResponse **)soap_malloc(soap, sizeof(_ngwm__getDeltaInfoResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDeltaInfoResponse *)soap_instantiate__ngwm__getDeltaInfoResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltaInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoResponse, sizeof(_ngwm__getDeltaInfoResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltaInfoRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest);
- if (soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, _ngwm__getDeltaInfoRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltaInfoRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, _ngwm__getDeltaInfoRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDeltaInfoRequest **)soap_malloc(soap, sizeof(_ngwm__getDeltaInfoRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDeltaInfoRequest *)soap_instantiate__ngwm__getDeltaInfoRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltaInfoRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoRequest, sizeof(_ngwm__getDeltaInfoRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltasResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltasResponse);
- if (soap_out_PointerTo_ngwm__getDeltasResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasResponse(struct soap *soap, const char *tag, int id, _ngwm__getDeltasResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltasResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDeltasResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasResponse(struct soap *soap, const char *tag, _ngwm__getDeltasResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDeltasResponse **)soap_malloc(soap, sizeof(_ngwm__getDeltasResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDeltasResponse *)soap_instantiate__ngwm__getDeltasResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltasResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasResponse, sizeof(_ngwm__getDeltasResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltasRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltasRequest);
- if (soap_out_PointerTo_ngwm__getDeltasRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasRequest(struct soap *soap, const char *tag, int id, _ngwm__getDeltasRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltasRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getDeltasRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasRequest(struct soap *soap, const char *tag, _ngwm__getDeltasRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getDeltasRequest **)soap_malloc(soap, sizeof(_ngwm__getDeltasRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getDeltasRequest *)soap_instantiate__ngwm__getDeltasRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getDeltasRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasRequest, sizeof(_ngwm__getDeltasRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCustomListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCustomListResponse);
- if (soap_out_PointerTo_ngwm__getCustomListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListResponse(struct soap *soap, const char *tag, int id, _ngwm__getCustomListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCustomListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getCustomListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListResponse(struct soap *soap, const char *tag, _ngwm__getCustomListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getCustomListResponse **)soap_malloc(soap, sizeof(_ngwm__getCustomListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getCustomListResponse *)soap_instantiate__ngwm__getCustomListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getCustomListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListResponse, sizeof(_ngwm__getCustomListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCustomListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCustomListRequest);
- if (soap_out_PointerTo_ngwm__getCustomListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListRequest(struct soap *soap, const char *tag, int id, _ngwm__getCustomListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCustomListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getCustomListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListRequest(struct soap *soap, const char *tag, _ngwm__getCustomListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getCustomListRequest **)soap_malloc(soap, sizeof(_ngwm__getCustomListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getCustomListRequest *)soap_instantiate__ngwm__getCustomListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getCustomListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListRequest, sizeof(_ngwm__getCustomListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCategoryListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse);
- if (soap_out_PointerTo_ngwm__getCategoryListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, const char *tag, int id, _ngwm__getCategoryListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCategoryListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getCategoryListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, const char *tag, _ngwm__getCategoryListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getCategoryListResponse **)soap_malloc(soap, sizeof(_ngwm__getCategoryListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getCategoryListResponse *)soap_instantiate__ngwm__getCategoryListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getCategoryListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListResponse, sizeof(_ngwm__getCategoryListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCategoryListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest);
- if (soap_out_PointerTo_ngwm__getCategoryListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, const char *tag, int id, _ngwm__getCategoryListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCategoryListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getCategoryListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, const char *tag, _ngwm__getCategoryListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getCategoryListRequest **)soap_malloc(soap, sizeof(_ngwm__getCategoryListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getCategoryListRequest *)soap_instantiate__ngwm__getCategoryListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getCategoryListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListRequest, sizeof(_ngwm__getCategoryListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAttachmentResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse);
- if (soap_out_PointerTo_ngwm__getAttachmentResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, const char *tag, int id, _ngwm__getAttachmentResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAttachmentResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getAttachmentResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, const char *tag, _ngwm__getAttachmentResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getAttachmentResponse **)soap_malloc(soap, sizeof(_ngwm__getAttachmentResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getAttachmentResponse *)soap_instantiate__ngwm__getAttachmentResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getAttachmentResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentResponse, sizeof(_ngwm__getAttachmentResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAttachmentRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest);
- if (soap_out_PointerTo_ngwm__getAttachmentRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, const char *tag, int id, _ngwm__getAttachmentRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAttachmentRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getAttachmentRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, const char *tag, _ngwm__getAttachmentRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getAttachmentRequest **)soap_malloc(soap, sizeof(_ngwm__getAttachmentRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getAttachmentRequest *)soap_instantiate__ngwm__getAttachmentRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getAttachmentRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentRequest, sizeof(_ngwm__getAttachmentRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAddressBookListResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse);
- if (soap_out_PointerTo_ngwm__getAddressBookListResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, int id, _ngwm__getAddressBookListResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAddressBookListResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getAddressBookListResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, _ngwm__getAddressBookListResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getAddressBookListResponse **)soap_malloc(soap, sizeof(_ngwm__getAddressBookListResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getAddressBookListResponse *)soap_instantiate__ngwm__getAddressBookListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getAddressBookListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListResponse, sizeof(_ngwm__getAddressBookListResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAddressBookListRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest);
- if (soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, int id, _ngwm__getAddressBookListRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAddressBookListRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, _ngwm__getAddressBookListRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__getAddressBookListRequest **)soap_malloc(soap, sizeof(_ngwm__getAddressBookListRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__getAddressBookListRequest *)soap_instantiate__ngwm__getAddressBookListRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__getAddressBookListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListRequest, sizeof(_ngwm__getAddressBookListRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__forwardResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__forwardResponse);
- if (soap_out_PointerTo_ngwm__forwardResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardResponse(struct soap *soap, const char *tag, int id, _ngwm__forwardResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__forwardResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__forwardResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardResponse(struct soap *soap, const char *tag, _ngwm__forwardResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__forwardResponse **)soap_malloc(soap, sizeof(_ngwm__forwardResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__forwardResponse *)soap_instantiate__ngwm__forwardResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__forwardResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardResponse, sizeof(_ngwm__forwardResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__forwardRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__forwardRequest);
- if (soap_out_PointerTo_ngwm__forwardRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardRequest(struct soap *soap, const char *tag, int id, _ngwm__forwardRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__forwardRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__forwardRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardRequest(struct soap *soap, const char *tag, _ngwm__forwardRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__forwardRequest **)soap_malloc(soap, sizeof(_ngwm__forwardRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__forwardRequest *)soap_instantiate__ngwm__forwardRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__forwardRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardRequest, sizeof(_ngwm__forwardRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__executeRuleResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__executeRuleResponse);
- if (soap_out_PointerTo_ngwm__executeRuleResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleResponse(struct soap *soap, const char *tag, int id, _ngwm__executeRuleResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__executeRuleResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__executeRuleResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleResponse(struct soap *soap, const char *tag, _ngwm__executeRuleResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__executeRuleResponse **)soap_malloc(soap, sizeof(_ngwm__executeRuleResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__executeRuleResponse *)soap_instantiate__ngwm__executeRuleResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__executeRuleResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleResponse, sizeof(_ngwm__executeRuleResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__executeRuleRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__executeRuleRequest);
- if (soap_out_PointerTo_ngwm__executeRuleRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleRequest(struct soap *soap, const char *tag, int id, _ngwm__executeRuleRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__executeRuleRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__executeRuleRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleRequest(struct soap *soap, const char *tag, _ngwm__executeRuleRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__executeRuleRequest **)soap_malloc(soap, sizeof(_ngwm__executeRuleRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__executeRuleRequest *)soap_instantiate__ngwm__executeRuleRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__executeRuleRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleRequest, sizeof(_ngwm__executeRuleRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__destroyCursorResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse);
- if (soap_out_PointerTo_ngwm__destroyCursorResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__destroyCursorResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__destroyCursorResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__destroyCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, const char *tag, _ngwm__destroyCursorResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__destroyCursorResponse **)soap_malloc(soap, sizeof(_ngwm__destroyCursorResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__destroyCursorResponse *)soap_instantiate__ngwm__destroyCursorResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__destroyCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorResponse, sizeof(_ngwm__destroyCursorResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__destroyCursorRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest);
- if (soap_out_PointerTo_ngwm__destroyCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__destroyCursorRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__destroyCursorRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__destroyCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, const char *tag, _ngwm__destroyCursorRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__destroyCursorRequest **)soap_malloc(soap, sizeof(_ngwm__destroyCursorRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__destroyCursorRequest *)soap_instantiate__ngwm__destroyCursorRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__destroyCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorRequest, sizeof(_ngwm__destroyCursorRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__delegateResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__delegateResponse);
- if (soap_out_PointerTo_ngwm__delegateResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateResponse(struct soap *soap, const char *tag, int id, _ngwm__delegateResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__delegateResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__delegateResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateResponse(struct soap *soap, const char *tag, _ngwm__delegateResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__delegateResponse **)soap_malloc(soap, sizeof(_ngwm__delegateResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__delegateResponse *)soap_instantiate__ngwm__delegateResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__delegateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateResponse, sizeof(_ngwm__delegateResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__delegateRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__delegateRequest);
- if (soap_out_PointerTo_ngwm__delegateRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateRequest(struct soap *soap, const char *tag, int id, _ngwm__delegateRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__delegateRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__delegateRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateRequest(struct soap *soap, const char *tag, _ngwm__delegateRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__delegateRequest **)soap_malloc(soap, sizeof(_ngwm__delegateRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__delegateRequest *)soap_instantiate__ngwm__delegateRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__delegateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateRequest, sizeof(_ngwm__delegateRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__declineResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__declineResponse);
- if (soap_out_PointerTo_ngwm__declineResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineResponse(struct soap *soap, const char *tag, int id, _ngwm__declineResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__declineResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__declineResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineResponse(struct soap *soap, const char *tag, _ngwm__declineResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__declineResponse **)soap_malloc(soap, sizeof(_ngwm__declineResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__declineResponse *)soap_instantiate__ngwm__declineResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__declineResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineResponse, sizeof(_ngwm__declineResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__declineRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__declineRequest);
- if (soap_out_PointerTo_ngwm__declineRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineRequest(struct soap *soap, const char *tag, int id, _ngwm__declineRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__declineRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__declineRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineRequest(struct soap *soap, const char *tag, _ngwm__declineRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__declineRequest **)soap_malloc(soap, sizeof(_ngwm__declineRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__declineRequest *)soap_instantiate__ngwm__declineRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__declineRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineRequest, sizeof(_ngwm__declineRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createSignatureResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createSignatureResponse);
- if (soap_out_PointerTo_ngwm__createSignatureResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureResponse(struct soap *soap, const char *tag, int id, _ngwm__createSignatureResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createSignatureResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createSignatureResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureResponse(struct soap *soap, const char *tag, _ngwm__createSignatureResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createSignatureResponse **)soap_malloc(soap, sizeof(_ngwm__createSignatureResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createSignatureResponse *)soap_instantiate__ngwm__createSignatureResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createSignatureResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureResponse, sizeof(_ngwm__createSignatureResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createSignatureRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createSignatureRequest);
- if (soap_out_PointerTo_ngwm__createSignatureRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureRequest(struct soap *soap, const char *tag, int id, _ngwm__createSignatureRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createSignatureRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createSignatureRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureRequest(struct soap *soap, const char *tag, _ngwm__createSignatureRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createSignatureRequest **)soap_malloc(soap, sizeof(_ngwm__createSignatureRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createSignatureRequest *)soap_instantiate__ngwm__createSignatureRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createSignatureRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureRequest, sizeof(_ngwm__createSignatureRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createProxyAccessResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse);
- if (soap_out_PointerTo_ngwm__createProxyAccessResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__createProxyAccessResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createProxyAccessResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createProxyAccessResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__createProxyAccessResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__createProxyAccessResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createProxyAccessResponse *)soap_instantiate__ngwm__createProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessResponse, sizeof(_ngwm__createProxyAccessResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createProxyAccessRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest);
- if (soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__createProxyAccessRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createProxyAccessRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__createProxyAccessRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__createProxyAccessRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createProxyAccessRequest *)soap_instantiate__ngwm__createProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessRequest, sizeof(_ngwm__createProxyAccessRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createJunkEntryResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse);
- if (soap_out_PointerTo_ngwm__createJunkEntryResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__createJunkEntryResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createJunkEntryResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createJunkEntryResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__createJunkEntryResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__createJunkEntryResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createJunkEntryResponse *)soap_instantiate__ngwm__createJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryResponse, sizeof(_ngwm__createJunkEntryResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createJunkEntryRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest);
- if (soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__createJunkEntryRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createJunkEntryRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__createJunkEntryRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__createJunkEntryRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createJunkEntryRequest *)soap_instantiate__ngwm__createJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryRequest, sizeof(_ngwm__createJunkEntryRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemsResponse);
- if (soap_out_PointerTo_ngwm__createItemsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__createItemsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsResponse(struct soap *soap, const char *tag, _ngwm__createItemsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createItemsResponse **)soap_malloc(soap, sizeof(_ngwm__createItemsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createItemsResponse *)soap_instantiate__ngwm__createItemsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsResponse, sizeof(_ngwm__createItemsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemsRequest);
- if (soap_out_PointerTo_ngwm__createItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__createItemsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsRequest(struct soap *soap, const char *tag, _ngwm__createItemsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createItemsRequest **)soap_malloc(soap, sizeof(_ngwm__createItemsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createItemsRequest *)soap_instantiate__ngwm__createItemsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsRequest, sizeof(_ngwm__createItemsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemResponse);
- if (soap_out_PointerTo_ngwm__createItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemResponse(struct soap *soap, const char *tag, int id, _ngwm__createItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemResponse(struct soap *soap, const char *tag, _ngwm__createItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createItemResponse **)soap_malloc(soap, sizeof(_ngwm__createItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createItemResponse *)soap_instantiate__ngwm__createItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemResponse, sizeof(_ngwm__createItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemRequest);
- if (soap_out_PointerTo_ngwm__createItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemRequest(struct soap *soap, const char *tag, int id, _ngwm__createItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemRequest(struct soap *soap, const char *tag, _ngwm__createItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createItemRequest **)soap_malloc(soap, sizeof(_ngwm__createItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createItemRequest *)soap_instantiate__ngwm__createItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemRequest, sizeof(_ngwm__createItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createCursorResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createCursorResponse);
- if (soap_out_PointerTo_ngwm__createCursorResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__createCursorResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createCursorResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createCursorResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorResponse(struct soap *soap, const char *tag, _ngwm__createCursorResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createCursorResponse **)soap_malloc(soap, sizeof(_ngwm__createCursorResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createCursorResponse *)soap_instantiate__ngwm__createCursorResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorResponse, sizeof(_ngwm__createCursorResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createCursorRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createCursorRequest);
- if (soap_out_PointerTo_ngwm__createCursorRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__createCursorRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createCursorRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__createCursorRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorRequest(struct soap *soap, const char *tag, _ngwm__createCursorRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__createCursorRequest **)soap_malloc(soap, sizeof(_ngwm__createCursorRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__createCursorRequest *)soap_instantiate__ngwm__createCursorRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__createCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorRequest, sizeof(_ngwm__createCursorRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__completeResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__completeResponse);
- if (soap_out_PointerTo_ngwm__completeResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeResponse(struct soap *soap, const char *tag, int id, _ngwm__completeResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__completeResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__completeResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeResponse(struct soap *soap, const char *tag, _ngwm__completeResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__completeResponse **)soap_malloc(soap, sizeof(_ngwm__completeResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__completeResponse *)soap_instantiate__ngwm__completeResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__completeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeResponse, sizeof(_ngwm__completeResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__completeRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__completeRequest);
- if (soap_out_PointerTo_ngwm__completeRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeRequest(struct soap *soap, const char *tag, int id, _ngwm__completeRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__completeRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__completeRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeRequest(struct soap *soap, const char *tag, _ngwm__completeRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__completeRequest **)soap_malloc(soap, sizeof(_ngwm__completeRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__completeRequest *)soap_instantiate__ngwm__completeRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__completeRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeRequest, sizeof(_ngwm__completeRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse);
- if (soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, int id, _ngwm__closeFreeBusySessionResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__closeFreeBusySessionResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__closeFreeBusySessionResponse **)soap_malloc(soap, sizeof(_ngwm__closeFreeBusySessionResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__closeFreeBusySessionResponse *)soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__closeFreeBusySessionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, sizeof(_ngwm__closeFreeBusySessionResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest);
- if (soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, _ngwm__closeFreeBusySessionRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__closeFreeBusySessionRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__closeFreeBusySessionRequest **)soap_malloc(soap, sizeof(_ngwm__closeFreeBusySessionRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__closeFreeBusySessionRequest *)soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__closeFreeBusySessionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, sizeof(_ngwm__closeFreeBusySessionRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addMembersResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addMembersResponse);
- if (soap_out_PointerTo_ngwm__addMembersResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersResponse(struct soap *soap, const char *tag, int id, _ngwm__addMembersResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addMembersResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addMembersResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersResponse(struct soap *soap, const char *tag, _ngwm__addMembersResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addMembersResponse **)soap_malloc(soap, sizeof(_ngwm__addMembersResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addMembersResponse *)soap_instantiate__ngwm__addMembersResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addMembersResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersResponse, sizeof(_ngwm__addMembersResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addMembersRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addMembersRequest);
- if (soap_out_PointerTo_ngwm__addMembersRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersRequest(struct soap *soap, const char *tag, int id, _ngwm__addMembersRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addMembersRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addMembersRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersRequest(struct soap *soap, const char *tag, _ngwm__addMembersRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addMembersRequest **)soap_malloc(soap, sizeof(_ngwm__addMembersRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addMembersRequest *)soap_instantiate__ngwm__addMembersRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addMembersRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersRequest, sizeof(_ngwm__addMembersRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemsResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemsResponse);
- if (soap_out_PointerTo_ngwm__addItemsResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__addItemsResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemsResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addItemsResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsResponse(struct soap *soap, const char *tag, _ngwm__addItemsResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addItemsResponse **)soap_malloc(soap, sizeof(_ngwm__addItemsResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addItemsResponse *)soap_instantiate__ngwm__addItemsResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsResponse, sizeof(_ngwm__addItemsResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemsRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemsRequest);
- if (soap_out_PointerTo_ngwm__addItemsRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__addItemsRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemsRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addItemsRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsRequest(struct soap *soap, const char *tag, _ngwm__addItemsRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addItemsRequest **)soap_malloc(soap, sizeof(_ngwm__addItemsRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addItemsRequest *)soap_instantiate__ngwm__addItemsRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsRequest, sizeof(_ngwm__addItemsRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemResponse);
- if (soap_out_PointerTo_ngwm__addItemResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemResponse(struct soap *soap, const char *tag, int id, _ngwm__addItemResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addItemResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemResponse(struct soap *soap, const char *tag, _ngwm__addItemResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addItemResponse **)soap_malloc(soap, sizeof(_ngwm__addItemResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addItemResponse *)soap_instantiate__ngwm__addItemResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemResponse, sizeof(_ngwm__addItemResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemRequest);
- if (soap_out_PointerTo_ngwm__addItemRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemRequest(struct soap *soap, const char *tag, int id, _ngwm__addItemRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__addItemRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemRequest(struct soap *soap, const char *tag, _ngwm__addItemRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__addItemRequest **)soap_malloc(soap, sizeof(_ngwm__addItemRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__addItemRequest *)soap_instantiate__ngwm__addItemRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__addItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemRequest, sizeof(_ngwm__addItemRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptShareResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptShareResponse);
- if (soap_out_PointerTo_ngwm__acceptShareResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareResponse(struct soap *soap, const char *tag, int id, _ngwm__acceptShareResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptShareResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__acceptShareResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareResponse(struct soap *soap, const char *tag, _ngwm__acceptShareResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__acceptShareResponse **)soap_malloc(soap, sizeof(_ngwm__acceptShareResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__acceptShareResponse *)soap_instantiate__ngwm__acceptShareResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__acceptShareResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareResponse, sizeof(_ngwm__acceptShareResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptShareRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptShareRequest);
- if (soap_out_PointerTo_ngwm__acceptShareRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareRequest(struct soap *soap, const char *tag, int id, _ngwm__acceptShareRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptShareRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__acceptShareRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareRequest(struct soap *soap, const char *tag, _ngwm__acceptShareRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__acceptShareRequest **)soap_malloc(soap, sizeof(_ngwm__acceptShareRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__acceptShareRequest *)soap_instantiate__ngwm__acceptShareRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__acceptShareRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareRequest, sizeof(_ngwm__acceptShareRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptResponse))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptResponse);
- if (soap_out_PointerTo_ngwm__acceptResponse(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptResponse(struct soap *soap, const char *tag, int id, _ngwm__acceptResponse *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptResponse);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__acceptResponse(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptResponse(struct soap *soap, const char *tag, _ngwm__acceptResponse **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__acceptResponse **)soap_malloc(soap, sizeof(_ngwm__acceptResponse *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__acceptResponse *)soap_instantiate__ngwm__acceptResponse(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__acceptResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptResponse, sizeof(_ngwm__acceptResponse), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptRequest))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptRequest);
- if (soap_out_PointerTo_ngwm__acceptRequest(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptRequest(struct soap *soap, const char *tag, int id, _ngwm__acceptRequest *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptRequest);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTo_ngwm__acceptRequest(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptRequest(struct soap *soap, const char *tag, _ngwm__acceptRequest **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (_ngwm__acceptRequest **)soap_malloc(soap, sizeof(_ngwm__acceptRequest *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (_ngwm__acceptRequest *)soap_instantiate__ngwm__acceptRequest(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (_ngwm__acceptRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptRequest, sizeof(_ngwm__acceptRequest), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Alarm))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Alarm);
- if (soap_out_PointerTongwt__Alarm(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Alarm(struct soap *soap, const char *tag, int id, ngwt__Alarm *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Alarm);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_get_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Alarm(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_in_PointerTongwt__Alarm(struct soap *soap, const char *tag, ngwt__Alarm **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Alarm **)soap_malloc(soap, sizeof(ngwt__Alarm *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Alarm *)soap_instantiate_ngwt__Alarm(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Alarm **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Alarm, sizeof(ngwt__Alarm), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneFlags))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneFlags);
- if (soap_out_PointerTongwt__PhoneFlags(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneFlags(struct soap *soap, const char *tag, int id, ngwt__PhoneFlags *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneFlags);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PhoneFlags(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneFlags(struct soap *soap, const char *tag, ngwt__PhoneFlags **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PhoneFlags **)soap_malloc(soap, sizeof(ngwt__PhoneFlags *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PhoneFlags *)soap_instantiate_ngwt__PhoneFlags(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PhoneFlags **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneFlags, sizeof(ngwt__PhoneFlags), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecurrenceRule))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecurrenceRule);
- if (soap_out_PointerTongwt__RecurrenceRule(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceRule(struct soap *soap, const char *tag, int id, ngwt__RecurrenceRule *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecurrenceRule);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RecurrenceRule(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceRule(struct soap *soap, const char *tag, ngwt__RecurrenceRule **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RecurrenceRule **)soap_malloc(soap, sizeof(ngwt__RecurrenceRule *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RecurrenceRule *)soap_instantiate_ngwt__RecurrenceRule(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RecurrenceRule **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceRule, sizeof(ngwt__RecurrenceRule), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecurrenceDateType))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecurrenceDateType);
- if (soap_out_PointerTongwt__RecurrenceDateType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceDateType(struct soap *soap, const char *tag, int id, ngwt__RecurrenceDateType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecurrenceDateType);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RecurrenceDateType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceDateType(struct soap *soap, const char *tag, ngwt__RecurrenceDateType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RecurrenceDateType **)soap_malloc(soap, sizeof(ngwt__RecurrenceDateType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RecurrenceDateType *)soap_instantiate_ngwt__RecurrenceDateType(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RecurrenceDateType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceDateType, sizeof(ngwt__RecurrenceDateType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SMimeOperation))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SMimeOperation);
- if (soap_out_PointerTongwt__SMimeOperation(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SMimeOperation(struct soap *soap, const char *tag, int id, ngwt__SMimeOperation *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SMimeOperation);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_get_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SMimeOperation(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_in_PointerTongwt__SMimeOperation(struct soap *soap, const char *tag, ngwt__SMimeOperation **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SMimeOperation **)soap_malloc(soap, sizeof(ngwt__SMimeOperation *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SMimeOperation *)soap_instantiate_ngwt__SMimeOperation(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SMimeOperation **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SMimeOperation, sizeof(ngwt__SMimeOperation), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__LinkInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__LinkInfo);
- if (soap_out_PointerTongwt__LinkInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LinkInfo(struct soap *soap, const char *tag, int id, ngwt__LinkInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__LinkInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_get_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__LinkInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_in_PointerTongwt__LinkInfo(struct soap *soap, const char *tag, ngwt__LinkInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__LinkInfo **)soap_malloc(soap, sizeof(ngwt__LinkInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__LinkInfo *)soap_instantiate_ngwt__LinkInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__LinkInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkInfo, sizeof(ngwt__LinkInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemOptions))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemOptions);
- if (soap_out_PointerTongwt__ItemOptions(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemOptions(struct soap *soap, const char *tag, int id, ngwt__ItemOptions *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemOptions);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ItemOptions(struct soap *soap, const char *tag, ngwt__ItemOptions **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemOptions **)soap_malloc(soap, sizeof(ngwt__ItemOptions *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemOptions *)soap_instantiate_ngwt__ItemOptions(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptions, sizeof(ngwt__ItemOptions), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentInfo);
- if (soap_out_PointerTongwt__AttachmentInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentInfo(struct soap *soap, const char *tag, int id, ngwt__AttachmentInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AttachmentInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentInfo(struct soap *soap, const char *tag, ngwt__AttachmentInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AttachmentInfo **)soap_malloc(soap, sizeof(ngwt__AttachmentInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AttachmentInfo *)soap_instantiate_ngwt__AttachmentInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AttachmentInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentInfo, sizeof(ngwt__AttachmentInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MessageBody))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessageBody);
- if (soap_out_PointerTongwt__MessageBody(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageBody(struct soap *soap, const char *tag, int id, ngwt__MessageBody *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessageBody);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_get_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__MessageBody(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_in_PointerTongwt__MessageBody(struct soap *soap, const char *tag, ngwt__MessageBody **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__MessageBody **)soap_malloc(soap, sizeof(ngwt__MessageBody *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__MessageBody *)soap_instantiate_ngwt__MessageBody(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__MessageBody **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageBody, sizeof(ngwt__MessageBody), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReferenceInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReferenceInfo);
- if (soap_out_PointerTongwt__ReferenceInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReferenceInfo(struct soap *soap, const char *tag, int id, ngwt__ReferenceInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReferenceInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_get_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ReferenceInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_in_PointerTongwt__ReferenceInfo(struct soap *soap, const char *tag, ngwt__ReferenceInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ReferenceInfo **)soap_malloc(soap, sizeof(ngwt__ReferenceInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ReferenceInfo *)soap_instantiate_ngwt__ReferenceInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ReferenceInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReferenceInfo, sizeof(ngwt__ReferenceInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PersonalInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PersonalInfo);
- if (soap_out_PointerTongwt__PersonalInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PersonalInfo(struct soap *soap, const char *tag, int id, ngwt__PersonalInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PersonalInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_get_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PersonalInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_in_PointerTongwt__PersonalInfo(struct soap *soap, const char *tag, ngwt__PersonalInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PersonalInfo **)soap_malloc(soap, sizeof(ngwt__PersonalInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PersonalInfo *)soap_instantiate_ngwt__PersonalInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PersonalInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PersonalInfo, sizeof(ngwt__PersonalInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__OfficeInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__OfficeInfo);
- if (soap_out_PointerTongwt__OfficeInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OfficeInfo(struct soap *soap, const char *tag, int id, ngwt__OfficeInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__OfficeInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_get_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__OfficeInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_in_PointerTongwt__OfficeInfo(struct soap *soap, const char *tag, ngwt__OfficeInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__OfficeInfo **)soap_malloc(soap, sizeof(ngwt__OfficeInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__OfficeInfo *)soap_instantiate_ngwt__OfficeInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__OfficeInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OfficeInfo, sizeof(ngwt__OfficeInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PostalAddressList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PostalAddressList);
- if (soap_out_PointerTongwt__PostalAddressList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddressList(struct soap *soap, const char *tag, int id, ngwt__PostalAddressList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PostalAddressList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PostalAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddressList(struct soap *soap, const char *tag, ngwt__PostalAddressList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PostalAddressList **)soap_malloc(soap, sizeof(ngwt__PostalAddressList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PostalAddressList *)soap_instantiate_ngwt__PostalAddressList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PostalAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressList, sizeof(ngwt__PostalAddressList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneList);
- if (soap_out_PointerTongwt__PhoneList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneList(struct soap *soap, const char *tag, int id, ngwt__PhoneList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PhoneList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneList(struct soap *soap, const char *tag, ngwt__PhoneList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PhoneList **)soap_malloc(soap, sizeof(ngwt__PhoneList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PhoneList *)soap_instantiate_ngwt__PhoneList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PhoneList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneList, sizeof(ngwt__PhoneList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ImAddressList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ImAddressList);
- if (soap_out_PointerTongwt__ImAddressList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddressList(struct soap *soap, const char *tag, int id, ngwt__ImAddressList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ImAddressList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ImAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddressList(struct soap *soap, const char *tag, ngwt__ImAddressList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ImAddressList **)soap_malloc(soap, sizeof(ngwt__ImAddressList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ImAddressList *)soap_instantiate_ngwt__ImAddressList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ImAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddressList, sizeof(ngwt__ImAddressList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__EmailAddressList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__EmailAddressList);
- if (soap_out_PointerTongwt__EmailAddressList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__EmailAddressList(struct soap *soap, const char *tag, int id, ngwt__EmailAddressList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__EmailAddressList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__EmailAddressList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__EmailAddressList(struct soap *soap, const char *tag, ngwt__EmailAddressList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__EmailAddressList **)soap_malloc(soap, sizeof(ngwt__EmailAddressList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__EmailAddressList *)soap_instantiate_ngwt__EmailAddressList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__EmailAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__EmailAddressList, sizeof(ngwt__EmailAddressList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FullName(struct soap *soap, ngwt__FullName *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FullName))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FullName(struct soap *soap, ngwt__FullName *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FullName);
- if (soap_out_PointerTongwt__FullName(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FullName(struct soap *soap, const char *tag, int id, ngwt__FullName *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FullName);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_get_PointerTongwt__FullName(struct soap *soap, ngwt__FullName **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FullName(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_in_PointerTongwt__FullName(struct soap *soap, const char *tag, ngwt__FullName **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FullName **)soap_malloc(soap, sizeof(ngwt__FullName *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FullName *)soap_instantiate_ngwt__FullName(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FullName **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FullName, sizeof(ngwt__FullName), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__VersionStatus);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__VersionStatus);
- if (soap_out_PointerTongwt__VersionStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__VersionStatus(struct soap *soap, const char *tag, int id, enum ngwt__VersionStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__VersionStatus);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__VersionStatus(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_get_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__VersionStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_in_PointerTongwt__VersionStatus(struct soap *soap, const char *tag, enum ngwt__VersionStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__VersionStatus **)soap_malloc(soap, sizeof(enum ngwt__VersionStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__VersionStatus(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__VersionStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionStatus, sizeof(enum ngwt__VersionStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACL))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACL);
- if (soap_out_PointerTongwt__FolderACL(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACL(struct soap *soap, const char *tag, int id, ngwt__FolderACL *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACL);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FolderACL(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACL(struct soap *soap, const char *tag, ngwt__FolderACL **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FolderACL **)soap_malloc(soap, sizeof(ngwt__FolderACL *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FolderACL *)soap_instantiate_ngwt__FolderACL(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FolderACL **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACL, sizeof(ngwt__FolderACL), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleActionList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleActionList);
- if (soap_out_PointerTongwt__RuleActionList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleActionList(struct soap *soap, const char *tag, int id, ngwt__RuleActionList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleActionList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RuleActionList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleActionList(struct soap *soap, const char *tag, ngwt__RuleActionList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RuleActionList **)soap_malloc(soap, sizeof(ngwt__RuleActionList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RuleActionList *)soap_instantiate_ngwt__RuleActionList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RuleActionList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionList, sizeof(ngwt__RuleActionList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Execution);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Execution);
- if (soap_out_PointerTongwt__Execution(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Execution(struct soap *soap, const char *tag, int id, enum ngwt__Execution *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Execution);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Execution(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_get_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Execution(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_in_PointerTongwt__Execution(struct soap *soap, const char *tag, enum ngwt__Execution **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__Execution **)soap_malloc(soap, sizeof(enum ngwt__Execution *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Execution(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__Execution **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Execution, sizeof(enum ngwt__Execution), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Query(struct soap *soap, ngwt__Query *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Query))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Query(struct soap *soap, ngwt__Query *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Query);
- if (soap_out_PointerTongwt__Query(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Query(struct soap *soap, const char *tag, int id, ngwt__Query *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Query);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_get_PointerTongwt__Query(struct soap *soap, ngwt__Query **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Query(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_in_PointerTongwt__Query(struct soap *soap, const char *tag, ngwt__Query **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Query **)soap_malloc(soap, sizeof(ngwt__Query *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Query *)soap_instantiate_ngwt__Query(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Query **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Query, sizeof(ngwt__Query), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACLStatus);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACLStatus);
- if (soap_out_PointerTongwt__FolderACLStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLStatus(struct soap *soap, const char *tag, int id, enum ngwt__FolderACLStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACLStatus);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__FolderACLStatus(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FolderACLStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLStatus(struct soap *soap, const char *tag, enum ngwt__FolderACLStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__FolderACLStatus **)soap_malloc(soap, sizeof(enum ngwt__FolderACLStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__FolderACLStatus(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__FolderACLStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLStatus, sizeof(enum ngwt__FolderACLStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessControlList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessControlList);
- if (soap_out_PointerTongwt__AccessControlList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlList(struct soap *soap, const char *tag, int id, ngwt__AccessControlList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessControlList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessControlList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlList(struct soap *soap, const char *tag, ngwt__AccessControlList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessControlList **)soap_malloc(soap, sizeof(ngwt__AccessControlList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessControlList *)soap_instantiate_ngwt__AccessControlList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessControlList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlList, sizeof(ngwt__AccessControlList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__WeekOfYear(struct soap *soap, short *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__WeekOfYear);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__WeekOfYear(struct soap *soap, short *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__WeekOfYear);
- if (soap_out_PointerTongwt__WeekOfYear(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__WeekOfYear(struct soap *soap, const char *tag, int id, short *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__WeekOfYear);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__WeekOfYear(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 short ** SOAP_FMAC4 soap_get_PointerTongwt__WeekOfYear(struct soap *soap, short **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__WeekOfYear(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 short ** SOAP_FMAC4 soap_in_PointerTongwt__WeekOfYear(struct soap *soap, const char *tag, short **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (short **)soap_malloc(soap, sizeof(short *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__WeekOfYear(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (short **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__WeekOfYear, sizeof(short), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__OccurrenceType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__OccurrenceType);
- if (soap_out_PointerTongwt__OccurrenceType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OccurrenceType(struct soap *soap, const char *tag, int id, enum ngwt__OccurrenceType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__OccurrenceType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__OccurrenceType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_get_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__OccurrenceType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_in_PointerTongwt__OccurrenceType(struct soap *soap, const char *tag, enum ngwt__OccurrenceType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__OccurrenceType **)soap_malloc(soap, sizeof(enum ngwt__OccurrenceType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__OccurrenceType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__OccurrenceType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OccurrenceType, sizeof(enum ngwt__OccurrenceType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSecurity);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSecurity);
- if (soap_out_PointerTongwt__ItemSecurity(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSecurity(struct soap *soap, const char *tag, int id, enum ngwt__ItemSecurity *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSecurity);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__ItemSecurity(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemSecurity(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSecurity(struct soap *soap, const char *tag, enum ngwt__ItemSecurity **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__ItemSecurity **)soap_malloc(soap, sizeof(enum ngwt__ItemSecurity *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__ItemSecurity(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSecurity **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSecurity, sizeof(enum ngwt__ItemSecurity), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemClass);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemClass);
- if (soap_out_PointerTongwt__ItemClass(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemClass(struct soap *soap, const char *tag, int id, enum ngwt__ItemClass *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemClass);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__ItemClass(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_get_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemClass(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_in_PointerTongwt__ItemClass(struct soap *soap, const char *tag, enum ngwt__ItemClass **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__ItemClass **)soap_malloc(soap, sizeof(enum ngwt__ItemClass *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__ItemClass(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemClass **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemClass, sizeof(enum ngwt__ItemClass), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSource);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSource);
- if (soap_out_PointerTongwt__ItemSource(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSource(struct soap *soap, const char *tag, int id, enum ngwt__ItemSource *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSource);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__ItemSource(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemSource(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSource(struct soap *soap, const char *tag, enum ngwt__ItemSource **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__ItemSource **)soap_malloc(soap, sizeof(enum ngwt__ItemSource *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__ItemSource(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSource **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSource, sizeof(enum ngwt__ItemSource), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemStatus);
- if (soap_out_PointerTongwt__ItemStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemStatus(struct soap *soap, const char *tag, int id, ngwt__ItemStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_get_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_in_PointerTongwt__ItemStatus(struct soap *soap, const char *tag, ngwt__ItemStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemStatus **)soap_malloc(soap, sizeof(ngwt__ItemStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemStatus *)soap_instantiate_ngwt__ItemStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemStatus, sizeof(ngwt__ItemStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__DeltaSyncType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DeltaSyncType);
- if (soap_out_PointerTongwt__DeltaSyncType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaSyncType(struct soap *soap, const char *tag, int id, enum ngwt__DeltaSyncType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DeltaSyncType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__DeltaSyncType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DeltaSyncType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaSyncType(struct soap *soap, const char *tag, enum ngwt__DeltaSyncType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__DeltaSyncType **)soap_malloc(soap, sizeof(enum ngwt__DeltaSyncType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__DeltaSyncType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__DeltaSyncType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaSyncType, sizeof(enum ngwt__DeltaSyncType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientStatus);
- if (soap_out_PointerTongwt__RecipientStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientStatus(struct soap *soap, const char *tag, int id, ngwt__RecipientStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RecipientStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientStatus(struct soap *soap, const char *tag, ngwt__RecipientStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RecipientStatus **)soap_malloc(soap, sizeof(ngwt__RecipientStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RecipientStatus *)soap_instantiate_ngwt__RecipientStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RecipientStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientStatus, sizeof(ngwt__RecipientStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyBlockList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyBlockList);
- if (soap_out_PointerTongwt__FreeBusyBlockList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlockList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyBlockList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyBlockList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyBlockList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlockList(struct soap *soap, const char *tag, ngwt__FreeBusyBlockList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyBlockList **)soap_malloc(soap, sizeof(ngwt__FreeBusyBlockList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyBlockList *)soap_instantiate_ngwt__FreeBusyBlockList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyBlockList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlockList, sizeof(ngwt__FreeBusyBlockList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CalendarFolderAttribute))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute);
- if (soap_out_PointerTongwt__CalendarFolderAttribute(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CalendarFolderAttribute(struct soap *soap, const char *tag, int id, ngwt__CalendarFolderAttribute *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CalendarFolderAttribute);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_get_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CalendarFolderAttribute(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_in_PointerTongwt__CalendarFolderAttribute(struct soap *soap, const char *tag, ngwt__CalendarFolderAttribute **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__CalendarFolderAttribute **)soap_malloc(soap, sizeof(ngwt__CalendarFolderAttribute *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__CalendarFolderAttribute *)soap_instantiate_ngwt__CalendarFolderAttribute(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__CalendarFolderAttribute **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderAttribute, sizeof(ngwt__CalendarFolderAttribute), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__FilterDate);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FilterDate);
- if (soap_out_PointerTongwt__FilterDate(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterDate(struct soap *soap, const char *tag, int id, enum ngwt__FilterDate *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FilterDate);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__FilterDate(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_get_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FilterDate(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_in_PointerTongwt__FilterDate(struct soap *soap, const char *tag, enum ngwt__FilterDate **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__FilterDate **)soap_malloc(soap, sizeof(enum ngwt__FilterDate *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__FilterDate(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__FilterDate **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterDate, sizeof(enum ngwt__FilterDate), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ContainerRef))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ContainerRef);
- if (soap_out_PointerTongwt__ContainerRef(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ContainerRef(struct soap *soap, const char *tag, int id, ngwt__ContainerRef *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ContainerRef);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_get_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ContainerRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_in_PointerTongwt__ContainerRef(struct soap *soap, const char *tag, ngwt__ContainerRef **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ContainerRef **)soap_malloc(soap, sizeof(ngwt__ContainerRef *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ContainerRef *)soap_instantiate_ngwt__ContainerRef(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ContainerRef **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContainerRef, sizeof(ngwt__ContainerRef), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryType);
- if (soap_out_PointerTongwt__CategoryType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryType(struct soap *soap, const char *tag, int id, enum ngwt__CategoryType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__CategoryType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CategoryType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryType(struct soap *soap, const char *tag, enum ngwt__CategoryType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__CategoryType **)soap_malloc(soap, sizeof(enum ngwt__CategoryType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__CategoryType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__CategoryType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryType, sizeof(enum ngwt__CategoryType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessMiscRight))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessMiscRight);
- if (soap_out_PointerTongwt__AccessMiscRight(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessMiscRight(struct soap *soap, const char *tag, int id, ngwt__AccessMiscRight *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessMiscRight);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessMiscRight(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessMiscRight(struct soap *soap, const char *tag, ngwt__AccessMiscRight **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessMiscRight **)soap_malloc(soap, sizeof(ngwt__AccessMiscRight *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessMiscRight *)soap_instantiate_ngwt__AccessMiscRight(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessMiscRight **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessMiscRight, sizeof(ngwt__AccessMiscRight), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRight))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRight);
- if (soap_out_PointerTongwt__AccessRight(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRight(struct soap *soap, const char *tag, int id, ngwt__AccessRight *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRight);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessRight(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRight(struct soap *soap, const char *tag, ngwt__AccessRight **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessRight **)soap_malloc(soap, sizeof(ngwt__AccessRight *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessRight *)soap_instantiate_ngwt__AccessRight(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessRight **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRight, sizeof(ngwt__AccessRight), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rights(struct soap *soap, ngwt__Rights *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Rights))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rights(struct soap *soap, ngwt__Rights *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Rights);
- if (soap_out_PointerTongwt__Rights(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rights(struct soap *soap, const char *tag, int id, ngwt__Rights *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Rights);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_get_PointerTongwt__Rights(struct soap *soap, ngwt__Rights **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Rights(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_in_PointerTongwt__Rights(struct soap *soap, const char *tag, ngwt__Rights **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Rights **)soap_malloc(soap, sizeof(ngwt__Rights *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Rights *)soap_instantiate_ngwt__Rights(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Rights **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rights, sizeof(ngwt__Rights), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventList(struct soap *soap, ngwe__EventList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventList(struct soap *soap, ngwe__EventList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventList);
- if (soap_out_PointerTongwe__EventList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventList(struct soap *soap, const char *tag, int id, ngwe__EventList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_get_PointerTongwe__EventList(struct soap *soap, ngwe__EventList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__EventList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_in_PointerTongwe__EventList(struct soap *soap, const char *tag, ngwe__EventList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__EventList **)soap_malloc(soap, sizeof(ngwe__EventList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__EventList *)soap_instantiate_ngwe__EventList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__EventList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventList, sizeof(ngwe__EventList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventsList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventsList);
- if (soap_out_PointerTongwe__EventsList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventsList(struct soap *soap, const char *tag, int id, ngwe__EventsList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventsList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_get_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__EventsList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_in_PointerTongwe__EventsList(struct soap *soap, const char *tag, ngwe__EventsList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__EventsList **)soap_malloc(soap, sizeof(ngwe__EventsList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__EventsList *)soap_instantiate_ngwe__EventsList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__EventsList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventsList, sizeof(ngwe__EventsList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Events(struct soap *soap, ngwe__Events *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__Events))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Events(struct soap *soap, ngwe__Events *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__Events);
- if (soap_out_PointerTongwe__Events(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Events(struct soap *soap, const char *tag, int id, ngwe__Events *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__Events);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_get_PointerTongwe__Events(struct soap *soap, ngwe__Events **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__Events(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_in_PointerTongwe__Events(struct soap *soap, const char *tag, ngwe__Events **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__Events **)soap_malloc(soap, sizeof(ngwe__Events *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__Events *)soap_instantiate_ngwe__Events(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__Events **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Events, sizeof(ngwe__Events), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventDefinition))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventDefinition);
- if (soap_out_PointerTongwe__EventDefinition(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventDefinition(struct soap *soap, const char *tag, int id, ngwe__EventDefinition *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventDefinition);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_get_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__EventDefinition(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_in_PointerTongwe__EventDefinition(struct soap *soap, const char *tag, ngwe__EventDefinition **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__EventDefinition **)soap_malloc(soap, sizeof(ngwe__EventDefinition *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__EventDefinition *)soap_instantiate_ngwe__EventDefinition(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__EventDefinition **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventDefinition, sizeof(ngwe__EventDefinition), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__duration(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_xsd__duration))
- soap_serialize_xsd__duration(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__duration(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__duration);
- if (soap_out_PointerToxsd__duration(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__duration(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_xsd__duration);
- if (id < 0)
- return soap->error;
- return soap_out_xsd__duration(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__duration(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToxsd__duration(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__duration(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_xsd__duration(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__duration, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Event(struct soap *soap, ngwe__Event *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__Event))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Event(struct soap *soap, ngwe__Event *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__Event);
- if (soap_out_PointerTongwe__Event(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Event(struct soap *soap, const char *tag, int id, ngwe__Event *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__Event);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_get_PointerTongwe__Event(struct soap *soap, ngwe__Event **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__Event(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_in_PointerTongwe__Event(struct soap *soap, const char *tag, ngwe__Event **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__Event **)soap_malloc(soap, sizeof(ngwe__Event *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__Event *)soap_instantiate_ngwe__Event(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__Event **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Event, sizeof(ngwe__Event), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__ContainerList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ContainerList);
- if (soap_out_PointerTongwe__ContainerList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ContainerList(struct soap *soap, const char *tag, int id, ngwe__ContainerList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ContainerList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_get_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__ContainerList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_in_PointerTongwe__ContainerList(struct soap *soap, const char *tag, ngwe__ContainerList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__ContainerList **)soap_malloc(soap, sizeof(ngwe__ContainerList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__ContainerList *)soap_instantiate_ngwe__ContainerList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__ContainerList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ContainerList, sizeof(ngwe__ContainerList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwe__ItemTypeList);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ItemTypeList);
- if (soap_out_PointerTongwe__ItemTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemTypeList(struct soap *soap, const char *tag, int id, enum ngwe__ItemTypeList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ItemTypeList);
- if (id < 0)
- return soap->error;
- return soap_out_ngwe__ItemTypeList(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__ItemTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__ItemTypeList(struct soap *soap, const char *tag, enum ngwe__ItemTypeList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwe__ItemTypeList **)soap_malloc(soap, sizeof(enum ngwe__ItemTypeList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwe__ItemTypeList(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwe__ItemTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemTypeList, sizeof(enum ngwe__ItemTypeList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventTypeList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventTypeList);
- if (soap_out_PointerTongwe__EventTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventTypeList(struct soap *soap, const char *tag, int id, ngwe__EventTypeList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventTypeList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__EventTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__EventTypeList(struct soap *soap, const char *tag, ngwe__EventTypeList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwe__EventTypeList **)soap_malloc(soap, sizeof(ngwe__EventTypeList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwe__EventTypeList *)soap_instantiate_ngwe__EventTypeList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwe__EventTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventTypeList, sizeof(ngwe__EventTypeList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwe__ItemType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ItemType);
- if (soap_out_PointerTongwe__ItemType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemType(struct soap *soap, const char *tag, int id, enum ngwe__ItemType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ItemType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwe__ItemType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_get_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__ItemType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_in_PointerTongwe__ItemType(struct soap *soap, const char *tag, enum ngwe__ItemType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwe__ItemType **)soap_malloc(soap, sizeof(enum ngwe__ItemType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwe__ItemType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwe__ItemType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemType, sizeof(enum ngwe__ItemType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwe__FieldList);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__FieldList);
- if (soap_out_PointerTongwe__FieldList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__FieldList(struct soap *soap, const char *tag, int id, enum ngwe__FieldList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__FieldList);
- if (id < 0)
- return soap->error;
- return soap_out_ngwe__FieldList(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_get_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwe__FieldList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_in_PointerTongwe__FieldList(struct soap *soap, const char *tag, enum ngwe__FieldList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwe__FieldList **)soap_malloc(soap, sizeof(enum ngwe__FieldList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwe__FieldList(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwe__FieldList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__FieldList, sizeof(enum ngwe__FieldList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyUserList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyUserList);
- if (soap_out_PointerTongwt__FreeBusyUserList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyUserList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyUserList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyUserList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyUserList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyUserList(struct soap *soap, const char *tag, ngwt__FreeBusyUserList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyUserList **)soap_malloc(soap, sizeof(ngwt__FreeBusyUserList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyUserList *)soap_instantiate_ngwt__FreeBusyUserList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyUserList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyUserList, sizeof(ngwt__FreeBusyUserList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__RetractType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RetractType);
- if (soap_out_PointerTongwt__RetractType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RetractType(struct soap *soap, const char *tag, int id, enum ngwt__RetractType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RetractType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__RetractType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_get_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RetractType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_in_PointerTongwt__RetractType(struct soap *soap, const char *tag, enum ngwt__RetractType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__RetractType **)soap_malloc(soap, sizeof(enum ngwt__RetractType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__RetractType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__RetractType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RetractType, sizeof(enum ngwt__RetractType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemList);
- if (soap_out_PointerTongwt__ItemList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemList(struct soap *soap, const char *tag, int id, ngwt__ItemList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemList(struct soap *soap, const char *tag, ngwt__ItemList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemList **)soap_malloc(soap, sizeof(ngwt__ItemList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemList *)soap_instantiate_ngwt__ItemList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemList, sizeof(ngwt__ItemList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__CursorSeek);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CursorSeek);
- if (soap_out_PointerTongwt__CursorSeek(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CursorSeek(struct soap *soap, const char *tag, int id, enum ngwt__CursorSeek *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CursorSeek);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__CursorSeek(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_get_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CursorSeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_in_PointerTongwt__CursorSeek(struct soap *soap, const char *tag, enum ngwt__CursorSeek **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__CursorSeek **)soap_malloc(soap, sizeof(enum ngwt__CursorSeek *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__CursorSeek(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__CursorSeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CursorSeek, sizeof(enum ngwt__CursorSeek), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightChanges))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightChanges);
- if (soap_out_PointerTongwt__AccessRightChanges(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightChanges(struct soap *soap, const char *tag, int id, ngwt__AccessRightChanges *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightChanges);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessRightChanges(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightChanges(struct soap *soap, const char *tag, ngwt__AccessRightChanges **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessRightChanges **)soap_malloc(soap, sizeof(ngwt__AccessRightChanges *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessRightChanges *)soap_instantiate_ngwt__AccessRightChanges(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightChanges **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightChanges, sizeof(ngwt__AccessRightChanges), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ModifyItem))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ModifyItem);
- if (soap_out_PointerTongwt__ModifyItem(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ModifyItem(struct soap *soap, const char *tag, int id, ngwt__ModifyItem *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ModifyItem);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_get_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ModifyItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_in_PointerTongwt__ModifyItem(struct soap *soap, const char *tag, ngwt__ModifyItem **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ModifyItem **)soap_malloc(soap, sizeof(ngwt__ModifyItem *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ModifyItem *)soap_instantiate_ngwt__ModifyItem(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ModifyItem **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ModifyItem, sizeof(ngwt__ModifyItem), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Host(struct soap *soap, ngwt__Host *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Host))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Host(struct soap *soap, ngwt__Host *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Host);
- if (soap_out_PointerTongwt__Host(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Host(struct soap *soap, const char *tag, int id, ngwt__Host *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Host);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_get_PointerTongwt__Host(struct soap *soap, ngwt__Host **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Host(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_in_PointerTongwt__Host(struct soap *soap, const char *tag, ngwt__Host **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Host **)soap_malloc(soap, sizeof(ngwt__Host *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Host *)soap_instantiate_ngwt__Host(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Host **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Host, sizeof(ngwt__Host), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Authentication))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Authentication);
- if (soap_out_PointerTongwt__Authentication(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Authentication(struct soap *soap, const char *tag, int id, ngwt__Authentication *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Authentication);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_get_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Authentication(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_in_PointerTongwt__Authentication(struct soap *soap, const char *tag, ngwt__Authentication **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Authentication **)soap_malloc(soap, sizeof(ngwt__Authentication *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Authentication *)soap_instantiate_ngwt__Authentication(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Authentication **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Authentication, sizeof(ngwt__Authentication), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserList(struct soap *soap, ngwt__UserList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UserList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserList(struct soap *soap, ngwt__UserList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UserList);
- if (soap_out_PointerTongwt__UserList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserList(struct soap *soap, const char *tag, int id, ngwt__UserList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UserList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_get_PointerTongwt__UserList(struct soap *soap, ngwt__UserList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__UserList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_in_PointerTongwt__UserList(struct soap *soap, const char *tag, ngwt__UserList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__UserList **)soap_malloc(soap, sizeof(ngwt__UserList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__UserList *)soap_instantiate_ngwt__UserList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__UserList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserList, sizeof(ngwt__UserList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TimezoneList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TimezoneList);
- if (soap_out_PointerTongwt__TimezoneList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneList(struct soap *soap, const char *tag, int id, ngwt__TimezoneList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TimezoneList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__TimezoneList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneList(struct soap *soap, const char *tag, ngwt__TimezoneList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__TimezoneList **)soap_malloc(soap, sizeof(ngwt__TimezoneList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__TimezoneList *)soap_instantiate_ngwt__TimezoneList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__TimezoneList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneList, sizeof(ngwt__TimezoneList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Signatures))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Signatures);
- if (soap_out_PointerTongwt__Signatures(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signatures(struct soap *soap, const char *tag, int id, ngwt__Signatures *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Signatures);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_get_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Signatures(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_in_PointerTongwt__Signatures(struct soap *soap, const char *tag, ngwt__Signatures **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Signatures **)soap_malloc(soap, sizeof(ngwt__Signatures *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Signatures *)soap_instantiate_ngwt__Signatures(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Signatures **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signatures, sizeof(ngwt__Signatures), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Settings(struct soap *soap, ngwt__Settings *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Settings))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Settings(struct soap *soap, ngwt__Settings *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Settings);
- if (soap_out_PointerTongwt__Settings(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Settings(struct soap *soap, const char *tag, int id, ngwt__Settings *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Settings);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_get_PointerTongwt__Settings(struct soap *soap, ngwt__Settings **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Settings(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_in_PointerTongwt__Settings(struct soap *soap, const char *tag, ngwt__Settings **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Settings **)soap_malloc(soap, sizeof(ngwt__Settings *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Settings *)soap_instantiate_ngwt__Settings(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Settings **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Settings, sizeof(ngwt__Settings), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleList);
- if (soap_out_PointerTongwt__RuleList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleList(struct soap *soap, const char *tag, int id, ngwt__RuleList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RuleList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleList(struct soap *soap, const char *tag, ngwt__RuleList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RuleList **)soap_malloc(soap, sizeof(ngwt__RuleList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RuleList *)soap_instantiate_ngwt__RuleList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RuleList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleList, sizeof(ngwt__RuleList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProxyList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProxyList);
- if (soap_out_PointerTongwt__ProxyList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyList(struct soap *soap, const char *tag, int id, ngwt__ProxyList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProxyList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ProxyList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyList(struct soap *soap, const char *tag, ngwt__ProxyList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ProxyList **)soap_malloc(soap, sizeof(ngwt__ProxyList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ProxyList *)soap_instantiate_ngwt__ProxyList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ProxyList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyList, sizeof(ngwt__ProxyList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightList);
- if (soap_out_PointerTongwt__AccessRightList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightList(struct soap *soap, const char *tag, int id, ngwt__AccessRightList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessRightList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightList(struct soap *soap, const char *tag, ngwt__AccessRightList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessRightList **)soap_malloc(soap, sizeof(ngwt__AccessRightList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessRightList *)soap_instantiate_ngwt__AccessRightList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightList, sizeof(ngwt__AccessRightList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__LibraryList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__LibraryList);
- if (soap_out_PointerTongwt__LibraryList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LibraryList(struct soap *soap, const char *tag, int id, ngwt__LibraryList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__LibraryList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_get_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__LibraryList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_in_PointerTongwt__LibraryList(struct soap *soap, const char *tag, ngwt__LibraryList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__LibraryList **)soap_malloc(soap, sizeof(ngwt__LibraryList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__LibraryList *)soap_instantiate_ngwt__LibraryList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__LibraryList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LibraryList, sizeof(ngwt__LibraryList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SettingsList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SettingsList);
- if (soap_out_PointerTongwt__SettingsList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsList(struct soap *soap, const char *tag, int id, ngwt__SettingsList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SettingsList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SettingsList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsList(struct soap *soap, const char *tag, ngwt__SettingsList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SettingsList **)soap_malloc(soap, sizeof(ngwt__SettingsList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SettingsList *)soap_instantiate_ngwt__SettingsList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SettingsList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsList, sizeof(ngwt__SettingsList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkHandlingList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkHandlingList);
- if (soap_out_PointerTongwt__JunkHandlingList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingList(struct soap *soap, const char *tag, int id, ngwt__JunkHandlingList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkHandlingList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__JunkHandlingList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingList(struct soap *soap, const char *tag, ngwt__JunkHandlingList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__JunkHandlingList **)soap_malloc(soap, sizeof(ngwt__JunkHandlingList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__JunkHandlingList *)soap_instantiate_ngwt__JunkHandlingList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__JunkHandlingList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingList, sizeof(ngwt__JunkHandlingList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyInfoList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyInfoList);
- if (soap_out_PointerTongwt__FreeBusyInfoList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfoList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyInfoList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyInfoList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyInfoList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfoList(struct soap *soap, const char *tag, ngwt__FreeBusyInfoList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyInfoList **)soap_malloc(soap, sizeof(ngwt__FreeBusyInfoList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyInfoList *)soap_instantiate_ngwt__FreeBusyInfoList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyInfoList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfoList, sizeof(ngwt__FreeBusyInfoList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyStats))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyStats);
- if (soap_out_PointerTongwt__FreeBusyStats(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyStats(struct soap *soap, const char *tag, int id, ngwt__FreeBusyStats *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyStats);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyStats(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyStats(struct soap *soap, const char *tag, ngwt__FreeBusyStats **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyStats **)soap_malloc(soap, sizeof(ngwt__FreeBusyStats *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyStats *)soap_instantiate_ngwt__FreeBusyStats(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyStats **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyStats, sizeof(ngwt__FreeBusyStats), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderList);
- if (soap_out_PointerTongwt__FolderList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderList(struct soap *soap, const char *tag, int id, ngwt__FolderList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_get_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FolderList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_in_PointerTongwt__FolderList(struct soap *soap, const char *tag, ngwt__FolderList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FolderList **)soap_malloc(soap, sizeof(ngwt__FolderList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FolderList *)soap_instantiate_ngwt__FolderList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FolderList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderList, sizeof(ngwt__FolderList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSourceList);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSourceList);
- if (soap_out_PointerTongwt__ItemSourceList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSourceList(struct soap *soap, const char *tag, int id, enum ngwt__ItemSourceList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSourceList);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__ItemSourceList(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemSourceList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSourceList(struct soap *soap, const char *tag, enum ngwt__ItemSourceList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__ItemSourceList **)soap_malloc(soap, sizeof(enum ngwt__ItemSourceList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__ItemSourceList(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__ItemSourceList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSourceList, sizeof(enum ngwt__ItemSourceList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__MessageTypeList);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessageTypeList);
- if (soap_out_PointerTongwt__MessageTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageTypeList(struct soap *soap, const char *tag, int id, enum ngwt__MessageTypeList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessageTypeList);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__MessageTypeList(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__MessageTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__MessageTypeList(struct soap *soap, const char *tag, enum ngwt__MessageTypeList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__MessageTypeList **)soap_malloc(soap, sizeof(enum ngwt__MessageTypeList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__MessageTypeList(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__MessageTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageTypeList, sizeof(enum ngwt__MessageTypeList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderType);
- if (soap_out_PointerTongwt__FolderType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderType(struct soap *soap, const char *tag, int id, enum ngwt__FolderType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__FolderType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_get_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FolderType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_in_PointerTongwt__FolderType(struct soap *soap, const char *tag, enum ngwt__FolderType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__FolderType **)soap_malloc(soap, sizeof(enum ngwt__FolderType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__FolderType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__FolderType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderType, sizeof(enum ngwt__FolderType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DocumentTypeList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DocumentTypeList);
- if (soap_out_PointerTongwt__DocumentTypeList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentTypeList(struct soap *soap, const char *tag, int id, ngwt__DocumentTypeList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DocumentTypeList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DocumentTypeList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentTypeList(struct soap *soap, const char *tag, ngwt__DocumentTypeList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DocumentTypeList **)soap_malloc(soap, sizeof(ngwt__DocumentTypeList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DocumentTypeList *)soap_instantiate_ngwt__DocumentTypeList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DocumentTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentTypeList, sizeof(ngwt__DocumentTypeList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Items(struct soap *soap, ngwt__Items *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Items))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Items(struct soap *soap, ngwt__Items *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Items);
- if (soap_out_PointerTongwt__Items(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Items(struct soap *soap, const char *tag, int id, ngwt__Items *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Items);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_get_PointerTongwt__Items(struct soap *soap, ngwt__Items **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Items(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_in_PointerTongwt__Items(struct soap *soap, const char *tag, ngwt__Items **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Items **)soap_malloc(soap, sizeof(ngwt__Items *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Items *)soap_instantiate_ngwt__Items(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Items **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Items, sizeof(ngwt__Items), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DeltaInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DeltaInfo);
- if (soap_out_PointerTongwt__DeltaInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaInfo(struct soap *soap, const char *tag, int id, ngwt__DeltaInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DeltaInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DeltaInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaInfo(struct soap *soap, const char *tag, ngwt__DeltaInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DeltaInfo **)soap_malloc(soap, sizeof(ngwt__DeltaInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DeltaInfo *)soap_instantiate_ngwt__DeltaInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DeltaInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaInfo, sizeof(ngwt__DeltaInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CustomList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CustomList);
- if (soap_out_PointerTongwt__CustomList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomList(struct soap *soap, const char *tag, int id, ngwt__CustomList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CustomList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_get_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CustomList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_in_PointerTongwt__CustomList(struct soap *soap, const char *tag, ngwt__CustomList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__CustomList **)soap_malloc(soap, sizeof(ngwt__CustomList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__CustomList *)soap_instantiate_ngwt__CustomList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__CustomList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomList, sizeof(ngwt__CustomList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryList);
- if (soap_out_PointerTongwt__CategoryList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryList(struct soap *soap, const char *tag, int id, ngwt__CategoryList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CategoryList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryList(struct soap *soap, const char *tag, ngwt__CategoryList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__CategoryList **)soap_malloc(soap, sizeof(ngwt__CategoryList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__CategoryList *)soap_instantiate_ngwt__CategoryList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__CategoryList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryList, sizeof(ngwt__CategoryList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AddressBookList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AddressBookList);
- if (soap_out_PointerTongwt__AddressBookList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBookList(struct soap *soap, const char *tag, int id, ngwt__AddressBookList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AddressBookList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AddressBookList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBookList(struct soap *soap, const char *tag, ngwt__AddressBookList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AddressBookList **)soap_malloc(soap, sizeof(ngwt__AddressBookList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AddressBookList *)soap_instantiate_ngwt__AddressBookList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AddressBookList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookList, sizeof(ngwt__AddressBookList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Distribution))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Distribution);
- if (soap_out_PointerTongwt__Distribution(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Distribution(struct soap *soap, const char *tag, int id, ngwt__Distribution *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Distribution);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_get_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Distribution(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_in_PointerTongwt__Distribution(struct soap *soap, const char *tag, ngwt__Distribution **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Distribution **)soap_malloc(soap, sizeof(ngwt__Distribution *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Distribution *)soap_instantiate_ngwt__Distribution(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Distribution **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Distribution, sizeof(ngwt__Distribution), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__View(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__View))
- soap_serialize_ngwt__View(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__View(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__View);
- if (soap_out_PointerTongwt__View(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__View(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__View);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__View(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__View(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__View(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__View(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__View(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__View, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Status(struct soap *soap, ngwt__Status *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Status))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Status(struct soap *soap, ngwt__Status *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Status);
- if (soap_out_PointerTongwt__Status(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Status(struct soap *soap, const char *tag, int id, ngwt__Status *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Status);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_get_PointerTongwt__Status(struct soap *soap, ngwt__Status **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Status(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_in_PointerTongwt__Status(struct soap *soap, const char *tag, ngwt__Status **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Status **)soap_malloc(soap, sizeof(ngwt__Status *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Status *)soap_instantiate_ngwt__Status(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Status **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Status, sizeof(ngwt__Status), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemRefList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemRefList);
- if (soap_out_PointerTongwt__ItemRefList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRefList(struct soap *soap, const char *tag, int id, ngwt__ItemRefList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemRefList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemRefList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRefList(struct soap *soap, const char *tag, ngwt__ItemRefList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemRefList **)soap_malloc(soap, sizeof(ngwt__ItemRefList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemRefList *)soap_instantiate_ngwt__ItemRefList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemRefList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRefList, sizeof(ngwt__ItemRefList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UserInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UserInfo);
- if (soap_out_PointerTongwt__UserInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserInfo(struct soap *soap, const char *tag, int id, ngwt__UserInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UserInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_get_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__UserInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_in_PointerTongwt__UserInfo(struct soap *soap, const char *tag, ngwt__UserInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__UserInfo **)soap_malloc(soap, sizeof(ngwt__UserInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__UserInfo *)soap_instantiate_ngwt__UserInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__UserInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserInfo, sizeof(ngwt__UserInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientType);
- if (soap_out_PointerTongwt__RecipientType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientType(struct soap *soap, const char *tag, int id, enum ngwt__RecipientType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__RecipientType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RecipientType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientType(struct soap *soap, const char *tag, enum ngwt__RecipientType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__RecipientType **)soap_malloc(soap, sizeof(enum ngwt__RecipientType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__RecipientType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__RecipientType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientType, sizeof(enum ngwt__RecipientType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Timezone))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Timezone);
- if (soap_out_PointerTongwt__Timezone(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Timezone(struct soap *soap, const char *tag, int id, ngwt__Timezone *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Timezone);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_get_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Timezone(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_in_PointerTongwt__Timezone(struct soap *soap, const char *tag, ngwt__Timezone **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Timezone **)soap_malloc(soap, sizeof(ngwt__Timezone *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Timezone *)soap_instantiate_ngwt__Timezone(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Timezone **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Timezone, sizeof(ngwt__Timezone), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Minute(struct soap *soap, unsigned char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Minute);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Minute(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Minute);
- if (soap_out_PointerTongwt__Minute(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Minute(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Minute);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Minute(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Minute(struct soap *soap, unsigned char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Minute(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Minute(struct soap *soap, const char *tag, unsigned char **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Minute(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Minute, sizeof(unsigned char), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Hour(struct soap *soap, unsigned char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Hour);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Hour(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Hour);
- if (soap_out_PointerTongwt__Hour(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Hour(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Hour);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Hour(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Hour(struct soap *soap, unsigned char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Hour(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Hour(struct soap *soap, const char *tag, unsigned char **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Hour(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Hour, sizeof(unsigned char), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfWeek))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfWeek);
- if (soap_out_PointerTongwt__DayOfWeek(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfWeek(struct soap *soap, const char *tag, int id, ngwt__DayOfWeek *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfWeek);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DayOfWeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfWeek(struct soap *soap, const char *tag, ngwt__DayOfWeek **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DayOfWeek **)soap_malloc(soap, sizeof(ngwt__DayOfWeek *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DayOfWeek *)soap_instantiate_ngwt__DayOfWeek(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DayOfWeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfWeek, sizeof(ngwt__DayOfWeek), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Day(struct soap *soap, unsigned char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Day);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Day(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Day);
- if (soap_out_PointerTongwt__Day(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Day(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Day);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Day(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Day(struct soap *soap, unsigned char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Day(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Day(struct soap *soap, const char *tag, unsigned char **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Day(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Day, sizeof(unsigned char), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Month(struct soap *soap, unsigned char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Month);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Month(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Month);
- if (soap_out_PointerTongwt__Month(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Month(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Month);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Month(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Month(struct soap *soap, unsigned char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Month(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Month(struct soap *soap, const char *tag, unsigned char **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Month(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Month, sizeof(unsigned char), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TimezoneComponent))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TimezoneComponent);
- if (soap_out_PointerTongwt__TimezoneComponent(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneComponent(struct soap *soap, const char *tag, int id, ngwt__TimezoneComponent *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TimezoneComponent);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__TimezoneComponent(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneComponent(struct soap *soap, const char *tag, ngwt__TimezoneComponent **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__TimezoneComponent **)soap_malloc(soap, sizeof(ngwt__TimezoneComponent *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__TimezoneComponent *)soap_instantiate_ngwt__TimezoneComponent(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__TimezoneComponent **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneComponent, sizeof(ngwt__TimezoneComponent), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProblemList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProblemList);
- if (soap_out_PointerTongwt__ProblemList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemList(struct soap *soap, const char *tag, int id, ngwt__ProblemList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProblemList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ProblemList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemList(struct soap *soap, const char *tag, ngwt__ProblemList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ProblemList **)soap_malloc(soap, sizeof(ngwt__ProblemList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ProblemList *)soap_instantiate_ngwt__ProblemList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ProblemList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemList, sizeof(ngwt__ProblemList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signature(struct soap *soap, ngwt__Signature *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Signature))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signature(struct soap *soap, ngwt__Signature *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Signature);
- if (soap_out_PointerTongwt__Signature(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signature(struct soap *soap, const char *tag, int id, ngwt__Signature *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Signature);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_get_PointerTongwt__Signature(struct soap *soap, ngwt__Signature **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Signature(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_in_PointerTongwt__Signature(struct soap *soap, const char *tag, ngwt__Signature **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Signature **)soap_malloc(soap, sizeof(ngwt__Signature *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Signature *)soap_instantiate_ngwt__Signature(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Signature **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signature, sizeof(ngwt__Signature), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SignatureData))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SignatureData);
- if (soap_out_PointerTongwt__SignatureData(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SignatureData(struct soap *soap, const char *tag, int id, ngwt__SignatureData *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SignatureData);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_get_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SignatureData(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_in_PointerTongwt__SignatureData(struct soap *soap, const char *tag, ngwt__SignatureData **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SignatureData **)soap_malloc(soap, sizeof(ngwt__SignatureData *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SignatureData *)soap_instantiate_ngwt__SignatureData(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SignatureData **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SignatureData, sizeof(ngwt__SignatureData), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SettingsGroup))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SettingsGroup);
- if (soap_out_PointerTongwt__SettingsGroup(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsGroup(struct soap *soap, const char *tag, int id, ngwt__SettingsGroup *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SettingsGroup);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SettingsGroup(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsGroup(struct soap *soap, const char *tag, ngwt__SettingsGroup **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SettingsGroup **)soap_malloc(soap, sizeof(ngwt__SettingsGroup *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SettingsGroup *)soap_instantiate_ngwt__SettingsGroup(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SettingsGroup **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsGroup, sizeof(ngwt__SettingsGroup), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReturnNotification))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReturnNotification);
- if (soap_out_PointerTongwt__ReturnNotification(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotification(struct soap *soap, const char *tag, int id, ngwt__ReturnNotification *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReturnNotification);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ReturnNotification(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotification(struct soap *soap, const char *tag, ngwt__ReturnNotification **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ReturnNotification **)soap_malloc(soap, sizeof(ngwt__ReturnNotification *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ReturnNotification *)soap_instantiate_ngwt__ReturnNotification(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ReturnNotification **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotification, sizeof(ngwt__ReturnNotification), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__StatusTracking))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__StatusTracking);
- if (soap_out_PointerTongwt__StatusTracking(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__StatusTracking(struct soap *soap, const char *tag, int id, ngwt__StatusTracking *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__StatusTracking);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_get_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__StatusTracking(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_in_PointerTongwt__StatusTracking(struct soap *soap, const char *tag, ngwt__StatusTracking **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__StatusTracking **)soap_malloc(soap, sizeof(ngwt__StatusTracking *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__StatusTracking *)soap_instantiate_ngwt__StatusTracking(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__StatusTracking **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__StatusTracking, sizeof(ngwt__StatusTracking), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SendOptionsRequestReply))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SendOptionsRequestReply);
- if (soap_out_PointerTongwt__SendOptionsRequestReply(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptionsRequestReply(struct soap *soap, const char *tag, int id, ngwt__SendOptionsRequestReply *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SendOptionsRequestReply);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SendOptionsRequestReply(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptionsRequestReply(struct soap *soap, const char *tag, ngwt__SendOptionsRequestReply **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SendOptionsRequestReply **)soap_malloc(soap, sizeof(ngwt__SendOptionsRequestReply *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SendOptionsRequestReply *)soap_instantiate_ngwt__SendOptionsRequestReply(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SendOptionsRequestReply **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptionsRequestReply, sizeof(ngwt__SendOptionsRequestReply), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rule(struct soap *soap, ngwt__Rule *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Rule))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rule(struct soap *soap, ngwt__Rule *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Rule);
- if (soap_out_PointerTongwt__Rule(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rule(struct soap *soap, const char *tag, int id, ngwt__Rule *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Rule);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_get_PointerTongwt__Rule(struct soap *soap, ngwt__Rule **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Rule(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_in_PointerTongwt__Rule(struct soap *soap, const char *tag, ngwt__Rule **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Rule **)soap_malloc(soap, sizeof(ngwt__Rule *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Rule *)soap_instantiate_ngwt__Rule(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Rule **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rule, sizeof(ngwt__Rule), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleAction))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleAction);
- if (soap_out_PointerTongwt__RuleAction(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleAction(struct soap *soap, const char *tag, int id, ngwt__RuleAction *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleAction);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_get_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RuleAction(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_in_PointerTongwt__RuleAction(struct soap *soap, const char *tag, ngwt__RuleAction **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RuleAction **)soap_malloc(soap, sizeof(ngwt__RuleAction *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RuleAction *)soap_instantiate_ngwt__RuleAction(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RuleAction **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleAction, sizeof(ngwt__RuleAction), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryRefList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryRefList);
- if (soap_out_PointerTongwt__CategoryRefList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryRefList(struct soap *soap, const char *tag, int id, ngwt__CategoryRefList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryRefList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CategoryRefList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryRefList(struct soap *soap, const char *tag, ngwt__CategoryRefList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__CategoryRefList **)soap_malloc(soap, sizeof(ngwt__CategoryRefList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__CategoryRefList *)soap_instantiate_ngwt__CategoryRefList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__CategoryRefList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryRefList, sizeof(ngwt__CategoryRefList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Mail(struct soap *soap, ngwt__Mail *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Mail))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Mail(struct soap *soap, ngwt__Mail *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Mail);
- if (soap_out_PointerTongwt__Mail(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Mail(struct soap *soap, const char *tag, int id, ngwt__Mail *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Mail);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_get_PointerTongwt__Mail(struct soap *soap, ngwt__Mail **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Mail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_in_PointerTongwt__Mail(struct soap *soap, const char *tag, ngwt__Mail **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Mail **)soap_malloc(soap, sizeof(ngwt__Mail *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Mail *)soap_instantiate_ngwt__Mail(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Mail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Mail, sizeof(ngwt__Mail), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReturnNotificationOptions))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions);
- if (soap_out_PointerTongwt__ReturnNotificationOptions(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotificationOptions(struct soap *soap, const char *tag, int id, ngwt__ReturnNotificationOptions *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReturnNotificationOptions);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ReturnNotificationOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotificationOptions(struct soap *soap, const char *tag, ngwt__ReturnNotificationOptions **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ReturnNotificationOptions **)soap_malloc(soap, sizeof(ngwt__ReturnNotificationOptions *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ReturnNotificationOptions *)soap_instantiate_ngwt__ReturnNotificationOptions(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ReturnNotificationOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotificationOptions, sizeof(ngwt__ReturnNotificationOptions), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MonthList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MonthList);
- if (soap_out_PointerTongwt__MonthList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MonthList(struct soap *soap, const char *tag, int id, ngwt__MonthList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MonthList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_get_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__MonthList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_in_PointerTongwt__MonthList(struct soap *soap, const char *tag, ngwt__MonthList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__MonthList **)soap_malloc(soap, sizeof(ngwt__MonthList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__MonthList *)soap_instantiate_ngwt__MonthList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__MonthList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MonthList, sizeof(ngwt__MonthList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearList);
- if (soap_out_PointerTongwt__DayOfYearList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearList(struct soap *soap, const char *tag, int id, ngwt__DayOfYearList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DayOfYearList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearList(struct soap *soap, const char *tag, ngwt__DayOfYearList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DayOfYearList **)soap_malloc(soap, sizeof(ngwt__DayOfYearList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DayOfYearList *)soap_instantiate_ngwt__DayOfYearList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DayOfYearList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearList, sizeof(ngwt__DayOfYearList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfMonthList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfMonthList);
- if (soap_out_PointerTongwt__DayOfMonthList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfMonthList(struct soap *soap, const char *tag, int id, ngwt__DayOfMonthList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfMonthList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DayOfMonthList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfMonthList(struct soap *soap, const char *tag, ngwt__DayOfMonthList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DayOfMonthList **)soap_malloc(soap, sizeof(ngwt__DayOfMonthList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DayOfMonthList *)soap_instantiate_ngwt__DayOfMonthList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DayOfMonthList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfMonthList, sizeof(ngwt__DayOfMonthList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearWeekList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearWeekList);
- if (soap_out_PointerTongwt__DayOfYearWeekList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeekList(struct soap *soap, const char *tag, int id, ngwt__DayOfYearWeekList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearWeekList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DayOfYearWeekList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeekList(struct soap *soap, const char *tag, ngwt__DayOfYearWeekList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DayOfYearWeekList **)soap_malloc(soap, sizeof(ngwt__DayOfYearWeekList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DayOfYearWeekList *)soap_instantiate_ngwt__DayOfYearWeekList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DayOfYearWeekList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeekList, sizeof(ngwt__DayOfYearWeekList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__Frequency);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Frequency);
- if (soap_out_PointerTongwt__Frequency(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Frequency(struct soap *soap, const char *tag, int id, enum ngwt__Frequency *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Frequency);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__Frequency(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_get_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Frequency(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_in_PointerTongwt__Frequency(struct soap *soap, const char *tag, enum ngwt__Frequency **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__Frequency **)soap_malloc(soap, sizeof(enum ngwt__Frequency *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__Frequency(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__Frequency **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Frequency, sizeof(enum ngwt__Frequency), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DelegateeStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DelegateeStatus);
- if (soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, int id, ngwt__DelegateeStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DelegateeStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DelegateeStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, ngwt__DelegateeStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DelegateeStatus **)soap_malloc(soap, sizeof(ngwt__DelegateeStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DelegateeStatus *)soap_instantiate_ngwt__DelegateeStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DelegateeStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DelegatedStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DelegatedStatus);
- if (soap_out_PointerTongwt__DelegatedStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegatedStatus(struct soap *soap, const char *tag, int id, ngwt__DelegatedStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DelegatedStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DelegatedStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegatedStatus(struct soap *soap, const char *tag, ngwt__DelegatedStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DelegatedStatus **)soap_malloc(soap, sizeof(ngwt__DelegatedStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DelegatedStatus *)soap_instantiate_ngwt__DelegatedStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DelegatedStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegatedStatus, sizeof(ngwt__DelegatedStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CommentStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CommentStatus);
- if (soap_out_PointerTongwt__CommentStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CommentStatus(struct soap *soap, const char *tag, int id, ngwt__CommentStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CommentStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_get_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CommentStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_in_PointerTongwt__CommentStatus(struct soap *soap, const char *tag, ngwt__CommentStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__CommentStatus **)soap_malloc(soap, sizeof(ngwt__CommentStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__CommentStatus *)soap_instantiate_ngwt__CommentStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__CommentStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CommentStatus, sizeof(ngwt__CommentStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TransferFailedStatus))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TransferFailedStatus);
- if (soap_out_PointerTongwt__TransferFailedStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TransferFailedStatus(struct soap *soap, const char *tag, int id, ngwt__TransferFailedStatus *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TransferFailedStatus);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__TransferFailedStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__TransferFailedStatus(struct soap *soap, const char *tag, ngwt__TransferFailedStatus **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__TransferFailedStatus **)soap_malloc(soap, sizeof(ngwt__TransferFailedStatus *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__TransferFailedStatus *)soap_instantiate_ngwt__TransferFailedStatus(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__TransferFailedStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TransferFailedStatus, sizeof(ngwt__TransferFailedStatus), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Recipient))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Recipient);
- if (soap_out_PointerTongwt__Recipient(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Recipient(struct soap *soap, const char *tag, int id, ngwt__Recipient *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Recipient);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_get_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Recipient(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_in_PointerTongwt__Recipient(struct soap *soap, const char *tag, ngwt__Recipient **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Recipient **)soap_malloc(soap, sizeof(ngwt__Recipient *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Recipient *)soap_instantiate_ngwt__Recipient(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Recipient **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Recipient, sizeof(ngwt__Recipient), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Filter(struct soap *soap, ngwt__Filter *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Filter))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Filter(struct soap *soap, ngwt__Filter *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Filter);
- if (soap_out_PointerTongwt__Filter(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Filter(struct soap *soap, const char *tag, int id, ngwt__Filter *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Filter);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_get_PointerTongwt__Filter(struct soap *soap, ngwt__Filter **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Filter(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_in_PointerTongwt__Filter(struct soap *soap, const char *tag, ngwt__Filter **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Filter **)soap_malloc(soap, sizeof(ngwt__Filter *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Filter *)soap_instantiate_ngwt__Filter(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Filter **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Filter, sizeof(ngwt__Filter), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__QueryTarget))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__QueryTarget);
- if (soap_out_PointerTongwt__QueryTarget(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__QueryTarget(struct soap *soap, const char *tag, int id, ngwt__QueryTarget *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__QueryTarget);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_get_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__QueryTarget(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_in_PointerTongwt__QueryTarget(struct soap *soap, const char *tag, ngwt__QueryTarget **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__QueryTarget **)soap_malloc(soap, sizeof(ngwt__QueryTarget *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__QueryTarget *)soap_instantiate_ngwt__QueryTarget(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__QueryTarget **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryTarget, sizeof(ngwt__QueryTarget), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProxyUser))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProxyUser);
- if (soap_out_PointerTongwt__ProxyUser(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyUser(struct soap *soap, const char *tag, int id, ngwt__ProxyUser *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProxyUser);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ProxyUser(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyUser(struct soap *soap, const char *tag, ngwt__ProxyUser **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ProxyUser **)soap_malloc(soap, sizeof(ngwt__ProxyUser *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ProxyUser *)soap_instantiate_ngwt__ProxyUser(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ProxyUser **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyUser, sizeof(ngwt__ProxyUser), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProblemEntry))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProblemEntry);
- if (soap_out_PointerTongwt__ProblemEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemEntry(struct soap *soap, const char *tag, int id, ngwt__ProblemEntry *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProblemEntry);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ProblemEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemEntry(struct soap *soap, const char *tag, ngwt__ProblemEntry **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ProblemEntry **)soap_malloc(soap, sizeof(ngwt__ProblemEntry *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ProblemEntry *)soap_instantiate_ngwt__ProblemEntry(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ProblemEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemEntry, sizeof(ngwt__ProblemEntry), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PostalAddress))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PostalAddress);
- if (soap_out_PointerTongwt__PostalAddress(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddress(struct soap *soap, const char *tag, int id, ngwt__PostalAddress *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PostalAddress);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PostalAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddress(struct soap *soap, const char *tag, ngwt__PostalAddress **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PostalAddress **)soap_malloc(soap, sizeof(ngwt__PostalAddress *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PostalAddress *)soap_instantiate_ngwt__PostalAddress(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PostalAddress **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddress, sizeof(ngwt__PostalAddress), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneNumber))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneNumber);
- if (soap_out_PointerTongwt__PhoneNumber(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneNumber(struct soap *soap, const char *tag, int id, ngwt__PhoneNumber *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneNumber);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__PhoneNumber(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneNumber(struct soap *soap, const char *tag, ngwt__PhoneNumber **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__PhoneNumber **)soap_malloc(soap, sizeof(ngwt__PhoneNumber *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__PhoneNumber *)soap_instantiate_ngwt__PhoneNumber(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__PhoneNumber **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneNumber, sizeof(ngwt__PhoneNumber), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__date(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_xsd__date))
- soap_serialize_xsd__date(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__date(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__date);
- if (soap_out_PointerToxsd__date(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__date(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_xsd__date);
- if (id < 0)
- return soap->error;
- return soap_out_xsd__date(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__date(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToxsd__date(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__date(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_xsd__date(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__date, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemRef))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemRef);
- if (soap_out_PointerTongwt__ItemRef(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRef(struct soap *soap, const char *tag, int id, ngwt__ItemRef *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemRef);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRef(struct soap *soap, const char *tag, ngwt__ItemRef **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemRef **)soap_malloc(soap, sizeof(ngwt__ItemRef *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemRef *)soap_instantiate_ngwt__ItemRef(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemRef **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRef, sizeof(ngwt__ItemRef), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UUID(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UUID))
- soap_serialize_ngwt__UUID(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UUID(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UUID);
- if (soap_out_PointerTongwt__UUID(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UUID(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UUID);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__UUID(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__UUID(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__UUID(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__UUID(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__UUID(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UUID, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SharedFolderNotification))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SharedFolderNotification);
- if (soap_out_PointerTongwt__SharedFolderNotification(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SharedFolderNotification(struct soap *soap, const char *tag, int id, ngwt__SharedFolderNotification *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SharedFolderNotification);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_get_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SharedFolderNotification(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_in_PointerTongwt__SharedFolderNotification(struct soap *soap, const char *tag, ngwt__SharedFolderNotification **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SharedFolderNotification **)soap_malloc(soap, sizeof(ngwt__SharedFolderNotification *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SharedFolderNotification *)soap_instantiate_ngwt__SharedFolderNotification(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SharedFolderNotification **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolderNotification, sizeof(ngwt__SharedFolderNotification), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MessagePart))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessagePart);
- if (soap_out_PointerTongwt__MessagePart(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessagePart(struct soap *soap, const char *tag, int id, ngwt__MessagePart *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessagePart);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_get_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__MessagePart(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_in_PointerTongwt__MessagePart(struct soap *soap, const char *tag, ngwt__MessagePart **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__MessagePart **)soap_malloc(soap, sizeof(ngwt__MessagePart *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__MessagePart *)soap_instantiate_ngwt__MessagePart(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__MessagePart **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessagePart, sizeof(ngwt__MessagePart), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Library(struct soap *soap, ngwt__Library *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Library))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Library(struct soap *soap, ngwt__Library *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Library);
- if (soap_out_PointerTongwt__Library(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Library(struct soap *soap, const char *tag, int id, ngwt__Library *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Library);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_get_PointerTongwt__Library(struct soap *soap, ngwt__Library **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Library(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_in_PointerTongwt__Library(struct soap *soap, const char *tag, ngwt__Library **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Library **)soap_malloc(soap, sizeof(ngwt__Library *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Library *)soap_instantiate_ngwt__Library(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Library **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Library, sizeof(ngwt__Library), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkEntry))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkEntry);
- if (soap_out_PointerTongwt__JunkEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkEntry(struct soap *soap, const char *tag, int id, ngwt__JunkEntry *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkEntry);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_get_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__JunkEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_in_PointerTongwt__JunkEntry(struct soap *soap, const char *tag, ngwt__JunkEntry **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__JunkEntry **)soap_malloc(soap, sizeof(ngwt__JunkEntry *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__JunkEntry *)soap_instantiate_ngwt__JunkEntry(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__JunkEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkEntry, sizeof(ngwt__JunkEntry), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkHandlingListType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkHandlingListType);
- if (soap_out_PointerTongwt__JunkHandlingListType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingListType(struct soap *soap, const char *tag, int id, enum ngwt__JunkHandlingListType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkHandlingListType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__JunkHandlingListType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__JunkHandlingListType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingListType(struct soap *soap, const char *tag, enum ngwt__JunkHandlingListType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__JunkHandlingListType **)soap_malloc(soap, sizeof(enum ngwt__JunkHandlingListType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__JunkHandlingListType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__JunkHandlingListType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingListType, sizeof(enum ngwt__JunkHandlingListType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Item(struct soap *soap, ngwt__Item *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Item))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Item(struct soap *soap, ngwt__Item *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Item);
- if (soap_out_PointerTongwt__Item(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Item(struct soap *soap, const char *tag, int id, ngwt__Item *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Item);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_get_PointerTongwt__Item(struct soap *soap, ngwt__Item **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Item(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_in_PointerTongwt__Item(struct soap *soap, const char *tag, ngwt__Item **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Item **)soap_malloc(soap, sizeof(ngwt__Item *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Item *)soap_instantiate_ngwt__Item(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Item **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Item, sizeof(ngwt__Item), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemChanges))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemChanges);
- if (soap_out_PointerTongwt__ItemChanges(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemChanges(struct soap *soap, const char *tag, int id, ngwt__ItemChanges *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemChanges);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_get_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ItemChanges(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_in_PointerTongwt__ItemChanges(struct soap *soap, const char *tag, ngwt__ItemChanges **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ItemChanges **)soap_malloc(soap, sizeof(ngwt__ItemChanges *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ItemChanges *)soap_instantiate_ngwt__ItemChanges(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ItemChanges **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemChanges, sizeof(ngwt__ItemChanges), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ImAddress))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ImAddress);
- if (soap_out_PointerTongwt__ImAddress(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddress(struct soap *soap, const char *tag, int id, ngwt__ImAddress *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ImAddress);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__ImAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddress(struct soap *soap, const char *tag, ngwt__ImAddress **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__ImAddress **)soap_malloc(soap, sizeof(ngwt__ImAddress *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__ImAddress *)soap_instantiate_ngwt__ImAddress(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__ImAddress **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddress, sizeof(ngwt__ImAddress), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__GroupMember))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__GroupMember);
- if (soap_out_PointerTongwt__GroupMember(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMember(struct soap *soap, const char *tag, int id, ngwt__GroupMember *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__GroupMember);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__GroupMember(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMember(struct soap *soap, const char *tag, ngwt__GroupMember **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__GroupMember **)soap_malloc(soap, sizeof(ngwt__GroupMember *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__GroupMember *)soap_instantiate_ngwt__GroupMember(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__GroupMember **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMember, sizeof(ngwt__GroupMember), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__GroupMemberList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__GroupMemberList);
- if (soap_out_PointerTongwt__GroupMemberList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMemberList(struct soap *soap, const char *tag, int id, ngwt__GroupMemberList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__GroupMemberList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__GroupMemberList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMemberList(struct soap *soap, const char *tag, ngwt__GroupMemberList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__GroupMemberList **)soap_malloc(soap, sizeof(ngwt__GroupMemberList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__GroupMemberList *)soap_instantiate_ngwt__GroupMemberList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__GroupMemberList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMemberList, sizeof(ngwt__GroupMemberList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyInfo);
- if (soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, ngwt__FreeBusyInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, ngwt__FreeBusyInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyInfo **)soap_malloc(soap, sizeof(ngwt__FreeBusyInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyInfo *)soap_instantiate_ngwt__FreeBusyInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__NameAndEmail))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__NameAndEmail);
- if (soap_out_PointerTongwt__NameAndEmail(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__NameAndEmail(struct soap *soap, const char *tag, int id, ngwt__NameAndEmail *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__NameAndEmail);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_get_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__NameAndEmail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_in_PointerTongwt__NameAndEmail(struct soap *soap, const char *tag, ngwt__NameAndEmail **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__NameAndEmail **)soap_malloc(soap, sizeof(ngwt__NameAndEmail *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__NameAndEmail *)soap_instantiate_ngwt__NameAndEmail(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__NameAndEmail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NameAndEmail, sizeof(ngwt__NameAndEmail), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__AcceptLevel);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AcceptLevel);
- if (soap_out_PointerTongwt__AcceptLevel(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AcceptLevel(struct soap *soap, const char *tag, int id, enum ngwt__AcceptLevel *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AcceptLevel);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__AcceptLevel(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_get_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AcceptLevel(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_in_PointerTongwt__AcceptLevel(struct soap *soap, const char *tag, enum ngwt__AcceptLevel **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__AcceptLevel **)soap_malloc(soap, sizeof(enum ngwt__AcceptLevel *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__AcceptLevel(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__AcceptLevel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AcceptLevel, sizeof(enum ngwt__AcceptLevel), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyBlock))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyBlock);
- if (soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, ngwt__FreeBusyBlock *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyBlock);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FreeBusyBlock(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, ngwt__FreeBusyBlock **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FreeBusyBlock **)soap_malloc(soap, sizeof(ngwt__FreeBusyBlock *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FreeBusyBlock *)soap_instantiate_ngwt__FreeBusyBlock(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FreeBusyBlock **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Folder(struct soap *soap, ngwt__Folder *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Folder))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Folder(struct soap *soap, ngwt__Folder *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Folder);
- if (soap_out_PointerTongwt__Folder(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Folder(struct soap *soap, const char *tag, int id, ngwt__Folder *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Folder);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_get_PointerTongwt__Folder(struct soap *soap, ngwt__Folder **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Folder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_in_PointerTongwt__Folder(struct soap *soap, const char *tag, ngwt__Folder **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Folder **)soap_malloc(soap, sizeof(ngwt__Folder *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Folder *)soap_instantiate_ngwt__Folder(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Folder **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Folder, sizeof(ngwt__Folder), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACLEntry))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACLEntry);
- if (soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, int id, ngwt__FolderACLEntry *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACLEntry);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FolderACLEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, ngwt__FolderACLEntry **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FolderACLEntry **)soap_malloc(soap, sizeof(ngwt__FolderACLEntry *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FolderACLEntry *)soap_instantiate_ngwt__FolderACLEntry(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FolderACLEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FilterElement))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FilterElement);
- if (soap_out_PointerTongwt__FilterElement(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterElement(struct soap *soap, const char *tag, int id, ngwt__FilterElement *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FilterElement);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_get_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__FilterElement(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_in_PointerTongwt__FilterElement(struct soap *soap, const char *tag, ngwt__FilterElement **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__FilterElement **)soap_malloc(soap, sizeof(ngwt__FilterElement *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__FilterElement *)soap_instantiate_ngwt__FilterElement(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__FilterElement **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterElement, sizeof(ngwt__FilterElement), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DocumentType))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DocumentType);
- if (soap_out_PointerTongwt__DocumentType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentType(struct soap *soap, const char *tag, int id, ngwt__DocumentType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DocumentType);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DocumentType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentType(struct soap *soap, const char *tag, ngwt__DocumentType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DocumentType **)soap_malloc(soap, sizeof(ngwt__DocumentType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DocumentType *)soap_instantiate_ngwt__DocumentType(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DocumentType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentType, sizeof(ngwt__DocumentType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__AgeAction);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AgeAction);
- if (soap_out_PointerTongwt__AgeAction(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AgeAction(struct soap *soap, const char *tag, int id, enum ngwt__AgeAction *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AgeAction);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__AgeAction(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_get_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AgeAction(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_in_PointerTongwt__AgeAction(struct soap *soap, const char *tag, enum ngwt__AgeAction **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__AgeAction **)soap_malloc(soap, sizeof(enum ngwt__AgeAction *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__AgeAction(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__AgeAction **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AgeAction, sizeof(enum ngwt__AgeAction), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SendOptions))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SendOptions);
- if (soap_out_PointerTongwt__SendOptions(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptions(struct soap *soap, const char *tag, int id, ngwt__SendOptions *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SendOptions);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__SendOptions(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptions(struct soap *soap, const char *tag, ngwt__SendOptions **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__SendOptions **)soap_malloc(soap, sizeof(ngwt__SendOptions *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__SendOptions *)soap_instantiate_ngwt__SendOptions(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__SendOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptions, sizeof(ngwt__SendOptions), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientList))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientList);
- if (soap_out_PointerTongwt__RecipientList(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientList(struct soap *soap, const char *tag, int id, ngwt__RecipientList *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientList);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__RecipientList(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientList(struct soap *soap, const char *tag, ngwt__RecipientList **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__RecipientList **)soap_malloc(soap, sizeof(ngwt__RecipientList *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__RecipientList *)soap_instantiate_ngwt__RecipientList(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__RecipientList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientList, sizeof(ngwt__RecipientList), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__From(struct soap *soap, ngwt__From *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__From))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__From(struct soap *soap, ngwt__From *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__From);
- if (soap_out_PointerTongwt__From(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__From(struct soap *soap, const char *tag, int id, ngwt__From *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__From);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_get_PointerTongwt__From(struct soap *soap, ngwt__From **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__From(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_in_PointerTongwt__From(struct soap *soap, const char *tag, ngwt__From **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__From **)soap_malloc(soap, sizeof(ngwt__From *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__From *)soap_instantiate_ngwt__From(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__From **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__From, sizeof(ngwt__From), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToint(struct soap *soap, int *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_int);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToint(struct soap *soap, int *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToint);
- if (soap_out_PointerToint(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToint(struct soap *soap, const char *tag, int id, int *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_int);
- if (id < 0)
- return soap->error;
- return soap_out_int(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 int ** SOAP_FMAC4 soap_get_PointerToint(struct soap *soap, int **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToint(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 int ** SOAP_FMAC4 soap_in_PointerToint(struct soap *soap, const char *tag, int **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (int **)soap_malloc(soap, sizeof(int *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_int(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (int **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_int, sizeof(int), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearWeek))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearWeek);
- if (soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, ngwt__DayOfYearWeek *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearWeek);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__DayOfYearWeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, ngwt__DayOfYearWeek **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__DayOfYearWeek **)soap_malloc(soap, sizeof(ngwt__DayOfYearWeek *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__DayOfYearWeek *)soap_instantiate_ngwt__DayOfYearWeek(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__DayOfYearWeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Custom(struct soap *soap, ngwt__Custom *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Custom))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Custom(struct soap *soap, ngwt__Custom *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Custom);
- if (soap_out_PointerTongwt__Custom(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Custom(struct soap *soap, const char *tag, int id, ngwt__Custom *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Custom);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_get_PointerTongwt__Custom(struct soap *soap, ngwt__Custom **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Custom(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_in_PointerTongwt__Custom(struct soap *soap, const char *tag, ngwt__Custom **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Custom **)soap_malloc(soap, sizeof(ngwt__Custom *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Custom *)soap_instantiate_ngwt__Custom(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Custom **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Custom, sizeof(ngwt__Custom), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_ngwt__CustomType);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CustomType);
- if (soap_out_PointerTongwt__CustomType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomType(struct soap *soap, const char *tag, int id, enum ngwt__CustomType *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CustomType);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__CustomType(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_get_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__CustomType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_in_PointerTongwt__CustomType(struct soap *soap, const char *tag, enum ngwt__CustomType **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (enum ngwt__CustomType **)soap_malloc(soap, sizeof(enum ngwt__CustomType *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__CustomType(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (enum ngwt__CustomType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomType, sizeof(enum ngwt__CustomType), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__uid(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__uid))
- soap_serialize_ngwt__uid(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__uid(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__uid);
- if (soap_out_PointerTongwt__uid(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__uid(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__uid);
- if (id < 0)
- return soap->error;
- return soap_out_ngwt__uid(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__uid(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__uid(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__uid(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_ngwt__uid(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__uid, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Category(struct soap *soap, ngwt__Category *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Category))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Category(struct soap *soap, ngwt__Category *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Category);
- if (soap_out_PointerTongwt__Category(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Category(struct soap *soap, const char *tag, int id, ngwt__Category *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Category);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_get_PointerTongwt__Category(struct soap *soap, ngwt__Category **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__Category(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_in_PointerTongwt__Category(struct soap *soap, const char *tag, ngwt__Category **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__Category **)soap_malloc(soap, sizeof(ngwt__Category *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__Category *)soap_instantiate_ngwt__Category(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__Category **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Category, sizeof(ngwt__Category), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary *const*a)
-{
- if (*a)
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__base64Binary);
- if (soap_out_PointerToxsd__base64Binary(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__base64Binary(struct soap *soap, const char *tag, int id, xsd__base64Binary *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, (struct soap_array*)&(*a)->__ptr, 1, type, SOAP_TYPE_xsd__base64Binary);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_get_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerToxsd__base64Binary(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_in_PointerToxsd__base64Binary(struct soap *soap, const char *tag, xsd__base64Binary **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (xsd__base64Binary **)soap_malloc(soap, sizeof(xsd__base64Binary *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (xsd__base64Binary *)soap_instantiate_xsd__base64Binary(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (xsd__base64Binary **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__base64Binary, sizeof(xsd__base64Binary), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedLong(struct soap *soap, unsigned long *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_unsignedLong);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedLong(struct soap *soap, unsigned long *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTounsignedLong);
- if (soap_out_PointerTounsignedLong(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedLong(struct soap *soap, const char *tag, int id, unsigned long *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedLong);
- if (id < 0)
- return soap->error;
- return soap_out_unsignedLong(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_get_PointerTounsignedLong(struct soap *soap, unsigned long **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTounsignedLong(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_in_PointerTounsignedLong(struct soap *soap, const char *tag, unsigned long **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned long **)soap_malloc(soap, sizeof(unsigned long *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_unsignedLong(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned long **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_unsignedLong, sizeof(unsigned long), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__string(struct soap *soap, std::string *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_std__string))
- soap_serialize_std__string(soap, *a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__string(struct soap *soap, std::string *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTostd__string);
- if (soap_out_PointerTostd__string(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__string(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_std__string);
- if (id < 0)
- return soap->error;
- return soap_out_std__string(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTostd__string(struct soap *soap, std::string **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTostd__string(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTostd__string(struct soap *soap, const char *tag, std::string **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_std__string(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_std__string, sizeof(std::string), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentID))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentID);
- if (soap_out_PointerTongwt__AttachmentID(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentID(struct soap *soap, const char *tag, int id, ngwt__AttachmentID *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentID);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AttachmentID(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentID(struct soap *soap, const char *tag, ngwt__AttachmentID **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AttachmentID **)soap_malloc(soap, sizeof(ngwt__AttachmentID *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AttachmentID *)soap_instantiate_ngwt__AttachmentID(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AttachmentID **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentID, sizeof(ngwt__AttachmentID), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentItemInfo))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentItemInfo);
- if (soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, ngwt__AttachmentItemInfo *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentItemInfo);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, ngwt__AttachmentItemInfo **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AttachmentItemInfo **)soap_malloc(soap, sizeof(ngwt__AttachmentItemInfo *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AttachmentItemInfo *)soap_instantiate_ngwt__AttachmentItemInfo(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AttachmentItemInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AddressBook))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AddressBook);
- if (soap_out_PointerTongwt__AddressBook(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBook(struct soap *soap, const char *tag, int id, ngwt__AddressBook *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AddressBook);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AddressBook(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBook(struct soap *soap, const char *tag, ngwt__AddressBook **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AddressBook **)soap_malloc(soap, sizeof(ngwt__AddressBook *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AddressBook *)soap_instantiate_ngwt__AddressBook(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AddressBook **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBook, sizeof(ngwt__AddressBook), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightEntry))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightEntry);
- if (soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, int id, ngwt__AccessRightEntry *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightEntry);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessRightEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, ngwt__AccessRightEntry **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessRightEntry **)soap_malloc(soap, sizeof(ngwt__AccessRightEntry *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessRightEntry *)soap_instantiate_ngwt__AccessRightEntry(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessRightEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTobool(struct soap *soap, bool *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_bool);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTobool(struct soap *soap, bool *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTobool);
- if (soap_out_PointerTobool(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTobool(struct soap *soap, const char *tag, int id, bool *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_bool);
- if (id < 0)
- return soap->error;
- return soap_out_bool(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 bool ** SOAP_FMAC4 soap_get_PointerTobool(struct soap *soap, bool **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTobool(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 bool ** SOAP_FMAC4 soap_in_PointerTobool(struct soap *soap, const char *tag, bool **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (bool **)soap_malloc(soap, sizeof(bool *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_bool(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (bool **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_bool, sizeof(bool), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *const*a)
-{
- if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessControlListEntry))
- (*a)->soap_serialize(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessControlListEntry);
- if (soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, ngwt__AccessControlListEntry *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessControlListEntry);
- if (id < 0)
- return soap->error;
- return (*a)->soap_out(soap, tag, id, type);
-}
-
-SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTongwt__AccessControlListEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, ngwt__AccessControlListEntry **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (ngwt__AccessControlListEntry **)soap_malloc(soap, sizeof(ngwt__AccessControlListEntry *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = (ngwt__AccessControlListEntry *)soap_instantiate_ngwt__AccessControlListEntry(soap, -1, soap->type, soap->arrayType, NULL)))
- return NULL;
- (*a)->soap_default(soap);
- if (!(*a)->soap_in(soap, tag, NULL))
- return NULL;
- }
- else
- { a = (ngwt__AccessControlListEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap *soap, unsigned char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_unsignedByte);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTounsignedByte);
- if (soap_out_PointerTounsignedByte(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
-{
- id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedByte);
- if (id < 0)
- return soap->error;
- return soap_out_unsignedByte(soap, tag, id, *a, type);
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap *soap, unsigned char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_PointerTounsignedByte(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap *soap, const char *tag, unsigned char **a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a)
- if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
- return NULL;
- *a = NULL;
- if (!soap->null && *soap->href != '#')
- { soap_revert(soap);
- if (!(*a = soap_in_unsignedByte(soap, tag, *a, type)))
- return NULL;
- }
- else
- { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_unsignedByte, sizeof(unsigned char), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- }
- return a;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default__TQName(struct soap *soap, char **a)
-{ soap_default_string(soap, a);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__TQName(struct soap *soap, char *const*a)
-{ soap_serialize_string(soap, a);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put__TQName(struct soap *soap, char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE__TQName);
- if (soap_out__TQName(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__TQName(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
-{
- return soap_outstring(soap, tag, id, a, type, SOAP_TYPE__TQName);
-}
-
-SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__TQName(struct soap *soap, char **p, const char *tag, const char *type)
-{
- if ((p = soap_in__TQName(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__TQName(struct soap *soap, const char *tag, char **a, const char *type)
-{
- return soap_instring(soap, tag, a, type, SOAP_TYPE__TQName, 2, 0, -1);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a)
-{
-(void)soap; /* appease -Wall -Werror */
-#ifdef SOAP_DEFAULT_string
- *a = SOAP_DEFAULT_string;
-#else
- *a = (char *)0;
-#endif
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
-{
- soap_reference(soap, *a, SOAP_TYPE_string);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_string);
- if (soap_out_string(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
-{
- return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_string);
-}
-
-SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type)
-{
- if ((p = soap_in_string(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type)
-{
- return soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, 0, -1);
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const std::vector<ngwt__FilterElement * >*a)
-{
- for (std::vector<ngwt__FilterElement * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__FilterElement(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector<ngwt__FilterElement * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const std::vector<ngwt__FilterElement * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement);
- if (soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const char *tag, int id, const std::vector<ngwt__FilterElement * >*a, const char *type)
-{
- for (std::vector<ngwt__FilterElement * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__FilterElement(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FilterElement * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector<ngwt__FilterElement * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FilterElement * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const char *tag, std::vector<ngwt__FilterElement * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(soap, -1)))
- return NULL;
- ngwt__FilterElement *n;
- ngwt__FilterElement **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FilterElement, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement, sizeof(ngwt__FilterElement), 1))
- break;
- if (!(p = soap_in_PointerTongwt__FilterElement(soap, tag, NULL, "ngwt:FilterElement")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__FilterElement(soap, tag, &n, "ngwt:FilterElement"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__FilterElement * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector<ngwt__FilterElement * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__FilterElement * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__FilterElement * >;
- if (size)
- *size = sizeof(std::vector<ngwt__FilterElement * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__FilterElement * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__FilterElement * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__FilterElement * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__FilterElement * > %p -> %p\n", q, p));
- *(std::vector<ngwt__FilterElement * >*)p = *(std::vector<ngwt__FilterElement * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const std::vector<ngwt__ContainerRef * >*a)
-{
- for (std::vector<ngwt__ContainerRef * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__ContainerRef(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector<ngwt__ContainerRef * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const std::vector<ngwt__ContainerRef * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef);
- if (soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const char *tag, int id, const std::vector<ngwt__ContainerRef * >*a, const char *type)
-{
- for (std::vector<ngwt__ContainerRef * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__ContainerRef(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ContainerRef * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector<ngwt__ContainerRef * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ContainerRef * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const char *tag, std::vector<ngwt__ContainerRef * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, -1)))
- return NULL;
- ngwt__ContainerRef *n;
- ngwt__ContainerRef **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ContainerRef, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef, sizeof(ngwt__ContainerRef), 1))
- break;
- if (!(p = soap_in_PointerTongwt__ContainerRef(soap, tag, NULL, "ngwt:ContainerRef")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__ContainerRef(soap, tag, &n, "ngwt:ContainerRef"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__ContainerRef * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector<ngwt__ContainerRef * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__ContainerRef * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__ContainerRef * >;
- if (size)
- *size = sizeof(std::vector<ngwt__ContainerRef * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__ContainerRef * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__ContainerRef * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__ContainerRef * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__ContainerRef * > %p -> %p\n", q, p));
- *(std::vector<ngwt__ContainerRef * >*)p = *(std::vector<ngwt__ContainerRef * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwe__EventType(struct soap *soap, const std::vector<enum ngwe__EventType >*a)
-{
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector<enum ngwe__EventType >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwe__EventType(struct soap *soap, const std::vector<enum ngwe__EventType >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwe__EventType);
- if (soap_out_std__vectorTemplateOfngwe__EventType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwe__EventType(struct soap *soap, const char *tag, int id, const std::vector<enum ngwe__EventType >*a, const char *type)
-{
- for (std::vector<enum ngwe__EventType >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwe__EventType(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<enum ngwe__EventType >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector<enum ngwe__EventType >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwe__EventType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<enum ngwe__EventType >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwe__EventType(struct soap *soap, const char *tag, std::vector<enum ngwe__EventType >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwe__EventType(soap, -1)))
- return NULL;
- enum ngwe__EventType n;
- enum ngwe__EventType *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__EventType, SOAP_TYPE_std__vectorTemplateOfngwe__EventType, sizeof(enum ngwe__EventType), 0))
- break;
- if (!(p = soap_in_ngwe__EventType(soap, tag, NULL, "")))
- break;
- }
- else
- { soap_default_ngwe__EventType(soap, &n);
- if (!soap_in_ngwe__EventType(soap, tag, &n, ""))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<enum ngwe__EventType > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwe__EventType(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwe__EventType(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector<enum ngwe__EventType >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<enum ngwe__EventType > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwe__EventType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwe__EventType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwe__EventType, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<enum ngwe__EventType >;
- if (size)
- *size = sizeof(std::vector<enum ngwe__EventType >);
- }
- else
- { cp->ptr = (void*)new std::vector<enum ngwe__EventType >[n];
- if (size)
- *size = n * sizeof(std::vector<enum ngwe__EventType >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<enum ngwe__EventType >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwe__EventType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<enum ngwe__EventType > %p -> %p\n", q, p));
- *(std::vector<enum ngwe__EventType >*)p = *(std::vector<enum ngwe__EventType >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const std::vector<ngwe__Events * >*a)
-{
- for (std::vector<ngwe__Events * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwe__Events(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector<ngwe__Events * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const std::vector<ngwe__Events * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events);
- if (soap_out_std__vectorTemplateOfPointerTongwe__Events(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const char *tag, int id, const std::vector<ngwe__Events * >*a, const char *type)
-{
- for (std::vector<ngwe__Events * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwe__Events(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwe__Events * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector<ngwe__Events * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwe__Events(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwe__Events * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const char *tag, std::vector<ngwe__Events * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwe__Events(soap, -1)))
- return NULL;
- ngwe__Events *n;
- ngwe__Events **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__Events, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events, sizeof(ngwe__Events), 1))
- break;
- if (!(p = soap_in_PointerTongwe__Events(soap, tag, NULL, "ngwe:Events")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwe__Events(soap, tag, &n, "ngwe:Events"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwe__Events * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector<ngwe__Events * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwe__Events * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwe__Events * >;
- if (size)
- *size = sizeof(std::vector<ngwe__Events * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwe__Events * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwe__Events * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwe__Events * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwe__Events * > %p -> %p\n", q, p));
- *(std::vector<ngwe__Events * >*)p = *(std::vector<ngwe__Events * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const std::vector<ngwe__Event * >*a)
-{
- for (std::vector<ngwe__Event * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwe__Event(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector<ngwe__Event * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const std::vector<ngwe__Event * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event);
- if (soap_out_std__vectorTemplateOfPointerTongwe__Event(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const char *tag, int id, const std::vector<ngwe__Event * >*a, const char *type)
-{
- for (std::vector<ngwe__Event * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwe__Event(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwe__Event * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector<ngwe__Event * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwe__Event(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwe__Event * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const char *tag, std::vector<ngwe__Event * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwe__Event(soap, -1)))
- return NULL;
- ngwe__Event *n;
- ngwe__Event **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__Event, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event, sizeof(ngwe__Event), 1))
- break;
- if (!(p = soap_in_PointerTongwe__Event(soap, tag, NULL, "ngwe:Event")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwe__Event(soap, tag, &n, "ngwe:Event"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwe__Event * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector<ngwe__Event * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwe__Event * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwe__Event * >;
- if (size)
- *size = sizeof(std::vector<ngwe__Event * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwe__Event * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwe__Event * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwe__Event * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwe__Event * > %p -> %p\n", q, p));
- *(std::vector<ngwe__Event * >*)p = *(std::vector<ngwe__Event * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstring(struct soap *soap, const std::vector<char * >*a)
-{
- for (std::vector<char * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_string(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstring(struct soap *soap, std::vector<char * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstring(struct soap *soap, const std::vector<char * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfstring);
- if (soap_out_std__vectorTemplateOfstring(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstring(struct soap *soap, const char *tag, int id, const std::vector<char * >*a, const char *type)
-{
- for (std::vector<char * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_string(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<char * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfstring(struct soap *soap, std::vector<char * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfstring(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<char * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfstring(struct soap *soap, const char *tag, std::vector<char * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfstring(soap, -1)))
- return NULL;
- char *n;
- char **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_byte, SOAP_TYPE_std__vectorTemplateOfstring, sizeof(char), 1))
- break;
- if (!(p = soap_in_string(soap, tag, NULL, "")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_string(soap, tag, &n, ""))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<char * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfstring(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfstring(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstring(struct soap *soap, std::vector<char * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<char * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstring(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfstring(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfstring, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<char * >;
- if (size)
- *size = sizeof(std::vector<char * >);
- }
- else
- { cp->ptr = (void*)new std::vector<char * >[n];
- if (size)
- *size = n * sizeof(std::vector<char * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<char * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstring(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<char * > %p -> %p\n", q, p));
- *(std::vector<char * >*)p = *(std::vector<char * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const std::vector<ngwt__ModifyItem * >*a)
-{
- for (std::vector<ngwt__ModifyItem * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__ModifyItem(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector<ngwt__ModifyItem * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const std::vector<ngwt__ModifyItem * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem);
- if (soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const char *tag, int id, const std::vector<ngwt__ModifyItem * >*a, const char *type)
-{
- for (std::vector<ngwt__ModifyItem * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__ModifyItem(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ModifyItem * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector<ngwt__ModifyItem * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ModifyItem * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const char *tag, std::vector<ngwt__ModifyItem * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, -1)))
- return NULL;
- ngwt__ModifyItem *n;
- ngwt__ModifyItem **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ModifyItem, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem, sizeof(ngwt__ModifyItem), 1))
- break;
- if (!(p = soap_in_PointerTongwt__ModifyItem(soap, tag, NULL, "ngwt:ModifyItem")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__ModifyItem(soap, tag, &n, "ngwt:ModifyItem"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__ModifyItem * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector<ngwt__ModifyItem * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__ModifyItem * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__ModifyItem * >;
- if (size)
- *size = sizeof(std::vector<ngwt__ModifyItem * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__ModifyItem * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__ModifyItem * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__ModifyItem * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__ModifyItem * > %p -> %p\n", q, p));
- *(std::vector<ngwt__ModifyItem * >*)p = *(std::vector<ngwt__ModifyItem * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const std::vector<ngwt__Host * >*a)
-{
- for (std::vector<ngwt__Host * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Host(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector<ngwt__Host * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const std::vector<ngwt__Host * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Host(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Host * >*a, const char *type)
-{
- for (std::vector<ngwt__Host * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Host(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Host * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector<ngwt__Host * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Host(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Host * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const char *tag, std::vector<ngwt__Host * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Host(soap, -1)))
- return NULL;
- ngwt__Host *n;
- ngwt__Host **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Host, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host, sizeof(ngwt__Host), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Host(soap, tag, NULL, "ngwt:Host")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Host(soap, tag, &n, "ngwt:Host"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Host * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector<ngwt__Host * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Host * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Host * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Host * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Host * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Host * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Host * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Host * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Host * >*)p = *(std::vector<ngwt__Host * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const std::vector<ngwt__UserInfo * >*a)
-{
- for (std::vector<ngwt__UserInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__UserInfo(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector<ngwt__UserInfo * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const std::vector<ngwt__UserInfo * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo);
- if (soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const char *tag, int id, const std::vector<ngwt__UserInfo * >*a, const char *type)
-{
- for (std::vector<ngwt__UserInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__UserInfo(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__UserInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector<ngwt__UserInfo * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__UserInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const char *tag, std::vector<ngwt__UserInfo * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(soap, -1)))
- return NULL;
- ngwt__UserInfo *n;
- ngwt__UserInfo **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__UserInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo, sizeof(ngwt__UserInfo), 1))
- break;
- if (!(p = soap_in_PointerTongwt__UserInfo(soap, tag, NULL, "ngwt:UserInfo")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__UserInfo(soap, tag, &n, "ngwt:UserInfo"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__UserInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector<ngwt__UserInfo * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__UserInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__UserInfo * >;
- if (size)
- *size = sizeof(std::vector<ngwt__UserInfo * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__UserInfo * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__UserInfo * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__UserInfo * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__UserInfo * > %p -> %p\n", q, p));
- *(std::vector<ngwt__UserInfo * >*)p = *(std::vector<ngwt__UserInfo * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const std::vector<ngwt__Timezone * >*a)
-{
- for (std::vector<ngwt__Timezone * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Timezone(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector<ngwt__Timezone * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const std::vector<ngwt__Timezone * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Timezone(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Timezone * >*a, const char *type)
-{
- for (std::vector<ngwt__Timezone * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Timezone(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Timezone * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector<ngwt__Timezone * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Timezone(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Timezone * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const char *tag, std::vector<ngwt__Timezone * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Timezone(soap, -1)))
- return NULL;
- ngwt__Timezone *n;
- ngwt__Timezone **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Timezone, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone, sizeof(ngwt__Timezone), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Timezone(soap, tag, NULL, "ngwt:Timezone")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Timezone(soap, tag, &n, "ngwt:Timezone"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Timezone * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector<ngwt__Timezone * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Timezone * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Timezone * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Timezone * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Timezone * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Timezone * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Timezone * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Timezone * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Timezone * >*)p = *(std::vector<ngwt__Timezone * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const std::vector<ngwt__Signature * >*a)
-{
- for (std::vector<ngwt__Signature * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Signature(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector<ngwt__Signature * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const std::vector<ngwt__Signature * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Signature(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Signature * >*a, const char *type)
-{
- for (std::vector<ngwt__Signature * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Signature(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Signature * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector<ngwt__Signature * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Signature(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Signature * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const char *tag, std::vector<ngwt__Signature * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Signature(soap, -1)))
- return NULL;
- ngwt__Signature *n;
- ngwt__Signature **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Signature, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature, sizeof(ngwt__Signature), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Signature(soap, tag, NULL, "ngwt:Signature")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Signature(soap, tag, &n, "ngwt:Signature"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Signature * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector<ngwt__Signature * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Signature * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Signature * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Signature * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Signature * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Signature * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Signature * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Signature * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Signature * >*)p = *(std::vector<ngwt__Signature * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const std::vector<ngwt__SettingsGroup * >*a)
-{
- for (std::vector<ngwt__SettingsGroup * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__SettingsGroup(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector<ngwt__SettingsGroup * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const std::vector<ngwt__SettingsGroup * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup);
- if (soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const char *tag, int id, const std::vector<ngwt__SettingsGroup * >*a, const char *type)
-{
- for (std::vector<ngwt__SettingsGroup * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__SettingsGroup(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__SettingsGroup * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector<ngwt__SettingsGroup * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__SettingsGroup * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const char *tag, std::vector<ngwt__SettingsGroup * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, -1)))
- return NULL;
- ngwt__SettingsGroup *n;
- ngwt__SettingsGroup **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__SettingsGroup, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup, sizeof(ngwt__SettingsGroup), 1))
- break;
- if (!(p = soap_in_PointerTongwt__SettingsGroup(soap, tag, NULL, "ngwt:SettingsGroup")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__SettingsGroup(soap, tag, &n, "ngwt:SettingsGroup"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__SettingsGroup * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector<ngwt__SettingsGroup * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__SettingsGroup * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__SettingsGroup * >;
- if (size)
- *size = sizeof(std::vector<ngwt__SettingsGroup * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__SettingsGroup * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__SettingsGroup * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__SettingsGroup * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__SettingsGroup * > %p -> %p\n", q, p));
- *(std::vector<ngwt__SettingsGroup * >*)p = *(std::vector<ngwt__SettingsGroup * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const std::vector<ngwt__Rule * >*a)
-{
- for (std::vector<ngwt__Rule * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Rule(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector<ngwt__Rule * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const std::vector<ngwt__Rule * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Rule(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Rule * >*a, const char *type)
-{
- for (std::vector<ngwt__Rule * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Rule(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Rule * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector<ngwt__Rule * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Rule(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Rule * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const char *tag, std::vector<ngwt__Rule * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Rule(soap, -1)))
- return NULL;
- ngwt__Rule *n;
- ngwt__Rule **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Rule, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule, sizeof(ngwt__Rule), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Rule(soap, tag, NULL, "ngwt:Rule")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Rule(soap, tag, &n, "ngwt:Rule"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Rule * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector<ngwt__Rule * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Rule * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Rule * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Rule * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Rule * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Rule * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Rule * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Rule * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Rule * >*)p = *(std::vector<ngwt__Rule * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const std::vector<ngwt__RuleAction * >*a)
-{
- for (std::vector<ngwt__RuleAction * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__RuleAction(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector<ngwt__RuleAction * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const std::vector<ngwt__RuleAction * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction);
- if (soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const char *tag, int id, const std::vector<ngwt__RuleAction * >*a, const char *type)
-{
- for (std::vector<ngwt__RuleAction * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__RuleAction(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__RuleAction * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector<ngwt__RuleAction * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__RuleAction * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const char *tag, std::vector<ngwt__RuleAction * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(soap, -1)))
- return NULL;
- ngwt__RuleAction *n;
- ngwt__RuleAction **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__RuleAction, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction, sizeof(ngwt__RuleAction), 1))
- break;
- if (!(p = soap_in_PointerTongwt__RuleAction(soap, tag, NULL, "ngwt:RuleAction")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__RuleAction(soap, tag, &n, "ngwt:RuleAction"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__RuleAction * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector<ngwt__RuleAction * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__RuleAction * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__RuleAction * >;
- if (size)
- *size = sizeof(std::vector<ngwt__RuleAction * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__RuleAction * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__RuleAction * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__RuleAction * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__RuleAction * > %p -> %p\n", q, p));
- *(std::vector<ngwt__RuleAction * >*)p = *(std::vector<ngwt__RuleAction * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfxsd__date(struct soap *soap, const std::vector<std::string >*a)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_xsd__date(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector<std::string >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfxsd__date(struct soap *soap, const std::vector<std::string >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfxsd__date);
- if (soap_out_std__vectorTemplateOfxsd__date(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfxsd__date(struct soap *soap, const char *tag, int id, const std::vector<std::string >*a, const char *type)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_xsd__date(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector<std::string >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfxsd__date(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfxsd__date(struct soap *soap, const char *tag, std::vector<std::string >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfxsd__date(soap, -1)))
- return NULL;
- std::string n;
- std::string *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_xsd__date, SOAP_TYPE_std__vectorTemplateOfxsd__date, sizeof(std::string), 0))
- break;
- if (!(p = soap_in_xsd__date(soap, tag, NULL, "xsd:date")))
- break;
- }
- else
- { soap_default_xsd__date(soap, &n);
- if (!soap_in_xsd__date(soap, tag, &n, "xsd:date"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfxsd__date(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfxsd__date(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector<std::string >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfxsd__date(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfxsd__date(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfxsd__date, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<std::string >;
- if (size)
- *size = sizeof(std::vector<std::string >);
- }
- else
- { cp->ptr = (void*)new std::vector<std::string >[n];
- if (size)
- *size = n * sizeof(std::vector<std::string >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<std::string >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfxsd__date(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<std::string > %p -> %p\n", q, p));
- *(std::vector<std::string >*)p = *(std::vector<std::string >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const std::vector<ngwt__DelegateeStatus * >*a)
-{
- for (std::vector<ngwt__DelegateeStatus * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__DelegateeStatus(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector<ngwt__DelegateeStatus * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const std::vector<ngwt__DelegateeStatus * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus);
- if (soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, int id, const std::vector<ngwt__DelegateeStatus * >*a, const char *type)
-{
- for (std::vector<ngwt__DelegateeStatus * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DelegateeStatus * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector<ngwt__DelegateeStatus * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DelegateeStatus * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, std::vector<ngwt__DelegateeStatus * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, -1)))
- return NULL;
- ngwt__DelegateeStatus *n;
- ngwt__DelegateeStatus **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DelegateeStatus, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), 1))
- break;
- if (!(p = soap_in_PointerTongwt__DelegateeStatus(soap, tag, NULL, "ngwt:DelegateeStatus")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__DelegateeStatus(soap, tag, &n, "ngwt:DelegateeStatus"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__DelegateeStatus * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector<ngwt__DelegateeStatus * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__DelegateeStatus * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__DelegateeStatus * >;
- if (size)
- *size = sizeof(std::vector<ngwt__DelegateeStatus * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__DelegateeStatus * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__DelegateeStatus * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__DelegateeStatus * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__DelegateeStatus * > %p -> %p\n", q, p));
- *(std::vector<ngwt__DelegateeStatus * >*)p = *(std::vector<ngwt__DelegateeStatus * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const std::vector<ngwt__Recipient * >*a)
-{
- for (std::vector<ngwt__Recipient * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Recipient(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector<ngwt__Recipient * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const std::vector<ngwt__Recipient * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Recipient(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Recipient * >*a, const char *type)
-{
- for (std::vector<ngwt__Recipient * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Recipient(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Recipient * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector<ngwt__Recipient * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Recipient(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Recipient * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const char *tag, std::vector<ngwt__Recipient * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Recipient(soap, -1)))
- return NULL;
- ngwt__Recipient *n;
- ngwt__Recipient **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Recipient, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient, sizeof(ngwt__Recipient), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Recipient(soap, tag, NULL, "ngwt:Recipient")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Recipient(soap, tag, &n, "ngwt:Recipient"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Recipient * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector<ngwt__Recipient * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Recipient * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Recipient * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Recipient * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Recipient * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Recipient * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Recipient * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Recipient * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Recipient * >*)p = *(std::vector<ngwt__Recipient * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const std::vector<ngwt__ProxyUser * >*a)
-{
- for (std::vector<ngwt__ProxyUser * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__ProxyUser(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector<ngwt__ProxyUser * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const std::vector<ngwt__ProxyUser * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser);
- if (soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const char *tag, int id, const std::vector<ngwt__ProxyUser * >*a, const char *type)
-{
- for (std::vector<ngwt__ProxyUser * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__ProxyUser(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ProxyUser * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector<ngwt__ProxyUser * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ProxyUser * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const char *tag, std::vector<ngwt__ProxyUser * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, -1)))
- return NULL;
- ngwt__ProxyUser *n;
- ngwt__ProxyUser **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ProxyUser, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser, sizeof(ngwt__ProxyUser), 1))
- break;
- if (!(p = soap_in_PointerTongwt__ProxyUser(soap, tag, NULL, "ngwt:ProxyUser")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__ProxyUser(soap, tag, &n, "ngwt:ProxyUser"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__ProxyUser * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector<ngwt__ProxyUser * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__ProxyUser * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__ProxyUser * >;
- if (size)
- *size = sizeof(std::vector<ngwt__ProxyUser * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__ProxyUser * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__ProxyUser * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__ProxyUser * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__ProxyUser * > %p -> %p\n", q, p));
- *(std::vector<ngwt__ProxyUser * >*)p = *(std::vector<ngwt__ProxyUser * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const std::vector<ngwt__ProblemEntry * >*a)
-{
- for (std::vector<ngwt__ProblemEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__ProblemEntry(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector<ngwt__ProblemEntry * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const std::vector<ngwt__ProblemEntry * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry);
- if (soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const char *tag, int id, const std::vector<ngwt__ProblemEntry * >*a, const char *type)
-{
- for (std::vector<ngwt__ProblemEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__ProblemEntry(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ProblemEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector<ngwt__ProblemEntry * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ProblemEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const char *tag, std::vector<ngwt__ProblemEntry * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, -1)))
- return NULL;
- ngwt__ProblemEntry *n;
- ngwt__ProblemEntry **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ProblemEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry, sizeof(ngwt__ProblemEntry), 1))
- break;
- if (!(p = soap_in_PointerTongwt__ProblemEntry(soap, tag, NULL, "ngwt:ProblemEntry")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__ProblemEntry(soap, tag, &n, "ngwt:ProblemEntry"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__ProblemEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector<ngwt__ProblemEntry * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__ProblemEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__ProblemEntry * >;
- if (size)
- *size = sizeof(std::vector<ngwt__ProblemEntry * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__ProblemEntry * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__ProblemEntry * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__ProblemEntry * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__ProblemEntry * > %p -> %p\n", q, p));
- *(std::vector<ngwt__ProblemEntry * >*)p = *(std::vector<ngwt__ProblemEntry * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const std::vector<ngwt__PostalAddress * >*a)
-{
- for (std::vector<ngwt__PostalAddress * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__PostalAddress(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector<ngwt__PostalAddress * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const std::vector<ngwt__PostalAddress * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress);
- if (soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const char *tag, int id, const std::vector<ngwt__PostalAddress * >*a, const char *type)
-{
- for (std::vector<ngwt__PostalAddress * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__PostalAddress(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__PostalAddress * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector<ngwt__PostalAddress * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__PostalAddress * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const char *tag, std::vector<ngwt__PostalAddress * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, -1)))
- return NULL;
- ngwt__PostalAddress *n;
- ngwt__PostalAddress **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__PostalAddress, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress, sizeof(ngwt__PostalAddress), 1))
- break;
- if (!(p = soap_in_PointerTongwt__PostalAddress(soap, tag, NULL, "ngwt:PostalAddress")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__PostalAddress(soap, tag, &n, "ngwt:PostalAddress"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__PostalAddress * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector<ngwt__PostalAddress * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__PostalAddress * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__PostalAddress * >;
- if (size)
- *size = sizeof(std::vector<ngwt__PostalAddress * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__PostalAddress * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__PostalAddress * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__PostalAddress * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__PostalAddress * > %p -> %p\n", q, p));
- *(std::vector<ngwt__PostalAddress * >*)p = *(std::vector<ngwt__PostalAddress * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const std::vector<ngwt__PhoneNumber * >*a)
-{
- for (std::vector<ngwt__PhoneNumber * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__PhoneNumber(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector<ngwt__PhoneNumber * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const std::vector<ngwt__PhoneNumber * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber);
- if (soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const char *tag, int id, const std::vector<ngwt__PhoneNumber * >*a, const char *type)
-{
- for (std::vector<ngwt__PhoneNumber * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__PhoneNumber(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__PhoneNumber * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector<ngwt__PhoneNumber * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__PhoneNumber * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const char *tag, std::vector<ngwt__PhoneNumber * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, -1)))
- return NULL;
- ngwt__PhoneNumber *n;
- ngwt__PhoneNumber **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__PhoneNumber, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber, sizeof(ngwt__PhoneNumber), 1))
- break;
- if (!(p = soap_in_PointerTongwt__PhoneNumber(soap, tag, NULL, "ngwt:PhoneNumber")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__PhoneNumber(soap, tag, &n, "ngwt:PhoneNumber"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__PhoneNumber * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector<ngwt__PhoneNumber * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__PhoneNumber * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__PhoneNumber * >;
- if (size)
- *size = sizeof(std::vector<ngwt__PhoneNumber * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__PhoneNumber * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__PhoneNumber * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__PhoneNumber * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__PhoneNumber * > %p -> %p\n", q, p));
- *(std::vector<ngwt__PhoneNumber * >*)p = *(std::vector<ngwt__PhoneNumber * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__Month(struct soap *soap, const std::vector<unsigned char >*a)
-{
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector<unsigned char >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__Month(struct soap *soap, const std::vector<unsigned char >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__Month);
- if (soap_out_std__vectorTemplateOfngwt__Month(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__Month(struct soap *soap, const char *tag, int id, const std::vector<unsigned char >*a, const char *type)
-{
- for (std::vector<unsigned char >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwt__Month(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<unsigned char >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector<unsigned char >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwt__Month(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<unsigned char >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__Month(struct soap *soap, const char *tag, std::vector<unsigned char >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwt__Month(soap, -1)))
- return NULL;
- unsigned char n;
- unsigned char *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Month, SOAP_TYPE_std__vectorTemplateOfngwt__Month, sizeof(unsigned char), 0))
- break;
- if (!(p = soap_in_ngwt__Month(soap, tag, NULL, "ngwt:Month")))
- break;
- }
- else
- { soap_default_ngwt__Month(soap, &n);
- if (!soap_in_ngwt__Month(soap, tag, &n, "ngwt:Month"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<unsigned char > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__Month(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwt__Month(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector<unsigned char >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<unsigned char > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__Month(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__Month(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__Month, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<unsigned char >;
- if (size)
- *size = sizeof(std::vector<unsigned char >);
- }
- else
- { cp->ptr = (void*)new std::vector<unsigned char >[n];
- if (size)
- *size = n * sizeof(std::vector<unsigned char >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<unsigned char >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__Month(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<unsigned char > %p -> %p\n", q, p));
- *(std::vector<unsigned char >*)p = *(std::vector<unsigned char >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const std::vector<ngwt__MessagePart * >*a)
-{
- for (std::vector<ngwt__MessagePart * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__MessagePart(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector<ngwt__MessagePart * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const std::vector<ngwt__MessagePart * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart);
- if (soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const char *tag, int id, const std::vector<ngwt__MessagePart * >*a, const char *type)
-{
- for (std::vector<ngwt__MessagePart * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__MessagePart(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__MessagePart * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector<ngwt__MessagePart * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__MessagePart * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const char *tag, std::vector<ngwt__MessagePart * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(soap, -1)))
- return NULL;
- ngwt__MessagePart *n;
- ngwt__MessagePart **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__MessagePart, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart, sizeof(ngwt__MessagePart), 1))
- break;
- if (!(p = soap_in_PointerTongwt__MessagePart(soap, tag, NULL, "ngwt:MessagePart")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__MessagePart(soap, tag, &n, "ngwt:MessagePart"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__MessagePart * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector<ngwt__MessagePart * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__MessagePart * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__MessagePart * >;
- if (size)
- *size = sizeof(std::vector<ngwt__MessagePart * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__MessagePart * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__MessagePart * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__MessagePart * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__MessagePart * > %p -> %p\n", q, p));
- *(std::vector<ngwt__MessagePart * >*)p = *(std::vector<ngwt__MessagePart * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const std::vector<ngwt__Library * >*a)
-{
- for (std::vector<ngwt__Library * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Library(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector<ngwt__Library * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const std::vector<ngwt__Library * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Library(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Library * >*a, const char *type)
-{
- for (std::vector<ngwt__Library * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Library(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Library * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector<ngwt__Library * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Library(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Library * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const char *tag, std::vector<ngwt__Library * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Library(soap, -1)))
- return NULL;
- ngwt__Library *n;
- ngwt__Library **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Library, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library, sizeof(ngwt__Library), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Library(soap, tag, NULL, "ngwt:Library")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Library(soap, tag, &n, "ngwt:Library"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Library * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector<ngwt__Library * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Library * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Library * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Library * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Library * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Library * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Library * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Library * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Library * >*)p = *(std::vector<ngwt__Library * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const std::vector<ngwt__JunkEntry * >*a)
-{
- for (std::vector<ngwt__JunkEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__JunkEntry(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector<ngwt__JunkEntry * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const std::vector<ngwt__JunkEntry * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry);
- if (soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const char *tag, int id, const std::vector<ngwt__JunkEntry * >*a, const char *type)
-{
- for (std::vector<ngwt__JunkEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__JunkEntry(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__JunkEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector<ngwt__JunkEntry * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__JunkEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const char *tag, std::vector<ngwt__JunkEntry * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, -1)))
- return NULL;
- ngwt__JunkEntry *n;
- ngwt__JunkEntry **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__JunkEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry, sizeof(ngwt__JunkEntry), 1))
- break;
- if (!(p = soap_in_PointerTongwt__JunkEntry(soap, tag, NULL, "ngwt:JunkEntry")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__JunkEntry(soap, tag, &n, "ngwt:JunkEntry"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__JunkEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector<ngwt__JunkEntry * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__JunkEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__JunkEntry * >;
- if (size)
- *size = sizeof(std::vector<ngwt__JunkEntry * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__JunkEntry * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__JunkEntry * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__JunkEntry * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__JunkEntry * > %p -> %p\n", q, p));
- *(std::vector<ngwt__JunkEntry * >*)p = *(std::vector<ngwt__JunkEntry * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const std::vector<ngwt__Item * >*a)
-{
- for (std::vector<ngwt__Item * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Item(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector<ngwt__Item * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const std::vector<ngwt__Item * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Item * >*a, const char *type)
-{
- for (std::vector<ngwt__Item * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Item(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Item * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector<ngwt__Item * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Item * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const char *tag, std::vector<ngwt__Item * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Item(soap, -1)))
- return NULL;
- ngwt__Item *n;
- ngwt__Item **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Item, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item, sizeof(ngwt__Item), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Item(soap, tag, NULL, "ngwt:Item")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Item(soap, tag, &n, "ngwt:Item"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Item * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector<ngwt__Item * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Item * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Item * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Item * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Item * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Item * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Item * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Item * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Item * >*)p = *(std::vector<ngwt__Item * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const std::vector<ngwt__ImAddress * >*a)
-{
- for (std::vector<ngwt__ImAddress * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__ImAddress(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector<ngwt__ImAddress * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const std::vector<ngwt__ImAddress * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress);
- if (soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const char *tag, int id, const std::vector<ngwt__ImAddress * >*a, const char *type)
-{
- for (std::vector<ngwt__ImAddress * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__ImAddress(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ImAddress * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector<ngwt__ImAddress * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__ImAddress * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const char *tag, std::vector<ngwt__ImAddress * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(soap, -1)))
- return NULL;
- ngwt__ImAddress *n;
- ngwt__ImAddress **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ImAddress, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress, sizeof(ngwt__ImAddress), 1))
- break;
- if (!(p = soap_in_PointerTongwt__ImAddress(soap, tag, NULL, "ngwt:ImAddress")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__ImAddress(soap, tag, &n, "ngwt:ImAddress"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__ImAddress * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector<ngwt__ImAddress * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__ImAddress * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__ImAddress * >;
- if (size)
- *size = sizeof(std::vector<ngwt__ImAddress * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__ImAddress * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__ImAddress * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__ImAddress * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__ImAddress * > %p -> %p\n", q, p));
- *(std::vector<ngwt__ImAddress * >*)p = *(std::vector<ngwt__ImAddress * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const std::vector<ngwt__GroupMember * >*a)
-{
- for (std::vector<ngwt__GroupMember * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__GroupMember(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector<ngwt__GroupMember * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const std::vector<ngwt__GroupMember * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember);
- if (soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const char *tag, int id, const std::vector<ngwt__GroupMember * >*a, const char *type)
-{
- for (std::vector<ngwt__GroupMember * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__GroupMember(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__GroupMember * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector<ngwt__GroupMember * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__GroupMember * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const char *tag, std::vector<ngwt__GroupMember * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(soap, -1)))
- return NULL;
- ngwt__GroupMember *n;
- ngwt__GroupMember **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__GroupMember, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember, sizeof(ngwt__GroupMember), 1))
- break;
- if (!(p = soap_in_PointerTongwt__GroupMember(soap, tag, NULL, "ngwt:GroupMember")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__GroupMember(soap, tag, &n, "ngwt:GroupMember"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__GroupMember * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector<ngwt__GroupMember * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__GroupMember * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__GroupMember * >;
- if (size)
- *size = sizeof(std::vector<ngwt__GroupMember * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__GroupMember * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__GroupMember * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__GroupMember * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__GroupMember * > %p -> %p\n", q, p));
- *(std::vector<ngwt__GroupMember * >*)p = *(std::vector<ngwt__GroupMember * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const std::vector<ngwt__FreeBusyInfo * >*a)
-{
- for (std::vector<ngwt__FreeBusyInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__FreeBusyInfo(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector<ngwt__FreeBusyInfo * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const std::vector<ngwt__FreeBusyInfo * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo);
- if (soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, const std::vector<ngwt__FreeBusyInfo * >*a, const char *type)
-{
- for (std::vector<ngwt__FreeBusyInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FreeBusyInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector<ngwt__FreeBusyInfo * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FreeBusyInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, std::vector<ngwt__FreeBusyInfo * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, -1)))
- return NULL;
- ngwt__FreeBusyInfo *n;
- ngwt__FreeBusyInfo **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FreeBusyInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), 1))
- break;
- if (!(p = soap_in_PointerTongwt__FreeBusyInfo(soap, tag, NULL, "ngwt:FreeBusyInfo")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__FreeBusyInfo(soap, tag, &n, "ngwt:FreeBusyInfo"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__FreeBusyInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector<ngwt__FreeBusyInfo * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__FreeBusyInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__FreeBusyInfo * >;
- if (size)
- *size = sizeof(std::vector<ngwt__FreeBusyInfo * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__FreeBusyInfo * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__FreeBusyInfo * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__FreeBusyInfo * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__FreeBusyInfo * > %p -> %p\n", q, p));
- *(std::vector<ngwt__FreeBusyInfo * >*)p = *(std::vector<ngwt__FreeBusyInfo * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const std::vector<ngwt__NameAndEmail * >*a)
-{
- for (std::vector<ngwt__NameAndEmail * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__NameAndEmail(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector<ngwt__NameAndEmail * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const std::vector<ngwt__NameAndEmail * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail);
- if (soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const char *tag, int id, const std::vector<ngwt__NameAndEmail * >*a, const char *type)
-{
- for (std::vector<ngwt__NameAndEmail * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__NameAndEmail(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__NameAndEmail * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector<ngwt__NameAndEmail * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__NameAndEmail * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const char *tag, std::vector<ngwt__NameAndEmail * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, -1)))
- return NULL;
- ngwt__NameAndEmail *n;
- ngwt__NameAndEmail **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__NameAndEmail, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail, sizeof(ngwt__NameAndEmail), 1))
- break;
- if (!(p = soap_in_PointerTongwt__NameAndEmail(soap, tag, NULL, "ngwt:NameAndEmail")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__NameAndEmail(soap, tag, &n, "ngwt:NameAndEmail"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__NameAndEmail * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector<ngwt__NameAndEmail * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__NameAndEmail * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__NameAndEmail * >;
- if (size)
- *size = sizeof(std::vector<ngwt__NameAndEmail * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__NameAndEmail * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__NameAndEmail * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__NameAndEmail * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__NameAndEmail * > %p -> %p\n", q, p));
- *(std::vector<ngwt__NameAndEmail * >*)p = *(std::vector<ngwt__NameAndEmail * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const std::vector<ngwt__FreeBusyBlock * >*a)
-{
- for (std::vector<ngwt__FreeBusyBlock * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__FreeBusyBlock(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector<ngwt__FreeBusyBlock * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const std::vector<ngwt__FreeBusyBlock * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock);
- if (soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, const std::vector<ngwt__FreeBusyBlock * >*a, const char *type)
-{
- for (std::vector<ngwt__FreeBusyBlock * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FreeBusyBlock * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector<ngwt__FreeBusyBlock * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FreeBusyBlock * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, std::vector<ngwt__FreeBusyBlock * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, -1)))
- return NULL;
- ngwt__FreeBusyBlock *n;
- ngwt__FreeBusyBlock **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FreeBusyBlock, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), 1))
- break;
- if (!(p = soap_in_PointerTongwt__FreeBusyBlock(soap, tag, NULL, "ngwt:FreeBusyBlock")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__FreeBusyBlock(soap, tag, &n, "ngwt:FreeBusyBlock"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__FreeBusyBlock * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector<ngwt__FreeBusyBlock * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__FreeBusyBlock * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__FreeBusyBlock * >;
- if (size)
- *size = sizeof(std::vector<ngwt__FreeBusyBlock * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__FreeBusyBlock * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__FreeBusyBlock * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__FreeBusyBlock * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__FreeBusyBlock * > %p -> %p\n", q, p));
- *(std::vector<ngwt__FreeBusyBlock * >*)p = *(std::vector<ngwt__FreeBusyBlock * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const std::vector<ngwt__Folder * >*a)
-{
- for (std::vector<ngwt__Folder * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Folder(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector<ngwt__Folder * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const std::vector<ngwt__Folder * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Folder(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Folder * >*a, const char *type)
-{
- for (std::vector<ngwt__Folder * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Folder(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Folder * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector<ngwt__Folder * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Folder(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Folder * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const char *tag, std::vector<ngwt__Folder * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Folder(soap, -1)))
- return NULL;
- ngwt__Folder *n;
- ngwt__Folder **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Folder, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder, sizeof(ngwt__Folder), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Folder(soap, tag, NULL, "ngwt:Folder")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Folder(soap, tag, &n, "ngwt:Folder"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Folder * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector<ngwt__Folder * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Folder * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Folder * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Folder * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Folder * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Folder * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Folder * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Folder * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Folder * >*)p = *(std::vector<ngwt__Folder * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const std::vector<ngwt__FolderACLEntry * >*a)
-{
- for (std::vector<ngwt__FolderACLEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__FolderACLEntry(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector<ngwt__FolderACLEntry * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const std::vector<ngwt__FolderACLEntry * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry);
- if (soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, int id, const std::vector<ngwt__FolderACLEntry * >*a, const char *type)
-{
- for (std::vector<ngwt__FolderACLEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FolderACLEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector<ngwt__FolderACLEntry * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__FolderACLEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, std::vector<ngwt__FolderACLEntry * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, -1)))
- return NULL;
- ngwt__FolderACLEntry *n;
- ngwt__FolderACLEntry **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FolderACLEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), 1))
- break;
- if (!(p = soap_in_PointerTongwt__FolderACLEntry(soap, tag, NULL, "ngwt:FolderACLEntry")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__FolderACLEntry(soap, tag, &n, "ngwt:FolderACLEntry"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__FolderACLEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector<ngwt__FolderACLEntry * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__FolderACLEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__FolderACLEntry * >;
- if (size)
- *size = sizeof(std::vector<ngwt__FolderACLEntry * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__FolderACLEntry * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__FolderACLEntry * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__FolderACLEntry * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__FolderACLEntry * > %p -> %p\n", q, p));
- *(std::vector<ngwt__FolderACLEntry * >*)p = *(std::vector<ngwt__FolderACLEntry * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstd__string(struct soap *soap, const std::vector<std::string >*a)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_std__string(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstd__string(struct soap *soap, std::vector<std::string >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstd__string(struct soap *soap, const std::vector<std::string >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfstd__string);
- if (soap_out_std__vectorTemplateOfstd__string(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstd__string(struct soap *soap, const char *tag, int id, const std::vector<std::string >*a, const char *type)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_std__string(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfstd__string(struct soap *soap, std::vector<std::string >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfstd__string(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfstd__string(struct soap *soap, const char *tag, std::vector<std::string >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfstd__string(soap, -1)))
- return NULL;
- std::string n;
- std::string *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_std__string, SOAP_TYPE_std__vectorTemplateOfstd__string, sizeof(std::string), 0))
- break;
- if (!(p = soap_in_std__string(soap, tag, NULL, "")))
- break;
- }
- else
- { soap_default_std__string(soap, &n);
- if (!soap_in_std__string(soap, tag, &n, ""))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfstd__string(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfstd__string(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstd__string(struct soap *soap, std::vector<std::string >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstd__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfstd__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfstd__string, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<std::string >;
- if (size)
- *size = sizeof(std::vector<std::string >);
- }
- else
- { cp->ptr = (void*)new std::vector<std::string >[n];
- if (size)
- *size = n * sizeof(std::vector<std::string >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<std::string >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstd__string(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<std::string > %p -> %p\n", q, p));
- *(std::vector<std::string >*)p = *(std::vector<std::string >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const std::vector<ngwt__DocumentType * >*a)
-{
- for (std::vector<ngwt__DocumentType * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__DocumentType(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector<ngwt__DocumentType * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const std::vector<ngwt__DocumentType * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType);
- if (soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const char *tag, int id, const std::vector<ngwt__DocumentType * >*a, const char *type)
-{
- for (std::vector<ngwt__DocumentType * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__DocumentType(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DocumentType * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector<ngwt__DocumentType * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DocumentType * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const char *tag, std::vector<ngwt__DocumentType * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(soap, -1)))
- return NULL;
- ngwt__DocumentType *n;
- ngwt__DocumentType **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DocumentType, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType, sizeof(ngwt__DocumentType), 1))
- break;
- if (!(p = soap_in_PointerTongwt__DocumentType(soap, tag, NULL, "ngwt:DocumentType")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__DocumentType(soap, tag, &n, "ngwt:DocumentType"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__DocumentType * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector<ngwt__DocumentType * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__DocumentType * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__DocumentType * >;
- if (size)
- *size = sizeof(std::vector<ngwt__DocumentType * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__DocumentType * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__DocumentType * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__DocumentType * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__DocumentType * > %p -> %p\n", q, p));
- *(std::vector<ngwt__DocumentType * >*)p = *(std::vector<ngwt__DocumentType * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const std::vector<ngwt__DayOfYearWeek * >*a)
-{
- for (std::vector<ngwt__DayOfYearWeek * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__DayOfYearWeek(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector<ngwt__DayOfYearWeek * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const std::vector<ngwt__DayOfYearWeek * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek);
- if (soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, const std::vector<ngwt__DayOfYearWeek * >*a, const char *type)
-{
- for (std::vector<ngwt__DayOfYearWeek * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DayOfYearWeek * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector<ngwt__DayOfYearWeek * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__DayOfYearWeek * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, std::vector<ngwt__DayOfYearWeek * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, -1)))
- return NULL;
- ngwt__DayOfYearWeek *n;
- ngwt__DayOfYearWeek **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfYearWeek, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), 1))
- break;
- if (!(p = soap_in_PointerTongwt__DayOfYearWeek(soap, tag, NULL, "ngwt:DayOfYearWeek")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__DayOfYearWeek(soap, tag, &n, "ngwt:DayOfYearWeek"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__DayOfYearWeek * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector<ngwt__DayOfYearWeek * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__DayOfYearWeek * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__DayOfYearWeek * >;
- if (size)
- *size = sizeof(std::vector<ngwt__DayOfYearWeek * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__DayOfYearWeek * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__DayOfYearWeek * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__DayOfYearWeek * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__DayOfYearWeek * > %p -> %p\n", q, p));
- *(std::vector<ngwt__DayOfYearWeek * >*)p = *(std::vector<ngwt__DayOfYearWeek * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const std::vector<short >*a)
-{
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector<short >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const std::vector<short >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear);
- if (soap_out_std__vectorTemplateOfngwt__DayOfYear(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const char *tag, int id, const std::vector<short >*a, const char *type)
-{
- for (std::vector<short >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwt__DayOfYear(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<short >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector<short >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwt__DayOfYear(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<short >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const char *tag, std::vector<short >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwt__DayOfYear(soap, -1)))
- return NULL;
- short n;
- short *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfYear, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear, sizeof(short), 0))
- break;
- if (!(p = soap_in_ngwt__DayOfYear(soap, tag, NULL, "ngwt:DayOfYear")))
- break;
- }
- else
- { soap_default_ngwt__DayOfYear(soap, &n);
- if (!soap_in_ngwt__DayOfYear(soap, tag, &n, "ngwt:DayOfYear"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<short > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector<short >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<short > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<short >;
- if (size)
- *size = sizeof(std::vector<short >);
- }
- else
- { cp->ptr = (void*)new std::vector<short >[n];
- if (size)
- *size = n * sizeof(std::vector<short >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<short >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<short > %p -> %p\n", q, p));
- *(std::vector<short >*)p = *(std::vector<short >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const std::vector<char >*a)
-{
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector<char >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const std::vector<char >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth);
- if (soap_out_std__vectorTemplateOfngwt__DayOfMonth(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const char *tag, int id, const std::vector<char >*a, const char *type)
-{
- for (std::vector<char >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwt__DayOfMonth(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<char >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector<char >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwt__DayOfMonth(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<char >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const char *tag, std::vector<char >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwt__DayOfMonth(soap, -1)))
- return NULL;
- char n;
- char *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfMonth, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth, sizeof(char), 0))
- break;
- if (!(p = soap_in_ngwt__DayOfMonth(soap, tag, NULL, "ngwt:DayOfMonth")))
- break;
- }
- else
- { soap_default_ngwt__DayOfMonth(soap, &n);
- if (!soap_in_ngwt__DayOfMonth(soap, tag, &n, "ngwt:DayOfMonth"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<char > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector<char >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<char > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<char >;
- if (size)
- *size = sizeof(std::vector<char >);
- }
- else
- { cp->ptr = (void*)new std::vector<char >[n];
- if (size)
- *size = n * sizeof(std::vector<char >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<char >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<char > %p -> %p\n", q, p));
- *(std::vector<char >*)p = *(std::vector<char >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const std::vector<ngwt__Custom * >*a)
-{
- for (std::vector<ngwt__Custom * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Custom(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector<ngwt__Custom * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const std::vector<ngwt__Custom * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Custom * >*a, const char *type)
-{
- for (std::vector<ngwt__Custom * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Custom(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Custom * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector<ngwt__Custom * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Custom * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const char *tag, std::vector<ngwt__Custom * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Custom(soap, -1)))
- return NULL;
- ngwt__Custom *n;
- ngwt__Custom **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Custom, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom, sizeof(ngwt__Custom), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Custom(soap, tag, NULL, "ngwt:Custom")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Custom(soap, tag, &n, "ngwt:Custom"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Custom * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector<ngwt__Custom * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Custom * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Custom * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Custom * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Custom * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Custom * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Custom * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Custom * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Custom * >*)p = *(std::vector<ngwt__Custom * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__uid(struct soap *soap, const std::vector<std::string >*a)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_ngwt__uid(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector<std::string >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__uid(struct soap *soap, const std::vector<std::string >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__uid);
- if (soap_out_std__vectorTemplateOfngwt__uid(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__uid(struct soap *soap, const char *tag, int id, const std::vector<std::string >*a, const char *type)
-{
- for (std::vector<std::string >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwt__uid(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector<std::string >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwt__uid(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__uid(struct soap *soap, const char *tag, std::vector<std::string >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwt__uid(soap, -1)))
- return NULL;
- std::string n;
- std::string *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__uid, SOAP_TYPE_std__vectorTemplateOfngwt__uid, sizeof(std::string), 0))
- break;
- if (!(p = soap_in_ngwt__uid(soap, tag, NULL, "ngwt:uid")))
- break;
- }
- else
- { soap_default_ngwt__uid(soap, &n);
- if (!soap_in_ngwt__uid(soap, tag, &n, "ngwt:uid"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__uid(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwt__uid(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector<std::string >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__uid(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__uid(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__uid, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<std::string >;
- if (size)
- *size = sizeof(std::vector<std::string >);
- }
- else
- { cp->ptr = (void*)new std::vector<std::string >[n];
- if (size)
- *size = n * sizeof(std::vector<std::string >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<std::string >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__uid(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<std::string > %p -> %p\n", q, p));
- *(std::vector<std::string >*)p = *(std::vector<std::string >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const std::vector<ngwt__Category * >*a)
-{
- for (std::vector<ngwt__Category * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__Category(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector<ngwt__Category * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const std::vector<ngwt__Category * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category);
- if (soap_out_std__vectorTemplateOfPointerTongwt__Category(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const char *tag, int id, const std::vector<ngwt__Category * >*a, const char *type)
-{
- for (std::vector<ngwt__Category * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__Category(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Category * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector<ngwt__Category * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Category(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__Category * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const char *tag, std::vector<ngwt__Category * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Category(soap, -1)))
- return NULL;
- ngwt__Category *n;
- ngwt__Category **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Category, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category, sizeof(ngwt__Category), 1))
- break;
- if (!(p = soap_in_PointerTongwt__Category(soap, tag, NULL, "ngwt:Category")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__Category(soap, tag, &n, "ngwt:Category"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__Category * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector<ngwt__Category * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__Category * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__Category * >;
- if (size)
- *size = sizeof(std::vector<ngwt__Category * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__Category * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__Category * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__Category * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__Category * > %p -> %p\n", q, p));
- *(std::vector<ngwt__Category * >*)p = *(std::vector<ngwt__Category * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const std::vector<enum ngwt__CalendarFolderFlags >*a)
-{
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector<enum ngwt__CalendarFolderFlags >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const std::vector<enum ngwt__CalendarFolderFlags >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags);
- if (soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const char *tag, int id, const std::vector<enum ngwt__CalendarFolderFlags >*a, const char *type)
-{
- for (std::vector<enum ngwt__CalendarFolderFlags >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_ngwt__CalendarFolderFlags(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<enum ngwt__CalendarFolderFlags >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector<enum ngwt__CalendarFolderFlags >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<enum ngwt__CalendarFolderFlags >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const char *tag, std::vector<enum ngwt__CalendarFolderFlags >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, -1)))
- return NULL;
- enum ngwt__CalendarFolderFlags n;
- enum ngwt__CalendarFolderFlags *p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__CalendarFolderFlags, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags, sizeof(enum ngwt__CalendarFolderFlags), 0))
- break;
- if (!(p = soap_in_ngwt__CalendarFolderFlags(soap, tag, NULL, "")))
- break;
- }
- else
- { soap_default_ngwt__CalendarFolderFlags(soap, &n);
- if (!soap_in_ngwt__CalendarFolderFlags(soap, tag, &n, ""))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<enum ngwt__CalendarFolderFlags > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector<enum ngwt__CalendarFolderFlags >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<enum ngwt__CalendarFolderFlags > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<enum ngwt__CalendarFolderFlags >;
- if (size)
- *size = sizeof(std::vector<enum ngwt__CalendarFolderFlags >);
- }
- else
- { cp->ptr = (void*)new std::vector<enum ngwt__CalendarFolderFlags >[n];
- if (size)
- *size = n * sizeof(std::vector<enum ngwt__CalendarFolderFlags >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<enum ngwt__CalendarFolderFlags >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<enum ngwt__CalendarFolderFlags > %p -> %p\n", q, p));
- *(std::vector<enum ngwt__CalendarFolderFlags >*)p = *(std::vector<enum ngwt__CalendarFolderFlags >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const std::vector<ngwt__AttachmentItemInfo * >*a)
-{
- for (std::vector<ngwt__AttachmentItemInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__AttachmentItemInfo(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector<ngwt__AttachmentItemInfo * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const std::vector<ngwt__AttachmentItemInfo * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo);
- if (soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, const std::vector<ngwt__AttachmentItemInfo * >*a, const char *type)
-{
- for (std::vector<ngwt__AttachmentItemInfo * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AttachmentItemInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector<ngwt__AttachmentItemInfo * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AttachmentItemInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, std::vector<ngwt__AttachmentItemInfo * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, -1)))
- return NULL;
- ngwt__AttachmentItemInfo *n;
- ngwt__AttachmentItemInfo **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AttachmentItemInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), 1))
- break;
- if (!(p = soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, NULL, "ngwt:AttachmentItemInfo")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, &n, "ngwt:AttachmentItemInfo"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__AttachmentItemInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector<ngwt__AttachmentItemInfo * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__AttachmentItemInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__AttachmentItemInfo * >;
- if (size)
- *size = sizeof(std::vector<ngwt__AttachmentItemInfo * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__AttachmentItemInfo * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__AttachmentItemInfo * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__AttachmentItemInfo * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__AttachmentItemInfo * > %p -> %p\n", q, p));
- *(std::vector<ngwt__AttachmentItemInfo * >*)p = *(std::vector<ngwt__AttachmentItemInfo * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const std::vector<ngwt__AddressBook * >*a)
-{
- for (std::vector<ngwt__AddressBook * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__AddressBook(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector<ngwt__AddressBook * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const std::vector<ngwt__AddressBook * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook);
- if (soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const char *tag, int id, const std::vector<ngwt__AddressBook * >*a, const char *type)
-{
- for (std::vector<ngwt__AddressBook * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__AddressBook(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AddressBook * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector<ngwt__AddressBook * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AddressBook * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const char *tag, std::vector<ngwt__AddressBook * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(soap, -1)))
- return NULL;
- ngwt__AddressBook *n;
- ngwt__AddressBook **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AddressBook, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook, sizeof(ngwt__AddressBook), 1))
- break;
- if (!(p = soap_in_PointerTongwt__AddressBook(soap, tag, NULL, "ngwt:AddressBook")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__AddressBook(soap, tag, &n, "ngwt:AddressBook"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__AddressBook * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector<ngwt__AddressBook * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__AddressBook * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__AddressBook * >;
- if (size)
- *size = sizeof(std::vector<ngwt__AddressBook * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__AddressBook * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__AddressBook * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__AddressBook * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__AddressBook * > %p -> %p\n", q, p));
- *(std::vector<ngwt__AddressBook * >*)p = *(std::vector<ngwt__AddressBook * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const std::vector<ngwt__AccessRightEntry * >*a)
-{
- for (std::vector<ngwt__AccessRightEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__AccessRightEntry(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector<ngwt__AccessRightEntry * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const std::vector<ngwt__AccessRightEntry * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry);
- if (soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, int id, const std::vector<ngwt__AccessRightEntry * >*a, const char *type)
-{
- for (std::vector<ngwt__AccessRightEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AccessRightEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector<ngwt__AccessRightEntry * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AccessRightEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, std::vector<ngwt__AccessRightEntry * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, -1)))
- return NULL;
- ngwt__AccessRightEntry *n;
- ngwt__AccessRightEntry **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AccessRightEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), 1))
- break;
- if (!(p = soap_in_PointerTongwt__AccessRightEntry(soap, tag, NULL, "ngwt:AccessRightEntry")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__AccessRightEntry(soap, tag, &n, "ngwt:AccessRightEntry"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__AccessRightEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector<ngwt__AccessRightEntry * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__AccessRightEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__AccessRightEntry * >;
- if (size)
- *size = sizeof(std::vector<ngwt__AccessRightEntry * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__AccessRightEntry * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__AccessRightEntry * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__AccessRightEntry * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__AccessRightEntry * > %p -> %p\n", q, p));
- *(std::vector<ngwt__AccessRightEntry * >*)p = *(std::vector<ngwt__AccessRightEntry * >*)q;
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const std::vector<ngwt__AccessControlListEntry * >*a)
-{
- for (std::vector<ngwt__AccessControlListEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- soap_serialize_PointerTongwt__AccessControlListEntry(soap, &(*i));
-}
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector<ngwt__AccessControlListEntry * >*p)
-{
- p->clear();
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const std::vector<ngwt__AccessControlListEntry * >*a, const char *tag, const char *type)
-{
- register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry);
- if (soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, tag, id, a, type))
- return soap->error;
- return soap_putindependent(soap);
-}
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, const std::vector<ngwt__AccessControlListEntry * >*a, const char *type)
-{
- for (std::vector<ngwt__AccessControlListEntry * >::const_iterator i = a->begin(); i != a->end(); ++i)
- {
- if (soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, &(*i), ""))
- return soap->error;
- }
- return SOAP_OK;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AccessControlListEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector<ngwt__AccessControlListEntry * >*p, const char *tag, const char *type)
-{
- if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, tag, p, type)))
- soap_getindependent(soap);
- return p;
-}
-
-SOAP_FMAC3 std::vector<ngwt__AccessControlListEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, std::vector<ngwt__AccessControlListEntry * >*a, const char *type)
-{
- if (soap_element_begin_in(soap, tag, 1))
- return NULL;
- if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, -1)))
- return NULL;
- ngwt__AccessControlListEntry *n;
- ngwt__AccessControlListEntry **p;
- do
- { soap_revert(soap);
- if (*soap->id || *soap->href)
- { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AccessControlListEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), 1))
- break;
- if (!(p = soap_in_PointerTongwt__AccessControlListEntry(soap, tag, NULL, "ngwt:AccessControlListEntry")))
- break;
- }
- else
- { n = NULL;
- if (!soap_in_PointerTongwt__AccessControlListEntry(soap, tag, &n, "ngwt:AccessControlListEntry"))
- break;
- a->insert(a->end(), n);
- }
- }
- while (!soap_element_begin_in(soap, tag, 1));
- if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)
- { soap->error = SOAP_OK;
- return a;
- }
- return NULL;
-}
-
-SOAP_FMAC5 std::vector<ngwt__AccessControlListEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int n)
-{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, n, NULL, NULL, NULL);
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector<ngwt__AccessControlListEntry * >*p)
-{ soap_delete(soap, p);
-}
-
-SOAP_FMAC5 std::vector<ngwt__AccessControlListEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
- struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry, n, soap_fdelete);
- if (!cp)
- return NULL;
- if (n < 0)
- { cp->ptr = (void*)new std::vector<ngwt__AccessControlListEntry * >;
- if (size)
- *size = sizeof(std::vector<ngwt__AccessControlListEntry * >);
- }
- else
- { cp->ptr = (void*)new std::vector<ngwt__AccessControlListEntry * >[n];
- if (size)
- *size = n * sizeof(std::vector<ngwt__AccessControlListEntry * >);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
- return (std::vector<ngwt__AccessControlListEntry * >*)cp->ptr;
-}
-
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<ngwt__AccessControlListEntry * > %p -> %p\n", q, p));
- *(std::vector<ngwt__AccessControlListEntry * >*)p = *(std::vector<ngwt__AccessControlListEntry * >*)q;
-}
-
-/* End of soapC.cpp */
diff --git a/kresources/groupwise/soap/soapClient.cpp b/kresources/groupwise/soap/soapClient.cpp
deleted file mode 100644
index 53ed1d22..00000000
--- a/kresources/groupwise/soap/soapClient.cpp
+++ /dev/null
@@ -1,4162 +0,0 @@
-/* soapClient.cpp
- Generated by gSOAP 2.7.3 from ./groupwise.h
- Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This part of the software is released under one of the following licenses:
- GPL, the gSOAP public license, or Genivia's license for commercial use.
-*/
-#include "soapH.h"
-
-SOAP_SOURCE_STAMP("@(#) soapClient.cpp ver 2.7.3 2006-05-18 13:53:46 GMT")
-
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse)
-{ struct __ngw__acceptRequest soap_tmp___ngw__acceptRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "acceptRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__acceptRequest.ngwm__acceptRequest = ngwm__acceptRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest, "-ngw:acceptRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest, "-ngw:acceptRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__acceptResponse)
- return soap_closesock(soap);
- ngwm__acceptResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__acceptResponse->soap_get(soap, "ngwm:acceptResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptShareRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse)
-{ struct __ngw__acceptShareRequest soap_tmp___ngw__acceptShareRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "acceptShareRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__acceptShareRequest.ngwm__acceptShareRequest = ngwm__acceptShareRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest, "-ngw:acceptShareRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest, "-ngw:acceptShareRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__acceptShareResponse)
- return soap_closesock(soap);
- ngwm__acceptShareResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__acceptShareResponse->soap_get(soap, "ngwm:acceptShareResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse)
-{ struct __ngw__addItemRequest soap_tmp___ngw__addItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "addItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__addItemRequest.ngwm__addItemRequest = ngwm__addItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest, "-ngw:addItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest, "-ngw:addItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__addItemResponse)
- return soap_closesock(soap);
- ngwm__addItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__addItemResponse->soap_get(soap, "ngwm:addItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse)
-{ struct __ngw__addItemsRequest soap_tmp___ngw__addItemsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "addItemsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__addItemsRequest.ngwm__addItemsRequest = ngwm__addItemsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest, "-ngw:addItemsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest, "-ngw:addItemsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__addItemsResponse)
- return soap_closesock(soap);
- ngwm__addItemsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__addItemsResponse->soap_get(soap, "ngwm:addItemsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse)
-{ struct __ngw__addMembersRequest soap_tmp___ngw__addMembersRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "addMembersRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__addMembersRequest.ngwm__addMembersRequest = ngwm__addMembersRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest, "-ngw:addMembersRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest, "-ngw:addMembersRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__addMembersResponse)
- return soap_closesock(soap);
- ngwm__addMembersResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__addMembersResponse->soap_get(soap, "ngwm:addMembersResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse)
-{ struct __ngw__closeFreeBusySessionRequest soap_tmp___ngw__closeFreeBusySessionRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "closeFreeBusySessionRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__closeFreeBusySessionRequest.ngwm__closeFreeBusySessionRequest = ngwm__closeFreeBusySessionRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest, "-ngw:closeFreeBusySessionRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest, "-ngw:closeFreeBusySessionRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__closeFreeBusySessionResponse)
- return soap_closesock(soap);
- ngwm__closeFreeBusySessionResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__closeFreeBusySessionResponse->soap_get(soap, "ngwm:closeFreeBusySessionResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__completeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse)
-{ struct __ngw__completeRequest soap_tmp___ngw__completeRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "completeRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__completeRequest.ngwm__completeRequest = ngwm__completeRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest, "-ngw:completeRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest, "-ngw:completeRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__completeResponse)
- return soap_closesock(soap);
- ngwm__completeResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__completeResponse->soap_get(soap, "ngwm:completeResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse)
-{ struct __ngw__createCursorRequest soap_tmp___ngw__createCursorRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createCursorRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createCursorRequest.ngwm__createCursorRequest = ngwm__createCursorRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest, "-ngw:createCursorRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest, "-ngw:createCursorRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createCursorResponse)
- return soap_closesock(soap);
- ngwm__createCursorResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createCursorResponse->soap_get(soap, "ngwm:createCursorResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse)
-{ struct __ngw__createItemRequest soap_tmp___ngw__createItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createItemRequest.ngwm__createItemRequest = ngwm__createItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest, "-ngw:createItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest, "-ngw:createItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createItemResponse)
- return soap_closesock(soap);
- ngwm__createItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createItemResponse->soap_get(soap, "ngwm:createItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse)
-{ struct __ngw__createItemsRequest soap_tmp___ngw__createItemsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createItemsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createItemsRequest.ngwm__createItemsRequest = ngwm__createItemsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest, "-ngw:createItemsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest, "-ngw:createItemsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createItemsResponse)
- return soap_closesock(soap);
- ngwm__createItemsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createItemsResponse->soap_get(soap, "ngwm:createItemsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse)
-{ struct __ngw__createJunkEntryRequest soap_tmp___ngw__createJunkEntryRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createJunkEntryRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createJunkEntryRequest.ngwm__createJunkEntryRequest = ngwm__createJunkEntryRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest, "-ngw:createJunkEntryRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest, "-ngw:createJunkEntryRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createJunkEntryResponse)
- return soap_closesock(soap);
- ngwm__createJunkEntryResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createJunkEntryResponse->soap_get(soap, "ngwm:createJunkEntryResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse)
-{ struct __ngw__createProxyAccessRequest soap_tmp___ngw__createProxyAccessRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createProxyAccessRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createProxyAccessRequest.ngwm__createProxyAccessRequest = ngwm__createProxyAccessRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest, "-ngw:createProxyAccessRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest, "-ngw:createProxyAccessRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createProxyAccessResponse)
- return soap_closesock(soap);
- ngwm__createProxyAccessResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createProxyAccessResponse->soap_get(soap, "ngwm:createProxyAccessResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse)
-{ struct __ngw__createSignatureRequest soap_tmp___ngw__createSignatureRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "createSignatureRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__createSignatureRequest.ngwm__createSignatureRequest = ngwm__createSignatureRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest, "-ngw:createSignatureRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest, "-ngw:createSignatureRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__createSignatureResponse)
- return soap_closesock(soap);
- ngwm__createSignatureResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__createSignatureResponse->soap_get(soap, "ngwm:createSignatureResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__declineRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse)
-{ struct __ngw__declineRequest soap_tmp___ngw__declineRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "declineRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__declineRequest.ngwm__declineRequest = ngwm__declineRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest, "-ngw:declineRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest, "-ngw:declineRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__declineResponse)
- return soap_closesock(soap);
- ngwm__declineResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__declineResponse->soap_get(soap, "ngwm:declineResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__delegateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse)
-{ struct __ngw__delegateRequest soap_tmp___ngw__delegateRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "delegateRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__delegateRequest.ngwm__delegateRequest = ngwm__delegateRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest, "-ngw:delegateRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest, "-ngw:delegateRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__delegateResponse)
- return soap_closesock(soap);
- ngwm__delegateResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__delegateResponse->soap_get(soap, "ngwm:delegateResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__destroyCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse)
-{ struct __ngw__destroyCursorRequest soap_tmp___ngw__destroyCursorRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "destroyCursorRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__destroyCursorRequest.ngwm__destroyCursorRequest = ngwm__destroyCursorRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest, "-ngw:destroyCursorRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest, "-ngw:destroyCursorRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__destroyCursorResponse)
- return soap_closesock(soap);
- ngwm__destroyCursorResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__destroyCursorResponse->soap_get(soap, "ngwm:destroyCursorResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__executeRuleRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse)
-{ struct __ngw__executeRuleRequest soap_tmp___ngw__executeRuleRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "executeRuleRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__executeRuleRequest.ngwm__executeRuleRequest = ngwm__executeRuleRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest, "-ngw:executeRuleRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest, "-ngw:executeRuleRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__executeRuleResponse)
- return soap_closesock(soap);
- ngwm__executeRuleResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__executeRuleResponse->soap_get(soap, "ngwm:executeRuleResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__forwardRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse)
-{ struct __ngw__forwardRequest soap_tmp___ngw__forwardRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "forwardRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__forwardRequest.ngwm__forwardRequest = ngwm__forwardRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest, "-ngw:forwardRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest, "-ngw:forwardRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__forwardResponse)
- return soap_closesock(soap);
- ngwm__forwardResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__forwardResponse->soap_get(soap, "ngwm:forwardResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAddressBookListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse)
-{ struct __ngw__getAddressBookListRequest soap_tmp___ngw__getAddressBookListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getAddressBookListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getAddressBookListRequest.ngwm__getAddressBookListRequest = ngwm__getAddressBookListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest, "-ngw:getAddressBookListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest, "-ngw:getAddressBookListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getAddressBookListResponse)
- return soap_closesock(soap);
- ngwm__getAddressBookListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getAddressBookListResponse->soap_get(soap, "ngwm:getAddressBookListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAttachmentRequestMessage(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse)
-{ struct __ngw__getAttachmentRequestMessage soap_tmp___ngw__getAttachmentRequestMessage;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getAttachmentRequestMessage";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getAttachmentRequestMessage.ngwm__getAttachmentRequest = ngwm__getAttachmentRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage, "-ngw:getAttachmentRequestMessage", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage, "-ngw:getAttachmentRequestMessage", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getAttachmentResponse)
- return soap_closesock(soap);
- ngwm__getAttachmentResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getAttachmentResponse->soap_get(soap, "ngwm:getAttachmentResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse)
-{ struct __ngw__getCategoryListRequest soap_tmp___ngw__getCategoryListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getCategoryListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getCategoryListRequest.ngwm__getCategoryListRequest = ngwm__getCategoryListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest, "-ngw:getCategoryListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest, "-ngw:getCategoryListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getCategoryListResponse)
- return soap_closesock(soap);
- ngwm__getCategoryListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getCategoryListResponse->soap_get(soap, "ngwm:getCategoryListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCustomListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse)
-{ struct __ngw__getCustomListRequest soap_tmp___ngw__getCustomListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getCustomListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getCustomListRequest.ngwm__getCustomListRequest = ngwm__getCustomListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest, "-ngw:getCustomListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest, "-ngw:getCustomListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getCustomListResponse)
- return soap_closesock(soap);
- ngwm__getCustomListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getCustomListResponse->soap_get(soap, "ngwm:getCustomListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltasRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse)
-{ struct __ngw__getDeltasRequest soap_tmp___ngw__getDeltasRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getDeltasRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getDeltasRequest.ngwm__getDeltasRequest = ngwm__getDeltasRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest, "-ngw:getDeltasRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest, "-ngw:getDeltasRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getDeltasResponse)
- return soap_closesock(soap);
- ngwm__getDeltasResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getDeltasResponse->soap_get(soap, "ngwm:getDeltasResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltaInfoRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse)
-{ struct __ngw__getDeltaInfoRequest soap_tmp___ngw__getDeltaInfoRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getDeltaInfoRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getDeltaInfoRequest.ngwm__getDeltaInfoRequest = ngwm__getDeltaInfoRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest, "-ngw:getDeltaInfoRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest, "-ngw:getDeltaInfoRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getDeltaInfoResponse)
- return soap_closesock(soap);
- ngwm__getDeltaInfoResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getDeltaInfoResponse->soap_get(soap, "ngwm:getDeltaInfoResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDocumentTypeListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse)
-{ struct __ngw__getDocumentTypeListRequest soap_tmp___ngw__getDocumentTypeListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getDocumentTypeListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getDocumentTypeListRequest.ngwm__getDocumentTypeListRequest = ngwm__getDocumentTypeListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest, "-ngw:getDocumentTypeListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest, "-ngw:getDocumentTypeListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getDocumentTypeListResponse)
- return soap_closesock(soap);
- ngwm__getDocumentTypeListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getDocumentTypeListResponse->soap_get(soap, "ngwm:getDocumentTypeListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse)
-{ struct __ngw__getFolderRequest soap_tmp___ngw__getFolderRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getFolderRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getFolderRequest.ngwm__getFolderRequest = ngwm__getFolderRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest, "-ngw:getFolderRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest, "-ngw:getFolderRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getFolderResponse)
- return soap_closesock(soap);
- ngwm__getFolderResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getFolderResponse->soap_get(soap, "ngwm:getFolderResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse)
-{ struct __ngw__getFolderListRequest soap_tmp___ngw__getFolderListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getFolderListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getFolderListRequest.ngwm__getFolderListRequest = ngwm__getFolderListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest, "-ngw:getFolderListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest, "-ngw:getFolderListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getFolderListResponse)
- return soap_closesock(soap);
- ngwm__getFolderListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getFolderListResponse->soap_get(soap, "ngwm:getFolderListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFreeBusyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse)
-{ struct __ngw__getFreeBusyRequest soap_tmp___ngw__getFreeBusyRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getFreeBusyRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getFreeBusyRequest.ngwm__getFreeBusyRequest = ngwm__getFreeBusyRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest, "-ngw:getFreeBusyRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest, "-ngw:getFreeBusyRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getFreeBusyResponse)
- return soap_closesock(soap);
- ngwm__getFreeBusyResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getFreeBusyResponse->soap_get(soap, "ngwm:getFreeBusyResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse)
-{ struct __ngw__getItemRequest soap_tmp___ngw__getItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getItemRequest.ngwm__getItemRequest = ngwm__getItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest, "-ngw:getItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest, "-ngw:getItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getItemResponse)
- return soap_closesock(soap);
- ngwm__getItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getItemResponse->soap_get(soap, "ngwm:getItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse)
-{ struct __ngw__getItemsRequest soap_tmp___ngw__getItemsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getItemsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getItemsRequest.ngwm__getItemsRequest = ngwm__getItemsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest, "-ngw:getItemsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest, "-ngw:getItemsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getItemsResponse)
- return soap_closesock(soap);
- ngwm__getItemsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getItemsResponse->soap_get(soap, "ngwm:getItemsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkEntriesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse)
-{ struct __ngw__getJunkEntriesRequest soap_tmp___ngw__getJunkEntriesRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getJunkEntriesRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getJunkEntriesRequest.ngwm__getJunkEntriesRequest = ngwm__getJunkEntriesRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest, "-ngw:getJunkEntriesRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest, "-ngw:getJunkEntriesRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getJunkEntriesResponse)
- return soap_closesock(soap);
- ngwm__getJunkEntriesResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getJunkEntriesResponse->soap_get(soap, "ngwm:getJunkEntriesResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse)
-{ struct __ngw__getJunkMailSettingsRequest soap_tmp___ngw__getJunkMailSettingsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getJunkMailSettingsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getJunkMailSettingsRequest.ngwm__getJunkMailSettingsRequest = ngwm__getJunkMailSettingsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest, "-ngw:getJunkMailSettingsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest, "-ngw:getJunkMailSettingsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getJunkMailSettingsResponse)
- return soap_closesock(soap);
- ngwm__getJunkMailSettingsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getJunkMailSettingsResponse->soap_get(soap, "ngwm:getJunkMailSettingsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse)
-{ struct __ngw__getLibraryItemRequest soap_tmp___ngw__getLibraryItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getLibraryItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getLibraryItemRequest.ngwm__getLibraryItemRequest = ngwm__getLibraryItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest, "-ngw:getLibraryItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest, "-ngw:getLibraryItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getLibraryItemResponse)
- return soap_closesock(soap);
- ngwm__getLibraryItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getLibraryItemResponse->soap_get(soap, "ngwm:getLibraryItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse)
-{ struct __ngw__getLibraryListRequest soap_tmp___ngw__getLibraryListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getLibraryListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getLibraryListRequest.ngwm__getLibraryListRequest = ngwm__getLibraryListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest, "-ngw:getLibraryListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest, "-ngw:getLibraryListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getLibraryListResponse)
- return soap_closesock(soap);
- ngwm__getLibraryListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getLibraryListResponse->soap_get(soap, "ngwm:getLibraryListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getQuickMessagesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse)
-{ struct __ngw__getQuickMessagesRequest soap_tmp___ngw__getQuickMessagesRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getQuickMessagesRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getQuickMessagesRequest.ngwm__getQuickMessagesRequest = ngwm__getQuickMessagesRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest, "-ngw:getQuickMessagesRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest, "-ngw:getQuickMessagesRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getQuickMessagesResponse)
- return soap_closesock(soap);
- ngwm__getQuickMessagesResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getQuickMessagesResponse->soap_get(soap, "ngwm:getQuickMessagesResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyAccessListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse)
-{ struct __ngw__getProxyAccessListRequest soap_tmp___ngw__getProxyAccessListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getProxyAccessListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getProxyAccessListRequest.ngwm__getProxyAccessListRequest = ngwm__getProxyAccessListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest, "-ngw:getProxyAccessListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest, "-ngw:getProxyAccessListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getProxyAccessListResponse)
- return soap_closesock(soap);
- ngwm__getProxyAccessListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getProxyAccessListResponse->soap_get(soap, "ngwm:getProxyAccessListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse)
-{ struct __ngw__getProxyListRequest soap_tmp___ngw__getProxyListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getProxyListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getProxyListRequest.ngwm__getProxyListRequest = ngwm__getProxyListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest, "-ngw:getProxyListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest, "-ngw:getProxyListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getProxyListResponse)
- return soap_closesock(soap);
- ngwm__getProxyListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getProxyListResponse->soap_get(soap, "ngwm:getProxyListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getRuleListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse)
-{ struct __ngw__getRuleListRequest soap_tmp___ngw__getRuleListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getRuleListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getRuleListRequest.ngwm__getRuleListRequest = ngwm__getRuleListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest, "-ngw:getRuleListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest, "-ngw:getRuleListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getRuleListResponse)
- return soap_closesock(soap);
- ngwm__getRuleListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getRuleListResponse->soap_get(soap, "ngwm:getRuleListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse)
-{ struct __ngw__getSettingsRequest soap_tmp___ngw__getSettingsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getSettingsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getSettingsRequest.ngwm__getSettingsRequest = ngwm__getSettingsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest, "-ngw:getSettingsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest, "-ngw:getSettingsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getSettingsResponse)
- return soap_closesock(soap);
- ngwm__getSettingsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getSettingsResponse->soap_get(soap, "ngwm:getSettingsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse)
-{ struct __ngw__getSignaturesRequest soap_tmp___ngw__getSignaturesRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getSignaturesRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getSignaturesRequest.ngwm__getSignaturesRequest = ngwm__getSignaturesRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest, "-ngw:getSignaturesRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest, "-ngw:getSignaturesRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getSignaturesResponse)
- return soap_closesock(soap);
- ngwm__getSignaturesResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getSignaturesResponse->soap_get(soap, "ngwm:getSignaturesResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse)
-{ struct __ngw__getTimestampRequest soap_tmp___ngw__getTimestampRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getTimestampRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getTimestampRequest.ngwm__getTimestampRequest = ngwm__getTimestampRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest, "-ngw:getTimestampRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest, "-ngw:getTimestampRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getTimestampResponse)
- return soap_closesock(soap);
- ngwm__getTimestampResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getTimestampResponse->soap_get(soap, "ngwm:getTimestampResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimezoneListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse)
-{ struct __ngw__getTimezoneListRequest soap_tmp___ngw__getTimezoneListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getTimezoneListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getTimezoneListRequest.ngwm__getTimezoneListRequest = ngwm__getTimezoneListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest, "-ngw:getTimezoneListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest, "-ngw:getTimezoneListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getTimezoneListResponse)
- return soap_closesock(soap);
- ngwm__getTimezoneListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getTimezoneListResponse->soap_get(soap, "ngwm:getTimezoneListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getUserListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse)
-{ struct __ngw__getUserListRequest soap_tmp___ngw__getUserListRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getUserListRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getUserListRequest.ngwm__getUserListRequest = ngwm__getUserListRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest, "-ngw:getUserListRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest, "-ngw:getUserListRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__getUserListResponse)
- return soap_closesock(soap);
- ngwm__getUserListResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__getUserListResponse->soap_get(soap, "ngwm:getUserListResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__loginRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse)
-{ struct __ngw__loginRequest soap_tmp___ngw__loginRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "loginRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__loginRequest.ngwm__loginRequest = ngwm__loginRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest, "-ngw:loginRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest, "-ngw:loginRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__loginResponse)
- return soap_closesock(soap);
- ngwm__loginResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__loginResponse->soap_get(soap, "ngwm:loginResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__logoutRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse)
-{ struct __ngw__logoutRequest soap_tmp___ngw__logoutRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "logoutRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__logoutRequest.ngwm__logoutRequest = ngwm__logoutRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest, "-ngw:logoutRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest, "-ngw:logoutRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__logoutResponse)
- return soap_closesock(soap);
- ngwm__logoutResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__logoutResponse->soap_get(soap, "ngwm:logoutResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse)
-{ struct __ngw__markPrivateRequest soap_tmp___ngw__markPrivateRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "markPrivateRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__markPrivateRequest.ngwm__markPrivateRequest = ngwm__markPrivateRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest, "-ngw:markPrivateRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest, "-ngw:markPrivateRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__markPrivateResponse)
- return soap_closesock(soap);
- ngwm__markPrivateResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__markPrivateResponse->soap_get(soap, "ngwm:markPrivateResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse)
-{ struct __ngw__markReadRequest soap_tmp___ngw__markReadRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "markReadRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__markReadRequest.ngwm__markReadRequest = ngwm__markReadRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest, "-ngw:markReadRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest, "-ngw:markReadRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__markReadResponse)
- return soap_closesock(soap);
- ngwm__markReadResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__markReadResponse->soap_get(soap, "ngwm:markReadResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse)
-{ struct __ngw__markUnPrivateRequest soap_tmp___ngw__markUnPrivateRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "markUnPrivateRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__markUnPrivateRequest.ngwm__markUnPrivateRequest = ngwm__markUnPrivateRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest, "-ngw:markUnPrivateRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest, "-ngw:markUnPrivateRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__markUnPrivateResponse)
- return soap_closesock(soap);
- ngwm__markUnPrivateResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__markUnPrivateResponse->soap_get(soap, "ngwm:markUnPrivateResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse)
-{ struct __ngw__markUnReadRequest soap_tmp___ngw__markUnReadRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "markUnReadRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__markUnReadRequest.ngwm__markUnReadRequest = ngwm__markUnReadRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest, "-ngw:markUnReadRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest, "-ngw:markUnReadRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__markUnReadResponse)
- return soap_closesock(soap);
- ngwm__markUnReadResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__markUnReadResponse->soap_get(soap, "ngwm:markUnReadResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse)
-{ struct __ngw__modifyItemRequest soap_tmp___ngw__modifyItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifyItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifyItemRequest.ngwm__modifyItemRequest = ngwm__modifyItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest, "-ngw:modifyItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest, "-ngw:modifyItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifyItemResponse)
- return soap_closesock(soap);
- ngwm__modifyItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifyItemResponse->soap_get(soap, "ngwm:modifyItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse)
-{ struct __ngw__modifyJunkEntryRequest soap_tmp___ngw__modifyJunkEntryRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifyJunkEntryRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifyJunkEntryRequest.ngwm__modifyJunkEntryRequest = ngwm__modifyJunkEntryRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest, "-ngw:modifyJunkEntryRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest, "-ngw:modifyJunkEntryRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifyJunkEntryResponse)
- return soap_closesock(soap);
- ngwm__modifyJunkEntryResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifyJunkEntryResponse->soap_get(soap, "ngwm:modifyJunkEntryResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse)
-{ struct __ngw__modifyJunkMailSettingsRequest soap_tmp___ngw__modifyJunkMailSettingsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifyJunkMailSettingsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifyJunkMailSettingsRequest.ngwm__modifyJunkMailSettingsRequest = ngwm__modifyJunkMailSettingsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest, "-ngw:modifyJunkMailSettingsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest, "-ngw:modifyJunkMailSettingsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifyJunkMailSettingsResponse)
- return soap_closesock(soap);
- ngwm__modifyJunkMailSettingsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifyJunkMailSettingsResponse->soap_get(soap, "ngwm:modifyJunkMailSettingsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyPasswordRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse)
-{ struct __ngw__modifyPasswordRequest soap_tmp___ngw__modifyPasswordRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifyPasswordRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifyPasswordRequest.ngwm__modifyPasswordRequest = ngwm__modifyPasswordRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest, "-ngw:modifyPasswordRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest, "-ngw:modifyPasswordRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifyPasswordResponse)
- return soap_closesock(soap);
- ngwm__modifyPasswordResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifyPasswordResponse->soap_get(soap, "ngwm:modifyPasswordResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse)
-{ struct __ngw__modifyProxyAccessRequest soap_tmp___ngw__modifyProxyAccessRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifyProxyAccessRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifyProxyAccessRequest.ngwm__modifyProxyAccessRequest = ngwm__modifyProxyAccessRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest, "-ngw:modifyProxyAccessRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest, "-ngw:modifyProxyAccessRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifyProxyAccessResponse)
- return soap_closesock(soap);
- ngwm__modifyProxyAccessResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifyProxyAccessResponse->soap_get(soap, "ngwm:modifyProxyAccessResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse)
-{ struct __ngw__modifySettingsRequest soap_tmp___ngw__modifySettingsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifySettingsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifySettingsRequest.ngwm__modifySettingsRequest = ngwm__modifySettingsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest, "-ngw:modifySettingsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest, "-ngw:modifySettingsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifySettingsResponse)
- return soap_closesock(soap);
- ngwm__modifySettingsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifySettingsResponse->soap_get(soap, "ngwm:modifySettingsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse)
-{ struct __ngw__modifySignaturesRequest soap_tmp___ngw__modifySignaturesRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "modifySignaturesRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__modifySignaturesRequest.ngwm__modifySignaturesRequest = ngwm__modifySignaturesRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest, "-ngw:modifySignaturesRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest, "-ngw:modifySignaturesRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__modifySignaturesResponse)
- return soap_closesock(soap);
- ngwm__modifySignaturesResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__modifySignaturesResponse->soap_get(soap, "ngwm:modifySignaturesResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__moveItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse)
-{ struct __ngw__moveItemRequest soap_tmp___ngw__moveItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "moveItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__moveItemRequest.ngwm__moveItemRequest = ngwm__moveItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest, "-ngw:moveItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest, "-ngw:moveItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__moveItemResponse)
- return soap_closesock(soap);
- ngwm__moveItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__moveItemResponse->soap_get(soap, "ngwm:moveItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__positionCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse)
-{ struct __ngw__positionCursorRequest soap_tmp___ngw__positionCursorRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "positionCursorRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__positionCursorRequest.ngwm__positionCursorRequest = ngwm__positionCursorRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest, "-ngw:positionCursorRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest, "-ngw:positionCursorRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__positionCursorResponse)
- return soap_closesock(soap);
- ngwm__positionCursorResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__positionCursorResponse->soap_get(soap, "ngwm:positionCursorResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse)
-{ struct __ngw__purgeDeletedItemsRequest soap_tmp___ngw__purgeDeletedItemsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "purgeDeletedItemsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__purgeDeletedItemsRequest.ngwm__purgeDeletedItemsRequest = ngwm__purgeDeletedItemsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest, "-ngw:purgeDeletedItemsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest, "-ngw:purgeDeletedItemsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__purgeDeletedItemsResponse)
- return soap_closesock(soap);
- ngwm__purgeDeletedItemsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__purgeDeletedItemsResponse->soap_get(soap, "ngwm:purgeDeletedItemsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse)
-{ struct __ngw__purgeRequest soap_tmp___ngw__purgeRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "purgeRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__purgeRequest.ngwm__purgeRequest = ngwm__purgeRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest, "-ngw:purgeRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest, "-ngw:purgeRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__purgeResponse)
- return soap_closesock(soap);
- ngwm__purgeResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__purgeResponse->soap_get(soap, "ngwm:purgeResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__readCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse)
-{ struct __ngw__readCursorRequest soap_tmp___ngw__readCursorRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "readCursorRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__readCursorRequest.ngwm__readCursorRequest = ngwm__readCursorRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest, "-ngw:readCursorRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest, "-ngw:readCursorRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__readCursorResponse)
- return soap_closesock(soap);
- ngwm__readCursorResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__readCursorResponse->soap_get(soap, "ngwm:readCursorResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse)
-{ struct __ngw__removeCustomDefinitionRequest soap_tmp___ngw__removeCustomDefinitionRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeCustomDefinitionRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeCustomDefinitionRequest.ngwm__removeCustomDefinitionRequest = ngwm__removeCustomDefinitionRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest, "-ngw:removeCustomDefinitionRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest, "-ngw:removeCustomDefinitionRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeCustomDefinitionResponse)
- return soap_closesock(soap);
- ngwm__removeCustomDefinitionResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeCustomDefinitionResponse->soap_get(soap, "ngwm:removeCustomDefinitionResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse)
-{ struct __ngw__removeItemRequest soap_tmp___ngw__removeItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeItemRequest.ngwm__removeItemRequest = ngwm__removeItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest, "-ngw:removeItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest, "-ngw:removeItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeItemResponse)
- return soap_closesock(soap);
- ngwm__removeItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeItemResponse->soap_get(soap, "ngwm:removeItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse)
-{ struct __ngw__removeItemsRequest soap_tmp___ngw__removeItemsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeItemsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeItemsRequest.ngwm__removeItemsRequest = ngwm__removeItemsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest, "-ngw:removeItemsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest, "-ngw:removeItemsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeItemsResponse)
- return soap_closesock(soap);
- ngwm__removeItemsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeItemsResponse->soap_get(soap, "ngwm:removeItemsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse)
-{ struct __ngw__removeJunkEntryRequest soap_tmp___ngw__removeJunkEntryRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeJunkEntryRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeJunkEntryRequest.ngwm__removeJunkEntryRequest = ngwm__removeJunkEntryRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest, "-ngw:removeJunkEntryRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest, "-ngw:removeJunkEntryRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeJunkEntryResponse)
- return soap_closesock(soap);
- ngwm__removeJunkEntryResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeJunkEntryResponse->soap_get(soap, "ngwm:removeJunkEntryResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse)
-{ struct __ngw__removeMembersRequest soap_tmp___ngw__removeMembersRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeMembersRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeMembersRequest.ngwm__removeMembersRequest = ngwm__removeMembersRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest, "-ngw:removeMembersRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest, "-ngw:removeMembersRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeMembersResponse)
- return soap_closesock(soap);
- ngwm__removeMembersResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeMembersResponse->soap_get(soap, "ngwm:removeMembersResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse)
-{ struct __ngw__removeProxyAccessRequest soap_tmp___ngw__removeProxyAccessRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeProxyAccessRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeProxyAccessRequest.ngwm__removeProxyAccessRequest = ngwm__removeProxyAccessRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest, "-ngw:removeProxyAccessRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest, "-ngw:removeProxyAccessRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeProxyAccessResponse)
- return soap_closesock(soap);
- ngwm__removeProxyAccessResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeProxyAccessResponse->soap_get(soap, "ngwm:removeProxyAccessResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyUserRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse)
-{ struct __ngw__removeProxyUserRequest soap_tmp___ngw__removeProxyUserRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeProxyUserRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeProxyUserRequest.ngwm__removeProxyUserRequest = ngwm__removeProxyUserRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest, "-ngw:removeProxyUserRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest, "-ngw:removeProxyUserRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeProxyUserResponse)
- return soap_closesock(soap);
- ngwm__removeProxyUserResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeProxyUserResponse->soap_get(soap, "ngwm:removeProxyUserResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse)
-{ struct __ngw__removeSignatureRequest soap_tmp___ngw__removeSignatureRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeSignatureRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeSignatureRequest.ngwm__removeSignatureRequest = ngwm__removeSignatureRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest, "-ngw:removeSignatureRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest, "-ngw:removeSignatureRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__removeSignatureResponse)
- return soap_closesock(soap);
- ngwm__removeSignatureResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__removeSignatureResponse->soap_get(soap, "ngwm:removeSignatureResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__replyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse)
-{ struct __ngw__replyRequest soap_tmp___ngw__replyRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "replyRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__replyRequest.ngwm__replyRequest = ngwm__replyRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest, "-ngw:replyRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest, "-ngw:replyRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__replyResponse)
- return soap_closesock(soap);
- ngwm__replyResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__replyResponse->soap_get(soap, "ngwm:replyResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__retractRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse)
-{ struct __ngw__retractRequest soap_tmp___ngw__retractRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "retractRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__retractRequest.ngwm__retractRequest = ngwm__retractRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest, "-ngw:retractRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest, "-ngw:retractRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__retractResponse)
- return soap_closesock(soap);
- ngwm__retractResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__retractResponse->soap_get(soap, "ngwm:retractResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__sendItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse)
-{ struct __ngw__sendItemRequest soap_tmp___ngw__sendItemRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "sendItemRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__sendItemRequest.ngwm__sendItemRequest = ngwm__sendItemRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest, "-ngw:sendItemRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest, "-ngw:sendItemRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__sendItemResponse)
- return soap_closesock(soap);
- ngwm__sendItemResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__sendItemResponse->soap_get(soap, "ngwm:sendItemResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__setTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse)
-{ struct __ngw__setTimestampRequest soap_tmp___ngw__setTimestampRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "setTimestampRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__setTimestampRequest.ngwm__setTimestampRequest = ngwm__setTimestampRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest, "-ngw:setTimestampRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest, "-ngw:setTimestampRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__setTimestampResponse)
- return soap_closesock(soap);
- ngwm__setTimestampResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__setTimestampResponse->soap_get(soap, "ngwm:setTimestampResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__startFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse)
-{ struct __ngw__startFreeBusySessionRequest soap_tmp___ngw__startFreeBusySessionRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "startFreeBusySessionRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__startFreeBusySessionRequest.ngwm__startFreeBusySessionRequest = ngwm__startFreeBusySessionRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest, "-ngw:startFreeBusySessionRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest, "-ngw:startFreeBusySessionRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__startFreeBusySessionResponse)
- return soap_closesock(soap);
- ngwm__startFreeBusySessionResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__startFreeBusySessionResponse->soap_get(soap, "ngwm:startFreeBusySessionResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__unacceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse)
-{ struct __ngw__unacceptRequest soap_tmp___ngw__unacceptRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "unacceptRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__unacceptRequest.ngwm__unacceptRequest = ngwm__unacceptRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest, "-ngw:unacceptRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest, "-ngw:unacceptRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__unacceptResponse)
- return soap_closesock(soap);
- ngwm__unacceptResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__unacceptResponse->soap_get(soap, "ngwm:unacceptResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__uncompleteRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse)
-{ struct __ngw__uncompleteRequest soap_tmp___ngw__uncompleteRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "uncompleteRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__uncompleteRequest.ngwm__uncompleteRequest = ngwm__uncompleteRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest, "-ngw:uncompleteRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest, "-ngw:uncompleteRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__uncompleteResponse)
- return soap_closesock(soap);
- ngwm__uncompleteResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__uncompleteResponse->soap_get(soap, "ngwm:uncompleteResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__updateVersionStatusRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse)
-{ struct __ngw__updateVersionStatusRequest soap_tmp___ngw__updateVersionStatusRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "updateVersionStatusRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__updateVersionStatusRequest.ngwm__updateVersionStatusRequest = ngwm__updateVersionStatusRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest, "-ngw:updateVersionStatusRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest, "-ngw:updateVersionStatusRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwm__updateVersionStatusResponse)
- return soap_closesock(soap);
- ngwm__updateVersionStatusResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwm__updateVersionStatusResponse->soap_get(soap, "ngwm:updateVersionStatusResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse)
-{ struct __ngw__cleanEventConfigurationRequest soap_tmp___ngw__cleanEventConfigurationRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "cleanEventConfigurationRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__cleanEventConfigurationRequest.ngwe__cleanEventConfigurationRequest = ngwe__cleanEventConfigurationRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest, "-ngw:cleanEventConfigurationRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest, "-ngw:cleanEventConfigurationRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__cleanEventConfigurationResponse)
- return soap_closesock(soap);
- ngwe__cleanEventConfigurationResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__cleanEventConfigurationResponse->soap_get(soap, "ngwe:cleanEventConfigurationResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__configureEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse)
-{ struct __ngw__configureEventsRequest soap_tmp___ngw__configureEventsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "configureEventsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__configureEventsRequest.ngwe__configureEventsRequest = ngwe__configureEventsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest, "-ngw:configureEventsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest, "-ngw:configureEventsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__configureEventsResponse)
- return soap_closesock(soap);
- ngwe__configureEventsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__configureEventsResponse->soap_get(soap, "ngwe:configureEventsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse)
-{ struct __ngw__getEventConfigurationRequest soap_tmp___ngw__getEventConfigurationRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getEventConfigurationRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getEventConfigurationRequest.ngwe__getEventConfigurationRequest = ngwe__getEventConfigurationRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest, "-ngw:getEventConfigurationRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest, "-ngw:getEventConfigurationRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__getEventConfigurationResponse)
- return soap_closesock(soap);
- ngwe__getEventConfigurationResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__getEventConfigurationResponse->soap_get(soap, "ngwe:getEventConfigurationResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse)
-{ struct __ngw__getEventsRequest soap_tmp___ngw__getEventsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "getEventsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__getEventsRequest.ngwe__getEventsRequest = ngwe__getEventsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest, "-ngw:getEventsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest, "-ngw:getEventsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__getEventsResponse)
- return soap_closesock(soap);
- ngwe__getEventsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__getEventsResponse->soap_get(soap, "ngwe:getEventsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse)
-{ struct __ngw__removeEventConfigurationRequest soap_tmp___ngw__removeEventConfigurationRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeEventConfigurationRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeEventConfigurationRequest.ngwe__removeEventConfigurationRequest = ngwe__removeEventConfigurationRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest, "-ngw:removeEventConfigurationRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest, "-ngw:removeEventConfigurationRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__removeEventConfigurationResponse)
- return soap_closesock(soap);
- ngwe__removeEventConfigurationResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__removeEventConfigurationResponse->soap_get(soap, "ngwe:removeEventConfigurationResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse)
-{ struct __ngw__removeEventsRequest soap_tmp___ngw__removeEventsRequest;
- if (!soap_endpoint)
- soap_endpoint = "http://localhost:8080";
- if (!soap_action)
- soap_action = "removeEventsRequest";
- soap->encodingStyle = NULL;
- soap_tmp___ngw__removeEventsRequest.ngwe__removeEventsRequest = ngwe__removeEventsRequest;
- soap_begin(soap);
- soap_serializeheader(soap);
- soap_serialize___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_put___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest, "-ngw:removeEventsRequest", "");
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_connect(soap, soap_endpoint, soap_action)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_put___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest, "-ngw:removeEventsRequest", "")
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap)
- || soap_end_send(soap))
- return soap_closesock(soap);
- if (!ngwe__removeEventsResponse)
- return soap_closesock(soap);
- ngwe__removeEventsResponse->soap_default(soap);
- if (soap_begin_recv(soap)
- || soap_envelope_begin_in(soap)
- || soap_recv_header(soap)
- || soap_body_begin_in(soap))
- return soap_closesock(soap);
- ngwe__removeEventsResponse->soap_get(soap, "ngwe:removeEventsResponse", "");
- if (soap->error)
- { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
- return soap_recv_fault(soap);
- return soap_closesock(soap);
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- return soap_closesock(soap);
-}
-
-/* End of soapClient.cpp */
diff --git a/kresources/groupwise/soap/soapGroupWiseBindingProxy.h b/kresources/groupwise/soap/soapGroupWiseBindingProxy.h
deleted file mode 100644
index cf618459..00000000
--- a/kresources/groupwise/soap/soapGroupWiseBindingProxy.h
+++ /dev/null
@@ -1,114 +0,0 @@
-/* soapGroupWiseBindingProxy.h
- Generated by gSOAP 2.7.3 from ./groupwise.h
- Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This part of the software is released under one of the following licenses:
- GPL, the gSOAP public license, or Genivia's license for commercial use.
-*/
-
-#ifndef soapGroupWiseBinding_H
-#define soapGroupWiseBinding_H
-#include "soapH.h"
-class GroupWiseBinding
-{ public:
- struct soap *soap;
- const char *endpoint;
- GroupWiseBinding()
- { soap = soap_new(); endpoint = "http://localhost:8080"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] =
-{
- {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
- {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
- {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
- {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
- {"ngwt", "http://schemas.novell.com/2005/01/GroupWise/types", NULL, NULL},
- {"ngwm", "http://schemas.novell.com/2005/01/GroupWise/methods", NULL, NULL},
- {"ngw", "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl", NULL, NULL},
- {"ngwe", "http://schemas.novell.com/2005/01/GroupWise/events", NULL, NULL},
- {NULL, NULL, NULL, NULL}
-};
- soap->namespaces = namespaces; } };
- virtual ~GroupWiseBinding() { if (soap) { soap_destroy(soap); soap_end(soap); soap_done(soap); free((void*)soap); } };
- virtual int __ngw__acceptRequest(_ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse) { return soap ? soap_call___ngw__acceptRequest(soap, endpoint, NULL, ngwm__acceptRequest, ngwm__acceptResponse) : SOAP_EOM; };
- virtual int __ngw__acceptShareRequest(_ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse) { return soap ? soap_call___ngw__acceptShareRequest(soap, endpoint, NULL, ngwm__acceptShareRequest, ngwm__acceptShareResponse) : SOAP_EOM; };
- virtual int __ngw__addItemRequest(_ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse) { return soap ? soap_call___ngw__addItemRequest(soap, endpoint, NULL, ngwm__addItemRequest, ngwm__addItemResponse) : SOAP_EOM; };
- virtual int __ngw__addItemsRequest(_ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse) { return soap ? soap_call___ngw__addItemsRequest(soap, endpoint, NULL, ngwm__addItemsRequest, ngwm__addItemsResponse) : SOAP_EOM; };
- virtual int __ngw__addMembersRequest(_ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse) { return soap ? soap_call___ngw__addMembersRequest(soap, endpoint, NULL, ngwm__addMembersRequest, ngwm__addMembersResponse) : SOAP_EOM; };
- virtual int __ngw__closeFreeBusySessionRequest(_ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse) { return soap ? soap_call___ngw__closeFreeBusySessionRequest(soap, endpoint, NULL, ngwm__closeFreeBusySessionRequest, ngwm__closeFreeBusySessionResponse) : SOAP_EOM; };
- virtual int __ngw__completeRequest(_ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse) { return soap ? soap_call___ngw__completeRequest(soap, endpoint, NULL, ngwm__completeRequest, ngwm__completeResponse) : SOAP_EOM; };
- virtual int __ngw__createCursorRequest(_ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse) { return soap ? soap_call___ngw__createCursorRequest(soap, endpoint, NULL, ngwm__createCursorRequest, ngwm__createCursorResponse) : SOAP_EOM; };
- virtual int __ngw__createItemRequest(_ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse) { return soap ? soap_call___ngw__createItemRequest(soap, endpoint, NULL, ngwm__createItemRequest, ngwm__createItemResponse) : SOAP_EOM; };
- virtual int __ngw__createItemsRequest(_ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse) { return soap ? soap_call___ngw__createItemsRequest(soap, endpoint, NULL, ngwm__createItemsRequest, ngwm__createItemsResponse) : SOAP_EOM; };
- virtual int __ngw__createJunkEntryRequest(_ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse) { return soap ? soap_call___ngw__createJunkEntryRequest(soap, endpoint, NULL, ngwm__createJunkEntryRequest, ngwm__createJunkEntryResponse) : SOAP_EOM; };
- virtual int __ngw__createProxyAccessRequest(_ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse) { return soap ? soap_call___ngw__createProxyAccessRequest(soap, endpoint, NULL, ngwm__createProxyAccessRequest, ngwm__createProxyAccessResponse) : SOAP_EOM; };
- virtual int __ngw__createSignatureRequest(_ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse) { return soap ? soap_call___ngw__createSignatureRequest(soap, endpoint, NULL, ngwm__createSignatureRequest, ngwm__createSignatureResponse) : SOAP_EOM; };
- virtual int __ngw__declineRequest(_ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse) { return soap ? soap_call___ngw__declineRequest(soap, endpoint, NULL, ngwm__declineRequest, ngwm__declineResponse) : SOAP_EOM; };
- virtual int __ngw__delegateRequest(_ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse) { return soap ? soap_call___ngw__delegateRequest(soap, endpoint, NULL, ngwm__delegateRequest, ngwm__delegateResponse) : SOAP_EOM; };
- virtual int __ngw__destroyCursorRequest(_ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse) { return soap ? soap_call___ngw__destroyCursorRequest(soap, endpoint, NULL, ngwm__destroyCursorRequest, ngwm__destroyCursorResponse) : SOAP_EOM; };
- virtual int __ngw__executeRuleRequest(_ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse) { return soap ? soap_call___ngw__executeRuleRequest(soap, endpoint, NULL, ngwm__executeRuleRequest, ngwm__executeRuleResponse) : SOAP_EOM; };
- virtual int __ngw__forwardRequest(_ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse) { return soap ? soap_call___ngw__forwardRequest(soap, endpoint, NULL, ngwm__forwardRequest, ngwm__forwardResponse) : SOAP_EOM; };
- virtual int __ngw__getAddressBookListRequest(_ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse) { return soap ? soap_call___ngw__getAddressBookListRequest(soap, endpoint, NULL, ngwm__getAddressBookListRequest, ngwm__getAddressBookListResponse) : SOAP_EOM; };
- virtual int __ngw__getAttachmentRequestMessage(_ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse) { return soap ? soap_call___ngw__getAttachmentRequestMessage(soap, endpoint, NULL, ngwm__getAttachmentRequest, ngwm__getAttachmentResponse) : SOAP_EOM; };
- virtual int __ngw__getCategoryListRequest(_ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse) { return soap ? soap_call___ngw__getCategoryListRequest(soap, endpoint, NULL, ngwm__getCategoryListRequest, ngwm__getCategoryListResponse) : SOAP_EOM; };
- virtual int __ngw__getCustomListRequest(_ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse) { return soap ? soap_call___ngw__getCustomListRequest(soap, endpoint, NULL, ngwm__getCustomListRequest, ngwm__getCustomListResponse) : SOAP_EOM; };
- virtual int __ngw__getDeltasRequest(_ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse) { return soap ? soap_call___ngw__getDeltasRequest(soap, endpoint, NULL, ngwm__getDeltasRequest, ngwm__getDeltasResponse) : SOAP_EOM; };
- virtual int __ngw__getDeltaInfoRequest(_ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse) { return soap ? soap_call___ngw__getDeltaInfoRequest(soap, endpoint, NULL, ngwm__getDeltaInfoRequest, ngwm__getDeltaInfoResponse) : SOAP_EOM; };
- virtual int __ngw__getDocumentTypeListRequest(_ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse) { return soap ? soap_call___ngw__getDocumentTypeListRequest(soap, endpoint, NULL, ngwm__getDocumentTypeListRequest, ngwm__getDocumentTypeListResponse) : SOAP_EOM; };
- virtual int __ngw__getFolderRequest(_ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse) { return soap ? soap_call___ngw__getFolderRequest(soap, endpoint, NULL, ngwm__getFolderRequest, ngwm__getFolderResponse) : SOAP_EOM; };
- virtual int __ngw__getFolderListRequest(_ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse) { return soap ? soap_call___ngw__getFolderListRequest(soap, endpoint, NULL, ngwm__getFolderListRequest, ngwm__getFolderListResponse) : SOAP_EOM; };
- virtual int __ngw__getFreeBusyRequest(_ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse) { return soap ? soap_call___ngw__getFreeBusyRequest(soap, endpoint, NULL, ngwm__getFreeBusyRequest, ngwm__getFreeBusyResponse) : SOAP_EOM; };
- virtual int __ngw__getItemRequest(_ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse) { return soap ? soap_call___ngw__getItemRequest(soap, endpoint, NULL, ngwm__getItemRequest, ngwm__getItemResponse) : SOAP_EOM; };
- virtual int __ngw__getItemsRequest(_ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse) { return soap ? soap_call___ngw__getItemsRequest(soap, endpoint, NULL, ngwm__getItemsRequest, ngwm__getItemsResponse) : SOAP_EOM; };
- virtual int __ngw__getJunkEntriesRequest(_ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse) { return soap ? soap_call___ngw__getJunkEntriesRequest(soap, endpoint, NULL, ngwm__getJunkEntriesRequest, ngwm__getJunkEntriesResponse) : SOAP_EOM; };
- virtual int __ngw__getJunkMailSettingsRequest(_ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse) { return soap ? soap_call___ngw__getJunkMailSettingsRequest(soap, endpoint, NULL, ngwm__getJunkMailSettingsRequest, ngwm__getJunkMailSettingsResponse) : SOAP_EOM; };
- virtual int __ngw__getLibraryItemRequest(_ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse) { return soap ? soap_call___ngw__getLibraryItemRequest(soap, endpoint, NULL, ngwm__getLibraryItemRequest, ngwm__getLibraryItemResponse) : SOAP_EOM; };
- virtual int __ngw__getLibraryListRequest(_ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse) { return soap ? soap_call___ngw__getLibraryListRequest(soap, endpoint, NULL, ngwm__getLibraryListRequest, ngwm__getLibraryListResponse) : SOAP_EOM; };
- virtual int __ngw__getQuickMessagesRequest(_ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse) { return soap ? soap_call___ngw__getQuickMessagesRequest(soap, endpoint, NULL, ngwm__getQuickMessagesRequest, ngwm__getQuickMessagesResponse) : SOAP_EOM; };
- virtual int __ngw__getProxyAccessListRequest(_ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse) { return soap ? soap_call___ngw__getProxyAccessListRequest(soap, endpoint, NULL, ngwm__getProxyAccessListRequest, ngwm__getProxyAccessListResponse) : SOAP_EOM; };
- virtual int __ngw__getProxyListRequest(_ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse) { return soap ? soap_call___ngw__getProxyListRequest(soap, endpoint, NULL, ngwm__getProxyListRequest, ngwm__getProxyListResponse) : SOAP_EOM; };
- virtual int __ngw__getRuleListRequest(_ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse) { return soap ? soap_call___ngw__getRuleListRequest(soap, endpoint, NULL, ngwm__getRuleListRequest, ngwm__getRuleListResponse) : SOAP_EOM; };
- virtual int __ngw__getSettingsRequest(_ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse) { return soap ? soap_call___ngw__getSettingsRequest(soap, endpoint, NULL, ngwm__getSettingsRequest, ngwm__getSettingsResponse) : SOAP_EOM; };
- virtual int __ngw__getSignaturesRequest(_ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse) { return soap ? soap_call___ngw__getSignaturesRequest(soap, endpoint, NULL, ngwm__getSignaturesRequest, ngwm__getSignaturesResponse) : SOAP_EOM; };
- virtual int __ngw__getTimestampRequest(_ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse) { return soap ? soap_call___ngw__getTimestampRequest(soap, endpoint, NULL, ngwm__getTimestampRequest, ngwm__getTimestampResponse) : SOAP_EOM; };
- virtual int __ngw__getTimezoneListRequest(_ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse) { return soap ? soap_call___ngw__getTimezoneListRequest(soap, endpoint, NULL, ngwm__getTimezoneListRequest, ngwm__getTimezoneListResponse) : SOAP_EOM; };
- virtual int __ngw__getUserListRequest(_ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse) { return soap ? soap_call___ngw__getUserListRequest(soap, endpoint, NULL, ngwm__getUserListRequest, ngwm__getUserListResponse) : SOAP_EOM; };
- virtual int __ngw__loginRequest(_ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse) { return soap ? soap_call___ngw__loginRequest(soap, endpoint, NULL, ngwm__loginRequest, ngwm__loginResponse) : SOAP_EOM; };
- virtual int __ngw__logoutRequest(_ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse) { return soap ? soap_call___ngw__logoutRequest(soap, endpoint, NULL, ngwm__logoutRequest, ngwm__logoutResponse) : SOAP_EOM; };
- virtual int __ngw__markPrivateRequest(_ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse) { return soap ? soap_call___ngw__markPrivateRequest(soap, endpoint, NULL, ngwm__markPrivateRequest, ngwm__markPrivateResponse) : SOAP_EOM; };
- virtual int __ngw__markReadRequest(_ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse) { return soap ? soap_call___ngw__markReadRequest(soap, endpoint, NULL, ngwm__markReadRequest, ngwm__markReadResponse) : SOAP_EOM; };
- virtual int __ngw__markUnPrivateRequest(_ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse) { return soap ? soap_call___ngw__markUnPrivateRequest(soap, endpoint, NULL, ngwm__markUnPrivateRequest, ngwm__markUnPrivateResponse) : SOAP_EOM; };
- virtual int __ngw__markUnReadRequest(_ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse) { return soap ? soap_call___ngw__markUnReadRequest(soap, endpoint, NULL, ngwm__markUnReadRequest, ngwm__markUnReadResponse) : SOAP_EOM; };
- virtual int __ngw__modifyItemRequest(_ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse) { return soap ? soap_call___ngw__modifyItemRequest(soap, endpoint, NULL, ngwm__modifyItemRequest, ngwm__modifyItemResponse) : SOAP_EOM; };
- virtual int __ngw__modifyJunkEntryRequest(_ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse) { return soap ? soap_call___ngw__modifyJunkEntryRequest(soap, endpoint, NULL, ngwm__modifyJunkEntryRequest, ngwm__modifyJunkEntryResponse) : SOAP_EOM; };
- virtual int __ngw__modifyJunkMailSettingsRequest(_ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse) { return soap ? soap_call___ngw__modifyJunkMailSettingsRequest(soap, endpoint, NULL, ngwm__modifyJunkMailSettingsRequest, ngwm__modifyJunkMailSettingsResponse) : SOAP_EOM; };
- virtual int __ngw__modifyPasswordRequest(_ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse) { return soap ? soap_call___ngw__modifyPasswordRequest(soap, endpoint, NULL, ngwm__modifyPasswordRequest, ngwm__modifyPasswordResponse) : SOAP_EOM; };
- virtual int __ngw__modifyProxyAccessRequest(_ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse) { return soap ? soap_call___ngw__modifyProxyAccessRequest(soap, endpoint, NULL, ngwm__modifyProxyAccessRequest, ngwm__modifyProxyAccessResponse) : SOAP_EOM; };
- virtual int __ngw__modifySettingsRequest(_ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse) { return soap ? soap_call___ngw__modifySettingsRequest(soap, endpoint, NULL, ngwm__modifySettingsRequest, ngwm__modifySettingsResponse) : SOAP_EOM; };
- virtual int __ngw__modifySignaturesRequest(_ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse) { return soap ? soap_call___ngw__modifySignaturesRequest(soap, endpoint, NULL, ngwm__modifySignaturesRequest, ngwm__modifySignaturesResponse) : SOAP_EOM; };
- virtual int __ngw__moveItemRequest(_ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse) { return soap ? soap_call___ngw__moveItemRequest(soap, endpoint, NULL, ngwm__moveItemRequest, ngwm__moveItemResponse) : SOAP_EOM; };
- virtual int __ngw__positionCursorRequest(_ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse) { return soap ? soap_call___ngw__positionCursorRequest(soap, endpoint, NULL, ngwm__positionCursorRequest, ngwm__positionCursorResponse) : SOAP_EOM; };
- virtual int __ngw__purgeDeletedItemsRequest(_ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse) { return soap ? soap_call___ngw__purgeDeletedItemsRequest(soap, endpoint, NULL, ngwm__purgeDeletedItemsRequest, ngwm__purgeDeletedItemsResponse) : SOAP_EOM; };
- virtual int __ngw__purgeRequest(_ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse) { return soap ? soap_call___ngw__purgeRequest(soap, endpoint, NULL, ngwm__purgeRequest, ngwm__purgeResponse) : SOAP_EOM; };
- virtual int __ngw__readCursorRequest(_ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse) { return soap ? soap_call___ngw__readCursorRequest(soap, endpoint, NULL, ngwm__readCursorRequest, ngwm__readCursorResponse) : SOAP_EOM; };
- virtual int __ngw__removeCustomDefinitionRequest(_ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse) { return soap ? soap_call___ngw__removeCustomDefinitionRequest(soap, endpoint, NULL, ngwm__removeCustomDefinitionRequest, ngwm__removeCustomDefinitionResponse) : SOAP_EOM; };
- virtual int __ngw__removeItemRequest(_ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse) { return soap ? soap_call___ngw__removeItemRequest(soap, endpoint, NULL, ngwm__removeItemRequest, ngwm__removeItemResponse) : SOAP_EOM; };
- virtual int __ngw__removeItemsRequest(_ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse) { return soap ? soap_call___ngw__removeItemsRequest(soap, endpoint, NULL, ngwm__removeItemsRequest, ngwm__removeItemsResponse) : SOAP_EOM; };
- virtual int __ngw__removeJunkEntryRequest(_ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse) { return soap ? soap_call___ngw__removeJunkEntryRequest(soap, endpoint, NULL, ngwm__removeJunkEntryRequest, ngwm__removeJunkEntryResponse) : SOAP_EOM; };
- virtual int __ngw__removeMembersRequest(_ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse) { return soap ? soap_call___ngw__removeMembersRequest(soap, endpoint, NULL, ngwm__removeMembersRequest, ngwm__removeMembersResponse) : SOAP_EOM; };
- virtual int __ngw__removeProxyAccessRequest(_ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse) { return soap ? soap_call___ngw__removeProxyAccessRequest(soap, endpoint, NULL, ngwm__removeProxyAccessRequest, ngwm__removeProxyAccessResponse) : SOAP_EOM; };
- virtual int __ngw__removeProxyUserRequest(_ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse) { return soap ? soap_call___ngw__removeProxyUserRequest(soap, endpoint, NULL, ngwm__removeProxyUserRequest, ngwm__removeProxyUserResponse) : SOAP_EOM; };
- virtual int __ngw__removeSignatureRequest(_ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse) { return soap ? soap_call___ngw__removeSignatureRequest(soap, endpoint, NULL, ngwm__removeSignatureRequest, ngwm__removeSignatureResponse) : SOAP_EOM; };
- virtual int __ngw__replyRequest(_ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse) { return soap ? soap_call___ngw__replyRequest(soap, endpoint, NULL, ngwm__replyRequest, ngwm__replyResponse) : SOAP_EOM; };
- virtual int __ngw__retractRequest(_ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse) { return soap ? soap_call___ngw__retractRequest(soap, endpoint, NULL, ngwm__retractRequest, ngwm__retractResponse) : SOAP_EOM; };
- virtual int __ngw__sendItemRequest(_ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse) { return soap ? soap_call___ngw__sendItemRequest(soap, endpoint, NULL, ngwm__sendItemRequest, ngwm__sendItemResponse) : SOAP_EOM; };
- virtual int __ngw__setTimestampRequest(_ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse) { return soap ? soap_call___ngw__setTimestampRequest(soap, endpoint, NULL, ngwm__setTimestampRequest, ngwm__setTimestampResponse) : SOAP_EOM; };
- virtual int __ngw__startFreeBusySessionRequest(_ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse) { return soap ? soap_call___ngw__startFreeBusySessionRequest(soap, endpoint, NULL, ngwm__startFreeBusySessionRequest, ngwm__startFreeBusySessionResponse) : SOAP_EOM; };
- virtual int __ngw__unacceptRequest(_ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse) { return soap ? soap_call___ngw__unacceptRequest(soap, endpoint, NULL, ngwm__unacceptRequest, ngwm__unacceptResponse) : SOAP_EOM; };
- virtual int __ngw__uncompleteRequest(_ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse) { return soap ? soap_call___ngw__uncompleteRequest(soap, endpoint, NULL, ngwm__uncompleteRequest, ngwm__uncompleteResponse) : SOAP_EOM; };
- virtual int __ngw__updateVersionStatusRequest(_ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse) { return soap ? soap_call___ngw__updateVersionStatusRequest(soap, endpoint, NULL, ngwm__updateVersionStatusRequest, ngwm__updateVersionStatusResponse) : SOAP_EOM; };
- virtual int __ngw__cleanEventConfigurationRequest(_ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse) { return soap ? soap_call___ngw__cleanEventConfigurationRequest(soap, endpoint, NULL, ngwe__cleanEventConfigurationRequest, ngwe__cleanEventConfigurationResponse) : SOAP_EOM; };
- virtual int __ngw__configureEventsRequest(_ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse) { return soap ? soap_call___ngw__configureEventsRequest(soap, endpoint, NULL, ngwe__configureEventsRequest, ngwe__configureEventsResponse) : SOAP_EOM; };
- virtual int __ngw__getEventConfigurationRequest(_ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse) { return soap ? soap_call___ngw__getEventConfigurationRequest(soap, endpoint, NULL, ngwe__getEventConfigurationRequest, ngwe__getEventConfigurationResponse) : SOAP_EOM; };
- virtual int __ngw__getEventsRequest(_ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse) { return soap ? soap_call___ngw__getEventsRequest(soap, endpoint, NULL, ngwe__getEventsRequest, ngwe__getEventsResponse) : SOAP_EOM; };
- virtual int __ngw__removeEventConfigurationRequest(_ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse) { return soap ? soap_call___ngw__removeEventConfigurationRequest(soap, endpoint, NULL, ngwe__removeEventConfigurationRequest, ngwe__removeEventConfigurationResponse) : SOAP_EOM; };
- virtual int __ngw__removeEventsRequest(_ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse) { return soap ? soap_call___ngw__removeEventsRequest(soap, endpoint, NULL, ngwe__removeEventsRequest, ngwe__removeEventsResponse) : SOAP_EOM; };
-};
-#endif
diff --git a/kresources/groupwise/soap/soapH.h b/kresources/groupwise/soap/soapH.h
deleted file mode 100644
index aa7f1e0e..00000000
--- a/kresources/groupwise/soap/soapH.h
+++ /dev/null
@@ -1,9201 +0,0 @@
-/* soapH.h
- Generated by gSOAP 2.7.3 from ./groupwise.h
- Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This part of the software is released under one of the following licenses:
- GPL, the gSOAP public license, or Genivia's license for commercial use.
-*/
-
-#ifndef soapH_H
-#define soapH_H
-#include "soapStub.h"
-SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
-#ifndef WITH_NOIDREF
-SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);
-SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
-SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap*, int*);
-#endif
-
-SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_fdelete(struct soap_clist*);
-SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*);
-
-SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap*, const char*, void*, int, int, size_t, unsigned int);
-
-SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfMonth
-#define SOAP_TYPE_ngwt__DayOfMonth (350)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfMonth(struct soap*, char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfMonth(struct soap*, const char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonth(struct soap*, const char*, int, const char *, const char*);
-SOAP_FMAC3 char * SOAP_FMAC4 soap_get_ngwt__DayOfMonth(struct soap*, char *, const char*, const char*);
-SOAP_FMAC3 char * SOAP_FMAC4 soap_in_ngwt__DayOfMonth(struct soap*, const char*, char *, const char*);
-
-#ifndef SOAP_TYPE_byte
-#define SOAP_TYPE_byte (2)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
-SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
-SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__WeekOfYear
-#define SOAP_TYPE_ngwt__WeekOfYear (387)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekOfYear(struct soap*, short *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekOfYear(struct soap*, const short *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekOfYear(struct soap*, const char*, int, const short *, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__WeekOfYear(struct soap*, short *, const char*, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__WeekOfYear(struct soap*, const char*, short *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__DayOfYear
-#define SOAP_TYPE_ngwt__DayOfYear (352)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfYear(struct soap*, short *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfYear(struct soap*, const short *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYear(struct soap*, const char*, int, const short *, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__DayOfYear(struct soap*, short *, const char*, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__DayOfYear(struct soap*, const char*, short *, const char*);
-
-#ifndef SOAP_TYPE_short
-#define SOAP_TYPE_short (351)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_short(struct soap*, short *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_short(struct soap*, const short *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_short(struct soap*, const char*, int, const short *, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_get_short(struct soap*, short *, const char*, const char*);
-SOAP_FMAC3 short * SOAP_FMAC4 soap_in_short(struct soap*, const char*, short *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__GMTOffset
-#define SOAP_TYPE_ngwt__GMTOffset (361)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__GMTOffset(struct soap*, int *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__GMTOffset(struct soap*, const int *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GMTOffset(struct soap*, const char*, int, const int *, const char*);
-SOAP_FMAC3 int * SOAP_FMAC4 soap_get_ngwt__GMTOffset(struct soap*, int *, const char*, const char*);
-SOAP_FMAC3 int * SOAP_FMAC4 soap_in_ngwt__GMTOffset(struct soap*, const char*, int *, const char*);
-
-#ifndef SOAP_TYPE_int
-#define SOAP_TYPE_int (1)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
-SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
-SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
-
-#ifndef SOAP_TYPE_long
-#define SOAP_TYPE_long (403)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_long(struct soap*, long *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_long(struct soap*, const long *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_long(struct soap*, const char*, int, const long *, const char*);
-SOAP_FMAC3 long * SOAP_FMAC4 soap_get_long(struct soap*, long *, const char*, const char*);
-SOAP_FMAC3 long * SOAP_FMAC4 soap_in_long(struct soap*, const char*, long *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__Month
-#define SOAP_TYPE_ngwt__Month (373)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Month(struct soap*, unsigned char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Month(struct soap*, const unsigned char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Month(struct soap*, const char*, int, const unsigned char *, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Month(struct soap*, unsigned char *, const char*, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Month(struct soap*, const char*, unsigned char *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__Minute
-#define SOAP_TYPE_ngwt__Minute (372)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Minute(struct soap*, unsigned char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Minute(struct soap*, const unsigned char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Minute(struct soap*, const char*, int, const unsigned char *, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Minute(struct soap*, unsigned char *, const char*, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Minute(struct soap*, const char*, unsigned char *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__Hour
-#define SOAP_TYPE_ngwt__Hour (362)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Hour(struct soap*, unsigned char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Hour(struct soap*, const unsigned char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Hour(struct soap*, const char*, int, const unsigned char *, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Hour(struct soap*, unsigned char *, const char*, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Hour(struct soap*, const char*, unsigned char *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__Day
-#define SOAP_TYPE_ngwt__Day (349)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Day(struct soap*, unsigned char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Day(struct soap*, const unsigned char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Day(struct soap*, const char*, int, const unsigned char *, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Day(struct soap*, unsigned char *, const char*, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Day(struct soap*, const char*, unsigned char *, const char*);
-
-#ifndef SOAP_TYPE_unsignedByte
-#define SOAP_TYPE_unsignedByte (9)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap*, unsigned char *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap*, const unsigned char *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap*, const char*, int, const unsigned char *, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap*, unsigned char *, const char*, const char*);
-SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap*, const char*, unsigned char *, const char*);
-
-#ifndef SOAP_TYPE_unsignedInt
-#define SOAP_TYPE_unsignedInt (8)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap*, unsigned int *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap*, const unsigned int *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap*, const char*, int, const unsigned int *, const char*);
-SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap*, unsigned int *, const char*, const char*);
-SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap*, const char*, unsigned int *, const char*);
-
-#ifndef SOAP_TYPE_unsignedLong
-#define SOAP_TYPE_unsignedLong (404)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedLong(struct soap*, unsigned long *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedLong(struct soap*, const unsigned long *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedLong(struct soap*, const char*, int, const unsigned long *, const char*);
-SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_get_unsignedLong(struct soap*, unsigned long *, const char*, const char*);
-SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_in_unsignedLong(struct soap*, const char*, unsigned long *, const char*);
-
-#ifndef SOAP_TYPE_bool
-#define SOAP_TYPE_bool (393)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap*, bool *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap*, const bool *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap*, const char*, int, const bool *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap*, bool);
-SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap*, bool *, const char*, const char*);
-SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap*, const char*, bool *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap*, const char*, bool *);
-
-#ifndef SOAP_TYPE_ngwe__ItemType
-#define SOAP_TYPE_ngwe__ItemType (390)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemType(struct soap*, enum ngwe__ItemType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemType(struct soap*, const enum ngwe__ItemType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemType(struct soap*, const char*, int, const enum ngwe__ItemType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__ItemType2s(struct soap*, enum ngwe__ItemType);
-SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_get_ngwe__ItemType(struct soap*, enum ngwe__ItemType *, const char*, const char*);
-SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_in_ngwe__ItemType(struct soap*, const char*, enum ngwe__ItemType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__ItemType(struct soap*, const char*, enum ngwe__ItemType *);
-
-#ifndef SOAP_TYPE_ngwe__Field
-#define SOAP_TYPE_ngwe__Field (389)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__Field(struct soap*, enum ngwe__Field *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__Field(struct soap*, const enum ngwe__Field *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Field(struct soap*, const char*, int, const enum ngwe__Field *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__Field2s(struct soap*, enum ngwe__Field);
-SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_get_ngwe__Field(struct soap*, enum ngwe__Field *, const char*, const char*);
-SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_in_ngwe__Field(struct soap*, const char*, enum ngwe__Field *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__Field(struct soap*, const char*, enum ngwe__Field *);
-
-#ifndef SOAP_TYPE_ngwe__EventType
-#define SOAP_TYPE_ngwe__EventType (388)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__EventType(struct soap*, enum ngwe__EventType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__EventType(struct soap*, const enum ngwe__EventType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventType(struct soap*, const char*, int, const enum ngwe__EventType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__EventType2s(struct soap*, enum ngwe__EventType);
-SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_get_ngwe__EventType(struct soap*, enum ngwe__EventType *, const char*, const char*);
-SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_in_ngwe__EventType(struct soap*, const char*, enum ngwe__EventType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__EventType(struct soap*, const char*, enum ngwe__EventType *);
-
-#ifndef SOAP_TYPE_ngwt__WeekDay
-#define SOAP_TYPE_ngwt__WeekDay (386)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekDay(struct soap*, enum ngwt__WeekDay *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekDay(struct soap*, const enum ngwt__WeekDay *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekDay(struct soap*, const char*, int, const enum ngwt__WeekDay *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__WeekDay2s(struct soap*, enum ngwt__WeekDay);
-SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_get_ngwt__WeekDay(struct soap*, enum ngwt__WeekDay *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_in_ngwt__WeekDay(struct soap*, const char*, enum ngwt__WeekDay *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__WeekDay(struct soap*, const char*, enum ngwt__WeekDay *);
-
-#ifndef SOAP_TYPE_ngwt__VersionStatus
-#define SOAP_TYPE_ngwt__VersionStatus (385)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionStatus(struct soap*, const enum ngwt__VersionStatus *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionStatus(struct soap*, const char*, int, const enum ngwt__VersionStatus *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionStatus2s(struct soap*, enum ngwt__VersionStatus);
-SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_get_ngwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_in_ngwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus *);
-
-#ifndef SOAP_TYPE_ngwt__VersionEventType
-#define SOAP_TYPE_ngwt__VersionEventType (384)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionEventType(struct soap*, enum ngwt__VersionEventType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionEventType(struct soap*, const enum ngwt__VersionEventType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEventType(struct soap*, const char*, int, const enum ngwt__VersionEventType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionEventType2s(struct soap*, enum ngwt__VersionEventType);
-SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_get_ngwt__VersionEventType(struct soap*, enum ngwt__VersionEventType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_in_ngwt__VersionEventType(struct soap*, const char*, enum ngwt__VersionEventType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionEventType(struct soap*, const char*, enum ngwt__VersionEventType *);
-
-#ifndef SOAP_TYPE_ngwt__StatusTrackingOptions
-#define SOAP_TYPE_ngwt__StatusTrackingOptions (381)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__StatusTrackingOptions(struct soap*, enum ngwt__StatusTrackingOptions *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__StatusTrackingOptions(struct soap*, const enum ngwt__StatusTrackingOptions *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTrackingOptions(struct soap*, const char*, int, const enum ngwt__StatusTrackingOptions *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__StatusTrackingOptions2s(struct soap*, enum ngwt__StatusTrackingOptions);
-SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_get_ngwt__StatusTrackingOptions(struct soap*, enum ngwt__StatusTrackingOptions *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_in_ngwt__StatusTrackingOptions(struct soap*, const char*, enum ngwt__StatusTrackingOptions *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__StatusTrackingOptions(struct soap*, const char*, enum ngwt__StatusTrackingOptions *);
-
-#ifndef SOAP_TYPE_ngwt__RuleActionType
-#define SOAP_TYPE_ngwt__RuleActionType (380)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RuleActionType(struct soap*, enum ngwt__RuleActionType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RuleActionType(struct soap*, const enum ngwt__RuleActionType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionType(struct soap*, const char*, int, const enum ngwt__RuleActionType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RuleActionType2s(struct soap*, enum ngwt__RuleActionType);
-SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_get_ngwt__RuleActionType(struct soap*, enum ngwt__RuleActionType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_in_ngwt__RuleActionType(struct soap*, const char*, enum ngwt__RuleActionType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RuleActionType(struct soap*, const char*, enum ngwt__RuleActionType *);
-
-#ifndef SOAP_TYPE_ngwt__RetractType
-#define SOAP_TYPE_ngwt__RetractType (379)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RetractType(struct soap*, enum ngwt__RetractType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RetractType(struct soap*, const enum ngwt__RetractType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RetractType(struct soap*, const char*, int, const enum ngwt__RetractType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RetractType2s(struct soap*, enum ngwt__RetractType);
-SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_get_ngwt__RetractType(struct soap*, enum ngwt__RetractType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_in_ngwt__RetractType(struct soap*, const char*, enum ngwt__RetractType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RetractType(struct soap*, const char*, enum ngwt__RetractType *);
-
-#ifndef SOAP_TYPE_ngwt__RecipientType
-#define SOAP_TYPE_ngwt__RecipientType (378)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RecipientType(struct soap*, enum ngwt__RecipientType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RecipientType(struct soap*, const enum ngwt__RecipientType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientType(struct soap*, const char*, int, const enum ngwt__RecipientType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RecipientType2s(struct soap*, enum ngwt__RecipientType);
-SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_get_ngwt__RecipientType(struct soap*, enum ngwt__RecipientType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_in_ngwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType *);
-
-#ifndef SOAP_TYPE_ngwt__PostalAddressType
-#define SOAP_TYPE_ngwt__PostalAddressType (377)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PostalAddressType(struct soap*, enum ngwt__PostalAddressType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PostalAddressType(struct soap*, const enum ngwt__PostalAddressType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressType(struct soap*, const char*, int, const enum ngwt__PostalAddressType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PostalAddressType2s(struct soap*, enum ngwt__PostalAddressType);
-SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_get_ngwt__PostalAddressType(struct soap*, enum ngwt__PostalAddressType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_in_ngwt__PostalAddressType(struct soap*, const char*, enum ngwt__PostalAddressType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PostalAddressType(struct soap*, const char*, enum ngwt__PostalAddressType *);
-
-#ifndef SOAP_TYPE_ngwt__PhoneNumberType
-#define SOAP_TYPE_ngwt__PhoneNumberType (376)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PhoneNumberType(struct soap*, enum ngwt__PhoneNumberType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PhoneNumberType(struct soap*, const enum ngwt__PhoneNumberType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumberType(struct soap*, const char*, int, const enum ngwt__PhoneNumberType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PhoneNumberType2s(struct soap*, enum ngwt__PhoneNumberType);
-SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_get_ngwt__PhoneNumberType(struct soap*, enum ngwt__PhoneNumberType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_in_ngwt__PhoneNumberType(struct soap*, const char*, enum ngwt__PhoneNumberType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PhoneNumberType(struct soap*, const char*, enum ngwt__PhoneNumberType *);
-
-#ifndef SOAP_TYPE_ngwt__OccurrenceType
-#define SOAP_TYPE_ngwt__OccurrenceType (375)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__OccurrenceType(struct soap*, const enum ngwt__OccurrenceType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OccurrenceType(struct soap*, const char*, int, const enum ngwt__OccurrenceType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__OccurrenceType2s(struct soap*, enum ngwt__OccurrenceType);
-SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_get_ngwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_in_ngwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType *);
-
-#ifndef SOAP_TYPE_ngwt__NotificationType
-#define SOAP_TYPE_ngwt__NotificationType (374)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__NotificationType(struct soap*, enum ngwt__NotificationType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__NotificationType(struct soap*, const enum ngwt__NotificationType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NotificationType(struct soap*, const char*, int, const enum ngwt__NotificationType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__NotificationType2s(struct soap*, enum ngwt__NotificationType);
-SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_get_ngwt__NotificationType(struct soap*, enum ngwt__NotificationType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_in_ngwt__NotificationType(struct soap*, const char*, enum ngwt__NotificationType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__NotificationType(struct soap*, const char*, enum ngwt__NotificationType *);
-
-#ifndef SOAP_TYPE_ngwt__MessageType
-#define SOAP_TYPE_ngwt__MessageType (371)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageType(struct soap*, enum ngwt__MessageType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageType(struct soap*, const enum ngwt__MessageType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageType(struct soap*, const char*, int, const enum ngwt__MessageType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageType2s(struct soap*, enum ngwt__MessageType);
-SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_get_ngwt__MessageType(struct soap*, enum ngwt__MessageType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_in_ngwt__MessageType(struct soap*, const char*, enum ngwt__MessageType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageType(struct soap*, const char*, enum ngwt__MessageType *);
-
-#ifndef SOAP_TYPE_ngwt__MessageList
-#define SOAP_TYPE_ngwt__MessageList (370)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageList(struct soap*, enum ngwt__MessageList *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageList(struct soap*, const enum ngwt__MessageList *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageList(struct soap*, const char*, int, const enum ngwt__MessageList *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageList2s(struct soap*, enum ngwt__MessageList);
-SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_get_ngwt__MessageList(struct soap*, enum ngwt__MessageList *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_in_ngwt__MessageList(struct soap*, const char*, enum ngwt__MessageList *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageList(struct soap*, const char*, enum ngwt__MessageList *);
-
-#ifndef SOAP_TYPE_ngwt__LinkType
-#define SOAP_TYPE_ngwt__LinkType (369)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__LinkType(struct soap*, enum ngwt__LinkType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__LinkType(struct soap*, const enum ngwt__LinkType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkType(struct soap*, const char*, int, const enum ngwt__LinkType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__LinkType2s(struct soap*, enum ngwt__LinkType);
-SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_get_ngwt__LinkType(struct soap*, enum ngwt__LinkType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_in_ngwt__LinkType(struct soap*, const char*, enum ngwt__LinkType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__LinkType(struct soap*, const char*, enum ngwt__LinkType *);
-
-#ifndef SOAP_TYPE_ngwt__JunkMatchType
-#define SOAP_TYPE_ngwt__JunkMatchType (368)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkMatchType(struct soap*, enum ngwt__JunkMatchType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkMatchType(struct soap*, const enum ngwt__JunkMatchType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkMatchType(struct soap*, const char*, int, const enum ngwt__JunkMatchType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkMatchType2s(struct soap*, enum ngwt__JunkMatchType);
-SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_get_ngwt__JunkMatchType(struct soap*, enum ngwt__JunkMatchType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_in_ngwt__JunkMatchType(struct soap*, const char*, enum ngwt__JunkMatchType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkMatchType(struct soap*, const char*, enum ngwt__JunkMatchType *);
-
-#ifndef SOAP_TYPE_ngwt__JunkHandlingListType
-#define SOAP_TYPE_ngwt__JunkHandlingListType (367)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkHandlingListType(struct soap*, const enum ngwt__JunkHandlingListType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingListType(struct soap*, const char*, int, const enum ngwt__JunkHandlingListType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkHandlingListType2s(struct soap*, enum ngwt__JunkHandlingListType);
-SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_get_ngwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_in_ngwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType *);
-
-#ifndef SOAP_TYPE_ngwt__ItemSource
-#define SOAP_TYPE_ngwt__ItemSource (366)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSource(struct soap*, enum ngwt__ItemSource *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSource(struct soap*, const enum ngwt__ItemSource *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSource(struct soap*, const char*, int, const enum ngwt__ItemSource *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSource2s(struct soap*, enum ngwt__ItemSource);
-SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_get_ngwt__ItemSource(struct soap*, enum ngwt__ItemSource *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_in_ngwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource *);
-
-#ifndef SOAP_TYPE_ngwt__ItemSecurity
-#define SOAP_TYPE_ngwt__ItemSecurity (365)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSecurity(struct soap*, const enum ngwt__ItemSecurity *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSecurity(struct soap*, const char*, int, const enum ngwt__ItemSecurity *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSecurity2s(struct soap*, enum ngwt__ItemSecurity);
-SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_get_ngwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_in_ngwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity *);
-
-#ifndef SOAP_TYPE_ngwt__ItemOptionsPriority
-#define SOAP_TYPE_ngwt__ItemOptionsPriority (364)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemOptionsPriority(struct soap*, enum ngwt__ItemOptionsPriority *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemOptionsPriority(struct soap*, const enum ngwt__ItemOptionsPriority *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptionsPriority(struct soap*, const char*, int, const enum ngwt__ItemOptionsPriority *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemOptionsPriority2s(struct soap*, enum ngwt__ItemOptionsPriority);
-SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_get_ngwt__ItemOptionsPriority(struct soap*, enum ngwt__ItemOptionsPriority *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_in_ngwt__ItemOptionsPriority(struct soap*, const char*, enum ngwt__ItemOptionsPriority *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemOptionsPriority(struct soap*, const char*, enum ngwt__ItemOptionsPriority *);
-
-#ifndef SOAP_TYPE_ngwt__ItemClass
-#define SOAP_TYPE_ngwt__ItemClass (363)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemClass(struct soap*, enum ngwt__ItemClass *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemClass(struct soap*, const enum ngwt__ItemClass *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemClass(struct soap*, const char*, int, const enum ngwt__ItemClass *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemClass2s(struct soap*, enum ngwt__ItemClass);
-SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_get_ngwt__ItemClass(struct soap*, enum ngwt__ItemClass *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_in_ngwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass *);
-
-#ifndef SOAP_TYPE_ngwt__Frequency
-#define SOAP_TYPE_ngwt__Frequency (360)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Frequency(struct soap*, enum ngwt__Frequency *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Frequency(struct soap*, const enum ngwt__Frequency *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Frequency(struct soap*, const char*, int, const enum ngwt__Frequency *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Frequency2s(struct soap*, enum ngwt__Frequency);
-SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_get_ngwt__Frequency(struct soap*, enum ngwt__Frequency *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_in_ngwt__Frequency(struct soap*, const char*, enum ngwt__Frequency *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Frequency(struct soap*, const char*, enum ngwt__Frequency *);
-
-#ifndef SOAP_TYPE_ngwt__FolderType
-#define SOAP_TYPE_ngwt__FolderType (359)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderType(struct soap*, enum ngwt__FolderType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderType(struct soap*, const enum ngwt__FolderType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderType(struct soap*, const char*, int, const enum ngwt__FolderType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderType2s(struct soap*, enum ngwt__FolderType);
-SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_get_ngwt__FolderType(struct soap*, enum ngwt__FolderType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_in_ngwt__FolderType(struct soap*, const char*, enum ngwt__FolderType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderType(struct soap*, const char*, enum ngwt__FolderType *);
-
-#ifndef SOAP_TYPE_ngwt__FolderACLStatus
-#define SOAP_TYPE_ngwt__FolderACLStatus (358)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderACLStatus(struct soap*, const enum ngwt__FolderACLStatus *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLStatus(struct soap*, const char*, int, const enum ngwt__FolderACLStatus *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderACLStatus2s(struct soap*, enum ngwt__FolderACLStatus);
-SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_get_ngwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_in_ngwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus *);
-
-#ifndef SOAP_TYPE_ngwt__FilterOp
-#define SOAP_TYPE_ngwt__FilterOp (357)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterOp(struct soap*, enum ngwt__FilterOp *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterOp(struct soap*, const enum ngwt__FilterOp *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterOp(struct soap*, const char*, int, const enum ngwt__FilterOp *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterOp2s(struct soap*, enum ngwt__FilterOp);
-SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_get_ngwt__FilterOp(struct soap*, enum ngwt__FilterOp *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_in_ngwt__FilterOp(struct soap*, const char*, enum ngwt__FilterOp *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterOp(struct soap*, const char*, enum ngwt__FilterOp *);
-
-#ifndef SOAP_TYPE_ngwt__FilterDate
-#define SOAP_TYPE_ngwt__FilterDate (356)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterDate(struct soap*, enum ngwt__FilterDate *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterDate(struct soap*, const enum ngwt__FilterDate *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterDate(struct soap*, const char*, int, const enum ngwt__FilterDate *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterDate2s(struct soap*, enum ngwt__FilterDate);
-SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_get_ngwt__FilterDate(struct soap*, enum ngwt__FilterDate *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_in_ngwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate *);
-
-#ifndef SOAP_TYPE_ngwt__Execution
-#define SOAP_TYPE_ngwt__Execution (355)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Execution(struct soap*, enum ngwt__Execution *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Execution(struct soap*, const enum ngwt__Execution *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Execution(struct soap*, const char*, int, const enum ngwt__Execution *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Execution2s(struct soap*, enum ngwt__Execution);
-SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_get_ngwt__Execution(struct soap*, enum ngwt__Execution *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_in_ngwt__Execution(struct soap*, const char*, enum ngwt__Execution *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Execution(struct soap*, const char*, enum ngwt__Execution *);
-
-#ifndef SOAP_TYPE_ngwt__DistributionType
-#define SOAP_TYPE_ngwt__DistributionType (354)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DistributionType(struct soap*, enum ngwt__DistributionType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DistributionType(struct soap*, const enum ngwt__DistributionType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DistributionType(struct soap*, const char*, int, const enum ngwt__DistributionType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DistributionType2s(struct soap*, enum ngwt__DistributionType);
-SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_get_ngwt__DistributionType(struct soap*, enum ngwt__DistributionType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_in_ngwt__DistributionType(struct soap*, const char*, enum ngwt__DistributionType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DistributionType(struct soap*, const char*, enum ngwt__DistributionType *);
-
-#ifndef SOAP_TYPE_ngwt__DeltaSyncType
-#define SOAP_TYPE_ngwt__DeltaSyncType (353)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DeltaSyncType(struct soap*, const enum ngwt__DeltaSyncType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaSyncType(struct soap*, const char*, int, const enum ngwt__DeltaSyncType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DeltaSyncType2s(struct soap*, enum ngwt__DeltaSyncType);
-SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_get_ngwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_in_ngwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType *);
-
-#ifndef SOAP_TYPE_ngwt__CustomType
-#define SOAP_TYPE_ngwt__CustomType (348)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CustomType(struct soap*, enum ngwt__CustomType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CustomType(struct soap*, const enum ngwt__CustomType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomType(struct soap*, const char*, int, const enum ngwt__CustomType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CustomType2s(struct soap*, enum ngwt__CustomType);
-SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_get_ngwt__CustomType(struct soap*, enum ngwt__CustomType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_in_ngwt__CustomType(struct soap*, const char*, enum ngwt__CustomType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CustomType(struct soap*, const char*, enum ngwt__CustomType *);
-
-#ifndef SOAP_TYPE_ngwt__CursorSeek
-#define SOAP_TYPE_ngwt__CursorSeek (347)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CursorSeek(struct soap*, const enum ngwt__CursorSeek *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CursorSeek(struct soap*, const char*, int, const enum ngwt__CursorSeek *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CursorSeek2s(struct soap*, enum ngwt__CursorSeek);
-SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_get_ngwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_in_ngwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek *);
-
-#ifndef SOAP_TYPE_ngwt__ContactType
-#define SOAP_TYPE_ngwt__ContactType (346)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ContactType(struct soap*, enum ngwt__ContactType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ContactType(struct soap*, const enum ngwt__ContactType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactType(struct soap*, const char*, int, const enum ngwt__ContactType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ContactType2s(struct soap*, enum ngwt__ContactType);
-SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_get_ngwt__ContactType(struct soap*, enum ngwt__ContactType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_in_ngwt__ContactType(struct soap*, const char*, enum ngwt__ContactType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ContactType(struct soap*, const char*, enum ngwt__ContactType *);
-
-#ifndef SOAP_TYPE_ngwt__CategoryType
-#define SOAP_TYPE_ngwt__CategoryType (345)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CategoryType(struct soap*, enum ngwt__CategoryType *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CategoryType(struct soap*, const enum ngwt__CategoryType *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryType(struct soap*, const char*, int, const enum ngwt__CategoryType *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CategoryType2s(struct soap*, enum ngwt__CategoryType);
-SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_get_ngwt__CategoryType(struct soap*, enum ngwt__CategoryType *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_in_ngwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType *);
-
-#ifndef SOAP_TYPE_ngwt__CalendarFolderFlags
-#define SOAP_TYPE_ngwt__CalendarFolderFlags (344)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CalendarFolderFlags(struct soap*, enum ngwt__CalendarFolderFlags *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CalendarFolderFlags(struct soap*, const enum ngwt__CalendarFolderFlags *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderFlags(struct soap*, const char*, int, const enum ngwt__CalendarFolderFlags *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CalendarFolderFlags2s(struct soap*, enum ngwt__CalendarFolderFlags);
-SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_get_ngwt__CalendarFolderFlags(struct soap*, enum ngwt__CalendarFolderFlags *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_in_ngwt__CalendarFolderFlags(struct soap*, const char*, enum ngwt__CalendarFolderFlags *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CalendarFolderFlags(struct soap*, const char*, enum ngwt__CalendarFolderFlags *);
-
-#ifndef SOAP_TYPE_ngwt__AppointmentConflict
-#define SOAP_TYPE_ngwt__AppointmentConflict (343)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AppointmentConflict(struct soap*, enum ngwt__AppointmentConflict *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AppointmentConflict(struct soap*, const enum ngwt__AppointmentConflict *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AppointmentConflict(struct soap*, const char*, int, const enum ngwt__AppointmentConflict *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AppointmentConflict2s(struct soap*, enum ngwt__AppointmentConflict);
-SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_get_ngwt__AppointmentConflict(struct soap*, enum ngwt__AppointmentConflict *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_in_ngwt__AppointmentConflict(struct soap*, const char*, enum ngwt__AppointmentConflict *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AppointmentConflict(struct soap*, const char*, enum ngwt__AppointmentConflict *);
-
-#ifndef SOAP_TYPE_ngwt__AgeAction
-#define SOAP_TYPE_ngwt__AgeAction (342)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AgeAction(struct soap*, enum ngwt__AgeAction *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AgeAction(struct soap*, const enum ngwt__AgeAction *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AgeAction(struct soap*, const char*, int, const enum ngwt__AgeAction *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AgeAction2s(struct soap*, enum ngwt__AgeAction);
-SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_get_ngwt__AgeAction(struct soap*, enum ngwt__AgeAction *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_in_ngwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction *);
-
-#ifndef SOAP_TYPE_ngwt__AcceptLevel
-#define SOAP_TYPE_ngwt__AcceptLevel (341)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AcceptLevel(struct soap*, const enum ngwt__AcceptLevel *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AcceptLevel(struct soap*, const char*, int, const enum ngwt__AcceptLevel *, const char*);
-
-SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AcceptLevel2s(struct soap*, enum ngwt__AcceptLevel);
-SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_get_ngwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_in_ngwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel *, const char*);
-
-SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel *);
-
-#ifndef SOAP_TYPE_ngwe__ItemTypeList
-#define SOAP_TYPE_ngwe__ItemTypeList (340)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemTypeList(struct soap*, const enum ngwe__ItemTypeList *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemTypeList(struct soap*, const char*, int, const enum ngwe__ItemTypeList *, const char*);
-SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_get_ngwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *, const char*, const char*);
-SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_in_ngwe__ItemTypeList(struct soap*, const char*, enum ngwe__ItemTypeList *, const char*);
-
-#ifndef SOAP_TYPE_ngwe__FieldList
-#define SOAP_TYPE_ngwe__FieldList (339)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__FieldList(struct soap*, enum ngwe__FieldList *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__FieldList(struct soap*, const enum ngwe__FieldList *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__FieldList(struct soap*, const char*, int, const enum ngwe__FieldList *, const char*);
-SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_get_ngwe__FieldList(struct soap*, enum ngwe__FieldList *, const char*, const char*);
-SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_in_ngwe__FieldList(struct soap*, const char*, enum ngwe__FieldList *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__MessageTypeList
-#define SOAP_TYPE_ngwt__MessageTypeList (337)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageTypeList(struct soap*, const enum ngwt__MessageTypeList *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageTypeList(struct soap*, const char*, int, const enum ngwt__MessageTypeList *, const char*);
-SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_get_ngwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_in_ngwt__MessageTypeList(struct soap*, const char*, enum ngwt__MessageTypeList *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__ItemSourceList
-#define SOAP_TYPE_ngwt__ItemSourceList (336)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSourceList(struct soap*, const enum ngwt__ItemSourceList *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSourceList(struct soap*, const char*, int, const enum ngwt__ItemSourceList *, const char*);
-SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_get_ngwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_in_ngwt__ItemSourceList(struct soap*, const char*, enum ngwt__ItemSourceList *, const char*);
-
-#ifndef SOAP_TYPE_ngwt__UUID
-#define SOAP_TYPE_ngwt__UUID (383)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__UUID(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__UUID(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__UUID(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UUID(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__UUID(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__UUID(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__UUID(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UUID(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__UUID(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UUID(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__uid
-#define SOAP_TYPE_ngwt__uid (382)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__uid(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__uid(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__uid(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__uid(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__uid(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__uid(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__uid(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__uid(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__uid(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__uid(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__View
-#define SOAP_TYPE_ngwt__View (338)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__View(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__View(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__View(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__View(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__View(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__View(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__View(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__View(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__View(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__View(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__removeEventsResponse
-#define SOAP_TYPE__ngwe__removeEventsResponse (335)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsResponse(struct soap*, const char*, int, const _ngwe__removeEventsResponse *, const char*);
-SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_get__ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_in__ngwe__removeEventsResponse(struct soap*, const char*, _ngwe__removeEventsResponse *, const char*);
-SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_new__ngwe__removeEventsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse*);
-SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__removeEventsRequest
-#define SOAP_TYPE__ngwe__removeEventsRequest (334)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsRequest(struct soap*, const char*, int, const _ngwe__removeEventsRequest *, const char*);
-SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_get__ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_in__ngwe__removeEventsRequest(struct soap*, const char*, _ngwe__removeEventsRequest *, const char*);
-SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_new__ngwe__removeEventsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest*);
-SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__removeEventConfigurationResponse
-#define SOAP_TYPE__ngwe__removeEventConfigurationResponse (333)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__removeEventConfigurationResponse *, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationResponse(struct soap*, const char*, _ngwe__removeEventConfigurationResponse *, const char*);
-SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse*);
-SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__removeEventConfigurationRequest
-#define SOAP_TYPE__ngwe__removeEventConfigurationRequest (332)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__removeEventConfigurationRequest *, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationRequest(struct soap*, const char*, _ngwe__removeEventConfigurationRequest *, const char*);
-SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest*);
-SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__getEventsResponse
-#define SOAP_TYPE__ngwe__getEventsResponse (331)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsResponse(struct soap*, const char*, int, const _ngwe__getEventsResponse *, const char*);
-SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_get__ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_in__ngwe__getEventsResponse(struct soap*, const char*, _ngwe__getEventsResponse *, const char*);
-SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_new__ngwe__getEventsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse*);
-SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__getEventsRequest
-#define SOAP_TYPE__ngwe__getEventsRequest (330)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsRequest(struct soap*, const char*, int, const _ngwe__getEventsRequest *, const char*);
-SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_get__ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_in__ngwe__getEventsRequest(struct soap*, const char*, _ngwe__getEventsRequest *, const char*);
-SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_new__ngwe__getEventsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest*);
-SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__getEventConfigurationResponse
-#define SOAP_TYPE__ngwe__getEventConfigurationResponse (329)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__getEventConfigurationResponse *, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationResponse(struct soap*, const char*, _ngwe__getEventConfigurationResponse *, const char*);
-SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse*);
-SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__getEventConfigurationRequest
-#define SOAP_TYPE__ngwe__getEventConfigurationRequest (328)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__getEventConfigurationRequest *, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationRequest(struct soap*, const char*, _ngwe__getEventConfigurationRequest *, const char*);
-SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest*);
-SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__configureEventsResponse
-#define SOAP_TYPE__ngwe__configureEventsResponse (327)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsResponse(struct soap*, const char*, int, const _ngwe__configureEventsResponse *, const char*);
-SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_get__ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_in__ngwe__configureEventsResponse(struct soap*, const char*, _ngwe__configureEventsResponse *, const char*);
-SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_new__ngwe__configureEventsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse*);
-SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__configureEventsRequest
-#define SOAP_TYPE__ngwe__configureEventsRequest (326)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsRequest(struct soap*, const char*, int, const _ngwe__configureEventsRequest *, const char*);
-SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_get__ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_in__ngwe__configureEventsRequest(struct soap*, const char*, _ngwe__configureEventsRequest *, const char*);
-SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_new__ngwe__configureEventsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest*);
-SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationResponse
-#define SOAP_TYPE__ngwe__cleanEventConfigurationResponse (325)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__cleanEventConfigurationResponse *, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationResponse(struct soap*, const char*, _ngwe__cleanEventConfigurationResponse *, const char*);
-SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse*);
-SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationRequest
-#define SOAP_TYPE__ngwe__cleanEventConfigurationRequest (324)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__cleanEventConfigurationRequest *, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationRequest(struct soap*, const char*, _ngwe__cleanEventConfigurationRequest *, const char*);
-SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest*);
-SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__Notify
-#define SOAP_TYPE_ngwe__Notify (323)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Notify(struct soap*, const char*, int, const ngwe__Notify *, const char*);
-SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_get_ngwe__Notify(struct soap*, ngwe__Notify *, const char*, const char*);
-SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_in_ngwe__Notify(struct soap*, const char*, ngwe__Notify *, const char*);
-SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_new_ngwe__Notify(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Notify(struct soap*, ngwe__Notify*);
-SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_instantiate_ngwe__Notify(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Notify(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__EventTypeList
-#define SOAP_TYPE_ngwe__EventTypeList (322)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventTypeList(struct soap*, const char*, int, const ngwe__EventTypeList *, const char*);
-SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_get_ngwe__EventTypeList(struct soap*, ngwe__EventTypeList *, const char*, const char*);
-SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_in_ngwe__EventTypeList(struct soap*, const char*, ngwe__EventTypeList *, const char*);
-SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_new_ngwe__EventTypeList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventTypeList(struct soap*, ngwe__EventTypeList*);
-SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_instantiate_ngwe__EventTypeList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventTypeList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__EventsList
-#define SOAP_TYPE_ngwe__EventsList (321)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventsList(struct soap*, const char*, int, const ngwe__EventsList *, const char*);
-SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_get_ngwe__EventsList(struct soap*, ngwe__EventsList *, const char*, const char*);
-SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_in_ngwe__EventsList(struct soap*, const char*, ngwe__EventsList *, const char*);
-SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_new_ngwe__EventsList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventsList(struct soap*, ngwe__EventsList*);
-SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_instantiate_ngwe__EventsList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventsList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__Events
-#define SOAP_TYPE_ngwe__Events (320)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Events(struct soap*, const char*, int, const ngwe__Events *, const char*);
-SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_get_ngwe__Events(struct soap*, ngwe__Events *, const char*, const char*);
-SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_in_ngwe__Events(struct soap*, const char*, ngwe__Events *, const char*);
-SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_new_ngwe__Events(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Events(struct soap*, ngwe__Events*);
-SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_instantiate_ngwe__Events(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Events(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__EventList
-#define SOAP_TYPE_ngwe__EventList (319)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventList(struct soap*, const char*, int, const ngwe__EventList *, const char*);
-SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_get_ngwe__EventList(struct soap*, ngwe__EventList *, const char*, const char*);
-SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_in_ngwe__EventList(struct soap*, const char*, ngwe__EventList *, const char*);
-SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_new_ngwe__EventList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventList(struct soap*, ngwe__EventList*);
-SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_instantiate_ngwe__EventList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__EventDefinition
-#define SOAP_TYPE_ngwe__EventDefinition (318)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventDefinition(struct soap*, const char*, int, const ngwe__EventDefinition *, const char*);
-SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_get_ngwe__EventDefinition(struct soap*, ngwe__EventDefinition *, const char*, const char*);
-SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_in_ngwe__EventDefinition(struct soap*, const char*, ngwe__EventDefinition *, const char*);
-SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_new_ngwe__EventDefinition(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventDefinition(struct soap*, ngwe__EventDefinition*);
-SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_instantiate_ngwe__EventDefinition(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventDefinition(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__Event
-#define SOAP_TYPE_ngwe__Event (317)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Event(struct soap*, const char*, int, const ngwe__Event *, const char*);
-SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_get_ngwe__Event(struct soap*, ngwe__Event *, const char*, const char*);
-SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_in_ngwe__Event(struct soap*, const char*, ngwe__Event *, const char*);
-SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_new_ngwe__Event(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Event(struct soap*, ngwe__Event*);
-SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_instantiate_ngwe__Event(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Event(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwe__ContainerList
-#define SOAP_TYPE_ngwe__ContainerList (316)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ContainerList(struct soap*, const char*, int, const ngwe__ContainerList *, const char*);
-SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_get_ngwe__ContainerList(struct soap*, ngwe__ContainerList *, const char*, const char*);
-SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_in_ngwe__ContainerList(struct soap*, const char*, ngwe__ContainerList *, const char*);
-SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_new_ngwe__ContainerList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__ContainerList(struct soap*, ngwe__ContainerList*);
-SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_instantiate_ngwe__ContainerList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__ContainerList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__updateVersionStatusResponse
-#define SOAP_TYPE__ngwm__updateVersionStatusResponse (315)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusResponse(struct soap*, const char*, int, const _ngwm__updateVersionStatusResponse *, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusResponse(struct soap*, const char*, _ngwm__updateVersionStatusResponse *, const char*);
-SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse*);
-SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__updateVersionStatusRequest
-#define SOAP_TYPE__ngwm__updateVersionStatusRequest (314)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusRequest(struct soap*, const char*, int, const _ngwm__updateVersionStatusRequest *, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusRequest(struct soap*, const char*, _ngwm__updateVersionStatusRequest *, const char*);
-SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest*);
-SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__uncompleteResponse
-#define SOAP_TYPE__ngwm__uncompleteResponse (313)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteResponse(struct soap*, const char*, int, const _ngwm__uncompleteResponse *, const char*);
-SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_get__ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_in__ngwm__uncompleteResponse(struct soap*, const char*, _ngwm__uncompleteResponse *, const char*);
-SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_new__ngwm__uncompleteResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse*);
-SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__uncompleteRequest
-#define SOAP_TYPE__ngwm__uncompleteRequest (312)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteRequest(struct soap*, const char*, int, const _ngwm__uncompleteRequest *, const char*);
-SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_get__ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_in__ngwm__uncompleteRequest(struct soap*, const char*, _ngwm__uncompleteRequest *, const char*);
-SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_new__ngwm__uncompleteRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest*);
-SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__unacceptResponse
-#define SOAP_TYPE__ngwm__unacceptResponse (311)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptResponse(struct soap*, const char*, int, const _ngwm__unacceptResponse *, const char*);
-SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_get__ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_in__ngwm__unacceptResponse(struct soap*, const char*, _ngwm__unacceptResponse *, const char*);
-SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_new__ngwm__unacceptResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse*);
-SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__unacceptResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__unacceptRequest
-#define SOAP_TYPE__ngwm__unacceptRequest (310)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptRequest(struct soap*, const char*, int, const _ngwm__unacceptRequest *, const char*);
-SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_get__ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_in__ngwm__unacceptRequest(struct soap*, const char*, _ngwm__unacceptRequest *, const char*);
-SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_new__ngwm__unacceptRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest*);
-SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__unacceptRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__startFreeBusySessionResponse
-#define SOAP_TYPE__ngwm__startFreeBusySessionResponse (309)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionResponse(struct soap*, const char*, int, const _ngwm__startFreeBusySessionResponse *, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionResponse(struct soap*, const char*, _ngwm__startFreeBusySessionResponse *, const char*);
-SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse*);
-SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__startFreeBusySessionRequest
-#define SOAP_TYPE__ngwm__startFreeBusySessionRequest (308)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionRequest(struct soap*, const char*, int, const _ngwm__startFreeBusySessionRequest *, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionRequest(struct soap*, const char*, _ngwm__startFreeBusySessionRequest *, const char*);
-SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest*);
-SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__setTimestampResponse
-#define SOAP_TYPE__ngwm__setTimestampResponse (307)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampResponse(struct soap*, const char*, int, const _ngwm__setTimestampResponse *, const char*);
-SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_get__ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_in__ngwm__setTimestampResponse(struct soap*, const char*, _ngwm__setTimestampResponse *, const char*);
-SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_new__ngwm__setTimestampResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse*);
-SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__setTimestampRequest
-#define SOAP_TYPE__ngwm__setTimestampRequest (306)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampRequest(struct soap*, const char*, int, const _ngwm__setTimestampRequest *, const char*);
-SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_get__ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_in__ngwm__setTimestampRequest(struct soap*, const char*, _ngwm__setTimestampRequest *, const char*);
-SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_new__ngwm__setTimestampRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest*);
-SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__sendItemResponse
-#define SOAP_TYPE__ngwm__sendItemResponse (305)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemResponse(struct soap*, const char*, int, const _ngwm__sendItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_get__ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_in__ngwm__sendItemResponse(struct soap*, const char*, _ngwm__sendItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_new__ngwm__sendItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse*);
-SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__sendItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__sendItemRequest
-#define SOAP_TYPE__ngwm__sendItemRequest (304)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemRequest(struct soap*, const char*, int, const _ngwm__sendItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_get__ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_in__ngwm__sendItemRequest(struct soap*, const char*, _ngwm__sendItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_new__ngwm__sendItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest*);
-SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__sendItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__retractResponse
-#define SOAP_TYPE__ngwm__retractResponse (303)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractResponse(struct soap*, const char*, int, const _ngwm__retractResponse *, const char*);
-SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_get__ngwm__retractResponse(struct soap*, _ngwm__retractResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_in__ngwm__retractResponse(struct soap*, const char*, _ngwm__retractResponse *, const char*);
-SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_new__ngwm__retractResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractResponse(struct soap*, _ngwm__retractResponse*);
-SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_instantiate__ngwm__retractResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__retractRequest
-#define SOAP_TYPE__ngwm__retractRequest (302)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractRequest(struct soap*, const char*, int, const _ngwm__retractRequest *, const char*);
-SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_get__ngwm__retractRequest(struct soap*, _ngwm__retractRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_in__ngwm__retractRequest(struct soap*, const char*, _ngwm__retractRequest *, const char*);
-SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_new__ngwm__retractRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractRequest(struct soap*, _ngwm__retractRequest*);
-SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_instantiate__ngwm__retractRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__replyResponse
-#define SOAP_TYPE__ngwm__replyResponse (301)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyResponse(struct soap*, const char*, int, const _ngwm__replyResponse *, const char*);
-SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_get__ngwm__replyResponse(struct soap*, _ngwm__replyResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_in__ngwm__replyResponse(struct soap*, const char*, _ngwm__replyResponse *, const char*);
-SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_new__ngwm__replyResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyResponse(struct soap*, _ngwm__replyResponse*);
-SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_instantiate__ngwm__replyResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__replyRequest
-#define SOAP_TYPE__ngwm__replyRequest (300)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyRequest(struct soap*, const char*, int, const _ngwm__replyRequest *, const char*);
-SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_get__ngwm__replyRequest(struct soap*, _ngwm__replyRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_in__ngwm__replyRequest(struct soap*, const char*, _ngwm__replyRequest *, const char*);
-SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_new__ngwm__replyRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyRequest(struct soap*, _ngwm__replyRequest*);
-SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_instantiate__ngwm__replyRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeSignatureResponse
-#define SOAP_TYPE__ngwm__removeSignatureResponse (299)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureResponse(struct soap*, const char*, int, const _ngwm__removeSignatureResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_get__ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_in__ngwm__removeSignatureResponse(struct soap*, const char*, _ngwm__removeSignatureResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_new__ngwm__removeSignatureResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse*);
-SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeSignatureRequest
-#define SOAP_TYPE__ngwm__removeSignatureRequest (298)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureRequest(struct soap*, const char*, int, const _ngwm__removeSignatureRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_get__ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_in__ngwm__removeSignatureRequest(struct soap*, const char*, _ngwm__removeSignatureRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_new__ngwm__removeSignatureRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest*);
-SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeProxyUserResponse
-#define SOAP_TYPE__ngwm__removeProxyUserResponse (297)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserResponse(struct soap*, const char*, int, const _ngwm__removeProxyUserResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyUserResponse(struct soap*, const char*, _ngwm__removeProxyUserResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyUserResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse*);
-SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeProxyUserRequest
-#define SOAP_TYPE__ngwm__removeProxyUserRequest (296)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserRequest(struct soap*, const char*, int, const _ngwm__removeProxyUserRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyUserRequest(struct soap*, const char*, _ngwm__removeProxyUserRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyUserRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest*);
-SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeProxyAccessResponse
-#define SOAP_TYPE__ngwm__removeProxyAccessResponse (295)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessResponse(struct soap*, const char*, int, const _ngwm__removeProxyAccessResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessResponse(struct soap*, const char*, _ngwm__removeProxyAccessResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse*);
-SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeProxyAccessRequest
-#define SOAP_TYPE__ngwm__removeProxyAccessRequest (294)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessRequest(struct soap*, const char*, int, const _ngwm__removeProxyAccessRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessRequest(struct soap*, const char*, _ngwm__removeProxyAccessRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest*);
-SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeMembersResponse
-#define SOAP_TYPE__ngwm__removeMembersResponse (293)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersResponse(struct soap*, const char*, int, const _ngwm__removeMembersResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_get__ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_in__ngwm__removeMembersResponse(struct soap*, const char*, _ngwm__removeMembersResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_new__ngwm__removeMembersResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse*);
-SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeMembersRequest
-#define SOAP_TYPE__ngwm__removeMembersRequest (292)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersRequest(struct soap*, const char*, int, const _ngwm__removeMembersRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_get__ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_in__ngwm__removeMembersRequest(struct soap*, const char*, _ngwm__removeMembersRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_new__ngwm__removeMembersRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest*);
-SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeJunkEntryResponse
-#define SOAP_TYPE__ngwm__removeJunkEntryResponse (291)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryResponse(struct soap*, const char*, int, const _ngwm__removeJunkEntryResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryResponse(struct soap*, const char*, _ngwm__removeJunkEntryResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse*);
-SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeJunkEntryRequest
-#define SOAP_TYPE__ngwm__removeJunkEntryRequest (290)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryRequest(struct soap*, const char*, int, const _ngwm__removeJunkEntryRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryRequest(struct soap*, const char*, _ngwm__removeJunkEntryRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest*);
-SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeItemsResponse
-#define SOAP_TYPE__ngwm__removeItemsResponse (289)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsResponse(struct soap*, const char*, int, const _ngwm__removeItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_get__ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_in__ngwm__removeItemsResponse(struct soap*, const char*, _ngwm__removeItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_new__ngwm__removeItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse*);
-SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeItemsRequest
-#define SOAP_TYPE__ngwm__removeItemsRequest (288)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsRequest(struct soap*, const char*, int, const _ngwm__removeItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_get__ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_in__ngwm__removeItemsRequest(struct soap*, const char*, _ngwm__removeItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_new__ngwm__removeItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest*);
-SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeItemResponse
-#define SOAP_TYPE__ngwm__removeItemResponse (287)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemResponse(struct soap*, const char*, int, const _ngwm__removeItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_get__ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_in__ngwm__removeItemResponse(struct soap*, const char*, _ngwm__removeItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_new__ngwm__removeItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse*);
-SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeItemRequest
-#define SOAP_TYPE__ngwm__removeItemRequest (286)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemRequest(struct soap*, const char*, int, const _ngwm__removeItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_get__ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_in__ngwm__removeItemRequest(struct soap*, const char*, _ngwm__removeItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_new__ngwm__removeItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest*);
-SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionResponse
-#define SOAP_TYPE__ngwm__removeCustomDefinitionResponse (285)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionResponse(struct soap*, const char*, int, const _ngwm__removeCustomDefinitionResponse *, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionResponse(struct soap*, const char*, _ngwm__removeCustomDefinitionResponse *, const char*);
-SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse*);
-SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionRequest
-#define SOAP_TYPE__ngwm__removeCustomDefinitionRequest (284)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionRequest(struct soap*, const char*, int, const _ngwm__removeCustomDefinitionRequest *, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionRequest(struct soap*, const char*, _ngwm__removeCustomDefinitionRequest *, const char*);
-SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest*);
-SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__readCursorResponse
-#define SOAP_TYPE__ngwm__readCursorResponse (283)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorResponse(struct soap*, const char*, int, const _ngwm__readCursorResponse *, const char*);
-SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_get__ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_in__ngwm__readCursorResponse(struct soap*, const char*, _ngwm__readCursorResponse *, const char*);
-SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_new__ngwm__readCursorResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse*);
-SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__readCursorResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__readCursorRequest
-#define SOAP_TYPE__ngwm__readCursorRequest (282)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorRequest(struct soap*, const char*, int, const _ngwm__readCursorRequest *, const char*);
-SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_get__ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_in__ngwm__readCursorRequest(struct soap*, const char*, _ngwm__readCursorRequest *, const char*);
-SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_new__ngwm__readCursorRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest*);
-SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__readCursorRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__purgeResponse
-#define SOAP_TYPE__ngwm__purgeResponse (281)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeResponse(struct soap*, const char*, int, const _ngwm__purgeResponse *, const char*);
-SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_get__ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_in__ngwm__purgeResponse(struct soap*, const char*, _ngwm__purgeResponse *, const char*);
-SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_new__ngwm__purgeResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse*);
-SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__purgeRequest
-#define SOAP_TYPE__ngwm__purgeRequest (280)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeRequest(struct soap*, const char*, int, const _ngwm__purgeRequest *, const char*);
-SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_get__ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_in__ngwm__purgeRequest(struct soap*, const char*, _ngwm__purgeRequest *, const char*);
-SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_new__ngwm__purgeRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest*);
-SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsResponse
-#define SOAP_TYPE__ngwm__purgeDeletedItemsResponse (279)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsResponse(struct soap*, const char*, int, const _ngwm__purgeDeletedItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsResponse(struct soap*, const char*, _ngwm__purgeDeletedItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse*);
-SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsRequest
-#define SOAP_TYPE__ngwm__purgeDeletedItemsRequest (278)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsRequest(struct soap*, const char*, int, const _ngwm__purgeDeletedItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsRequest(struct soap*, const char*, _ngwm__purgeDeletedItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest*);
-SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__positionCursorResponse
-#define SOAP_TYPE__ngwm__positionCursorResponse (277)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorResponse(struct soap*, const char*, int, const _ngwm__positionCursorResponse *, const char*);
-SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_get__ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_in__ngwm__positionCursorResponse(struct soap*, const char*, _ngwm__positionCursorResponse *, const char*);
-SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_new__ngwm__positionCursorResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse*);
-SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__positionCursorRequest
-#define SOAP_TYPE__ngwm__positionCursorRequest (276)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorRequest(struct soap*, const char*, int, const _ngwm__positionCursorRequest *, const char*);
-SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_get__ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_in__ngwm__positionCursorRequest(struct soap*, const char*, _ngwm__positionCursorRequest *, const char*);
-SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_new__ngwm__positionCursorRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest*);
-SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__moveItemResponse
-#define SOAP_TYPE__ngwm__moveItemResponse (275)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemResponse(struct soap*, const char*, int, const _ngwm__moveItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_get__ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_in__ngwm__moveItemResponse(struct soap*, const char*, _ngwm__moveItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_new__ngwm__moveItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse*);
-SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__moveItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__moveItemRequest
-#define SOAP_TYPE__ngwm__moveItemRequest (274)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemRequest(struct soap*, const char*, int, const _ngwm__moveItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_get__ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_in__ngwm__moveItemRequest(struct soap*, const char*, _ngwm__moveItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_new__ngwm__moveItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest*);
-SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__moveItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifySignaturesResponse
-#define SOAP_TYPE__ngwm__modifySignaturesResponse (273)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesResponse(struct soap*, const char*, int, const _ngwm__modifySignaturesResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_get__ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_in__ngwm__modifySignaturesResponse(struct soap*, const char*, _ngwm__modifySignaturesResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_new__ngwm__modifySignaturesResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse*);
-SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifySignaturesRequest
-#define SOAP_TYPE__ngwm__modifySignaturesRequest (272)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesRequest(struct soap*, const char*, int, const _ngwm__modifySignaturesRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_get__ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_in__ngwm__modifySignaturesRequest(struct soap*, const char*, _ngwm__modifySignaturesRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_new__ngwm__modifySignaturesRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest*);
-SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifySettingsResponse
-#define SOAP_TYPE__ngwm__modifySettingsResponse (271)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsResponse(struct soap*, const char*, int, const _ngwm__modifySettingsResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifySettingsResponse(struct soap*, const char*, _ngwm__modifySettingsResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifySettingsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse*);
-SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifySettingsRequest
-#define SOAP_TYPE__ngwm__modifySettingsRequest (270)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsRequest(struct soap*, const char*, int, const _ngwm__modifySettingsRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifySettingsRequest(struct soap*, const char*, _ngwm__modifySettingsRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifySettingsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest*);
-SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyProxyAccessResponse
-#define SOAP_TYPE__ngwm__modifyProxyAccessResponse (269)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessResponse(struct soap*, const char*, int, const _ngwm__modifyProxyAccessResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessResponse(struct soap*, const char*, _ngwm__modifyProxyAccessResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse*);
-SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyProxyAccessRequest
-#define SOAP_TYPE__ngwm__modifyProxyAccessRequest (268)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessRequest(struct soap*, const char*, int, const _ngwm__modifyProxyAccessRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessRequest(struct soap*, const char*, _ngwm__modifyProxyAccessRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest*);
-SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyPasswordResponse
-#define SOAP_TYPE__ngwm__modifyPasswordResponse (267)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordResponse(struct soap*, const char*, int, const _ngwm__modifyPasswordResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_get__ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_in__ngwm__modifyPasswordResponse(struct soap*, const char*, _ngwm__modifyPasswordResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_new__ngwm__modifyPasswordResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse*);
-SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyPasswordRequest
-#define SOAP_TYPE__ngwm__modifyPasswordRequest (266)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordRequest(struct soap*, const char*, int, const _ngwm__modifyPasswordRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_get__ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_in__ngwm__modifyPasswordRequest(struct soap*, const char*, _ngwm__modifyPasswordRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_new__ngwm__modifyPasswordRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest*);
-SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse
-#define SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse (265)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, int, const _ngwm__modifyJunkMailSettingsResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, _ngwm__modifyJunkMailSettingsResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse*);
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest
-#define SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest (264)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, int, const _ngwm__modifyJunkMailSettingsRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, _ngwm__modifyJunkMailSettingsRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest*);
-SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkEntryResponse
-#define SOAP_TYPE__ngwm__modifyJunkEntryResponse (263)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryResponse(struct soap*, const char*, int, const _ngwm__modifyJunkEntryResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryResponse(struct soap*, const char*, _ngwm__modifyJunkEntryResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse*);
-SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkEntryRequest
-#define SOAP_TYPE__ngwm__modifyJunkEntryRequest (262)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryRequest(struct soap*, const char*, int, const _ngwm__modifyJunkEntryRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryRequest(struct soap*, const char*, _ngwm__modifyJunkEntryRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest*);
-SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyItemsResponse
-#define SOAP_TYPE__ngwm__modifyItemsResponse (261)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsResponse(struct soap*, const char*, int, const _ngwm__modifyItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemsResponse(struct soap*, _ngwm__modifyItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemsResponse(struct soap*, const char*, _ngwm__modifyItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsResponse(struct soap*, _ngwm__modifyItemsResponse*);
-SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyItemsRequest
-#define SOAP_TYPE__ngwm__modifyItemsRequest (260)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsRequest(struct soap*, const char*, int, const _ngwm__modifyItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemsRequest(struct soap*, _ngwm__modifyItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemsRequest(struct soap*, const char*, _ngwm__modifyItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsRequest(struct soap*, _ngwm__modifyItemsRequest*);
-SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyItemResponse
-#define SOAP_TYPE__ngwm__modifyItemResponse (259)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemResponse(struct soap*, const char*, int, const _ngwm__modifyItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemResponse(struct soap*, const char*, _ngwm__modifyItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse*);
-SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__modifyItemRequest
-#define SOAP_TYPE__ngwm__modifyItemRequest (258)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemRequest(struct soap*, const char*, int, const _ngwm__modifyItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemRequest(struct soap*, const char*, _ngwm__modifyItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest*);
-SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markUnReadResponse
-#define SOAP_TYPE__ngwm__markUnReadResponse (257)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadResponse(struct soap*, const char*, int, const _ngwm__markUnReadResponse *, const char*);
-SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_get__ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_in__ngwm__markUnReadResponse(struct soap*, const char*, _ngwm__markUnReadResponse *, const char*);
-SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_new__ngwm__markUnReadResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse*);
-SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markUnReadRequest
-#define SOAP_TYPE__ngwm__markUnReadRequest (256)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadRequest(struct soap*, const char*, int, const _ngwm__markUnReadRequest *, const char*);
-SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_get__ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_in__ngwm__markUnReadRequest(struct soap*, const char*, _ngwm__markUnReadRequest *, const char*);
-SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_new__ngwm__markUnReadRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest*);
-SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markUnPrivateResponse
-#define SOAP_TYPE__ngwm__markUnPrivateResponse (255)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateResponse(struct soap*, const char*, int, const _ngwm__markUnPrivateResponse *, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markUnPrivateResponse(struct soap*, const char*, _ngwm__markUnPrivateResponse *, const char*);
-SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markUnPrivateResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse*);
-SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markUnPrivateRequest
-#define SOAP_TYPE__ngwm__markUnPrivateRequest (254)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateRequest(struct soap*, const char*, int, const _ngwm__markUnPrivateRequest *, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markUnPrivateRequest(struct soap*, const char*, _ngwm__markUnPrivateRequest *, const char*);
-SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markUnPrivateRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest*);
-SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markReadResponse
-#define SOAP_TYPE__ngwm__markReadResponse (253)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadResponse(struct soap*, const char*, int, const _ngwm__markReadResponse *, const char*);
-SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_get__ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_in__ngwm__markReadResponse(struct soap*, const char*, _ngwm__markReadResponse *, const char*);
-SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_new__ngwm__markReadResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse*);
-SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markReadResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markReadRequest
-#define SOAP_TYPE__ngwm__markReadRequest (252)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadRequest(struct soap*, const char*, int, const _ngwm__markReadRequest *, const char*);
-SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_get__ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_in__ngwm__markReadRequest(struct soap*, const char*, _ngwm__markReadRequest *, const char*);
-SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_new__ngwm__markReadRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest*);
-SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markReadRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markPrivateResponse
-#define SOAP_TYPE__ngwm__markPrivateResponse (251)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateResponse(struct soap*, const char*, int, const _ngwm__markPrivateResponse *, const char*);
-SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markPrivateResponse(struct soap*, const char*, _ngwm__markPrivateResponse *, const char*);
-SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markPrivateResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse*);
-SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__markPrivateRequest
-#define SOAP_TYPE__ngwm__markPrivateRequest (250)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateRequest(struct soap*, const char*, int, const _ngwm__markPrivateRequest *, const char*);
-SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markPrivateRequest(struct soap*, const char*, _ngwm__markPrivateRequest *, const char*);
-SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markPrivateRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest*);
-SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__logoutResponse
-#define SOAP_TYPE__ngwm__logoutResponse (249)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutResponse(struct soap*, const char*, int, const _ngwm__logoutResponse *, const char*);
-SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_get__ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_in__ngwm__logoutResponse(struct soap*, const char*, _ngwm__logoutResponse *, const char*);
-SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_new__ngwm__logoutResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse*);
-SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_instantiate__ngwm__logoutResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__logoutRequest
-#define SOAP_TYPE__ngwm__logoutRequest (248)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutRequest(struct soap*, const char*, int, const _ngwm__logoutRequest *, const char*);
-SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_get__ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_in__ngwm__logoutRequest(struct soap*, const char*, _ngwm__logoutRequest *, const char*);
-SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_new__ngwm__logoutRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest*);
-SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_instantiate__ngwm__logoutRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__loginResponse
-#define SOAP_TYPE__ngwm__loginResponse (247)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginResponse(struct soap*, const char*, int, const _ngwm__loginResponse *, const char*);
-SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_get__ngwm__loginResponse(struct soap*, _ngwm__loginResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_in__ngwm__loginResponse(struct soap*, const char*, _ngwm__loginResponse *, const char*);
-SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_new__ngwm__loginResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginResponse(struct soap*, _ngwm__loginResponse*);
-SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_instantiate__ngwm__loginResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__loginRequest
-#define SOAP_TYPE__ngwm__loginRequest (246)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginRequest(struct soap*, const char*, int, const _ngwm__loginRequest *, const char*);
-SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_get__ngwm__loginRequest(struct soap*, _ngwm__loginRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_in__ngwm__loginRequest(struct soap*, const char*, _ngwm__loginRequest *, const char*);
-SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_new__ngwm__loginRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginRequest(struct soap*, _ngwm__loginRequest*);
-SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_instantiate__ngwm__loginRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getUserListResponse
-#define SOAP_TYPE__ngwm__getUserListResponse (245)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListResponse(struct soap*, const char*, int, const _ngwm__getUserListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_get__ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_in__ngwm__getUserListResponse(struct soap*, const char*, _ngwm__getUserListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_new__ngwm__getUserListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse*);
-SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getUserListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getUserListRequest
-#define SOAP_TYPE__ngwm__getUserListRequest (244)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListRequest(struct soap*, const char*, int, const _ngwm__getUserListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_get__ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_in__ngwm__getUserListRequest(struct soap*, const char*, _ngwm__getUserListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_new__ngwm__getUserListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest*);
-SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getUserListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getTimezoneListResponse
-#define SOAP_TYPE__ngwm__getTimezoneListResponse (243)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListResponse(struct soap*, const char*, int, const _ngwm__getTimezoneListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_get__ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_in__ngwm__getTimezoneListResponse(struct soap*, const char*, _ngwm__getTimezoneListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_new__ngwm__getTimezoneListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse*);
-SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getTimezoneListRequest
-#define SOAP_TYPE__ngwm__getTimezoneListRequest (242)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListRequest(struct soap*, const char*, int, const _ngwm__getTimezoneListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_get__ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_in__ngwm__getTimezoneListRequest(struct soap*, const char*, _ngwm__getTimezoneListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_new__ngwm__getTimezoneListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest*);
-SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getTimestampResponse
-#define SOAP_TYPE__ngwm__getTimestampResponse (241)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampResponse(struct soap*, const char*, int, const _ngwm__getTimestampResponse *, const char*);
-SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_get__ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_in__ngwm__getTimestampResponse(struct soap*, const char*, _ngwm__getTimestampResponse *, const char*);
-SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_new__ngwm__getTimestampResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse*);
-SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getTimestampRequest
-#define SOAP_TYPE__ngwm__getTimestampRequest (240)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampRequest(struct soap*, const char*, int, const _ngwm__getTimestampRequest *, const char*);
-SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_get__ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_in__ngwm__getTimestampRequest(struct soap*, const char*, _ngwm__getTimestampRequest *, const char*);
-SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_new__ngwm__getTimestampRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest*);
-SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getSignaturesResponse
-#define SOAP_TYPE__ngwm__getSignaturesResponse (239)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesResponse(struct soap*, const char*, int, const _ngwm__getSignaturesResponse *, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_get__ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_in__ngwm__getSignaturesResponse(struct soap*, const char*, _ngwm__getSignaturesResponse *, const char*);
-SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_new__ngwm__getSignaturesResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse*);
-SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getSignaturesRequest
-#define SOAP_TYPE__ngwm__getSignaturesRequest (238)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesRequest(struct soap*, const char*, int, const _ngwm__getSignaturesRequest *, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_get__ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_in__ngwm__getSignaturesRequest(struct soap*, const char*, _ngwm__getSignaturesRequest *, const char*);
-SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_new__ngwm__getSignaturesRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest*);
-SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getSettingsResponse
-#define SOAP_TYPE__ngwm__getSettingsResponse (237)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsResponse(struct soap*, const char*, int, const _ngwm__getSettingsResponse *, const char*);
-SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getSettingsResponse(struct soap*, const char*, _ngwm__getSettingsResponse *, const char*);
-SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getSettingsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse*);
-SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getSettingsRequest
-#define SOAP_TYPE__ngwm__getSettingsRequest (236)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsRequest(struct soap*, const char*, int, const _ngwm__getSettingsRequest *, const char*);
-SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getSettingsRequest(struct soap*, const char*, _ngwm__getSettingsRequest *, const char*);
-SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getSettingsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest*);
-SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getRuleListResponse
-#define SOAP_TYPE__ngwm__getRuleListResponse (235)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListResponse(struct soap*, const char*, int, const _ngwm__getRuleListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_get__ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_in__ngwm__getRuleListResponse(struct soap*, const char*, _ngwm__getRuleListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_new__ngwm__getRuleListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse*);
-SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getRuleListRequest
-#define SOAP_TYPE__ngwm__getRuleListRequest (234)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListRequest(struct soap*, const char*, int, const _ngwm__getRuleListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_get__ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_in__ngwm__getRuleListRequest(struct soap*, const char*, _ngwm__getRuleListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_new__ngwm__getRuleListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest*);
-SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getProxyListResponse
-#define SOAP_TYPE__ngwm__getProxyListResponse (233)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListResponse(struct soap*, const char*, int, const _ngwm__getProxyListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyListResponse(struct soap*, const char*, _ngwm__getProxyListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse*);
-SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getProxyListRequest
-#define SOAP_TYPE__ngwm__getProxyListRequest (232)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListRequest(struct soap*, const char*, int, const _ngwm__getProxyListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyListRequest(struct soap*, const char*, _ngwm__getProxyListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest*);
-SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getProxyAccessListResponse
-#define SOAP_TYPE__ngwm__getProxyAccessListResponse (231)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListResponse(struct soap*, const char*, int, const _ngwm__getProxyAccessListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListResponse(struct soap*, const char*, _ngwm__getProxyAccessListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse*);
-SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getProxyAccessListRequest
-#define SOAP_TYPE__ngwm__getProxyAccessListRequest (230)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListRequest(struct soap*, const char*, int, const _ngwm__getProxyAccessListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListRequest(struct soap*, const char*, _ngwm__getProxyAccessListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest*);
-SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getQuickMessagesResponse
-#define SOAP_TYPE__ngwm__getQuickMessagesResponse (229)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesResponse(struct soap*, const char*, int, const _ngwm__getQuickMessagesResponse *, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesResponse(struct soap*, const char*, _ngwm__getQuickMessagesResponse *, const char*);
-SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse*);
-SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getQuickMessagesRequest
-#define SOAP_TYPE__ngwm__getQuickMessagesRequest (228)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesRequest(struct soap*, const char*, int, const _ngwm__getQuickMessagesRequest *, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesRequest(struct soap*, const char*, _ngwm__getQuickMessagesRequest *, const char*);
-SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest*);
-SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getLibraryListResponse
-#define SOAP_TYPE__ngwm__getLibraryListResponse (227)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListResponse(struct soap*, const char*, int, const _ngwm__getLibraryListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryListResponse(struct soap*, const char*, _ngwm__getLibraryListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse*);
-SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getLibraryListRequest
-#define SOAP_TYPE__ngwm__getLibraryListRequest (226)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListRequest(struct soap*, const char*, int, const _ngwm__getLibraryListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryListRequest(struct soap*, const char*, _ngwm__getLibraryListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest*);
-SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getLibraryItemResponse
-#define SOAP_TYPE__ngwm__getLibraryItemResponse (225)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemResponse(struct soap*, const char*, int, const _ngwm__getLibraryItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryItemResponse(struct soap*, const char*, _ngwm__getLibraryItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse*);
-SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getLibraryItemRequest
-#define SOAP_TYPE__ngwm__getLibraryItemRequest (224)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemRequest(struct soap*, const char*, int, const _ngwm__getLibraryItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryItemRequest(struct soap*, const char*, _ngwm__getLibraryItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest*);
-SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsResponse
-#define SOAP_TYPE__ngwm__getJunkMailSettingsResponse (223)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsResponse(struct soap*, const char*, int, const _ngwm__getJunkMailSettingsResponse *, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsResponse(struct soap*, const char*, _ngwm__getJunkMailSettingsResponse *, const char*);
-SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse*);
-SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsRequest
-#define SOAP_TYPE__ngwm__getJunkMailSettingsRequest (222)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsRequest(struct soap*, const char*, int, const _ngwm__getJunkMailSettingsRequest *, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsRequest(struct soap*, const char*, _ngwm__getJunkMailSettingsRequest *, const char*);
-SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest*);
-SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getJunkEntriesResponse
-#define SOAP_TYPE__ngwm__getJunkEntriesResponse (221)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesResponse(struct soap*, const char*, int, const _ngwm__getJunkEntriesResponse *, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesResponse(struct soap*, const char*, _ngwm__getJunkEntriesResponse *, const char*);
-SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse*);
-SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getJunkEntriesRequest
-#define SOAP_TYPE__ngwm__getJunkEntriesRequest (220)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesRequest(struct soap*, const char*, int, const _ngwm__getJunkEntriesRequest *, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesRequest(struct soap*, const char*, _ngwm__getJunkEntriesRequest *, const char*);
-SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest*);
-SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getItemsResponse
-#define SOAP_TYPE__ngwm__getItemsResponse (219)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsResponse(struct soap*, const char*, int, const _ngwm__getItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_get__ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_in__ngwm__getItemsResponse(struct soap*, const char*, _ngwm__getItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_new__ngwm__getItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse*);
-SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getItemsRequest
-#define SOAP_TYPE__ngwm__getItemsRequest (218)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsRequest(struct soap*, const char*, int, const _ngwm__getItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_get__ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_in__ngwm__getItemsRequest(struct soap*, const char*, _ngwm__getItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_new__ngwm__getItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest*);
-SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getItemResponse
-#define SOAP_TYPE__ngwm__getItemResponse (217)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemResponse(struct soap*, const char*, int, const _ngwm__getItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_get__ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_in__ngwm__getItemResponse(struct soap*, const char*, _ngwm__getItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_new__ngwm__getItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse*);
-SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getItemRequest
-#define SOAP_TYPE__ngwm__getItemRequest (216)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemRequest(struct soap*, const char*, int, const _ngwm__getItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_get__ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_in__ngwm__getItemRequest(struct soap*, const char*, _ngwm__getItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_new__ngwm__getItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest*);
-SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFreeBusyResponse
-#define SOAP_TYPE__ngwm__getFreeBusyResponse (215)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyResponse(struct soap*, const char*, int, const _ngwm__getFreeBusyResponse *, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_get__ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_in__ngwm__getFreeBusyResponse(struct soap*, const char*, _ngwm__getFreeBusyResponse *, const char*);
-SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_new__ngwm__getFreeBusyResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse*);
-SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFreeBusyRequest
-#define SOAP_TYPE__ngwm__getFreeBusyRequest (214)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyRequest(struct soap*, const char*, int, const _ngwm__getFreeBusyRequest *, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_get__ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_in__ngwm__getFreeBusyRequest(struct soap*, const char*, _ngwm__getFreeBusyRequest *, const char*);
-SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_new__ngwm__getFreeBusyRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest*);
-SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFolderListResponse
-#define SOAP_TYPE__ngwm__getFolderListResponse (213)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListResponse(struct soap*, const char*, int, const _ngwm__getFolderListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_get__ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_in__ngwm__getFolderListResponse(struct soap*, const char*, _ngwm__getFolderListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_new__ngwm__getFolderListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse*);
-SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFolderListRequest
-#define SOAP_TYPE__ngwm__getFolderListRequest (212)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListRequest(struct soap*, const char*, int, const _ngwm__getFolderListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_get__ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_in__ngwm__getFolderListRequest(struct soap*, const char*, _ngwm__getFolderListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_new__ngwm__getFolderListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest*);
-SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFolderResponse
-#define SOAP_TYPE__ngwm__getFolderResponse (211)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderResponse(struct soap*, const char*, int, const _ngwm__getFolderResponse *, const char*);
-SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_get__ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_in__ngwm__getFolderResponse(struct soap*, const char*, _ngwm__getFolderResponse *, const char*);
-SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_new__ngwm__getFolderResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse*);
-SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getFolderRequest
-#define SOAP_TYPE__ngwm__getFolderRequest (210)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderRequest(struct soap*, const char*, int, const _ngwm__getFolderRequest *, const char*);
-SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_get__ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_in__ngwm__getFolderRequest(struct soap*, const char*, _ngwm__getFolderRequest *, const char*);
-SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_new__ngwm__getFolderRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest*);
-SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDocumentTypeListResponse
-#define SOAP_TYPE__ngwm__getDocumentTypeListResponse (209)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListResponse(struct soap*, const char*, int, const _ngwm__getDocumentTypeListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListResponse(struct soap*, const char*, _ngwm__getDocumentTypeListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse*);
-SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDocumentTypeListRequest
-#define SOAP_TYPE__ngwm__getDocumentTypeListRequest (208)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListRequest(struct soap*, const char*, int, const _ngwm__getDocumentTypeListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListRequest(struct soap*, const char*, _ngwm__getDocumentTypeListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest*);
-SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDeltaInfoResponse
-#define SOAP_TYPE__ngwm__getDeltaInfoResponse (207)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoResponse(struct soap*, const char*, int, const _ngwm__getDeltaInfoResponse *, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoResponse(struct soap*, const char*, _ngwm__getDeltaInfoResponse *, const char*);
-SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse*);
-SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDeltaInfoRequest
-#define SOAP_TYPE__ngwm__getDeltaInfoRequest (206)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoRequest(struct soap*, const char*, int, const _ngwm__getDeltaInfoRequest *, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoRequest(struct soap*, const char*, _ngwm__getDeltaInfoRequest *, const char*);
-SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest*);
-SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDeltasResponse
-#define SOAP_TYPE__ngwm__getDeltasResponse (205)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasResponse(struct soap*, const char*, int, const _ngwm__getDeltasResponse *, const char*);
-SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_get__ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_in__ngwm__getDeltasResponse(struct soap*, const char*, _ngwm__getDeltasResponse *, const char*);
-SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_new__ngwm__getDeltasResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse*);
-SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getDeltasRequest
-#define SOAP_TYPE__ngwm__getDeltasRequest (204)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasRequest(struct soap*, const char*, int, const _ngwm__getDeltasRequest *, const char*);
-SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_get__ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_in__ngwm__getDeltasRequest(struct soap*, const char*, _ngwm__getDeltasRequest *, const char*);
-SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_new__ngwm__getDeltasRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest*);
-SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getCustomListResponse
-#define SOAP_TYPE__ngwm__getCustomListResponse (203)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListResponse(struct soap*, const char*, int, const _ngwm__getCustomListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_get__ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_in__ngwm__getCustomListResponse(struct soap*, const char*, _ngwm__getCustomListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_new__ngwm__getCustomListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse*);
-SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getCustomListRequest
-#define SOAP_TYPE__ngwm__getCustomListRequest (202)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListRequest(struct soap*, const char*, int, const _ngwm__getCustomListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_get__ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_in__ngwm__getCustomListRequest(struct soap*, const char*, _ngwm__getCustomListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_new__ngwm__getCustomListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest*);
-SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getCategoryListResponse
-#define SOAP_TYPE__ngwm__getCategoryListResponse (201)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListResponse(struct soap*, const char*, int, const _ngwm__getCategoryListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_get__ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_in__ngwm__getCategoryListResponse(struct soap*, const char*, _ngwm__getCategoryListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_new__ngwm__getCategoryListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse*);
-SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getCategoryListRequest
-#define SOAP_TYPE__ngwm__getCategoryListRequest (200)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListRequest(struct soap*, const char*, int, const _ngwm__getCategoryListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_get__ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_in__ngwm__getCategoryListRequest(struct soap*, const char*, _ngwm__getCategoryListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_new__ngwm__getCategoryListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest*);
-SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getAttachmentResponse
-#define SOAP_TYPE__ngwm__getAttachmentResponse (199)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentResponse(struct soap*, const char*, int, const _ngwm__getAttachmentResponse *, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_get__ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_in__ngwm__getAttachmentResponse(struct soap*, const char*, _ngwm__getAttachmentResponse *, const char*);
-SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_new__ngwm__getAttachmentResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse*);
-SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getAttachmentRequest
-#define SOAP_TYPE__ngwm__getAttachmentRequest (198)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentRequest(struct soap*, const char*, int, const _ngwm__getAttachmentRequest *, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_get__ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_in__ngwm__getAttachmentRequest(struct soap*, const char*, _ngwm__getAttachmentRequest *, const char*);
-SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_new__ngwm__getAttachmentRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest*);
-SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getAddressBookListResponse
-#define SOAP_TYPE__ngwm__getAddressBookListResponse (197)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListResponse(struct soap*, const char*, int, const _ngwm__getAddressBookListResponse *, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_get__ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_in__ngwm__getAddressBookListResponse(struct soap*, const char*, _ngwm__getAddressBookListResponse *, const char*);
-SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_new__ngwm__getAddressBookListResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse*);
-SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__getAddressBookListRequest
-#define SOAP_TYPE__ngwm__getAddressBookListRequest (196)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListRequest(struct soap*, const char*, int, const _ngwm__getAddressBookListRequest *, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_get__ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_in__ngwm__getAddressBookListRequest(struct soap*, const char*, _ngwm__getAddressBookListRequest *, const char*);
-SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_new__ngwm__getAddressBookListRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest*);
-SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__forwardResponse
-#define SOAP_TYPE__ngwm__forwardResponse (195)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardResponse(struct soap*, const char*, int, const _ngwm__forwardResponse *, const char*);
-SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_get__ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_in__ngwm__forwardResponse(struct soap*, const char*, _ngwm__forwardResponse *, const char*);
-SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_new__ngwm__forwardResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse*);
-SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_instantiate__ngwm__forwardResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__forwardRequest
-#define SOAP_TYPE__ngwm__forwardRequest (194)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardRequest(struct soap*, const char*, int, const _ngwm__forwardRequest *, const char*);
-SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_get__ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_in__ngwm__forwardRequest(struct soap*, const char*, _ngwm__forwardRequest *, const char*);
-SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_new__ngwm__forwardRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest*);
-SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_instantiate__ngwm__forwardRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__executeRuleResponse
-#define SOAP_TYPE__ngwm__executeRuleResponse (193)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleResponse(struct soap*, const char*, int, const _ngwm__executeRuleResponse *, const char*);
-SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_get__ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_in__ngwm__executeRuleResponse(struct soap*, const char*, _ngwm__executeRuleResponse *, const char*);
-SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_new__ngwm__executeRuleResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse*);
-SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__executeRuleRequest
-#define SOAP_TYPE__ngwm__executeRuleRequest (192)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleRequest(struct soap*, const char*, int, const _ngwm__executeRuleRequest *, const char*);
-SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_get__ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_in__ngwm__executeRuleRequest(struct soap*, const char*, _ngwm__executeRuleRequest *, const char*);
-SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_new__ngwm__executeRuleRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest*);
-SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__destroyCursorResponse
-#define SOAP_TYPE__ngwm__destroyCursorResponse (191)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorResponse(struct soap*, const char*, int, const _ngwm__destroyCursorResponse *, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_get__ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_in__ngwm__destroyCursorResponse(struct soap*, const char*, _ngwm__destroyCursorResponse *, const char*);
-SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_new__ngwm__destroyCursorResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse*);
-SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__destroyCursorRequest
-#define SOAP_TYPE__ngwm__destroyCursorRequest (190)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorRequest(struct soap*, const char*, int, const _ngwm__destroyCursorRequest *, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_get__ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_in__ngwm__destroyCursorRequest(struct soap*, const char*, _ngwm__destroyCursorRequest *, const char*);
-SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_new__ngwm__destroyCursorRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest*);
-SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__delegateResponse
-#define SOAP_TYPE__ngwm__delegateResponse (189)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateResponse(struct soap*, const char*, int, const _ngwm__delegateResponse *, const char*);
-SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_get__ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_in__ngwm__delegateResponse(struct soap*, const char*, _ngwm__delegateResponse *, const char*);
-SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_new__ngwm__delegateResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse*);
-SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_instantiate__ngwm__delegateResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__delegateRequest
-#define SOAP_TYPE__ngwm__delegateRequest (188)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateRequest(struct soap*, const char*, int, const _ngwm__delegateRequest *, const char*);
-SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_get__ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_in__ngwm__delegateRequest(struct soap*, const char*, _ngwm__delegateRequest *, const char*);
-SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_new__ngwm__delegateRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest*);
-SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_instantiate__ngwm__delegateRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__declineResponse
-#define SOAP_TYPE__ngwm__declineResponse (187)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineResponse(struct soap*, const char*, int, const _ngwm__declineResponse *, const char*);
-SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_get__ngwm__declineResponse(struct soap*, _ngwm__declineResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_in__ngwm__declineResponse(struct soap*, const char*, _ngwm__declineResponse *, const char*);
-SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_new__ngwm__declineResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineResponse(struct soap*, _ngwm__declineResponse*);
-SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_instantiate__ngwm__declineResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__declineRequest
-#define SOAP_TYPE__ngwm__declineRequest (186)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineRequest(struct soap*, const char*, int, const _ngwm__declineRequest *, const char*);
-SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_get__ngwm__declineRequest(struct soap*, _ngwm__declineRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_in__ngwm__declineRequest(struct soap*, const char*, _ngwm__declineRequest *, const char*);
-SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_new__ngwm__declineRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineRequest(struct soap*, _ngwm__declineRequest*);
-SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_instantiate__ngwm__declineRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createSignatureResponse
-#define SOAP_TYPE__ngwm__createSignatureResponse (185)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureResponse(struct soap*, const char*, int, const _ngwm__createSignatureResponse *, const char*);
-SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_get__ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_in__ngwm__createSignatureResponse(struct soap*, const char*, _ngwm__createSignatureResponse *, const char*);
-SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_new__ngwm__createSignatureResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse*);
-SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createSignatureRequest
-#define SOAP_TYPE__ngwm__createSignatureRequest (184)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureRequest(struct soap*, const char*, int, const _ngwm__createSignatureRequest *, const char*);
-SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_get__ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_in__ngwm__createSignatureRequest(struct soap*, const char*, _ngwm__createSignatureRequest *, const char*);
-SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_new__ngwm__createSignatureRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest*);
-SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createProxyAccessResponse
-#define SOAP_TYPE__ngwm__createProxyAccessResponse (183)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessResponse(struct soap*, const char*, int, const _ngwm__createProxyAccessResponse *, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__createProxyAccessResponse(struct soap*, const char*, _ngwm__createProxyAccessResponse *, const char*);
-SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__createProxyAccessResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse*);
-SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createProxyAccessRequest
-#define SOAP_TYPE__ngwm__createProxyAccessRequest (182)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessRequest(struct soap*, const char*, int, const _ngwm__createProxyAccessRequest *, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__createProxyAccessRequest(struct soap*, const char*, _ngwm__createProxyAccessRequest *, const char*);
-SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__createProxyAccessRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest*);
-SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createJunkEntryResponse
-#define SOAP_TYPE__ngwm__createJunkEntryResponse (181)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryResponse(struct soap*, const char*, int, const _ngwm__createJunkEntryResponse *, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__createJunkEntryResponse(struct soap*, const char*, _ngwm__createJunkEntryResponse *, const char*);
-SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__createJunkEntryResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse*);
-SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createJunkEntryRequest
-#define SOAP_TYPE__ngwm__createJunkEntryRequest (180)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryRequest(struct soap*, const char*, int, const _ngwm__createJunkEntryRequest *, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__createJunkEntryRequest(struct soap*, const char*, _ngwm__createJunkEntryRequest *, const char*);
-SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__createJunkEntryRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest*);
-SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createItemsResponse
-#define SOAP_TYPE__ngwm__createItemsResponse (179)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsResponse(struct soap*, const char*, int, const _ngwm__createItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_get__ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_in__ngwm__createItemsResponse(struct soap*, const char*, _ngwm__createItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_new__ngwm__createItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse*);
-SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createItemsRequest
-#define SOAP_TYPE__ngwm__createItemsRequest (178)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsRequest(struct soap*, const char*, int, const _ngwm__createItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_get__ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_in__ngwm__createItemsRequest(struct soap*, const char*, _ngwm__createItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_new__ngwm__createItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest*);
-SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createItemResponse
-#define SOAP_TYPE__ngwm__createItemResponse (177)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemResponse(struct soap*, const char*, int, const _ngwm__createItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_get__ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_in__ngwm__createItemResponse(struct soap*, const char*, _ngwm__createItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_new__ngwm__createItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse*);
-SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createItemRequest
-#define SOAP_TYPE__ngwm__createItemRequest (176)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemRequest(struct soap*, const char*, int, const _ngwm__createItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_get__ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_in__ngwm__createItemRequest(struct soap*, const char*, _ngwm__createItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_new__ngwm__createItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest*);
-SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createCursorResponse
-#define SOAP_TYPE__ngwm__createCursorResponse (175)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorResponse(struct soap*, const char*, int, const _ngwm__createCursorResponse *, const char*);
-SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_get__ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_in__ngwm__createCursorResponse(struct soap*, const char*, _ngwm__createCursorResponse *, const char*);
-SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_new__ngwm__createCursorResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse*);
-SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__createCursorResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__createCursorRequest
-#define SOAP_TYPE__ngwm__createCursorRequest (174)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorRequest(struct soap*, const char*, int, const _ngwm__createCursorRequest *, const char*);
-SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_get__ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_in__ngwm__createCursorRequest(struct soap*, const char*, _ngwm__createCursorRequest *, const char*);
-SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_new__ngwm__createCursorRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest*);
-SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__createCursorRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__completeResponse
-#define SOAP_TYPE__ngwm__completeResponse (173)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeResponse(struct soap*, const char*, int, const _ngwm__completeResponse *, const char*);
-SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_get__ngwm__completeResponse(struct soap*, _ngwm__completeResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_in__ngwm__completeResponse(struct soap*, const char*, _ngwm__completeResponse *, const char*);
-SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_new__ngwm__completeResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeResponse(struct soap*, _ngwm__completeResponse*);
-SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_instantiate__ngwm__completeResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__completeRequest
-#define SOAP_TYPE__ngwm__completeRequest (172)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeRequest(struct soap*, const char*, int, const _ngwm__completeRequest *, const char*);
-SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_get__ngwm__completeRequest(struct soap*, _ngwm__completeRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_in__ngwm__completeRequest(struct soap*, const char*, _ngwm__completeRequest *, const char*);
-SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_new__ngwm__completeRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeRequest(struct soap*, _ngwm__completeRequest*);
-SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_instantiate__ngwm__completeRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionResponse
-#define SOAP_TYPE__ngwm__closeFreeBusySessionResponse (171)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionResponse(struct soap*, const char*, int, const _ngwm__closeFreeBusySessionResponse *, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionResponse(struct soap*, const char*, _ngwm__closeFreeBusySessionResponse *, const char*);
-SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse*);
-SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionRequest
-#define SOAP_TYPE__ngwm__closeFreeBusySessionRequest (170)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionRequest(struct soap*, const char*, int, const _ngwm__closeFreeBusySessionRequest *, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionRequest(struct soap*, const char*, _ngwm__closeFreeBusySessionRequest *, const char*);
-SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest*);
-SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addMembersResponse
-#define SOAP_TYPE__ngwm__addMembersResponse (169)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersResponse(struct soap*, const char*, int, const _ngwm__addMembersResponse *, const char*);
-SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_get__ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_in__ngwm__addMembersResponse(struct soap*, const char*, _ngwm__addMembersResponse *, const char*);
-SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_new__ngwm__addMembersResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse*);
-SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__addMembersResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addMembersRequest
-#define SOAP_TYPE__ngwm__addMembersRequest (168)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersRequest(struct soap*, const char*, int, const _ngwm__addMembersRequest *, const char*);
-SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_get__ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_in__ngwm__addMembersRequest(struct soap*, const char*, _ngwm__addMembersRequest *, const char*);
-SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_new__ngwm__addMembersRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest*);
-SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__addMembersRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addItemsResponse
-#define SOAP_TYPE__ngwm__addItemsResponse (167)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsResponse(struct soap*, const char*, int, const _ngwm__addItemsResponse *, const char*);
-SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_get__ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_in__ngwm__addItemsResponse(struct soap*, const char*, _ngwm__addItemsResponse *, const char*);
-SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_new__ngwm__addItemsResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse*);
-SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemsResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addItemsRequest
-#define SOAP_TYPE__ngwm__addItemsRequest (166)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsRequest(struct soap*, const char*, int, const _ngwm__addItemsRequest *, const char*);
-SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_get__ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_in__ngwm__addItemsRequest(struct soap*, const char*, _ngwm__addItemsRequest *, const char*);
-SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_new__ngwm__addItemsRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest*);
-SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemsRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addItemResponse
-#define SOAP_TYPE__ngwm__addItemResponse (165)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemResponse(struct soap*, const char*, int, const _ngwm__addItemResponse *, const char*);
-SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_get__ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_in__ngwm__addItemResponse(struct soap*, const char*, _ngwm__addItemResponse *, const char*);
-SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_new__ngwm__addItemResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse*);
-SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__addItemRequest
-#define SOAP_TYPE__ngwm__addItemRequest (164)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemRequest(struct soap*, const char*, int, const _ngwm__addItemRequest *, const char*);
-SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_get__ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_in__ngwm__addItemRequest(struct soap*, const char*, _ngwm__addItemRequest *, const char*);
-SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_new__ngwm__addItemRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest*);
-SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__acceptShareResponse
-#define SOAP_TYPE__ngwm__acceptShareResponse (163)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareResponse(struct soap*, const char*, int, const _ngwm__acceptShareResponse *, const char*);
-SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_get__ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_in__ngwm__acceptShareResponse(struct soap*, const char*, _ngwm__acceptShareResponse *, const char*);
-SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_new__ngwm__acceptShareResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse*);
-SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__acceptShareRequest
-#define SOAP_TYPE__ngwm__acceptShareRequest (162)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareRequest(struct soap*, const char*, int, const _ngwm__acceptShareRequest *, const char*);
-SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_get__ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_in__ngwm__acceptShareRequest(struct soap*, const char*, _ngwm__acceptShareRequest *, const char*);
-SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_new__ngwm__acceptShareRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest*);
-SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__acceptResponse
-#define SOAP_TYPE__ngwm__acceptResponse (161)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptResponse(struct soap*, const char*, int, const _ngwm__acceptResponse *, const char*);
-SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_get__ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_in__ngwm__acceptResponse(struct soap*, const char*, _ngwm__acceptResponse *, const char*);
-SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_new__ngwm__acceptResponse(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse*);
-SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptResponse(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptResponse(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE__ngwm__acceptRequest
-#define SOAP_TYPE__ngwm__acceptRequest (160)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptRequest(struct soap*, const char*, int, const _ngwm__acceptRequest *, const char*);
-SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_get__ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_in__ngwm__acceptRequest(struct soap*, const char*, _ngwm__acceptRequest *, const char*);
-SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_new__ngwm__acceptRequest(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest*);
-SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptRequest(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptRequest(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__VersionEvent
-#define SOAP_TYPE_ngwt__VersionEvent (159)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEvent(struct soap*, const char*, int, const ngwt__VersionEvent *, const char*);
-SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_get_ngwt__VersionEvent(struct soap*, ngwt__VersionEvent *, const char*, const char*);
-SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_in_ngwt__VersionEvent(struct soap*, const char*, ngwt__VersionEvent *, const char*);
-SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_new_ngwt__VersionEvent(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__VersionEvent(struct soap*, ngwt__VersionEvent*);
-SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_instantiate_ngwt__VersionEvent(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__VersionEvent(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Version
-#define SOAP_TYPE_ngwt__Version (158)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Version(struct soap*, const char*, int, const ngwt__Version *, const char*);
-SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_get_ngwt__Version(struct soap*, ngwt__Version *, const char*, const char*);
-SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_in_ngwt__Version(struct soap*, const char*, ngwt__Version *, const char*);
-SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_new_ngwt__Version(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Version(struct soap*, ngwt__Version*);
-SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_instantiate_ngwt__Version(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Version(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__UserList
-#define SOAP_TYPE_ngwt__UserList (157)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserList(struct soap*, const char*, int, const ngwt__UserList *, const char*);
-SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_get_ngwt__UserList(struct soap*, ngwt__UserList *, const char*, const char*);
-SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_in_ngwt__UserList(struct soap*, const char*, ngwt__UserList *, const char*);
-SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_new_ngwt__UserList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserList(struct soap*, ngwt__UserList*);
-SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_instantiate_ngwt__UserList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__UserInfo
-#define SOAP_TYPE_ngwt__UserInfo (156)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserInfo(struct soap*, const char*, int, const ngwt__UserInfo *, const char*);
-SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_get_ngwt__UserInfo(struct soap*, ngwt__UserInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_in_ngwt__UserInfo(struct soap*, const char*, ngwt__UserInfo *, const char*);
-SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_new_ngwt__UserInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserInfo(struct soap*, ngwt__UserInfo*);
-SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_instantiate_ngwt__UserInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__TrustedApplication
-#define SOAP_TYPE_ngwt__TrustedApplication (155)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TrustedApplication(struct soap*, const char*, int, const ngwt__TrustedApplication *, const char*);
-SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_get_ngwt__TrustedApplication(struct soap*, ngwt__TrustedApplication *, const char*, const char*);
-SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_in_ngwt__TrustedApplication(struct soap*, const char*, ngwt__TrustedApplication *, const char*);
-SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_new_ngwt__TrustedApplication(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TrustedApplication(struct soap*, ngwt__TrustedApplication*);
-SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_instantiate_ngwt__TrustedApplication(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TrustedApplication(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__TransferFailedStatus
-#define SOAP_TYPE_ngwt__TransferFailedStatus (154)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TransferFailedStatus(struct soap*, const char*, int, const ngwt__TransferFailedStatus *, const char*);
-SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_get_ngwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_in_ngwt__TransferFailedStatus(struct soap*, const char*, ngwt__TransferFailedStatus *, const char*);
-SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_new_ngwt__TransferFailedStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus*);
-SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_instantiate_ngwt__TransferFailedStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TransferFailedStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__TimezoneList
-#define SOAP_TYPE_ngwt__TimezoneList (153)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneList(struct soap*, const char*, int, const ngwt__TimezoneList *, const char*);
-SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_get_ngwt__TimezoneList(struct soap*, ngwt__TimezoneList *, const char*, const char*);
-SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_in_ngwt__TimezoneList(struct soap*, const char*, ngwt__TimezoneList *, const char*);
-SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_new_ngwt__TimezoneList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneList(struct soap*, ngwt__TimezoneList*);
-SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__TimezoneComponent
-#define SOAP_TYPE_ngwt__TimezoneComponent (152)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneComponent(struct soap*, const char*, int, const ngwt__TimezoneComponent *, const char*);
-SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_get_ngwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *, const char*, const char*);
-SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_in_ngwt__TimezoneComponent(struct soap*, const char*, ngwt__TimezoneComponent *, const char*);
-SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_new_ngwt__TimezoneComponent(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent*);
-SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneComponent(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneComponent(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Timezone
-#define SOAP_TYPE_ngwt__Timezone (151)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Timezone(struct soap*, const char*, int, const ngwt__Timezone *, const char*);
-SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_get_ngwt__Timezone(struct soap*, ngwt__Timezone *, const char*, const char*);
-SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_in_ngwt__Timezone(struct soap*, const char*, ngwt__Timezone *, const char*);
-SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_new_ngwt__Timezone(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Timezone(struct soap*, ngwt__Timezone*);
-SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_instantiate_ngwt__Timezone(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Timezone(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Task
-#define SOAP_TYPE_ngwt__Task (150)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Task(struct soap*, const char*, int, const ngwt__Task *, const char*);
-SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_get_ngwt__Task(struct soap*, ngwt__Task *, const char*, const char*);
-SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_in_ngwt__Task(struct soap*, const char*, ngwt__Task *, const char*);
-SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_new_ngwt__Task(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Task(struct soap*, ngwt__Task*);
-SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_instantiate_ngwt__Task(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Task(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SystemFolder
-#define SOAP_TYPE_ngwt__SystemFolder (149)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SystemFolder(struct soap*, const char*, int, const ngwt__SystemFolder *, const char*);
-SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_get_ngwt__SystemFolder(struct soap*, ngwt__SystemFolder *, const char*, const char*);
-SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_in_ngwt__SystemFolder(struct soap*, const char*, ngwt__SystemFolder *, const char*);
-SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_new_ngwt__SystemFolder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SystemFolder(struct soap*, ngwt__SystemFolder*);
-SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_instantiate_ngwt__SystemFolder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SystemFolder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__StatusTracking
-#define SOAP_TYPE_ngwt__StatusTracking (148)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTracking(struct soap*, const char*, int, const ngwt__StatusTracking *, const char*);
-SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_get_ngwt__StatusTracking(struct soap*, ngwt__StatusTracking *, const char*, const char*);
-SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_in_ngwt__StatusTracking(struct soap*, const char*, ngwt__StatusTracking *, const char*);
-SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_new_ngwt__StatusTracking(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__StatusTracking(struct soap*, ngwt__StatusTracking*);
-SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_instantiate_ngwt__StatusTracking(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__StatusTracking(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Status
-#define SOAP_TYPE_ngwt__Status (147)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Status(struct soap*, const char*, int, const ngwt__Status *, const char*);
-SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_get_ngwt__Status(struct soap*, ngwt__Status *, const char*, const char*);
-SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_in_ngwt__Status(struct soap*, const char*, ngwt__Status *, const char*);
-SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_new_ngwt__Status(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Status(struct soap*, ngwt__Status*);
-SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_instantiate_ngwt__Status(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Status(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SMimeOperation
-#define SOAP_TYPE_ngwt__SMimeOperation (146)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SMimeOperation(struct soap*, const char*, int, const ngwt__SMimeOperation *, const char*);
-SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_get_ngwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *, const char*, const char*);
-SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_in_ngwt__SMimeOperation(struct soap*, const char*, ngwt__SMimeOperation *, const char*);
-SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_new_ngwt__SMimeOperation(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SMimeOperation(struct soap*, ngwt__SMimeOperation*);
-SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_instantiate_ngwt__SMimeOperation(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SMimeOperation(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SignatureData
-#define SOAP_TYPE_ngwt__SignatureData (145)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SignatureData(struct soap*, const char*, int, const ngwt__SignatureData *, const char*);
-SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_get_ngwt__SignatureData(struct soap*, ngwt__SignatureData *, const char*, const char*);
-SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_in_ngwt__SignatureData(struct soap*, const char*, ngwt__SignatureData *, const char*);
-SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_new_ngwt__SignatureData(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SignatureData(struct soap*, ngwt__SignatureData*);
-SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_instantiate_ngwt__SignatureData(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SignatureData(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Signatures
-#define SOAP_TYPE_ngwt__Signatures (144)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signatures(struct soap*, const char*, int, const ngwt__Signatures *, const char*);
-SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_get_ngwt__Signatures(struct soap*, ngwt__Signatures *, const char*, const char*);
-SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_in_ngwt__Signatures(struct soap*, const char*, ngwt__Signatures *, const char*);
-SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_new_ngwt__Signatures(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signatures(struct soap*, ngwt__Signatures*);
-SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_instantiate_ngwt__Signatures(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signatures(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Signature
-#define SOAP_TYPE_ngwt__Signature (143)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signature(struct soap*, const char*, int, const ngwt__Signature *, const char*);
-SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_get_ngwt__Signature(struct soap*, ngwt__Signature *, const char*, const char*);
-SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_in_ngwt__Signature(struct soap*, const char*, ngwt__Signature *, const char*);
-SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_new_ngwt__Signature(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signature(struct soap*, ngwt__Signature*);
-SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_instantiate_ngwt__Signature(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signature(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SharedNotification
-#define SOAP_TYPE_ngwt__SharedNotification (142)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedNotification(struct soap*, const char*, int, const ngwt__SharedNotification *, const char*);
-SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_get_ngwt__SharedNotification(struct soap*, ngwt__SharedNotification *, const char*, const char*);
-SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_in_ngwt__SharedNotification(struct soap*, const char*, ngwt__SharedNotification *, const char*);
-SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_new_ngwt__SharedNotification(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedNotification(struct soap*, ngwt__SharedNotification*);
-SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedNotification(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedNotification(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SharedFolderNotification
-#define SOAP_TYPE_ngwt__SharedFolderNotification (141)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolderNotification(struct soap*, const char*, int, const ngwt__SharedFolderNotification *, const char*);
-SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_get_ngwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *, const char*, const char*);
-SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_in_ngwt__SharedFolderNotification(struct soap*, const char*, ngwt__SharedFolderNotification *, const char*);
-SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_new_ngwt__SharedFolderNotification(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification*);
-SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolderNotification(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolderNotification(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SharedFolder
-#define SOAP_TYPE_ngwt__SharedFolder (140)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolder(struct soap*, const char*, int, const ngwt__SharedFolder *, const char*);
-SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_get_ngwt__SharedFolder(struct soap*, ngwt__SharedFolder *, const char*, const char*);
-SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_in_ngwt__SharedFolder(struct soap*, const char*, ngwt__SharedFolder *, const char*);
-SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_new_ngwt__SharedFolder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolder(struct soap*, ngwt__SharedFolder*);
-SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SettingsList
-#define SOAP_TYPE_ngwt__SettingsList (139)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsList(struct soap*, const char*, int, const ngwt__SettingsList *, const char*);
-SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_get_ngwt__SettingsList(struct soap*, ngwt__SettingsList *, const char*, const char*);
-SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_in_ngwt__SettingsList(struct soap*, const char*, ngwt__SettingsList *, const char*);
-SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_new_ngwt__SettingsList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsList(struct soap*, ngwt__SettingsList*);
-SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_instantiate_ngwt__SettingsList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SettingsGroup
-#define SOAP_TYPE_ngwt__SettingsGroup (138)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsGroup(struct soap*, const char*, int, const ngwt__SettingsGroup *, const char*);
-SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_get_ngwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *, const char*, const char*);
-SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_in_ngwt__SettingsGroup(struct soap*, const char*, ngwt__SettingsGroup *, const char*);
-SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_new_ngwt__SettingsGroup(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsGroup(struct soap*, ngwt__SettingsGroup*);
-SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_instantiate_ngwt__SettingsGroup(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsGroup(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Settings
-#define SOAP_TYPE_ngwt__Settings (137)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Settings(struct soap*, const char*, int, const ngwt__Settings *, const char*);
-SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_get_ngwt__Settings(struct soap*, ngwt__Settings *, const char*, const char*);
-SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_in_ngwt__Settings(struct soap*, const char*, ngwt__Settings *, const char*);
-SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_new_ngwt__Settings(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Settings(struct soap*, ngwt__Settings*);
-SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_instantiate_ngwt__Settings(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Settings(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SendOptions
-#define SOAP_TYPE_ngwt__SendOptions (136)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptions(struct soap*, const char*, int, const ngwt__SendOptions *, const char*);
-SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_get_ngwt__SendOptions(struct soap*, ngwt__SendOptions *, const char*, const char*);
-SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_in_ngwt__SendOptions(struct soap*, const char*, ngwt__SendOptions *, const char*);
-SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_new_ngwt__SendOptions(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptions(struct soap*, ngwt__SendOptions*);
-SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_instantiate_ngwt__SendOptions(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptions(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__SendOptionsRequestReply
-#define SOAP_TYPE_ngwt__SendOptionsRequestReply (135)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptionsRequestReply(struct soap*, const char*, int, const ngwt__SendOptionsRequestReply *, const char*);
-SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_get_ngwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *, const char*, const char*);
-SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_in_ngwt__SendOptionsRequestReply(struct soap*, const char*, ngwt__SendOptionsRequestReply *, const char*);
-SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_new_ngwt__SendOptionsRequestReply(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply*);
-SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_instantiate_ngwt__SendOptionsRequestReply(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptionsRequestReply(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RuleList
-#define SOAP_TYPE_ngwt__RuleList (134)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleList(struct soap*, const char*, int, const ngwt__RuleList *, const char*);
-SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_get_ngwt__RuleList(struct soap*, ngwt__RuleList *, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_in_ngwt__RuleList(struct soap*, const char*, ngwt__RuleList *, const char*);
-SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_new_ngwt__RuleList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleList(struct soap*, ngwt__RuleList*);
-SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_instantiate_ngwt__RuleList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RuleActionList
-#define SOAP_TYPE_ngwt__RuleActionList (133)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionList(struct soap*, const char*, int, const ngwt__RuleActionList *, const char*);
-SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_get_ngwt__RuleActionList(struct soap*, ngwt__RuleActionList *, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_in_ngwt__RuleActionList(struct soap*, const char*, ngwt__RuleActionList *, const char*);
-SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_new_ngwt__RuleActionList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleActionList(struct soap*, ngwt__RuleActionList*);
-SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_instantiate_ngwt__RuleActionList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleActionList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RuleAction
-#define SOAP_TYPE_ngwt__RuleAction (132)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleAction(struct soap*, const char*, int, const ngwt__RuleAction *, const char*);
-SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_get_ngwt__RuleAction(struct soap*, ngwt__RuleAction *, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_in_ngwt__RuleAction(struct soap*, const char*, ngwt__RuleAction *, const char*);
-SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_new_ngwt__RuleAction(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleAction(struct soap*, ngwt__RuleAction*);
-SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_instantiate_ngwt__RuleAction(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleAction(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Rule
-#define SOAP_TYPE_ngwt__Rule (131)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rule(struct soap*, const char*, int, const ngwt__Rule *, const char*);
-SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_get_ngwt__Rule(struct soap*, ngwt__Rule *, const char*, const char*);
-SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_in_ngwt__Rule(struct soap*, const char*, ngwt__Rule *, const char*);
-SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_new_ngwt__Rule(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rule(struct soap*, ngwt__Rule*);
-SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_instantiate_ngwt__Rule(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rule(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Rights
-#define SOAP_TYPE_ngwt__Rights (130)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rights(struct soap*, const char*, int, const ngwt__Rights *, const char*);
-SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_get_ngwt__Rights(struct soap*, ngwt__Rights *, const char*, const char*);
-SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_in_ngwt__Rights(struct soap*, const char*, ngwt__Rights *, const char*);
-SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_new_ngwt__Rights(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rights(struct soap*, ngwt__Rights*);
-SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_instantiate_ngwt__Rights(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rights(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ReturnNotificationOptions
-#define SOAP_TYPE_ngwt__ReturnNotificationOptions (129)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotificationOptions(struct soap*, const char*, int, const ngwt__ReturnNotificationOptions *, const char*);
-SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_get_ngwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *, const char*, const char*);
-SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_in_ngwt__ReturnNotificationOptions(struct soap*, const char*, ngwt__ReturnNotificationOptions *, const char*);
-SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_new_ngwt__ReturnNotificationOptions(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions*);
-SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotificationOptions(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotificationOptions(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ReturnNotification
-#define SOAP_TYPE_ngwt__ReturnNotification (128)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotification(struct soap*, const char*, int, const ngwt__ReturnNotification *, const char*);
-SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_get_ngwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *, const char*, const char*);
-SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_in_ngwt__ReturnNotification(struct soap*, const char*, ngwt__ReturnNotification *, const char*);
-SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_new_ngwt__ReturnNotification(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotification(struct soap*, ngwt__ReturnNotification*);
-SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotification(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotification(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Resource
-#define SOAP_TYPE_ngwt__Resource (127)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Resource(struct soap*, const char*, int, const ngwt__Resource *, const char*);
-SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_get_ngwt__Resource(struct soap*, ngwt__Resource *, const char*, const char*);
-SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_in_ngwt__Resource(struct soap*, const char*, ngwt__Resource *, const char*);
-SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_new_ngwt__Resource(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Resource(struct soap*, ngwt__Resource*);
-SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_instantiate_ngwt__Resource(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Resource(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ReferenceInfo
-#define SOAP_TYPE_ngwt__ReferenceInfo (126)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReferenceInfo(struct soap*, const char*, int, const ngwt__ReferenceInfo *, const char*);
-SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_get_ngwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_in_ngwt__ReferenceInfo(struct soap*, const char*, ngwt__ReferenceInfo *, const char*);
-SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_new_ngwt__ReferenceInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo*);
-SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_instantiate_ngwt__ReferenceInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReferenceInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RecurrenceRule
-#define SOAP_TYPE_ngwt__RecurrenceRule (125)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceRule(struct soap*, const char*, int, const ngwt__RecurrenceRule *, const char*);
-SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_get_ngwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *, const char*, const char*);
-SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_in_ngwt__RecurrenceRule(struct soap*, const char*, ngwt__RecurrenceRule *, const char*);
-SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_new_ngwt__RecurrenceRule(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule*);
-SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceRule(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceRule(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RecurrenceDateType
-#define SOAP_TYPE_ngwt__RecurrenceDateType (124)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceDateType(struct soap*, const char*, int, const ngwt__RecurrenceDateType *, const char*);
-SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_get_ngwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *, const char*, const char*);
-SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_in_ngwt__RecurrenceDateType(struct soap*, const char*, ngwt__RecurrenceDateType *, const char*);
-SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_new_ngwt__RecurrenceDateType(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType*);
-SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceDateType(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceDateType(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RecipientStatus
-#define SOAP_TYPE_ngwt__RecipientStatus (123)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientStatus(struct soap*, const char*, int, const ngwt__RecipientStatus *, const char*);
-SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_get_ngwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_in_ngwt__RecipientStatus(struct soap*, const char*, ngwt__RecipientStatus *, const char*);
-SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_new_ngwt__RecipientStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientStatus(struct soap*, ngwt__RecipientStatus*);
-SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_instantiate_ngwt__RecipientStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__RecipientList
-#define SOAP_TYPE_ngwt__RecipientList (122)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientList(struct soap*, const char*, int, const ngwt__RecipientList *, const char*);
-SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_get_ngwt__RecipientList(struct soap*, ngwt__RecipientList *, const char*, const char*);
-SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_in_ngwt__RecipientList(struct soap*, const char*, ngwt__RecipientList *, const char*);
-SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_new_ngwt__RecipientList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientList(struct soap*, ngwt__RecipientList*);
-SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_instantiate_ngwt__RecipientList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Recipient
-#define SOAP_TYPE_ngwt__Recipient (121)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Recipient(struct soap*, const char*, int, const ngwt__Recipient *, const char*);
-SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_get_ngwt__Recipient(struct soap*, ngwt__Recipient *, const char*, const char*);
-SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_in_ngwt__Recipient(struct soap*, const char*, ngwt__Recipient *, const char*);
-SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_new_ngwt__Recipient(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Recipient(struct soap*, ngwt__Recipient*);
-SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_instantiate_ngwt__Recipient(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Recipient(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__QueryTarget
-#define SOAP_TYPE_ngwt__QueryTarget (120)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryTarget(struct soap*, const char*, int, const ngwt__QueryTarget *, const char*);
-SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_get_ngwt__QueryTarget(struct soap*, ngwt__QueryTarget *, const char*, const char*);
-SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_in_ngwt__QueryTarget(struct soap*, const char*, ngwt__QueryTarget *, const char*);
-SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_new_ngwt__QueryTarget(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryTarget(struct soap*, ngwt__QueryTarget*);
-SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_instantiate_ngwt__QueryTarget(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryTarget(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__QueryFolder
-#define SOAP_TYPE_ngwt__QueryFolder (119)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryFolder(struct soap*, const char*, int, const ngwt__QueryFolder *, const char*);
-SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_get_ngwt__QueryFolder(struct soap*, ngwt__QueryFolder *, const char*, const char*);
-SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_in_ngwt__QueryFolder(struct soap*, const char*, ngwt__QueryFolder *, const char*);
-SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_new_ngwt__QueryFolder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryFolder(struct soap*, ngwt__QueryFolder*);
-SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_instantiate_ngwt__QueryFolder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryFolder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Query
-#define SOAP_TYPE_ngwt__Query (118)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Query(struct soap*, const char*, int, const ngwt__Query *, const char*);
-SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_get_ngwt__Query(struct soap*, ngwt__Query *, const char*, const char*);
-SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_in_ngwt__Query(struct soap*, const char*, ngwt__Query *, const char*);
-SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_new_ngwt__Query(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Query(struct soap*, ngwt__Query*);
-SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_instantiate_ngwt__Query(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Query(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ProxyList
-#define SOAP_TYPE_ngwt__ProxyList (117)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyList(struct soap*, const char*, int, const ngwt__ProxyList *, const char*);
-SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_get_ngwt__ProxyList(struct soap*, ngwt__ProxyList *, const char*, const char*);
-SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_in_ngwt__ProxyList(struct soap*, const char*, ngwt__ProxyList *, const char*);
-SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_new_ngwt__ProxyList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyList(struct soap*, ngwt__ProxyList*);
-SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_instantiate_ngwt__ProxyList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ProxyUser
-#define SOAP_TYPE_ngwt__ProxyUser (116)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyUser(struct soap*, const char*, int, const ngwt__ProxyUser *, const char*);
-SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_get_ngwt__ProxyUser(struct soap*, ngwt__ProxyUser *, const char*, const char*);
-SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_in_ngwt__ProxyUser(struct soap*, const char*, ngwt__ProxyUser *, const char*);
-SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_new_ngwt__ProxyUser(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyUser(struct soap*, ngwt__ProxyUser*);
-SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_instantiate_ngwt__ProxyUser(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyUser(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Proxy
-#define SOAP_TYPE_ngwt__Proxy (115)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Proxy(struct soap*, const char*, int, const ngwt__Proxy *, const char*);
-SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_get_ngwt__Proxy(struct soap*, ngwt__Proxy *, const char*, const char*);
-SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_in_ngwt__Proxy(struct soap*, const char*, ngwt__Proxy *, const char*);
-SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_new_ngwt__Proxy(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Proxy(struct soap*, ngwt__Proxy*);
-SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_instantiate_ngwt__Proxy(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Proxy(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ProblemList
-#define SOAP_TYPE_ngwt__ProblemList (114)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemList(struct soap*, const char*, int, const ngwt__ProblemList *, const char*);
-SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_get_ngwt__ProblemList(struct soap*, ngwt__ProblemList *, const char*, const char*);
-SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_in_ngwt__ProblemList(struct soap*, const char*, ngwt__ProblemList *, const char*);
-SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_new_ngwt__ProblemList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemList(struct soap*, ngwt__ProblemList*);
-SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_instantiate_ngwt__ProblemList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ProblemEntry
-#define SOAP_TYPE_ngwt__ProblemEntry (113)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemEntry(struct soap*, const char*, int, const ngwt__ProblemEntry *, const char*);
-SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_get_ngwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_in_ngwt__ProblemEntry(struct soap*, const char*, ngwt__ProblemEntry *, const char*);
-SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_new_ngwt__ProblemEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemEntry(struct soap*, ngwt__ProblemEntry*);
-SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_instantiate_ngwt__ProblemEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PostalAddressList
-#define SOAP_TYPE_ngwt__PostalAddressList (112)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressList(struct soap*, const char*, int, const ngwt__PostalAddressList *, const char*);
-SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_get_ngwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *, const char*, const char*);
-SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_in_ngwt__PostalAddressList(struct soap*, const char*, ngwt__PostalAddressList *, const char*);
-SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_new_ngwt__PostalAddressList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddressList(struct soap*, ngwt__PostalAddressList*);
-SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddressList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddressList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PostalAddress
-#define SOAP_TYPE_ngwt__PostalAddress (111)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddress(struct soap*, const char*, int, const ngwt__PostalAddress *, const char*);
-SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_get_ngwt__PostalAddress(struct soap*, ngwt__PostalAddress *, const char*, const char*);
-SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_in_ngwt__PostalAddress(struct soap*, const char*, ngwt__PostalAddress *, const char*);
-SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_new_ngwt__PostalAddress(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddress(struct soap*, ngwt__PostalAddress*);
-SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddress(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddress(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PlainText
-#define SOAP_TYPE_ngwt__PlainText (110)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PlainText(struct soap*, const char*, int, const ngwt__PlainText *, const char*);
-SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_get_ngwt__PlainText(struct soap*, ngwt__PlainText *, const char*, const char*);
-SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_in_ngwt__PlainText(struct soap*, const char*, ngwt__PlainText *, const char*);
-SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_new_ngwt__PlainText(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PlainText(struct soap*, ngwt__PlainText*);
-SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_instantiate_ngwt__PlainText(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PlainText(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PhoneNumber
-#define SOAP_TYPE_ngwt__PhoneNumber (109)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumber(struct soap*, const char*, int, const ngwt__PhoneNumber *, const char*);
-SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_get_ngwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_in_ngwt__PhoneNumber(struct soap*, const char*, ngwt__PhoneNumber *, const char*);
-SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_new_ngwt__PhoneNumber(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneNumber(struct soap*, ngwt__PhoneNumber*);
-SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_instantiate_ngwt__PhoneNumber(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneNumber(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PhoneMessage
-#define SOAP_TYPE_ngwt__PhoneMessage (108)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneMessage(struct soap*, const char*, int, const ngwt__PhoneMessage *, const char*);
-SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_get_ngwt__PhoneMessage(struct soap*, ngwt__PhoneMessage *, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_in_ngwt__PhoneMessage(struct soap*, const char*, ngwt__PhoneMessage *, const char*);
-SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_new_ngwt__PhoneMessage(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneMessage(struct soap*, ngwt__PhoneMessage*);
-SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_instantiate_ngwt__PhoneMessage(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneMessage(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PhoneList
-#define SOAP_TYPE_ngwt__PhoneList (107)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneList(struct soap*, const char*, int, const ngwt__PhoneList *, const char*);
-SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_get_ngwt__PhoneList(struct soap*, ngwt__PhoneList *, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_in_ngwt__PhoneList(struct soap*, const char*, ngwt__PhoneList *, const char*);
-SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_new_ngwt__PhoneList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneList(struct soap*, ngwt__PhoneList*);
-SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_instantiate_ngwt__PhoneList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PhoneFlags
-#define SOAP_TYPE_ngwt__PhoneFlags (106)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneFlags(struct soap*, const char*, int, const ngwt__PhoneFlags *, const char*);
-SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_get_ngwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_in_ngwt__PhoneFlags(struct soap*, const char*, ngwt__PhoneFlags *, const char*);
-SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_new_ngwt__PhoneFlags(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneFlags(struct soap*, ngwt__PhoneFlags*);
-SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_instantiate_ngwt__PhoneFlags(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneFlags(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__PersonalInfo
-#define SOAP_TYPE_ngwt__PersonalInfo (105)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PersonalInfo(struct soap*, const char*, int, const ngwt__PersonalInfo *, const char*);
-SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_get_ngwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_in_ngwt__PersonalInfo(struct soap*, const char*, ngwt__PersonalInfo *, const char*);
-SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_new_ngwt__PersonalInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PersonalInfo(struct soap*, ngwt__PersonalInfo*);
-SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_instantiate_ngwt__PersonalInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PersonalInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Organization
-#define SOAP_TYPE_ngwt__Organization (104)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Organization(struct soap*, const char*, int, const ngwt__Organization *, const char*);
-SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_get_ngwt__Organization(struct soap*, ngwt__Organization *, const char*, const char*);
-SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_in_ngwt__Organization(struct soap*, const char*, ngwt__Organization *, const char*);
-SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_new_ngwt__Organization(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Organization(struct soap*, ngwt__Organization*);
-SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_instantiate_ngwt__Organization(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Organization(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__OfficeInfo
-#define SOAP_TYPE_ngwt__OfficeInfo (103)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OfficeInfo(struct soap*, const char*, int, const ngwt__OfficeInfo *, const char*);
-SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_get_ngwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_in_ngwt__OfficeInfo(struct soap*, const char*, ngwt__OfficeInfo *, const char*);
-SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_new_ngwt__OfficeInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__OfficeInfo(struct soap*, ngwt__OfficeInfo*);
-SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_instantiate_ngwt__OfficeInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__OfficeInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Note
-#define SOAP_TYPE_ngwt__Note (102)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Note(struct soap*, const char*, int, const ngwt__Note *, const char*);
-SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_get_ngwt__Note(struct soap*, ngwt__Note *, const char*, const char*);
-SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_in_ngwt__Note(struct soap*, const char*, ngwt__Note *, const char*);
-SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_new_ngwt__Note(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Note(struct soap*, ngwt__Note*);
-SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_instantiate_ngwt__Note(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Note(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__NameAndEmail
-#define SOAP_TYPE_ngwt__NameAndEmail (101)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NameAndEmail(struct soap*, const char*, int, const ngwt__NameAndEmail *, const char*);
-SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_get_ngwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *, const char*, const char*);
-SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_in_ngwt__NameAndEmail(struct soap*, const char*, ngwt__NameAndEmail *, const char*);
-SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_new_ngwt__NameAndEmail(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__NameAndEmail(struct soap*, ngwt__NameAndEmail*);
-SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_instantiate_ngwt__NameAndEmail(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__NameAndEmail(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__MonthList
-#define SOAP_TYPE_ngwt__MonthList (100)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MonthList(struct soap*, const char*, int, const ngwt__MonthList *, const char*);
-SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_get_ngwt__MonthList(struct soap*, ngwt__MonthList *, const char*, const char*);
-SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_in_ngwt__MonthList(struct soap*, const char*, ngwt__MonthList *, const char*);
-SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_new_ngwt__MonthList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MonthList(struct soap*, ngwt__MonthList*);
-SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_instantiate_ngwt__MonthList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MonthList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ModifyItem
-#define SOAP_TYPE_ngwt__ModifyItem (99)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ModifyItem(struct soap*, const char*, int, const ngwt__ModifyItem *, const char*);
-SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_get_ngwt__ModifyItem(struct soap*, ngwt__ModifyItem *, const char*, const char*);
-SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_in_ngwt__ModifyItem(struct soap*, const char*, ngwt__ModifyItem *, const char*);
-SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_new_ngwt__ModifyItem(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ModifyItem(struct soap*, ngwt__ModifyItem*);
-SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_instantiate_ngwt__ModifyItem(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ModifyItem(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__MessagePart
-#define SOAP_TYPE_ngwt__MessagePart (98)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessagePart(struct soap*, const char*, int, const ngwt__MessagePart *, const char*);
-SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_get_ngwt__MessagePart(struct soap*, ngwt__MessagePart *, const char*, const char*);
-SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_in_ngwt__MessagePart(struct soap*, const char*, ngwt__MessagePart *, const char*);
-SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_new_ngwt__MessagePart(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessagePart(struct soap*, ngwt__MessagePart*);
-SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_instantiate_ngwt__MessagePart(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessagePart(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__MessageBody
-#define SOAP_TYPE_ngwt__MessageBody (97)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageBody(struct soap*, const char*, int, const ngwt__MessageBody *, const char*);
-SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_get_ngwt__MessageBody(struct soap*, ngwt__MessageBody *, const char*, const char*);
-SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_in_ngwt__MessageBody(struct soap*, const char*, ngwt__MessageBody *, const char*);
-SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_new_ngwt__MessageBody(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessageBody(struct soap*, ngwt__MessageBody*);
-SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_instantiate_ngwt__MessageBody(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessageBody(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Mail
-#define SOAP_TYPE_ngwt__Mail (96)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Mail(struct soap*, const char*, int, const ngwt__Mail *, const char*);
-SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_get_ngwt__Mail(struct soap*, ngwt__Mail *, const char*, const char*);
-SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_in_ngwt__Mail(struct soap*, const char*, ngwt__Mail *, const char*);
-SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_new_ngwt__Mail(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Mail(struct soap*, ngwt__Mail*);
-SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_instantiate_ngwt__Mail(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Mail(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__LinkInfo
-#define SOAP_TYPE_ngwt__LinkInfo (95)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkInfo(struct soap*, const char*, int, const ngwt__LinkInfo *, const char*);
-SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_get_ngwt__LinkInfo(struct soap*, ngwt__LinkInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_in_ngwt__LinkInfo(struct soap*, const char*, ngwt__LinkInfo *, const char*);
-SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_new_ngwt__LinkInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LinkInfo(struct soap*, ngwt__LinkInfo*);
-SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_instantiate_ngwt__LinkInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LinkInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__LibraryList
-#define SOAP_TYPE_ngwt__LibraryList (94)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LibraryList(struct soap*, const char*, int, const ngwt__LibraryList *, const char*);
-SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_get_ngwt__LibraryList(struct soap*, ngwt__LibraryList *, const char*, const char*);
-SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_in_ngwt__LibraryList(struct soap*, const char*, ngwt__LibraryList *, const char*);
-SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_new_ngwt__LibraryList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LibraryList(struct soap*, ngwt__LibraryList*);
-SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_instantiate_ngwt__LibraryList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LibraryList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Library
-#define SOAP_TYPE_ngwt__Library (93)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Library(struct soap*, const char*, int, const ngwt__Library *, const char*);
-SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_get_ngwt__Library(struct soap*, ngwt__Library *, const char*, const char*);
-SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_in_ngwt__Library(struct soap*, const char*, ngwt__Library *, const char*);
-SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_new_ngwt__Library(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Library(struct soap*, ngwt__Library*);
-SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_instantiate_ngwt__Library(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Library(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__JunkHandlingList
-#define SOAP_TYPE_ngwt__JunkHandlingList (92)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingList(struct soap*, const char*, int, const ngwt__JunkHandlingList *, const char*);
-SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_get_ngwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *, const char*, const char*);
-SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_in_ngwt__JunkHandlingList(struct soap*, const char*, ngwt__JunkHandlingList *, const char*);
-SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_new_ngwt__JunkHandlingList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList*);
-SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_instantiate_ngwt__JunkHandlingList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkHandlingList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__JunkEntry
-#define SOAP_TYPE_ngwt__JunkEntry (91)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkEntry(struct soap*, const char*, int, const ngwt__JunkEntry *, const char*);
-SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_get_ngwt__JunkEntry(struct soap*, ngwt__JunkEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_in_ngwt__JunkEntry(struct soap*, const char*, ngwt__JunkEntry *, const char*);
-SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_new_ngwt__JunkEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkEntry(struct soap*, ngwt__JunkEntry*);
-SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_instantiate_ngwt__JunkEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemStatus
-#define SOAP_TYPE_ngwt__ItemStatus (90)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemStatus(struct soap*, const char*, int, const ngwt__ItemStatus *, const char*);
-SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_get_ngwt__ItemStatus(struct soap*, ngwt__ItemStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_in_ngwt__ItemStatus(struct soap*, const char*, ngwt__ItemStatus *, const char*);
-SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_new_ngwt__ItemStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemStatus(struct soap*, ngwt__ItemStatus*);
-SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_instantiate_ngwt__ItemStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Items
-#define SOAP_TYPE_ngwt__Items (89)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Items(struct soap*, const char*, int, const ngwt__Items *, const char*);
-SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_get_ngwt__Items(struct soap*, ngwt__Items *, const char*, const char*);
-SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_in_ngwt__Items(struct soap*, const char*, ngwt__Items *, const char*);
-SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_new_ngwt__Items(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Items(struct soap*, ngwt__Items*);
-SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_instantiate_ngwt__Items(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Items(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemRefList
-#define SOAP_TYPE_ngwt__ItemRefList (88)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRefList(struct soap*, const char*, int, const ngwt__ItemRefList *, const char*);
-SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_get_ngwt__ItemRefList(struct soap*, ngwt__ItemRefList *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_in_ngwt__ItemRefList(struct soap*, const char*, ngwt__ItemRefList *, const char*);
-SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_new_ngwt__ItemRefList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRefList(struct soap*, ngwt__ItemRefList*);
-SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_instantiate_ngwt__ItemRefList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRefList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemRef
-#define SOAP_TYPE_ngwt__ItemRef (87)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRef(struct soap*, const char*, int, const ngwt__ItemRef *, const char*);
-SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_get_ngwt__ItemRef(struct soap*, ngwt__ItemRef *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_in_ngwt__ItemRef(struct soap*, const char*, ngwt__ItemRef *, const char*);
-SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_new_ngwt__ItemRef(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRef(struct soap*, ngwt__ItemRef*);
-SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_instantiate_ngwt__ItemRef(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRef(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemOptions
-#define SOAP_TYPE_ngwt__ItemOptions (86)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptions(struct soap*, const char*, int, const ngwt__ItemOptions *, const char*);
-SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_get_ngwt__ItemOptions(struct soap*, ngwt__ItemOptions *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_in_ngwt__ItemOptions(struct soap*, const char*, ngwt__ItemOptions *, const char*);
-SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_new_ngwt__ItemOptions(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemOptions(struct soap*, ngwt__ItemOptions*);
-SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_instantiate_ngwt__ItemOptions(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemOptions(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemList
-#define SOAP_TYPE_ngwt__ItemList (85)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemList(struct soap*, const char*, int, const ngwt__ItemList *, const char*);
-SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_get_ngwt__ItemList(struct soap*, ngwt__ItemList *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_in_ngwt__ItemList(struct soap*, const char*, ngwt__ItemList *, const char*);
-SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_new_ngwt__ItemList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemList(struct soap*, ngwt__ItemList*);
-SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_instantiate_ngwt__ItemList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ItemChanges
-#define SOAP_TYPE_ngwt__ItemChanges (84)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemChanges(struct soap*, const char*, int, const ngwt__ItemChanges *, const char*);
-SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_get_ngwt__ItemChanges(struct soap*, ngwt__ItemChanges *, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_in_ngwt__ItemChanges(struct soap*, const char*, ngwt__ItemChanges *, const char*);
-SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_new_ngwt__ItemChanges(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemChanges(struct soap*, ngwt__ItemChanges*);
-SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_instantiate_ngwt__ItemChanges(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemChanges(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Item
-#define SOAP_TYPE_ngwt__Item (83)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Item(struct soap*, const char*, int, const ngwt__Item *, const char*);
-SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_get_ngwt__Item(struct soap*, ngwt__Item *, const char*, const char*);
-SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_in_ngwt__Item(struct soap*, const char*, ngwt__Item *, const char*);
-SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_new_ngwt__Item(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Item(struct soap*, ngwt__Item*);
-SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_instantiate_ngwt__Item(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Item(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ImAddressList
-#define SOAP_TYPE_ngwt__ImAddressList (82)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddressList(struct soap*, const char*, int, const ngwt__ImAddressList *, const char*);
-SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_get_ngwt__ImAddressList(struct soap*, ngwt__ImAddressList *, const char*, const char*);
-SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_in_ngwt__ImAddressList(struct soap*, const char*, ngwt__ImAddressList *, const char*);
-SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_new_ngwt__ImAddressList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddressList(struct soap*, ngwt__ImAddressList*);
-SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_instantiate_ngwt__ImAddressList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddressList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ImAddress
-#define SOAP_TYPE_ngwt__ImAddress (81)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddress(struct soap*, const char*, int, const ngwt__ImAddress *, const char*);
-SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_get_ngwt__ImAddress(struct soap*, ngwt__ImAddress *, const char*, const char*);
-SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_in_ngwt__ImAddress(struct soap*, const char*, ngwt__ImAddress *, const char*);
-SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_new_ngwt__ImAddress(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddress(struct soap*, ngwt__ImAddress*);
-SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_instantiate_ngwt__ImAddress(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddress(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Host
-#define SOAP_TYPE_ngwt__Host (80)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Host(struct soap*, const char*, int, const ngwt__Host *, const char*);
-SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_get_ngwt__Host(struct soap*, ngwt__Host *, const char*, const char*);
-SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_in_ngwt__Host(struct soap*, const char*, ngwt__Host *, const char*);
-SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_new_ngwt__Host(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Host(struct soap*, ngwt__Host*);
-SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_instantiate_ngwt__Host(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Host(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__GroupMemberList
-#define SOAP_TYPE_ngwt__GroupMemberList (79)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMemberList(struct soap*, const char*, int, const ngwt__GroupMemberList *, const char*);
-SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_get_ngwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *, const char*, const char*);
-SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_in_ngwt__GroupMemberList(struct soap*, const char*, ngwt__GroupMemberList *, const char*);
-SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_new_ngwt__GroupMemberList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMemberList(struct soap*, ngwt__GroupMemberList*);
-SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_instantiate_ngwt__GroupMemberList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMemberList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__GroupMember
-#define SOAP_TYPE_ngwt__GroupMember (78)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMember(struct soap*, const char*, int, const ngwt__GroupMember *, const char*);
-SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_get_ngwt__GroupMember(struct soap*, ngwt__GroupMember *, const char*, const char*);
-SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_in_ngwt__GroupMember(struct soap*, const char*, ngwt__GroupMember *, const char*);
-SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_new_ngwt__GroupMember(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMember(struct soap*, ngwt__GroupMember*);
-SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_instantiate_ngwt__GroupMember(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMember(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Group
-#define SOAP_TYPE_ngwt__Group (77)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Group(struct soap*, const char*, int, const ngwt__Group *, const char*);
-SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_get_ngwt__Group(struct soap*, ngwt__Group *, const char*, const char*);
-SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_in_ngwt__Group(struct soap*, const char*, ngwt__Group *, const char*);
-SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_new_ngwt__Group(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Group(struct soap*, ngwt__Group*);
-SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_instantiate_ngwt__Group(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Group(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FullName
-#define SOAP_TYPE_ngwt__FullName (76)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FullName(struct soap*, const char*, int, const ngwt__FullName *, const char*);
-SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_get_ngwt__FullName(struct soap*, ngwt__FullName *, const char*, const char*);
-SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_in_ngwt__FullName(struct soap*, const char*, ngwt__FullName *, const char*);
-SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_new_ngwt__FullName(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FullName(struct soap*, ngwt__FullName*);
-SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_instantiate_ngwt__FullName(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FullName(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__From
-#define SOAP_TYPE_ngwt__From (75)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__From(struct soap*, const char*, int, const ngwt__From *, const char*);
-SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_get_ngwt__From(struct soap*, ngwt__From *, const char*, const char*);
-SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_in_ngwt__From(struct soap*, const char*, ngwt__From *, const char*);
-SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_new_ngwt__From(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__From(struct soap*, ngwt__From*);
-SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_instantiate_ngwt__From(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__From(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyStats
-#define SOAP_TYPE_ngwt__FreeBusyStats (74)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyStats(struct soap*, const char*, int, const ngwt__FreeBusyStats *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_get_ngwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_in_ngwt__FreeBusyStats(struct soap*, const char*, ngwt__FreeBusyStats *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_new_ngwt__FreeBusyStats(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats*);
-SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyStats(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyStats(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyInfoList
-#define SOAP_TYPE_ngwt__FreeBusyInfoList (73)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfoList(struct soap*, const char*, int, const ngwt__FreeBusyInfoList *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfoList(struct soap*, const char*, ngwt__FreeBusyInfoList *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfoList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList*);
-SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfoList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfoList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyUserList
-#define SOAP_TYPE_ngwt__FreeBusyUserList (72)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyUserList(struct soap*, const char*, int, const ngwt__FreeBusyUserList *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_get_ngwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_in_ngwt__FreeBusyUserList(struct soap*, const char*, ngwt__FreeBusyUserList *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_new_ngwt__FreeBusyUserList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList*);
-SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyUserList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyUserList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyInfo
-#define SOAP_TYPE_ngwt__FreeBusyInfo (71)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfo(struct soap*, const char*, int, const ngwt__FreeBusyInfo *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfo(struct soap*, const char*, ngwt__FreeBusyInfo *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo*);
-SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyBlock
-#define SOAP_TYPE_ngwt__FreeBusyBlock (70)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlock(struct soap*, const char*, int, const ngwt__FreeBusyBlock *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlock(struct soap*, const char*, ngwt__FreeBusyBlock *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlock(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock*);
-SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlock(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlock(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyBlockList
-#define SOAP_TYPE_ngwt__FreeBusyBlockList (69)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlockList(struct soap*, const char*, int, const ngwt__FreeBusyBlockList *, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlockList(struct soap*, const char*, ngwt__FreeBusyBlockList *, const char*);
-SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlockList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList*);
-SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlockList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlockList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FolderList
-#define SOAP_TYPE_ngwt__FolderList (68)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderList(struct soap*, const char*, int, const ngwt__FolderList *, const char*);
-SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_get_ngwt__FolderList(struct soap*, ngwt__FolderList *, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_in_ngwt__FolderList(struct soap*, const char*, ngwt__FolderList *, const char*);
-SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_new_ngwt__FolderList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderList(struct soap*, ngwt__FolderList*);
-SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_instantiate_ngwt__FolderList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FolderACLEntry
-#define SOAP_TYPE_ngwt__FolderACLEntry (67)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLEntry(struct soap*, const char*, int, const ngwt__FolderACLEntry *, const char*);
-SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_get_ngwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_in_ngwt__FolderACLEntry(struct soap*, const char*, ngwt__FolderACLEntry *, const char*);
-SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_new_ngwt__FolderACLEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry*);
-SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_instantiate_ngwt__FolderACLEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACLEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FolderACL
-#define SOAP_TYPE_ngwt__FolderACL (66)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACL(struct soap*, const char*, int, const ngwt__FolderACL *, const char*);
-SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_get_ngwt__FolderACL(struct soap*, ngwt__FolderACL *, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_in_ngwt__FolderACL(struct soap*, const char*, ngwt__FolderACL *, const char*);
-SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_new_ngwt__FolderACL(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACL(struct soap*, ngwt__FolderACL*);
-SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_instantiate_ngwt__FolderACL(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACL(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Folder
-#define SOAP_TYPE_ngwt__Folder (65)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Folder(struct soap*, const char*, int, const ngwt__Folder *, const char*);
-SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_get_ngwt__Folder(struct soap*, ngwt__Folder *, const char*, const char*);
-SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_in_ngwt__Folder(struct soap*, const char*, ngwt__Folder *, const char*);
-SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_new_ngwt__Folder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Folder(struct soap*, ngwt__Folder*);
-SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_instantiate_ngwt__Folder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Folder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FilterGroup
-#define SOAP_TYPE_ngwt__FilterGroup (64)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterGroup(struct soap*, const char*, int, const ngwt__FilterGroup *, const char*);
-SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_get_ngwt__FilterGroup(struct soap*, ngwt__FilterGroup *, const char*, const char*);
-SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_in_ngwt__FilterGroup(struct soap*, const char*, ngwt__FilterGroup *, const char*);
-SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_new_ngwt__FilterGroup(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterGroup(struct soap*, ngwt__FilterGroup*);
-SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_instantiate_ngwt__FilterGroup(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterGroup(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FilterEntry
-#define SOAP_TYPE_ngwt__FilterEntry (63)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterEntry(struct soap*, const char*, int, const ngwt__FilterEntry *, const char*);
-SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_get_ngwt__FilterEntry(struct soap*, ngwt__FilterEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_in_ngwt__FilterEntry(struct soap*, const char*, ngwt__FilterEntry *, const char*);
-SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_new_ngwt__FilterEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterEntry(struct soap*, ngwt__FilterEntry*);
-SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_instantiate_ngwt__FilterEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__FilterElement
-#define SOAP_TYPE_ngwt__FilterElement (62)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterElement(struct soap*, const char*, int, const ngwt__FilterElement *, const char*);
-SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_get_ngwt__FilterElement(struct soap*, ngwt__FilterElement *, const char*, const char*);
-SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_in_ngwt__FilterElement(struct soap*, const char*, ngwt__FilterElement *, const char*);
-SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_new_ngwt__FilterElement(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterElement(struct soap*, ngwt__FilterElement*);
-SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_instantiate_ngwt__FilterElement(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterElement(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Filter
-#define SOAP_TYPE_ngwt__Filter (61)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Filter(struct soap*, const char*, int, const ngwt__Filter *, const char*);
-SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_get_ngwt__Filter(struct soap*, ngwt__Filter *, const char*, const char*);
-SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_in_ngwt__Filter(struct soap*, const char*, ngwt__Filter *, const char*);
-SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_new_ngwt__Filter(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Filter(struct soap*, ngwt__Filter*);
-SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_instantiate_ngwt__Filter(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Filter(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__EmailAddressList
-#define SOAP_TYPE_ngwt__EmailAddressList (60)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__EmailAddressList(struct soap*, const char*, int, const ngwt__EmailAddressList *, const char*);
-SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_get_ngwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *, const char*, const char*);
-SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_in_ngwt__EmailAddressList(struct soap*, const char*, ngwt__EmailAddressList *, const char*);
-SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_new_ngwt__EmailAddressList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__EmailAddressList(struct soap*, ngwt__EmailAddressList*);
-SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_instantiate_ngwt__EmailAddressList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__EmailAddressList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DocumentTypeList
-#define SOAP_TYPE_ngwt__DocumentTypeList (59)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentTypeList(struct soap*, const char*, int, const ngwt__DocumentTypeList *, const char*);
-SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_get_ngwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *, const char*, const char*);
-SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_in_ngwt__DocumentTypeList(struct soap*, const char*, ngwt__DocumentTypeList *, const char*);
-SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_new_ngwt__DocumentTypeList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList*);
-SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_instantiate_ngwt__DocumentTypeList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentTypeList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DocumentType
-#define SOAP_TYPE_ngwt__DocumentType (58)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentType(struct soap*, const char*, int, const ngwt__DocumentType *, const char*);
-SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_get_ngwt__DocumentType(struct soap*, ngwt__DocumentType *, const char*, const char*);
-SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_in_ngwt__DocumentType(struct soap*, const char*, ngwt__DocumentType *, const char*);
-SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_new_ngwt__DocumentType(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentType(struct soap*, ngwt__DocumentType*);
-SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_instantiate_ngwt__DocumentType(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentType(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DocumentRef
-#define SOAP_TYPE_ngwt__DocumentRef (57)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentRef(struct soap*, const char*, int, const ngwt__DocumentRef *, const char*);
-SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_get_ngwt__DocumentRef(struct soap*, ngwt__DocumentRef *, const char*, const char*);
-SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_in_ngwt__DocumentRef(struct soap*, const char*, ngwt__DocumentRef *, const char*);
-SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_new_ngwt__DocumentRef(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentRef(struct soap*, ngwt__DocumentRef*);
-SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_instantiate_ngwt__DocumentRef(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentRef(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Document
-#define SOAP_TYPE_ngwt__Document (56)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Document(struct soap*, const char*, int, const ngwt__Document *, const char*);
-SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_get_ngwt__Document(struct soap*, ngwt__Document *, const char*, const char*);
-SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_in_ngwt__Document(struct soap*, const char*, ngwt__Document *, const char*);
-SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_new_ngwt__Document(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Document(struct soap*, ngwt__Document*);
-SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_instantiate_ngwt__Document(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Document(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Distribution
-#define SOAP_TYPE_ngwt__Distribution (55)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Distribution(struct soap*, const char*, int, const ngwt__Distribution *, const char*);
-SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_get_ngwt__Distribution(struct soap*, ngwt__Distribution *, const char*, const char*);
-SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_in_ngwt__Distribution(struct soap*, const char*, ngwt__Distribution *, const char*);
-SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_new_ngwt__Distribution(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Distribution(struct soap*, ngwt__Distribution*);
-SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_instantiate_ngwt__Distribution(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Distribution(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DeltaInfo
-#define SOAP_TYPE_ngwt__DeltaInfo (54)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaInfo(struct soap*, const char*, int, const ngwt__DeltaInfo *, const char*);
-SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_get_ngwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_in_ngwt__DeltaInfo(struct soap*, const char*, ngwt__DeltaInfo *, const char*);
-SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_new_ngwt__DeltaInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DeltaInfo(struct soap*, ngwt__DeltaInfo*);
-SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_instantiate_ngwt__DeltaInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DeltaInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DelegateeStatus
-#define SOAP_TYPE_ngwt__DelegateeStatus (53)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegateeStatus(struct soap*, const char*, int, const ngwt__DelegateeStatus *, const char*);
-SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_get_ngwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_in_ngwt__DelegateeStatus(struct soap*, const char*, ngwt__DelegateeStatus *, const char*);
-SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_new_ngwt__DelegateeStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus*);
-SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegateeStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegateeStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DelegatedStatus
-#define SOAP_TYPE_ngwt__DelegatedStatus (52)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegatedStatus(struct soap*, const char*, int, const ngwt__DelegatedStatus *, const char*);
-SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_get_ngwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_in_ngwt__DelegatedStatus(struct soap*, const char*, ngwt__DelegatedStatus *, const char*);
-SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_new_ngwt__DelegatedStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus*);
-SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegatedStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegatedStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearWeekList
-#define SOAP_TYPE_ngwt__DayOfYearWeekList (51)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeekList(struct soap*, const char*, int, const ngwt__DayOfYearWeekList *, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeekList(struct soap*, const char*, ngwt__DayOfYearWeekList *, const char*);
-SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeekList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList*);
-SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeekList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeekList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearWeek
-#define SOAP_TYPE_ngwt__DayOfYearWeek (50)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeek(struct soap*, const char*, int, const ngwt__DayOfYearWeek *, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeek(struct soap*, const char*, ngwt__DayOfYearWeek *, const char*);
-SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeek(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek*);
-SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeek(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeek(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearList
-#define SOAP_TYPE_ngwt__DayOfYearList (49)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearList(struct soap*, const char*, int, const ngwt__DayOfYearList *, const char*);
-SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_get_ngwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_in_ngwt__DayOfYearList(struct soap*, const char*, ngwt__DayOfYearList *, const char*);
-SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_new_ngwt__DayOfYearList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearList(struct soap*, ngwt__DayOfYearList*);
-SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfWeek
-#define SOAP_TYPE_ngwt__DayOfWeek (48)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfWeek(struct soap*, const char*, int, const ngwt__DayOfWeek *, const char*);
-SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_get_ngwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_in_ngwt__DayOfWeek(struct soap*, const char*, ngwt__DayOfWeek *, const char*);
-SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_new_ngwt__DayOfWeek(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfWeek(struct soap*, ngwt__DayOfWeek*);
-SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfWeek(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfWeek(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__DayOfMonthList
-#define SOAP_TYPE_ngwt__DayOfMonthList (47)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonthList(struct soap*, const char*, int, const ngwt__DayOfMonthList *, const char*);
-SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_get_ngwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_in_ngwt__DayOfMonthList(struct soap*, const char*, ngwt__DayOfMonthList *, const char*);
-SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_new_ngwt__DayOfMonthList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList*);
-SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfMonthList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfMonthList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CustomList
-#define SOAP_TYPE_ngwt__CustomList (46)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomList(struct soap*, const char*, int, const ngwt__CustomList *, const char*);
-SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_get_ngwt__CustomList(struct soap*, ngwt__CustomList *, const char*, const char*);
-SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_in_ngwt__CustomList(struct soap*, const char*, ngwt__CustomList *, const char*);
-SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_new_ngwt__CustomList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CustomList(struct soap*, ngwt__CustomList*);
-SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_instantiate_ngwt__CustomList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CustomList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Custom
-#define SOAP_TYPE_ngwt__Custom (45)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Custom(struct soap*, const char*, int, const ngwt__Custom *, const char*);
-SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_get_ngwt__Custom(struct soap*, ngwt__Custom *, const char*, const char*);
-SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_in_ngwt__Custom(struct soap*, const char*, ngwt__Custom *, const char*);
-SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_new_ngwt__Custom(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Custom(struct soap*, ngwt__Custom*);
-SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_instantiate_ngwt__Custom(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Custom(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ContainerRef
-#define SOAP_TYPE_ngwt__ContainerRef (44)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerRef(struct soap*, const char*, int, const ngwt__ContainerRef *, const char*);
-SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_get_ngwt__ContainerRef(struct soap*, ngwt__ContainerRef *, const char*, const char*);
-SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_in_ngwt__ContainerRef(struct soap*, const char*, ngwt__ContainerRef *, const char*);
-SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_new_ngwt__ContainerRef(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerRef(struct soap*, ngwt__ContainerRef*);
-SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_instantiate_ngwt__ContainerRef(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerRef(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ContainerItem
-#define SOAP_TYPE_ngwt__ContainerItem (43)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerItem(struct soap*, const char*, int, const ngwt__ContainerItem *, const char*);
-SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_get_ngwt__ContainerItem(struct soap*, ngwt__ContainerItem *, const char*, const char*);
-SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_in_ngwt__ContainerItem(struct soap*, const char*, ngwt__ContainerItem *, const char*);
-SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_new_ngwt__ContainerItem(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerItem(struct soap*, ngwt__ContainerItem*);
-SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_instantiate_ngwt__ContainerItem(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerItem(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__ContactFolder
-#define SOAP_TYPE_ngwt__ContactFolder (42)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactFolder(struct soap*, const char*, int, const ngwt__ContactFolder *, const char*);
-SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_get_ngwt__ContactFolder(struct soap*, ngwt__ContactFolder *, const char*, const char*);
-SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_in_ngwt__ContactFolder(struct soap*, const char*, ngwt__ContactFolder *, const char*);
-SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_new_ngwt__ContactFolder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContactFolder(struct soap*, ngwt__ContactFolder*);
-SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_instantiate_ngwt__ContactFolder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContactFolder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Contact
-#define SOAP_TYPE_ngwt__Contact (41)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Contact(struct soap*, const char*, int, const ngwt__Contact *, const char*);
-SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_get_ngwt__Contact(struct soap*, ngwt__Contact *, const char*, const char*);
-SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_in_ngwt__Contact(struct soap*, const char*, ngwt__Contact *, const char*);
-SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_new_ngwt__Contact(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Contact(struct soap*, ngwt__Contact*);
-SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_instantiate_ngwt__Contact(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Contact(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CommentStatus
-#define SOAP_TYPE_ngwt__CommentStatus (40)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CommentStatus(struct soap*, const char*, int, const ngwt__CommentStatus *, const char*);
-SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_get_ngwt__CommentStatus(struct soap*, ngwt__CommentStatus *, const char*, const char*);
-SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_in_ngwt__CommentStatus(struct soap*, const char*, ngwt__CommentStatus *, const char*);
-SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_new_ngwt__CommentStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CommentStatus(struct soap*, ngwt__CommentStatus*);
-SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_instantiate_ngwt__CommentStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CommentStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CategoryRefList
-#define SOAP_TYPE_ngwt__CategoryRefList (39)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryRefList(struct soap*, const char*, int, const ngwt__CategoryRefList *, const char*);
-SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_get_ngwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *, const char*, const char*);
-SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_in_ngwt__CategoryRefList(struct soap*, const char*, ngwt__CategoryRefList *, const char*);
-SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_new_ngwt__CategoryRefList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryRefList(struct soap*, ngwt__CategoryRefList*);
-SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryRefList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryRefList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CategoryList
-#define SOAP_TYPE_ngwt__CategoryList (38)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryList(struct soap*, const char*, int, const ngwt__CategoryList *, const char*);
-SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_get_ngwt__CategoryList(struct soap*, ngwt__CategoryList *, const char*, const char*);
-SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_in_ngwt__CategoryList(struct soap*, const char*, ngwt__CategoryList *, const char*);
-SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_new_ngwt__CategoryList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryList(struct soap*, ngwt__CategoryList*);
-SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Category
-#define SOAP_TYPE_ngwt__Category (37)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Category(struct soap*, const char*, int, const ngwt__Category *, const char*);
-SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_get_ngwt__Category(struct soap*, ngwt__Category *, const char*, const char*);
-SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_in_ngwt__Category(struct soap*, const char*, ngwt__Category *, const char*);
-SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_new_ngwt__Category(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Category(struct soap*, ngwt__Category*);
-SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_instantiate_ngwt__Category(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Category(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CalendarItem
-#define SOAP_TYPE_ngwt__CalendarItem (36)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarItem(struct soap*, const char*, int, const ngwt__CalendarItem *, const char*);
-SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_get_ngwt__CalendarItem(struct soap*, ngwt__CalendarItem *, const char*, const char*);
-SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_in_ngwt__CalendarItem(struct soap*, const char*, ngwt__CalendarItem *, const char*);
-SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_new_ngwt__CalendarItem(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarItem(struct soap*, ngwt__CalendarItem*);
-SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_instantiate_ngwt__CalendarItem(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarItem(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__CalendarFolderAttribute
-#define SOAP_TYPE_ngwt__CalendarFolderAttribute (35)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderAttribute(struct soap*, const char*, int, const ngwt__CalendarFolderAttribute *, const char*);
-SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_get_ngwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *, const char*, const char*);
-SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_in_ngwt__CalendarFolderAttribute(struct soap*, const char*, ngwt__CalendarFolderAttribute *, const char*);
-SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_new_ngwt__CalendarFolderAttribute(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute*);
-SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_instantiate_ngwt__CalendarFolderAttribute(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarFolderAttribute(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__BoxEntry
-#define SOAP_TYPE_ngwt__BoxEntry (34)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__BoxEntry(struct soap*, const char*, int, const ngwt__BoxEntry *, const char*);
-SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_get_ngwt__BoxEntry(struct soap*, ngwt__BoxEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_in_ngwt__BoxEntry(struct soap*, const char*, ngwt__BoxEntry *, const char*);
-SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_new_ngwt__BoxEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__BoxEntry(struct soap*, ngwt__BoxEntry*);
-SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_instantiate_ngwt__BoxEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__BoxEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Authentication
-#define SOAP_TYPE_ngwt__Authentication (33)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Authentication(struct soap*, const char*, int, const ngwt__Authentication *, const char*);
-SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_get_ngwt__Authentication(struct soap*, ngwt__Authentication *, const char*, const char*);
-SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_in_ngwt__Authentication(struct soap*, const char*, ngwt__Authentication *, const char*);
-SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_new_ngwt__Authentication(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Authentication(struct soap*, ngwt__Authentication*);
-SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_instantiate_ngwt__Authentication(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Authentication(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AttachmentItemInfo
-#define SOAP_TYPE_ngwt__AttachmentItemInfo (32)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentItemInfo(struct soap*, const char*, int, const ngwt__AttachmentItemInfo *, const char*);
-SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentItemInfo(struct soap*, const char*, ngwt__AttachmentItemInfo *, const char*);
-SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentItemInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo*);
-SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentItemInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentItemInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AttachmentInfo
-#define SOAP_TYPE_ngwt__AttachmentInfo (31)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentInfo(struct soap*, const char*, int, const ngwt__AttachmentInfo *, const char*);
-SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentInfo(struct soap*, const char*, ngwt__AttachmentInfo *, const char*);
-SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo*);
-SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AttachmentID
-#define SOAP_TYPE_ngwt__AttachmentID (30)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentID(struct soap*, const char*, int, const ngwt__AttachmentID *, const char*);
-SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_get_ngwt__AttachmentID(struct soap*, ngwt__AttachmentID *, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_in_ngwt__AttachmentID(struct soap*, const char*, ngwt__AttachmentID *, const char*);
-SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_new_ngwt__AttachmentID(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentID(struct soap*, ngwt__AttachmentID*);
-SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentID(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentID(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Appointment
-#define SOAP_TYPE_ngwt__Appointment (29)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Appointment(struct soap*, const char*, int, const ngwt__Appointment *, const char*);
-SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_get_ngwt__Appointment(struct soap*, ngwt__Appointment *, const char*, const char*);
-SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_in_ngwt__Appointment(struct soap*, const char*, ngwt__Appointment *, const char*);
-SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_new_ngwt__Appointment(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Appointment(struct soap*, ngwt__Appointment*);
-SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_instantiate_ngwt__Appointment(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Appointment(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__Alarm
-#define SOAP_TYPE_ngwt__Alarm (28)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Alarm(struct soap*, const char*, int, const ngwt__Alarm *, const char*);
-SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_get_ngwt__Alarm(struct soap*, ngwt__Alarm *, const char*, const char*);
-SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_in_ngwt__Alarm(struct soap*, const char*, ngwt__Alarm *, const char*);
-SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_new_ngwt__Alarm(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Alarm(struct soap*, ngwt__Alarm*);
-SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_instantiate_ngwt__Alarm(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Alarm(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AddressBookList
-#define SOAP_TYPE_ngwt__AddressBookList (27)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookList(struct soap*, const char*, int, const ngwt__AddressBookList *, const char*);
-SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_get_ngwt__AddressBookList(struct soap*, ngwt__AddressBookList *, const char*, const char*);
-SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_in_ngwt__AddressBookList(struct soap*, const char*, ngwt__AddressBookList *, const char*);
-SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_new_ngwt__AddressBookList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookList(struct soap*, ngwt__AddressBookList*);
-SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AddressBookItem
-#define SOAP_TYPE_ngwt__AddressBookItem (26)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookItem(struct soap*, const char*, int, const ngwt__AddressBookItem *, const char*);
-SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_get_ngwt__AddressBookItem(struct soap*, ngwt__AddressBookItem *, const char*, const char*);
-SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_in_ngwt__AddressBookItem(struct soap*, const char*, ngwt__AddressBookItem *, const char*);
-SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_new_ngwt__AddressBookItem(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookItem(struct soap*, ngwt__AddressBookItem*);
-SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookItem(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookItem(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AddressBook
-#define SOAP_TYPE_ngwt__AddressBook (25)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBook(struct soap*, const char*, int, const ngwt__AddressBook *, const char*);
-SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_get_ngwt__AddressBook(struct soap*, ngwt__AddressBook *, const char*, const char*);
-SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_in_ngwt__AddressBook(struct soap*, const char*, ngwt__AddressBook *, const char*);
-SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_new_ngwt__AddressBook(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBook(struct soap*, ngwt__AddressBook*);
-SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_instantiate_ngwt__AddressBook(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBook(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessRightList
-#define SOAP_TYPE_ngwt__AccessRightList (24)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightList(struct soap*, const char*, int, const ngwt__AccessRightList *, const char*);
-SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_get_ngwt__AccessRightList(struct soap*, ngwt__AccessRightList *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_in_ngwt__AccessRightList(struct soap*, const char*, ngwt__AccessRightList *, const char*);
-SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_new_ngwt__AccessRightList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightList(struct soap*, ngwt__AccessRightList*);
-SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessRightEntry
-#define SOAP_TYPE_ngwt__AccessRightEntry (23)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightEntry(struct soap*, const char*, int, const ngwt__AccessRightEntry *, const char*);
-SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_get_ngwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_in_ngwt__AccessRightEntry(struct soap*, const char*, ngwt__AccessRightEntry *, const char*);
-SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_new_ngwt__AccessRightEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry*);
-SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessRightChanges
-#define SOAP_TYPE_ngwt__AccessRightChanges (22)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightChanges(struct soap*, const char*, int, const ngwt__AccessRightChanges *, const char*);
-SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_get_ngwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_in_ngwt__AccessRightChanges(struct soap*, const char*, ngwt__AccessRightChanges *, const char*);
-SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_new_ngwt__AccessRightChanges(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges*);
-SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightChanges(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightChanges(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessRight
-#define SOAP_TYPE_ngwt__AccessRight (21)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRight(struct soap*, const char*, int, const ngwt__AccessRight *, const char*);
-SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_get_ngwt__AccessRight(struct soap*, ngwt__AccessRight *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_in_ngwt__AccessRight(struct soap*, const char*, ngwt__AccessRight *, const char*);
-SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_new_ngwt__AccessRight(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRight(struct soap*, ngwt__AccessRight*);
-SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessRight(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRight(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessMiscRight
-#define SOAP_TYPE_ngwt__AccessMiscRight (20)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessMiscRight(struct soap*, const char*, int, const ngwt__AccessMiscRight *, const char*);
-SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_get_ngwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_in_ngwt__AccessMiscRight(struct soap*, const char*, ngwt__AccessMiscRight *, const char*);
-SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_new_ngwt__AccessMiscRight(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight*);
-SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessMiscRight(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessMiscRight(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessControlList
-#define SOAP_TYPE_ngwt__AccessControlList (19)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlList(struct soap*, const char*, int, const ngwt__AccessControlList *, const char*);
-SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_get_ngwt__AccessControlList(struct soap*, ngwt__AccessControlList *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_in_ngwt__AccessControlList(struct soap*, const char*, ngwt__AccessControlList *, const char*);
-SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_new_ngwt__AccessControlList(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlList(struct soap*, ngwt__AccessControlList*);
-SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlList(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlList(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_ngwt__AccessControlListEntry
-#define SOAP_TYPE_ngwt__AccessControlListEntry (18)
-#endif
-
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlListEntry(struct soap*, const char*, int, const ngwt__AccessControlListEntry *, const char*);
-SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_get_ngwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_in_ngwt__AccessControlListEntry(struct soap*, const char*, ngwt__AccessControlListEntry *, const char*);
-SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_new_ngwt__AccessControlListEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry*);
-SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlListEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlListEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_xsd__language
-#define SOAP_TYPE_xsd__language (17)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__language(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__language(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__language(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__language(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__language(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__language(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__language(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__language(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__language(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__language(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_xsd__duration
-#define SOAP_TYPE_xsd__duration (16)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__duration(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__duration(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__duration(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__duration(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__duration(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__duration(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__duration(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__duration(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__duration(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__duration(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_xsd__decimal
-#define SOAP_TYPE_xsd__decimal (15)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__decimal(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__decimal(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__decimal(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__decimal(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__decimal(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__decimal(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__decimal(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__decimal(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_xsd__date
-#define SOAP_TYPE_xsd__date (14)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__date(struct soap*, std::string const*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__date(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__date(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__date(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__date(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__date(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__date(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__date(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__date(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__date(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__string
-#define SOAP_TYPE_std__string (13)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap*, const std::string *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap*, std::string *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap*, const std::string *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap*, const char*, int, const std::string*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap*, std::string *, const char*, const char*);
-SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap*, const char*, std::string*, const char*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_std__string(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__string(struct soap*, std::string*);
-SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_std__string(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__string(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_xsd__base64Binary
-#define SOAP_TYPE_xsd__base64Binary (7)
-#endif
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__base64Binary(struct soap*, const char*, int, const xsd__base64Binary *, const char*);
-SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_get_xsd__base64Binary(struct soap*, xsd__base64Binary *, const char*, const char*);
-SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_in_xsd__base64Binary(struct soap*, const char*, xsd__base64Binary *, const char*);
-SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_new_xsd__base64Binary(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__base64Binary(struct soap*, xsd__base64Binary*);
-SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_instantiate_xsd__base64Binary(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__base64Binary(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_SOAP_ENV__Fault
-#define SOAP_TYPE_SOAP_ENV__Fault (940)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_SOAP_ENV__Detail
-#define SOAP_TYPE_SOAP_ENV__Detail (937)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_SOAP_ENV__Code
-#define SOAP_TYPE_SOAP_ENV__Code (935)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
-
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeEventsRequest
-#define SOAP_TYPE___ngw__removeEventsRequest (934)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventsRequest(struct soap*, const struct __ngw__removeEventsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventsRequest(struct soap*, struct __ngw__removeEventsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventsRequest(struct soap*, const struct __ngw__removeEventsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventsRequest(struct soap*, const char*, int, const struct __ngw__removeEventsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_get___ngw__removeEventsRequest(struct soap*, struct __ngw__removeEventsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_in___ngw__removeEventsRequest(struct soap*, const char*, struct __ngw__removeEventsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeEventConfigurationRequest
-#define SOAP_TYPE___ngw__removeEventConfigurationRequest (930)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventConfigurationRequest(struct soap*, const struct __ngw__removeEventConfigurationRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventConfigurationRequest(struct soap*, struct __ngw__removeEventConfigurationRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventConfigurationRequest(struct soap*, const struct __ngw__removeEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__removeEventConfigurationRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__removeEventConfigurationRequest(struct soap*, struct __ngw__removeEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__removeEventConfigurationRequest(struct soap*, const char*, struct __ngw__removeEventConfigurationRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getEventsRequest
-#define SOAP_TYPE___ngw__getEventsRequest (926)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventsRequest(struct soap*, const struct __ngw__getEventsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventsRequest(struct soap*, struct __ngw__getEventsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventsRequest(struct soap*, const struct __ngw__getEventsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventsRequest(struct soap*, const char*, int, const struct __ngw__getEventsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_get___ngw__getEventsRequest(struct soap*, struct __ngw__getEventsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_in___ngw__getEventsRequest(struct soap*, const char*, struct __ngw__getEventsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getEventConfigurationRequest
-#define SOAP_TYPE___ngw__getEventConfigurationRequest (922)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventConfigurationRequest(struct soap*, const struct __ngw__getEventConfigurationRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventConfigurationRequest(struct soap*, struct __ngw__getEventConfigurationRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventConfigurationRequest(struct soap*, const struct __ngw__getEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__getEventConfigurationRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__getEventConfigurationRequest(struct soap*, struct __ngw__getEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__getEventConfigurationRequest(struct soap*, const char*, struct __ngw__getEventConfigurationRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__configureEventsRequest
-#define SOAP_TYPE___ngw__configureEventsRequest (918)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__configureEventsRequest(struct soap*, const struct __ngw__configureEventsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__configureEventsRequest(struct soap*, struct __ngw__configureEventsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__configureEventsRequest(struct soap*, const struct __ngw__configureEventsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__configureEventsRequest(struct soap*, const char*, int, const struct __ngw__configureEventsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_get___ngw__configureEventsRequest(struct soap*, struct __ngw__configureEventsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_in___ngw__configureEventsRequest(struct soap*, const char*, struct __ngw__configureEventsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__cleanEventConfigurationRequest
-#define SOAP_TYPE___ngw__cleanEventConfigurationRequest (914)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__cleanEventConfigurationRequest(struct soap*, const struct __ngw__cleanEventConfigurationRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__cleanEventConfigurationRequest(struct soap*, struct __ngw__cleanEventConfigurationRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__cleanEventConfigurationRequest(struct soap*, const struct __ngw__cleanEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__cleanEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__cleanEventConfigurationRequest *, const char*);
-SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__cleanEventConfigurationRequest(struct soap*, struct __ngw__cleanEventConfigurationRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__cleanEventConfigurationRequest(struct soap*, const char*, struct __ngw__cleanEventConfigurationRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__updateVersionStatusRequest
-#define SOAP_TYPE___ngw__updateVersionStatusRequest (910)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__updateVersionStatusRequest(struct soap*, const struct __ngw__updateVersionStatusRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__updateVersionStatusRequest(struct soap*, struct __ngw__updateVersionStatusRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__updateVersionStatusRequest(struct soap*, const struct __ngw__updateVersionStatusRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__updateVersionStatusRequest(struct soap*, const char*, int, const struct __ngw__updateVersionStatusRequest *, const char*);
-SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_get___ngw__updateVersionStatusRequest(struct soap*, struct __ngw__updateVersionStatusRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_in___ngw__updateVersionStatusRequest(struct soap*, const char*, struct __ngw__updateVersionStatusRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__uncompleteRequest
-#define SOAP_TYPE___ngw__uncompleteRequest (906)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__uncompleteRequest(struct soap*, const struct __ngw__uncompleteRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__uncompleteRequest(struct soap*, struct __ngw__uncompleteRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__uncompleteRequest(struct soap*, const struct __ngw__uncompleteRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__uncompleteRequest(struct soap*, const char*, int, const struct __ngw__uncompleteRequest *, const char*);
-SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_get___ngw__uncompleteRequest(struct soap*, struct __ngw__uncompleteRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_in___ngw__uncompleteRequest(struct soap*, const char*, struct __ngw__uncompleteRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__unacceptRequest
-#define SOAP_TYPE___ngw__unacceptRequest (902)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__unacceptRequest(struct soap*, const struct __ngw__unacceptRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__unacceptRequest(struct soap*, struct __ngw__unacceptRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__unacceptRequest(struct soap*, const struct __ngw__unacceptRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__unacceptRequest(struct soap*, const char*, int, const struct __ngw__unacceptRequest *, const char*);
-SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_get___ngw__unacceptRequest(struct soap*, struct __ngw__unacceptRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_in___ngw__unacceptRequest(struct soap*, const char*, struct __ngw__unacceptRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__startFreeBusySessionRequest
-#define SOAP_TYPE___ngw__startFreeBusySessionRequest (898)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__startFreeBusySessionRequest(struct soap*, const struct __ngw__startFreeBusySessionRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__startFreeBusySessionRequest(struct soap*, struct __ngw__startFreeBusySessionRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__startFreeBusySessionRequest(struct soap*, const struct __ngw__startFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__startFreeBusySessionRequest(struct soap*, const char*, int, const struct __ngw__startFreeBusySessionRequest *, const char*);
-SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__startFreeBusySessionRequest(struct soap*, struct __ngw__startFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__startFreeBusySessionRequest(struct soap*, const char*, struct __ngw__startFreeBusySessionRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__setTimestampRequest
-#define SOAP_TYPE___ngw__setTimestampRequest (894)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__setTimestampRequest(struct soap*, const struct __ngw__setTimestampRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__setTimestampRequest(struct soap*, struct __ngw__setTimestampRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__setTimestampRequest(struct soap*, const struct __ngw__setTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__setTimestampRequest(struct soap*, const char*, int, const struct __ngw__setTimestampRequest *, const char*);
-SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_get___ngw__setTimestampRequest(struct soap*, struct __ngw__setTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_in___ngw__setTimestampRequest(struct soap*, const char*, struct __ngw__setTimestampRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__sendItemRequest
-#define SOAP_TYPE___ngw__sendItemRequest (890)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__sendItemRequest(struct soap*, const struct __ngw__sendItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__sendItemRequest(struct soap*, struct __ngw__sendItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__sendItemRequest(struct soap*, const struct __ngw__sendItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__sendItemRequest(struct soap*, const char*, int, const struct __ngw__sendItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_get___ngw__sendItemRequest(struct soap*, struct __ngw__sendItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_in___ngw__sendItemRequest(struct soap*, const char*, struct __ngw__sendItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__retractRequest
-#define SOAP_TYPE___ngw__retractRequest (886)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__retractRequest(struct soap*, const struct __ngw__retractRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__retractRequest(struct soap*, struct __ngw__retractRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__retractRequest(struct soap*, const struct __ngw__retractRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__retractRequest(struct soap*, const char*, int, const struct __ngw__retractRequest *, const char*);
-SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_get___ngw__retractRequest(struct soap*, struct __ngw__retractRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_in___ngw__retractRequest(struct soap*, const char*, struct __ngw__retractRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__replyRequest
-#define SOAP_TYPE___ngw__replyRequest (882)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__replyRequest(struct soap*, const struct __ngw__replyRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__replyRequest(struct soap*, struct __ngw__replyRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__replyRequest(struct soap*, const struct __ngw__replyRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__replyRequest(struct soap*, const char*, int, const struct __ngw__replyRequest *, const char*);
-SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_get___ngw__replyRequest(struct soap*, struct __ngw__replyRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_in___ngw__replyRequest(struct soap*, const char*, struct __ngw__replyRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeSignatureRequest
-#define SOAP_TYPE___ngw__removeSignatureRequest (878)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeSignatureRequest(struct soap*, const struct __ngw__removeSignatureRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeSignatureRequest(struct soap*, struct __ngw__removeSignatureRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeSignatureRequest(struct soap*, const struct __ngw__removeSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeSignatureRequest(struct soap*, const char*, int, const struct __ngw__removeSignatureRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_get___ngw__removeSignatureRequest(struct soap*, struct __ngw__removeSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_in___ngw__removeSignatureRequest(struct soap*, const char*, struct __ngw__removeSignatureRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeProxyUserRequest
-#define SOAP_TYPE___ngw__removeProxyUserRequest (874)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyUserRequest(struct soap*, const struct __ngw__removeProxyUserRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyUserRequest(struct soap*, struct __ngw__removeProxyUserRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyUserRequest(struct soap*, const struct __ngw__removeProxyUserRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyUserRequest(struct soap*, const char*, int, const struct __ngw__removeProxyUserRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_get___ngw__removeProxyUserRequest(struct soap*, struct __ngw__removeProxyUserRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_in___ngw__removeProxyUserRequest(struct soap*, const char*, struct __ngw__removeProxyUserRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeProxyAccessRequest
-#define SOAP_TYPE___ngw__removeProxyAccessRequest (870)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyAccessRequest(struct soap*, const struct __ngw__removeProxyAccessRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyAccessRequest(struct soap*, struct __ngw__removeProxyAccessRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyAccessRequest(struct soap*, const struct __ngw__removeProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__removeProxyAccessRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__removeProxyAccessRequest(struct soap*, struct __ngw__removeProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__removeProxyAccessRequest(struct soap*, const char*, struct __ngw__removeProxyAccessRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeMembersRequest
-#define SOAP_TYPE___ngw__removeMembersRequest (866)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeMembersRequest(struct soap*, const struct __ngw__removeMembersRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeMembersRequest(struct soap*, struct __ngw__removeMembersRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeMembersRequest(struct soap*, const struct __ngw__removeMembersRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeMembersRequest(struct soap*, const char*, int, const struct __ngw__removeMembersRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_get___ngw__removeMembersRequest(struct soap*, struct __ngw__removeMembersRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_in___ngw__removeMembersRequest(struct soap*, const char*, struct __ngw__removeMembersRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeJunkEntryRequest
-#define SOAP_TYPE___ngw__removeJunkEntryRequest (862)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeJunkEntryRequest(struct soap*, const struct __ngw__removeJunkEntryRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeJunkEntryRequest(struct soap*, struct __ngw__removeJunkEntryRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeJunkEntryRequest(struct soap*, const struct __ngw__removeJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__removeJunkEntryRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__removeJunkEntryRequest(struct soap*, struct __ngw__removeJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__removeJunkEntryRequest(struct soap*, const char*, struct __ngw__removeJunkEntryRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeItemsRequest
-#define SOAP_TYPE___ngw__removeItemsRequest (858)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemsRequest(struct soap*, const struct __ngw__removeItemsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemsRequest(struct soap*, struct __ngw__removeItemsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemsRequest(struct soap*, const struct __ngw__removeItemsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemsRequest(struct soap*, const char*, int, const struct __ngw__removeItemsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_get___ngw__removeItemsRequest(struct soap*, struct __ngw__removeItemsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_in___ngw__removeItemsRequest(struct soap*, const char*, struct __ngw__removeItemsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeItemRequest
-#define SOAP_TYPE___ngw__removeItemRequest (854)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemRequest(struct soap*, const struct __ngw__removeItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemRequest(struct soap*, struct __ngw__removeItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemRequest(struct soap*, const struct __ngw__removeItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemRequest(struct soap*, const char*, int, const struct __ngw__removeItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_get___ngw__removeItemRequest(struct soap*, struct __ngw__removeItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_in___ngw__removeItemRequest(struct soap*, const char*, struct __ngw__removeItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__removeCustomDefinitionRequest
-#define SOAP_TYPE___ngw__removeCustomDefinitionRequest (850)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeCustomDefinitionRequest(struct soap*, const struct __ngw__removeCustomDefinitionRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeCustomDefinitionRequest(struct soap*, struct __ngw__removeCustomDefinitionRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeCustomDefinitionRequest(struct soap*, const struct __ngw__removeCustomDefinitionRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeCustomDefinitionRequest(struct soap*, const char*, int, const struct __ngw__removeCustomDefinitionRequest *, const char*);
-SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get___ngw__removeCustomDefinitionRequest(struct soap*, struct __ngw__removeCustomDefinitionRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in___ngw__removeCustomDefinitionRequest(struct soap*, const char*, struct __ngw__removeCustomDefinitionRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__readCursorRequest
-#define SOAP_TYPE___ngw__readCursorRequest (846)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__readCursorRequest(struct soap*, const struct __ngw__readCursorRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__readCursorRequest(struct soap*, struct __ngw__readCursorRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__readCursorRequest(struct soap*, const struct __ngw__readCursorRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__readCursorRequest(struct soap*, const char*, int, const struct __ngw__readCursorRequest *, const char*);
-SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_get___ngw__readCursorRequest(struct soap*, struct __ngw__readCursorRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_in___ngw__readCursorRequest(struct soap*, const char*, struct __ngw__readCursorRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__purgeRequest
-#define SOAP_TYPE___ngw__purgeRequest (842)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeRequest(struct soap*, const struct __ngw__purgeRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeRequest(struct soap*, struct __ngw__purgeRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeRequest(struct soap*, const struct __ngw__purgeRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeRequest(struct soap*, const char*, int, const struct __ngw__purgeRequest *, const char*);
-SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_get___ngw__purgeRequest(struct soap*, struct __ngw__purgeRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_in___ngw__purgeRequest(struct soap*, const char*, struct __ngw__purgeRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__purgeDeletedItemsRequest
-#define SOAP_TYPE___ngw__purgeDeletedItemsRequest (838)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeDeletedItemsRequest(struct soap*, const struct __ngw__purgeDeletedItemsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeDeletedItemsRequest(struct soap*, struct __ngw__purgeDeletedItemsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeDeletedItemsRequest(struct soap*, const struct __ngw__purgeDeletedItemsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeDeletedItemsRequest(struct soap*, const char*, int, const struct __ngw__purgeDeletedItemsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get___ngw__purgeDeletedItemsRequest(struct soap*, struct __ngw__purgeDeletedItemsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in___ngw__purgeDeletedItemsRequest(struct soap*, const char*, struct __ngw__purgeDeletedItemsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__positionCursorRequest
-#define SOAP_TYPE___ngw__positionCursorRequest (834)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__positionCursorRequest(struct soap*, const struct __ngw__positionCursorRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__positionCursorRequest(struct soap*, struct __ngw__positionCursorRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__positionCursorRequest(struct soap*, const struct __ngw__positionCursorRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__positionCursorRequest(struct soap*, const char*, int, const struct __ngw__positionCursorRequest *, const char*);
-SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_get___ngw__positionCursorRequest(struct soap*, struct __ngw__positionCursorRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_in___ngw__positionCursorRequest(struct soap*, const char*, struct __ngw__positionCursorRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__moveItemRequest
-#define SOAP_TYPE___ngw__moveItemRequest (830)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__moveItemRequest(struct soap*, const struct __ngw__moveItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__moveItemRequest(struct soap*, struct __ngw__moveItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__moveItemRequest(struct soap*, const struct __ngw__moveItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__moveItemRequest(struct soap*, const char*, int, const struct __ngw__moveItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_get___ngw__moveItemRequest(struct soap*, struct __ngw__moveItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_in___ngw__moveItemRequest(struct soap*, const char*, struct __ngw__moveItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifySignaturesRequest
-#define SOAP_TYPE___ngw__modifySignaturesRequest (826)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySignaturesRequest(struct soap*, const struct __ngw__modifySignaturesRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySignaturesRequest(struct soap*, struct __ngw__modifySignaturesRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySignaturesRequest(struct soap*, const struct __ngw__modifySignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySignaturesRequest(struct soap*, const char*, int, const struct __ngw__modifySignaturesRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_get___ngw__modifySignaturesRequest(struct soap*, struct __ngw__modifySignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_in___ngw__modifySignaturesRequest(struct soap*, const char*, struct __ngw__modifySignaturesRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifySettingsRequest
-#define SOAP_TYPE___ngw__modifySettingsRequest (822)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySettingsRequest(struct soap*, const struct __ngw__modifySettingsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySettingsRequest(struct soap*, struct __ngw__modifySettingsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySettingsRequest(struct soap*, const struct __ngw__modifySettingsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySettingsRequest(struct soap*, const char*, int, const struct __ngw__modifySettingsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_get___ngw__modifySettingsRequest(struct soap*, struct __ngw__modifySettingsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_in___ngw__modifySettingsRequest(struct soap*, const char*, struct __ngw__modifySettingsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifyProxyAccessRequest
-#define SOAP_TYPE___ngw__modifyProxyAccessRequest (818)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyProxyAccessRequest(struct soap*, const struct __ngw__modifyProxyAccessRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyProxyAccessRequest(struct soap*, struct __ngw__modifyProxyAccessRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyProxyAccessRequest(struct soap*, const struct __ngw__modifyProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__modifyProxyAccessRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__modifyProxyAccessRequest(struct soap*, struct __ngw__modifyProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__modifyProxyAccessRequest(struct soap*, const char*, struct __ngw__modifyProxyAccessRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifyPasswordRequest
-#define SOAP_TYPE___ngw__modifyPasswordRequest (814)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyPasswordRequest(struct soap*, const struct __ngw__modifyPasswordRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyPasswordRequest(struct soap*, struct __ngw__modifyPasswordRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyPasswordRequest(struct soap*, const struct __ngw__modifyPasswordRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyPasswordRequest(struct soap*, const char*, int, const struct __ngw__modifyPasswordRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_get___ngw__modifyPasswordRequest(struct soap*, struct __ngw__modifyPasswordRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_in___ngw__modifyPasswordRequest(struct soap*, const char*, struct __ngw__modifyPasswordRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifyJunkMailSettingsRequest
-#define SOAP_TYPE___ngw__modifyJunkMailSettingsRequest (810)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkMailSettingsRequest(struct soap*, const struct __ngw__modifyJunkMailSettingsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkMailSettingsRequest(struct soap*, struct __ngw__modifyJunkMailSettingsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkMailSettingsRequest(struct soap*, const struct __ngw__modifyJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkMailSettingsRequest(struct soap*, const char*, int, const struct __ngw__modifyJunkMailSettingsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkMailSettingsRequest(struct soap*, struct __ngw__modifyJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkMailSettingsRequest(struct soap*, const char*, struct __ngw__modifyJunkMailSettingsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifyJunkEntryRequest
-#define SOAP_TYPE___ngw__modifyJunkEntryRequest (806)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkEntryRequest(struct soap*, const struct __ngw__modifyJunkEntryRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkEntryRequest(struct soap*, struct __ngw__modifyJunkEntryRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkEntryRequest(struct soap*, const struct __ngw__modifyJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__modifyJunkEntryRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkEntryRequest(struct soap*, struct __ngw__modifyJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkEntryRequest(struct soap*, const char*, struct __ngw__modifyJunkEntryRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__modifyItemRequest
-#define SOAP_TYPE___ngw__modifyItemRequest (802)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyItemRequest(struct soap*, const struct __ngw__modifyItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyItemRequest(struct soap*, struct __ngw__modifyItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyItemRequest(struct soap*, const struct __ngw__modifyItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyItemRequest(struct soap*, const char*, int, const struct __ngw__modifyItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_get___ngw__modifyItemRequest(struct soap*, struct __ngw__modifyItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_in___ngw__modifyItemRequest(struct soap*, const char*, struct __ngw__modifyItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__markUnReadRequest
-#define SOAP_TYPE___ngw__markUnReadRequest (798)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnReadRequest(struct soap*, const struct __ngw__markUnReadRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnReadRequest(struct soap*, struct __ngw__markUnReadRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnReadRequest(struct soap*, const struct __ngw__markUnReadRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnReadRequest(struct soap*, const char*, int, const struct __ngw__markUnReadRequest *, const char*);
-SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_get___ngw__markUnReadRequest(struct soap*, struct __ngw__markUnReadRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_in___ngw__markUnReadRequest(struct soap*, const char*, struct __ngw__markUnReadRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__markUnPrivateRequest
-#define SOAP_TYPE___ngw__markUnPrivateRequest (794)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnPrivateRequest(struct soap*, const struct __ngw__markUnPrivateRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnPrivateRequest(struct soap*, struct __ngw__markUnPrivateRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnPrivateRequest(struct soap*, const struct __ngw__markUnPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnPrivateRequest(struct soap*, const char*, int, const struct __ngw__markUnPrivateRequest *, const char*);
-SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_get___ngw__markUnPrivateRequest(struct soap*, struct __ngw__markUnPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_in___ngw__markUnPrivateRequest(struct soap*, const char*, struct __ngw__markUnPrivateRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__markReadRequest
-#define SOAP_TYPE___ngw__markReadRequest (790)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markReadRequest(struct soap*, const struct __ngw__markReadRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markReadRequest(struct soap*, struct __ngw__markReadRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markReadRequest(struct soap*, const struct __ngw__markReadRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markReadRequest(struct soap*, const char*, int, const struct __ngw__markReadRequest *, const char*);
-SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_get___ngw__markReadRequest(struct soap*, struct __ngw__markReadRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_in___ngw__markReadRequest(struct soap*, const char*, struct __ngw__markReadRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__markPrivateRequest
-#define SOAP_TYPE___ngw__markPrivateRequest (786)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markPrivateRequest(struct soap*, const struct __ngw__markPrivateRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markPrivateRequest(struct soap*, struct __ngw__markPrivateRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markPrivateRequest(struct soap*, const struct __ngw__markPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markPrivateRequest(struct soap*, const char*, int, const struct __ngw__markPrivateRequest *, const char*);
-SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_get___ngw__markPrivateRequest(struct soap*, struct __ngw__markPrivateRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_in___ngw__markPrivateRequest(struct soap*, const char*, struct __ngw__markPrivateRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__logoutRequest
-#define SOAP_TYPE___ngw__logoutRequest (782)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__logoutRequest(struct soap*, const struct __ngw__logoutRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__logoutRequest(struct soap*, struct __ngw__logoutRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__logoutRequest(struct soap*, const struct __ngw__logoutRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__logoutRequest(struct soap*, const char*, int, const struct __ngw__logoutRequest *, const char*);
-SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_get___ngw__logoutRequest(struct soap*, struct __ngw__logoutRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_in___ngw__logoutRequest(struct soap*, const char*, struct __ngw__logoutRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__loginRequest
-#define SOAP_TYPE___ngw__loginRequest (778)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__loginRequest(struct soap*, const struct __ngw__loginRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__loginRequest(struct soap*, struct __ngw__loginRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__loginRequest(struct soap*, const struct __ngw__loginRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__loginRequest(struct soap*, const char*, int, const struct __ngw__loginRequest *, const char*);
-SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_get___ngw__loginRequest(struct soap*, struct __ngw__loginRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_in___ngw__loginRequest(struct soap*, const char*, struct __ngw__loginRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getUserListRequest
-#define SOAP_TYPE___ngw__getUserListRequest (774)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getUserListRequest(struct soap*, const struct __ngw__getUserListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getUserListRequest(struct soap*, struct __ngw__getUserListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getUserListRequest(struct soap*, const struct __ngw__getUserListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getUserListRequest(struct soap*, const char*, int, const struct __ngw__getUserListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_get___ngw__getUserListRequest(struct soap*, struct __ngw__getUserListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_in___ngw__getUserListRequest(struct soap*, const char*, struct __ngw__getUserListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getTimezoneListRequest
-#define SOAP_TYPE___ngw__getTimezoneListRequest (770)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimezoneListRequest(struct soap*, const struct __ngw__getTimezoneListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimezoneListRequest(struct soap*, struct __ngw__getTimezoneListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimezoneListRequest(struct soap*, const struct __ngw__getTimezoneListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimezoneListRequest(struct soap*, const char*, int, const struct __ngw__getTimezoneListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_get___ngw__getTimezoneListRequest(struct soap*, struct __ngw__getTimezoneListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_in___ngw__getTimezoneListRequest(struct soap*, const char*, struct __ngw__getTimezoneListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getTimestampRequest
-#define SOAP_TYPE___ngw__getTimestampRequest (766)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimestampRequest(struct soap*, const struct __ngw__getTimestampRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimestampRequest(struct soap*, struct __ngw__getTimestampRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimestampRequest(struct soap*, const struct __ngw__getTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimestampRequest(struct soap*, const char*, int, const struct __ngw__getTimestampRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_get___ngw__getTimestampRequest(struct soap*, struct __ngw__getTimestampRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_in___ngw__getTimestampRequest(struct soap*, const char*, struct __ngw__getTimestampRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getSignaturesRequest
-#define SOAP_TYPE___ngw__getSignaturesRequest (762)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSignaturesRequest(struct soap*, const struct __ngw__getSignaturesRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSignaturesRequest(struct soap*, struct __ngw__getSignaturesRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSignaturesRequest(struct soap*, const struct __ngw__getSignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSignaturesRequest(struct soap*, const char*, int, const struct __ngw__getSignaturesRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_get___ngw__getSignaturesRequest(struct soap*, struct __ngw__getSignaturesRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_in___ngw__getSignaturesRequest(struct soap*, const char*, struct __ngw__getSignaturesRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getSettingsRequest
-#define SOAP_TYPE___ngw__getSettingsRequest (758)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSettingsRequest(struct soap*, const struct __ngw__getSettingsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSettingsRequest(struct soap*, struct __ngw__getSettingsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSettingsRequest(struct soap*, const struct __ngw__getSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSettingsRequest(struct soap*, const char*, int, const struct __ngw__getSettingsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_get___ngw__getSettingsRequest(struct soap*, struct __ngw__getSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_in___ngw__getSettingsRequest(struct soap*, const char*, struct __ngw__getSettingsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getRuleListRequest
-#define SOAP_TYPE___ngw__getRuleListRequest (754)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getRuleListRequest(struct soap*, const struct __ngw__getRuleListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getRuleListRequest(struct soap*, struct __ngw__getRuleListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getRuleListRequest(struct soap*, const struct __ngw__getRuleListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getRuleListRequest(struct soap*, const char*, int, const struct __ngw__getRuleListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_get___ngw__getRuleListRequest(struct soap*, struct __ngw__getRuleListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_in___ngw__getRuleListRequest(struct soap*, const char*, struct __ngw__getRuleListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getProxyListRequest
-#define SOAP_TYPE___ngw__getProxyListRequest (750)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyListRequest(struct soap*, const struct __ngw__getProxyListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyListRequest(struct soap*, struct __ngw__getProxyListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyListRequest(struct soap*, const struct __ngw__getProxyListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyListRequest(struct soap*, const char*, int, const struct __ngw__getProxyListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_get___ngw__getProxyListRequest(struct soap*, struct __ngw__getProxyListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_in___ngw__getProxyListRequest(struct soap*, const char*, struct __ngw__getProxyListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getProxyAccessListRequest
-#define SOAP_TYPE___ngw__getProxyAccessListRequest (746)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyAccessListRequest(struct soap*, const struct __ngw__getProxyAccessListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyAccessListRequest(struct soap*, struct __ngw__getProxyAccessListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyAccessListRequest(struct soap*, const struct __ngw__getProxyAccessListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyAccessListRequest(struct soap*, const char*, int, const struct __ngw__getProxyAccessListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_get___ngw__getProxyAccessListRequest(struct soap*, struct __ngw__getProxyAccessListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_in___ngw__getProxyAccessListRequest(struct soap*, const char*, struct __ngw__getProxyAccessListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getQuickMessagesRequest
-#define SOAP_TYPE___ngw__getQuickMessagesRequest (742)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getQuickMessagesRequest(struct soap*, const struct __ngw__getQuickMessagesRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getQuickMessagesRequest(struct soap*, struct __ngw__getQuickMessagesRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getQuickMessagesRequest(struct soap*, const struct __ngw__getQuickMessagesRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getQuickMessagesRequest(struct soap*, const char*, int, const struct __ngw__getQuickMessagesRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_get___ngw__getQuickMessagesRequest(struct soap*, struct __ngw__getQuickMessagesRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_in___ngw__getQuickMessagesRequest(struct soap*, const char*, struct __ngw__getQuickMessagesRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getLibraryListRequest
-#define SOAP_TYPE___ngw__getLibraryListRequest (738)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryListRequest(struct soap*, const struct __ngw__getLibraryListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryListRequest(struct soap*, struct __ngw__getLibraryListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryListRequest(struct soap*, const struct __ngw__getLibraryListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryListRequest(struct soap*, const char*, int, const struct __ngw__getLibraryListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_get___ngw__getLibraryListRequest(struct soap*, struct __ngw__getLibraryListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_in___ngw__getLibraryListRequest(struct soap*, const char*, struct __ngw__getLibraryListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getLibraryItemRequest
-#define SOAP_TYPE___ngw__getLibraryItemRequest (734)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryItemRequest(struct soap*, const struct __ngw__getLibraryItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryItemRequest(struct soap*, struct __ngw__getLibraryItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryItemRequest(struct soap*, const struct __ngw__getLibraryItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryItemRequest(struct soap*, const char*, int, const struct __ngw__getLibraryItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_get___ngw__getLibraryItemRequest(struct soap*, struct __ngw__getLibraryItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_in___ngw__getLibraryItemRequest(struct soap*, const char*, struct __ngw__getLibraryItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getJunkMailSettingsRequest
-#define SOAP_TYPE___ngw__getJunkMailSettingsRequest (730)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkMailSettingsRequest(struct soap*, const struct __ngw__getJunkMailSettingsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkMailSettingsRequest(struct soap*, struct __ngw__getJunkMailSettingsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkMailSettingsRequest(struct soap*, const struct __ngw__getJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkMailSettingsRequest(struct soap*, const char*, int, const struct __ngw__getJunkMailSettingsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__getJunkMailSettingsRequest(struct soap*, struct __ngw__getJunkMailSettingsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__getJunkMailSettingsRequest(struct soap*, const char*, struct __ngw__getJunkMailSettingsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getJunkEntriesRequest
-#define SOAP_TYPE___ngw__getJunkEntriesRequest (726)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkEntriesRequest(struct soap*, const struct __ngw__getJunkEntriesRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkEntriesRequest(struct soap*, struct __ngw__getJunkEntriesRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkEntriesRequest(struct soap*, const struct __ngw__getJunkEntriesRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkEntriesRequest(struct soap*, const char*, int, const struct __ngw__getJunkEntriesRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_get___ngw__getJunkEntriesRequest(struct soap*, struct __ngw__getJunkEntriesRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_in___ngw__getJunkEntriesRequest(struct soap*, const char*, struct __ngw__getJunkEntriesRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getItemsRequest
-#define SOAP_TYPE___ngw__getItemsRequest (722)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemsRequest(struct soap*, const struct __ngw__getItemsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemsRequest(struct soap*, struct __ngw__getItemsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemsRequest(struct soap*, const struct __ngw__getItemsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemsRequest(struct soap*, const char*, int, const struct __ngw__getItemsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_get___ngw__getItemsRequest(struct soap*, struct __ngw__getItemsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_in___ngw__getItemsRequest(struct soap*, const char*, struct __ngw__getItemsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getItemRequest
-#define SOAP_TYPE___ngw__getItemRequest (718)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemRequest(struct soap*, const struct __ngw__getItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemRequest(struct soap*, struct __ngw__getItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemRequest(struct soap*, const struct __ngw__getItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemRequest(struct soap*, const char*, int, const struct __ngw__getItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_get___ngw__getItemRequest(struct soap*, struct __ngw__getItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_in___ngw__getItemRequest(struct soap*, const char*, struct __ngw__getItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getFreeBusyRequest
-#define SOAP_TYPE___ngw__getFreeBusyRequest (714)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFreeBusyRequest(struct soap*, const struct __ngw__getFreeBusyRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFreeBusyRequest(struct soap*, struct __ngw__getFreeBusyRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFreeBusyRequest(struct soap*, const struct __ngw__getFreeBusyRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFreeBusyRequest(struct soap*, const char*, int, const struct __ngw__getFreeBusyRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_get___ngw__getFreeBusyRequest(struct soap*, struct __ngw__getFreeBusyRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_in___ngw__getFreeBusyRequest(struct soap*, const char*, struct __ngw__getFreeBusyRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getFolderListRequest
-#define SOAP_TYPE___ngw__getFolderListRequest (710)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderListRequest(struct soap*, const struct __ngw__getFolderListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderListRequest(struct soap*, struct __ngw__getFolderListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderListRequest(struct soap*, const struct __ngw__getFolderListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderListRequest(struct soap*, const char*, int, const struct __ngw__getFolderListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_get___ngw__getFolderListRequest(struct soap*, struct __ngw__getFolderListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_in___ngw__getFolderListRequest(struct soap*, const char*, struct __ngw__getFolderListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getFolderRequest
-#define SOAP_TYPE___ngw__getFolderRequest (706)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderRequest(struct soap*, const struct __ngw__getFolderRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderRequest(struct soap*, struct __ngw__getFolderRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderRequest(struct soap*, const struct __ngw__getFolderRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderRequest(struct soap*, const char*, int, const struct __ngw__getFolderRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_get___ngw__getFolderRequest(struct soap*, struct __ngw__getFolderRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_in___ngw__getFolderRequest(struct soap*, const char*, struct __ngw__getFolderRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getDocumentTypeListRequest
-#define SOAP_TYPE___ngw__getDocumentTypeListRequest (702)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDocumentTypeListRequest(struct soap*, const struct __ngw__getDocumentTypeListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDocumentTypeListRequest(struct soap*, struct __ngw__getDocumentTypeListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDocumentTypeListRequest(struct soap*, const struct __ngw__getDocumentTypeListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDocumentTypeListRequest(struct soap*, const char*, int, const struct __ngw__getDocumentTypeListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_get___ngw__getDocumentTypeListRequest(struct soap*, struct __ngw__getDocumentTypeListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_in___ngw__getDocumentTypeListRequest(struct soap*, const char*, struct __ngw__getDocumentTypeListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getDeltaInfoRequest
-#define SOAP_TYPE___ngw__getDeltaInfoRequest (698)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltaInfoRequest(struct soap*, const struct __ngw__getDeltaInfoRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltaInfoRequest(struct soap*, struct __ngw__getDeltaInfoRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltaInfoRequest(struct soap*, const struct __ngw__getDeltaInfoRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltaInfoRequest(struct soap*, const char*, int, const struct __ngw__getDeltaInfoRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_get___ngw__getDeltaInfoRequest(struct soap*, struct __ngw__getDeltaInfoRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_in___ngw__getDeltaInfoRequest(struct soap*, const char*, struct __ngw__getDeltaInfoRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getDeltasRequest
-#define SOAP_TYPE___ngw__getDeltasRequest (694)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltasRequest(struct soap*, const struct __ngw__getDeltasRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltasRequest(struct soap*, struct __ngw__getDeltasRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltasRequest(struct soap*, const struct __ngw__getDeltasRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltasRequest(struct soap*, const char*, int, const struct __ngw__getDeltasRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_get___ngw__getDeltasRequest(struct soap*, struct __ngw__getDeltasRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_in___ngw__getDeltasRequest(struct soap*, const char*, struct __ngw__getDeltasRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getCustomListRequest
-#define SOAP_TYPE___ngw__getCustomListRequest (690)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCustomListRequest(struct soap*, const struct __ngw__getCustomListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCustomListRequest(struct soap*, struct __ngw__getCustomListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCustomListRequest(struct soap*, const struct __ngw__getCustomListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCustomListRequest(struct soap*, const char*, int, const struct __ngw__getCustomListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_get___ngw__getCustomListRequest(struct soap*, struct __ngw__getCustomListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_in___ngw__getCustomListRequest(struct soap*, const char*, struct __ngw__getCustomListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getCategoryListRequest
-#define SOAP_TYPE___ngw__getCategoryListRequest (686)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCategoryListRequest(struct soap*, const struct __ngw__getCategoryListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCategoryListRequest(struct soap*, struct __ngw__getCategoryListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCategoryListRequest(struct soap*, const struct __ngw__getCategoryListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCategoryListRequest(struct soap*, const char*, int, const struct __ngw__getCategoryListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_get___ngw__getCategoryListRequest(struct soap*, struct __ngw__getCategoryListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_in___ngw__getCategoryListRequest(struct soap*, const char*, struct __ngw__getCategoryListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getAttachmentRequestMessage
-#define SOAP_TYPE___ngw__getAttachmentRequestMessage (682)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAttachmentRequestMessage(struct soap*, const struct __ngw__getAttachmentRequestMessage *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAttachmentRequestMessage(struct soap*, struct __ngw__getAttachmentRequestMessage *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAttachmentRequestMessage(struct soap*, const struct __ngw__getAttachmentRequestMessage *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAttachmentRequestMessage(struct soap*, const char*, int, const struct __ngw__getAttachmentRequestMessage *, const char*);
-SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_get___ngw__getAttachmentRequestMessage(struct soap*, struct __ngw__getAttachmentRequestMessage *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_in___ngw__getAttachmentRequestMessage(struct soap*, const char*, struct __ngw__getAttachmentRequestMessage *, const char*);
-
-#ifndef SOAP_TYPE___ngw__getAddressBookListRequest
-#define SOAP_TYPE___ngw__getAddressBookListRequest (678)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAddressBookListRequest(struct soap*, const struct __ngw__getAddressBookListRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAddressBookListRequest(struct soap*, struct __ngw__getAddressBookListRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAddressBookListRequest(struct soap*, const struct __ngw__getAddressBookListRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAddressBookListRequest(struct soap*, const char*, int, const struct __ngw__getAddressBookListRequest *, const char*);
-SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_get___ngw__getAddressBookListRequest(struct soap*, struct __ngw__getAddressBookListRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_in___ngw__getAddressBookListRequest(struct soap*, const char*, struct __ngw__getAddressBookListRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__forwardRequest
-#define SOAP_TYPE___ngw__forwardRequest (674)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__forwardRequest(struct soap*, const struct __ngw__forwardRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__forwardRequest(struct soap*, struct __ngw__forwardRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__forwardRequest(struct soap*, const struct __ngw__forwardRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__forwardRequest(struct soap*, const char*, int, const struct __ngw__forwardRequest *, const char*);
-SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_get___ngw__forwardRequest(struct soap*, struct __ngw__forwardRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_in___ngw__forwardRequest(struct soap*, const char*, struct __ngw__forwardRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__executeRuleRequest
-#define SOAP_TYPE___ngw__executeRuleRequest (670)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__executeRuleRequest(struct soap*, const struct __ngw__executeRuleRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__executeRuleRequest(struct soap*, struct __ngw__executeRuleRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__executeRuleRequest(struct soap*, const struct __ngw__executeRuleRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__executeRuleRequest(struct soap*, const char*, int, const struct __ngw__executeRuleRequest *, const char*);
-SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_get___ngw__executeRuleRequest(struct soap*, struct __ngw__executeRuleRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_in___ngw__executeRuleRequest(struct soap*, const char*, struct __ngw__executeRuleRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__destroyCursorRequest
-#define SOAP_TYPE___ngw__destroyCursorRequest (666)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__destroyCursorRequest(struct soap*, const struct __ngw__destroyCursorRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__destroyCursorRequest(struct soap*, struct __ngw__destroyCursorRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__destroyCursorRequest(struct soap*, const struct __ngw__destroyCursorRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__destroyCursorRequest(struct soap*, const char*, int, const struct __ngw__destroyCursorRequest *, const char*);
-SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_get___ngw__destroyCursorRequest(struct soap*, struct __ngw__destroyCursorRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_in___ngw__destroyCursorRequest(struct soap*, const char*, struct __ngw__destroyCursorRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__delegateRequest
-#define SOAP_TYPE___ngw__delegateRequest (662)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__delegateRequest(struct soap*, const struct __ngw__delegateRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__delegateRequest(struct soap*, struct __ngw__delegateRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__delegateRequest(struct soap*, const struct __ngw__delegateRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__delegateRequest(struct soap*, const char*, int, const struct __ngw__delegateRequest *, const char*);
-SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_get___ngw__delegateRequest(struct soap*, struct __ngw__delegateRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_in___ngw__delegateRequest(struct soap*, const char*, struct __ngw__delegateRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__declineRequest
-#define SOAP_TYPE___ngw__declineRequest (658)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__declineRequest(struct soap*, const struct __ngw__declineRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__declineRequest(struct soap*, struct __ngw__declineRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__declineRequest(struct soap*, const struct __ngw__declineRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__declineRequest(struct soap*, const char*, int, const struct __ngw__declineRequest *, const char*);
-SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_get___ngw__declineRequest(struct soap*, struct __ngw__declineRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_in___ngw__declineRequest(struct soap*, const char*, struct __ngw__declineRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createSignatureRequest
-#define SOAP_TYPE___ngw__createSignatureRequest (654)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createSignatureRequest(struct soap*, const struct __ngw__createSignatureRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createSignatureRequest(struct soap*, struct __ngw__createSignatureRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createSignatureRequest(struct soap*, const struct __ngw__createSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createSignatureRequest(struct soap*, const char*, int, const struct __ngw__createSignatureRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_get___ngw__createSignatureRequest(struct soap*, struct __ngw__createSignatureRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_in___ngw__createSignatureRequest(struct soap*, const char*, struct __ngw__createSignatureRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createProxyAccessRequest
-#define SOAP_TYPE___ngw__createProxyAccessRequest (650)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createProxyAccessRequest(struct soap*, const struct __ngw__createProxyAccessRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createProxyAccessRequest(struct soap*, struct __ngw__createProxyAccessRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createProxyAccessRequest(struct soap*, const struct __ngw__createProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__createProxyAccessRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__createProxyAccessRequest(struct soap*, struct __ngw__createProxyAccessRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__createProxyAccessRequest(struct soap*, const char*, struct __ngw__createProxyAccessRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createJunkEntryRequest
-#define SOAP_TYPE___ngw__createJunkEntryRequest (646)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createJunkEntryRequest(struct soap*, const struct __ngw__createJunkEntryRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createJunkEntryRequest(struct soap*, struct __ngw__createJunkEntryRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createJunkEntryRequest(struct soap*, const struct __ngw__createJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__createJunkEntryRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__createJunkEntryRequest(struct soap*, struct __ngw__createJunkEntryRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__createJunkEntryRequest(struct soap*, const char*, struct __ngw__createJunkEntryRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createItemsRequest
-#define SOAP_TYPE___ngw__createItemsRequest (642)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemsRequest(struct soap*, const struct __ngw__createItemsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemsRequest(struct soap*, struct __ngw__createItemsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemsRequest(struct soap*, const struct __ngw__createItemsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemsRequest(struct soap*, const char*, int, const struct __ngw__createItemsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_get___ngw__createItemsRequest(struct soap*, struct __ngw__createItemsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_in___ngw__createItemsRequest(struct soap*, const char*, struct __ngw__createItemsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createItemRequest
-#define SOAP_TYPE___ngw__createItemRequest (638)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemRequest(struct soap*, const struct __ngw__createItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemRequest(struct soap*, struct __ngw__createItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemRequest(struct soap*, const struct __ngw__createItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemRequest(struct soap*, const char*, int, const struct __ngw__createItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_get___ngw__createItemRequest(struct soap*, struct __ngw__createItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_in___ngw__createItemRequest(struct soap*, const char*, struct __ngw__createItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__createCursorRequest
-#define SOAP_TYPE___ngw__createCursorRequest (634)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createCursorRequest(struct soap*, const struct __ngw__createCursorRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createCursorRequest(struct soap*, struct __ngw__createCursorRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createCursorRequest(struct soap*, const struct __ngw__createCursorRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createCursorRequest(struct soap*, const char*, int, const struct __ngw__createCursorRequest *, const char*);
-SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_get___ngw__createCursorRequest(struct soap*, struct __ngw__createCursorRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_in___ngw__createCursorRequest(struct soap*, const char*, struct __ngw__createCursorRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__completeRequest
-#define SOAP_TYPE___ngw__completeRequest (630)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__completeRequest(struct soap*, const struct __ngw__completeRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__completeRequest(struct soap*, struct __ngw__completeRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__completeRequest(struct soap*, const struct __ngw__completeRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__completeRequest(struct soap*, const char*, int, const struct __ngw__completeRequest *, const char*);
-SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_get___ngw__completeRequest(struct soap*, struct __ngw__completeRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_in___ngw__completeRequest(struct soap*, const char*, struct __ngw__completeRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__closeFreeBusySessionRequest
-#define SOAP_TYPE___ngw__closeFreeBusySessionRequest (626)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__closeFreeBusySessionRequest(struct soap*, const struct __ngw__closeFreeBusySessionRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__closeFreeBusySessionRequest(struct soap*, struct __ngw__closeFreeBusySessionRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__closeFreeBusySessionRequest(struct soap*, const struct __ngw__closeFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__closeFreeBusySessionRequest(struct soap*, const char*, int, const struct __ngw__closeFreeBusySessionRequest *, const char*);
-SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__closeFreeBusySessionRequest(struct soap*, struct __ngw__closeFreeBusySessionRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__closeFreeBusySessionRequest(struct soap*, const char*, struct __ngw__closeFreeBusySessionRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__addMembersRequest
-#define SOAP_TYPE___ngw__addMembersRequest (622)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addMembersRequest(struct soap*, const struct __ngw__addMembersRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addMembersRequest(struct soap*, struct __ngw__addMembersRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addMembersRequest(struct soap*, const struct __ngw__addMembersRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addMembersRequest(struct soap*, const char*, int, const struct __ngw__addMembersRequest *, const char*);
-SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_get___ngw__addMembersRequest(struct soap*, struct __ngw__addMembersRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_in___ngw__addMembersRequest(struct soap*, const char*, struct __ngw__addMembersRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__addItemsRequest
-#define SOAP_TYPE___ngw__addItemsRequest (618)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemsRequest(struct soap*, const struct __ngw__addItemsRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemsRequest(struct soap*, struct __ngw__addItemsRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemsRequest(struct soap*, const struct __ngw__addItemsRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemsRequest(struct soap*, const char*, int, const struct __ngw__addItemsRequest *, const char*);
-SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_get___ngw__addItemsRequest(struct soap*, struct __ngw__addItemsRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_in___ngw__addItemsRequest(struct soap*, const char*, struct __ngw__addItemsRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__addItemRequest
-#define SOAP_TYPE___ngw__addItemRequest (614)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemRequest(struct soap*, const struct __ngw__addItemRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemRequest(struct soap*, struct __ngw__addItemRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemRequest(struct soap*, const struct __ngw__addItemRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemRequest(struct soap*, const char*, int, const struct __ngw__addItemRequest *, const char*);
-SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_get___ngw__addItemRequest(struct soap*, struct __ngw__addItemRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_in___ngw__addItemRequest(struct soap*, const char*, struct __ngw__addItemRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__acceptShareRequest
-#define SOAP_TYPE___ngw__acceptShareRequest (610)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptShareRequest(struct soap*, const struct __ngw__acceptShareRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptShareRequest(struct soap*, struct __ngw__acceptShareRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptShareRequest(struct soap*, const struct __ngw__acceptShareRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptShareRequest(struct soap*, const char*, int, const struct __ngw__acceptShareRequest *, const char*);
-SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_get___ngw__acceptShareRequest(struct soap*, struct __ngw__acceptShareRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_in___ngw__acceptShareRequest(struct soap*, const char*, struct __ngw__acceptShareRequest *, const char*);
-
-#ifndef SOAP_TYPE___ngw__acceptRequest
-#define SOAP_TYPE___ngw__acceptRequest (606)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptRequest(struct soap*, const struct __ngw__acceptRequest *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptRequest(struct soap*, struct __ngw__acceptRequest *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptRequest(struct soap*, const struct __ngw__acceptRequest *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptRequest(struct soap*, const char*, int, const struct __ngw__acceptRequest *, const char*);
-SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_get___ngw__acceptRequest(struct soap*, struct __ngw__acceptRequest *, const char*, const char*);
-SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_in___ngw__acceptRequest(struct soap*, const char*, struct __ngw__acceptRequest *, const char*);
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_SOAP_ENV__Header
-#define SOAP_TYPE_SOAP_ENV__Header (602)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
-SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_new_SOAP_ENV__Header(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header*);
-SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, const void*, size_t);
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
-#define SOAP_TYPE_PointerToSOAP_ENV__Detail (941)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
-SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
-
-#endif
-
-#ifndef WITH_NOGLOBAL
-
-#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
-#define SOAP_TYPE_PointerToSOAP_ENV__Code (936)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
-SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
-SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
-
-#endif
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventsResponse
-#define SOAP_TYPE_PointerTo_ngwe__removeEventsResponse (932)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsResponse(struct soap*, const char *, int, _ngwe__removeEventsResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsResponse(struct soap*, const char*, _ngwe__removeEventsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventsRequest
-#define SOAP_TYPE_PointerTo_ngwe__removeEventsRequest (931)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsRequest(struct soap*, const char *, int, _ngwe__removeEventsRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsRequest(struct soap*, const char*, _ngwe__removeEventsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse
-#define SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse (928)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, const char *, int, _ngwe__removeEventConfigurationResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, const char*, _ngwe__removeEventConfigurationResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest
-#define SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest (927)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, const char *, int, _ngwe__removeEventConfigurationRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, const char*, _ngwe__removeEventConfigurationRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__getEventsResponse
-#define SOAP_TYPE_PointerTo_ngwe__getEventsResponse (924)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsResponse(struct soap*, const char *, int, _ngwe__getEventsResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsResponse(struct soap*, const char*, _ngwe__getEventsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__getEventsRequest
-#define SOAP_TYPE_PointerTo_ngwe__getEventsRequest (923)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsRequest(struct soap*, const char *, int, _ngwe__getEventsRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsRequest(struct soap*, const char*, _ngwe__getEventsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse
-#define SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse (920)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, const char *, int, _ngwe__getEventConfigurationResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, const char*, _ngwe__getEventConfigurationResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest
-#define SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest (919)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, const char *, int, _ngwe__getEventConfigurationRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, const char*, _ngwe__getEventConfigurationRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__configureEventsResponse
-#define SOAP_TYPE_PointerTo_ngwe__configureEventsResponse (916)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsResponse(struct soap*, const char *, int, _ngwe__configureEventsResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsResponse(struct soap*, const char*, _ngwe__configureEventsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__configureEventsRequest
-#define SOAP_TYPE_PointerTo_ngwe__configureEventsRequest (915)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsRequest(struct soap*, const char *, int, _ngwe__configureEventsRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsRequest(struct soap*, const char*, _ngwe__configureEventsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse
-#define SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse (912)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, const char *, int, _ngwe__cleanEventConfigurationResponse *const*, const char *);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, const char*, _ngwe__cleanEventConfigurationResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest
-#define SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest (911)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, const char *, int, _ngwe__cleanEventConfigurationRequest *const*, const char *);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, const char*, _ngwe__cleanEventConfigurationRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse
-#define SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse (908)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, const char *, int, _ngwm__updateVersionStatusResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, const char*, _ngwm__updateVersionStatusResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest
-#define SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest (907)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, const char *, int, _ngwm__updateVersionStatusRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, const char*, _ngwm__updateVersionStatusRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__uncompleteResponse
-#define SOAP_TYPE_PointerTo_ngwm__uncompleteResponse (904)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteResponse(struct soap*, const char *, int, _ngwm__uncompleteResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteResponse(struct soap*, const char*, _ngwm__uncompleteResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__uncompleteRequest
-#define SOAP_TYPE_PointerTo_ngwm__uncompleteRequest (903)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteRequest(struct soap*, const char *, int, _ngwm__uncompleteRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteRequest(struct soap*, const char*, _ngwm__uncompleteRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__unacceptResponse
-#define SOAP_TYPE_PointerTo_ngwm__unacceptResponse (900)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptResponse(struct soap*, const char *, int, _ngwm__unacceptResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptResponse(struct soap*, const char*, _ngwm__unacceptResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__unacceptRequest
-#define SOAP_TYPE_PointerTo_ngwm__unacceptRequest (899)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptRequest(struct soap*, const char *, int, _ngwm__unacceptRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptRequest(struct soap*, const char*, _ngwm__unacceptRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse
-#define SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse (896)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, const char *, int, _ngwm__startFreeBusySessionResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, const char*, _ngwm__startFreeBusySessionResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest
-#define SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest (895)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, const char *, int, _ngwm__startFreeBusySessionRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, const char*, _ngwm__startFreeBusySessionRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__setTimestampResponse
-#define SOAP_TYPE_PointerTo_ngwm__setTimestampResponse (892)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampResponse(struct soap*, const char *, int, _ngwm__setTimestampResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampResponse(struct soap*, const char*, _ngwm__setTimestampResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__setTimestampRequest
-#define SOAP_TYPE_PointerTo_ngwm__setTimestampRequest (891)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampRequest(struct soap*, const char *, int, _ngwm__setTimestampRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampRequest(struct soap*, const char*, _ngwm__setTimestampRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__sendItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__sendItemResponse (888)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemResponse(struct soap*, const char *, int, _ngwm__sendItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemResponse(struct soap*, const char*, _ngwm__sendItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__sendItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__sendItemRequest (887)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemRequest(struct soap*, const char *, int, _ngwm__sendItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemRequest(struct soap*, const char*, _ngwm__sendItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__retractResponse
-#define SOAP_TYPE_PointerTo_ngwm__retractResponse (884)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractResponse(struct soap*, const char *, int, _ngwm__retractResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractResponse(struct soap*, const char*, _ngwm__retractResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__retractRequest
-#define SOAP_TYPE_PointerTo_ngwm__retractRequest (883)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractRequest(struct soap*, const char *, int, _ngwm__retractRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractRequest(struct soap*, const char*, _ngwm__retractRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__replyResponse
-#define SOAP_TYPE_PointerTo_ngwm__replyResponse (880)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyResponse(struct soap*, const char *, int, _ngwm__replyResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyResponse(struct soap*, const char*, _ngwm__replyResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__replyRequest
-#define SOAP_TYPE_PointerTo_ngwm__replyRequest (879)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyRequest(struct soap*, const char *, int, _ngwm__replyRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyRequest(struct soap*, const char*, _ngwm__replyRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse (876)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureResponse(struct soap*, const char *, int, _ngwm__removeSignatureResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureResponse(struct soap*, const char*, _ngwm__removeSignatureResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest (875)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureRequest(struct soap*, const char *, int, _ngwm__removeSignatureRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureRequest(struct soap*, const char*, _ngwm__removeSignatureRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse (872)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserResponse(struct soap*, const char *, int, _ngwm__removeProxyUserResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserResponse(struct soap*, const char*, _ngwm__removeProxyUserResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest (871)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserRequest(struct soap*, const char *, int, _ngwm__removeProxyUserRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserRequest(struct soap*, const char*, _ngwm__removeProxyUserRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse (868)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, const char *, int, _ngwm__removeProxyAccessResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, const char*, _ngwm__removeProxyAccessResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest (867)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, const char *, int, _ngwm__removeProxyAccessRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, const char*, _ngwm__removeProxyAccessRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeMembersResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeMembersResponse (864)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersResponse(struct soap*, const char *, int, _ngwm__removeMembersResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersResponse(struct soap*, const char*, _ngwm__removeMembersResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeMembersRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeMembersRequest (863)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersRequest(struct soap*, const char *, int, _ngwm__removeMembersRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersRequest(struct soap*, const char*, _ngwm__removeMembersRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse (860)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, const char *, int, _ngwm__removeJunkEntryResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, const char*, _ngwm__removeJunkEntryResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest (859)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, const char *, int, _ngwm__removeJunkEntryRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, const char*, _ngwm__removeJunkEntryRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemsResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeItemsResponse (856)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsResponse(struct soap*, const char *, int, _ngwm__removeItemsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsResponse(struct soap*, const char*, _ngwm__removeItemsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemsRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeItemsRequest (855)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsRequest(struct soap*, const char *, int, _ngwm__removeItemsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsRequest(struct soap*, const char*, _ngwm__removeItemsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeItemResponse (852)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemResponse(struct soap*, const char *, int, _ngwm__removeItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemResponse(struct soap*, const char*, _ngwm__removeItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeItemRequest (851)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemRequest(struct soap*, const char *, int, _ngwm__removeItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemRequest(struct soap*, const char*, _ngwm__removeItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse
-#define SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse (848)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, const char *, int, _ngwm__removeCustomDefinitionResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, const char*, _ngwm__removeCustomDefinitionResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest
-#define SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest (847)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, const char *, int, _ngwm__removeCustomDefinitionRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, const char*, _ngwm__removeCustomDefinitionRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__readCursorResponse
-#define SOAP_TYPE_PointerTo_ngwm__readCursorResponse (844)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorResponse(struct soap*, const char *, int, _ngwm__readCursorResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorResponse(struct soap*, const char*, _ngwm__readCursorResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__readCursorRequest
-#define SOAP_TYPE_PointerTo_ngwm__readCursorRequest (843)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorRequest(struct soap*, const char *, int, _ngwm__readCursorRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorRequest(struct soap*, const char*, _ngwm__readCursorRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__purgeResponse
-#define SOAP_TYPE_PointerTo_ngwm__purgeResponse (840)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeResponse(struct soap*, const char *, int, _ngwm__purgeResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeResponse(struct soap*, const char*, _ngwm__purgeResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__purgeRequest
-#define SOAP_TYPE_PointerTo_ngwm__purgeRequest (839)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeRequest(struct soap*, const char *, int, _ngwm__purgeRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeRequest(struct soap*, const char*, _ngwm__purgeRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse
-#define SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse (836)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, const char *, int, _ngwm__purgeDeletedItemsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, const char*, _ngwm__purgeDeletedItemsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest
-#define SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest (835)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, const char *, int, _ngwm__purgeDeletedItemsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, const char*, _ngwm__purgeDeletedItemsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__positionCursorResponse
-#define SOAP_TYPE_PointerTo_ngwm__positionCursorResponse (832)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorResponse(struct soap*, const char *, int, _ngwm__positionCursorResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorResponse(struct soap*, const char*, _ngwm__positionCursorResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__positionCursorRequest
-#define SOAP_TYPE_PointerTo_ngwm__positionCursorRequest (831)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorRequest(struct soap*, const char *, int, _ngwm__positionCursorRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorRequest(struct soap*, const char*, _ngwm__positionCursorRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__moveItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__moveItemResponse (828)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemResponse(struct soap*, const char *, int, _ngwm__moveItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemResponse(struct soap*, const char*, _ngwm__moveItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__moveItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__moveItemRequest (827)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemRequest(struct soap*, const char *, int, _ngwm__moveItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemRequest(struct soap*, const char*, _ngwm__moveItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse (824)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesResponse(struct soap*, const char *, int, _ngwm__modifySignaturesResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesResponse(struct soap*, const char*, _ngwm__modifySignaturesResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest (823)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesRequest(struct soap*, const char *, int, _ngwm__modifySignaturesRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesRequest(struct soap*, const char*, _ngwm__modifySignaturesRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse (820)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsResponse(struct soap*, const char *, int, _ngwm__modifySettingsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsResponse(struct soap*, const char*, _ngwm__modifySettingsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest (819)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsRequest(struct soap*, const char *, int, _ngwm__modifySettingsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsRequest(struct soap*, const char*, _ngwm__modifySettingsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse (816)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, const char *, int, _ngwm__modifyProxyAccessResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, const char*, _ngwm__modifyProxyAccessResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest (815)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, const char *, int, _ngwm__modifyProxyAccessRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, const char*, _ngwm__modifyProxyAccessRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse (812)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordResponse(struct soap*, const char *, int, _ngwm__modifyPasswordResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordResponse(struct soap*, const char*, _ngwm__modifyPasswordResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest (811)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordRequest(struct soap*, const char *, int, _ngwm__modifyPasswordRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordRequest(struct soap*, const char*, _ngwm__modifyPasswordRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse (808)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, const char *, int, _ngwm__modifyJunkMailSettingsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, _ngwm__modifyJunkMailSettingsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest (807)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, const char *, int, _ngwm__modifyJunkMailSettingsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, _ngwm__modifyJunkMailSettingsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse (804)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, const char *, int, _ngwm__modifyJunkEntryResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, const char*, _ngwm__modifyJunkEntryResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest (803)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, const char *, int, _ngwm__modifyJunkEntryRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, const char*, _ngwm__modifyJunkEntryRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__modifyItemResponse (800)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemResponse(struct soap*, const char *, int, _ngwm__modifyItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemResponse(struct soap*, const char*, _ngwm__modifyItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__modifyItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__modifyItemRequest (799)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemRequest(struct soap*, const char *, int, _ngwm__modifyItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemRequest(struct soap*, const char*, _ngwm__modifyItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markUnReadResponse
-#define SOAP_TYPE_PointerTo_ngwm__markUnReadResponse (796)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadResponse(struct soap*, const char *, int, _ngwm__markUnReadResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadResponse(struct soap*, const char*, _ngwm__markUnReadResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markUnReadRequest
-#define SOAP_TYPE_PointerTo_ngwm__markUnReadRequest (795)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadRequest(struct soap*, const char *, int, _ngwm__markUnReadRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadRequest(struct soap*, const char*, _ngwm__markUnReadRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse
-#define SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse (792)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateResponse(struct soap*, const char *, int, _ngwm__markUnPrivateResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateResponse(struct soap*, const char*, _ngwm__markUnPrivateResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest
-#define SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest (791)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateRequest(struct soap*, const char *, int, _ngwm__markUnPrivateRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateRequest(struct soap*, const char*, _ngwm__markUnPrivateRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markReadResponse
-#define SOAP_TYPE_PointerTo_ngwm__markReadResponse (788)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadResponse(struct soap*, const char *, int, _ngwm__markReadResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadResponse(struct soap*, const char*, _ngwm__markReadResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markReadRequest
-#define SOAP_TYPE_PointerTo_ngwm__markReadRequest (787)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadRequest(struct soap*, const char *, int, _ngwm__markReadRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadRequest(struct soap*, const char*, _ngwm__markReadRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markPrivateResponse
-#define SOAP_TYPE_PointerTo_ngwm__markPrivateResponse (784)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateResponse(struct soap*, const char *, int, _ngwm__markPrivateResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateResponse(struct soap*, const char*, _ngwm__markPrivateResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__markPrivateRequest
-#define SOAP_TYPE_PointerTo_ngwm__markPrivateRequest (783)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateRequest(struct soap*, const char *, int, _ngwm__markPrivateRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateRequest(struct soap*, const char*, _ngwm__markPrivateRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__logoutResponse
-#define SOAP_TYPE_PointerTo_ngwm__logoutResponse (780)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutResponse(struct soap*, const char *, int, _ngwm__logoutResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutResponse(struct soap*, const char*, _ngwm__logoutResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__logoutRequest
-#define SOAP_TYPE_PointerTo_ngwm__logoutRequest (779)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutRequest(struct soap*, const char *, int, _ngwm__logoutRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutRequest(struct soap*, const char*, _ngwm__logoutRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__loginResponse
-#define SOAP_TYPE_PointerTo_ngwm__loginResponse (776)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginResponse(struct soap*, const char *, int, _ngwm__loginResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginResponse(struct soap*, const char*, _ngwm__loginResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__loginRequest
-#define SOAP_TYPE_PointerTo_ngwm__loginRequest (775)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginRequest(struct soap*, const char *, int, _ngwm__loginRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginRequest(struct soap*, const char*, _ngwm__loginRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getUserListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getUserListResponse (772)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListResponse(struct soap*, const char *, int, _ngwm__getUserListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListResponse(struct soap*, const char*, _ngwm__getUserListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getUserListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getUserListRequest (771)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListRequest(struct soap*, const char *, int, _ngwm__getUserListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListRequest(struct soap*, const char*, _ngwm__getUserListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse (768)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListResponse(struct soap*, const char *, int, _ngwm__getTimezoneListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListResponse(struct soap*, const char*, _ngwm__getTimezoneListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest (767)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListRequest(struct soap*, const char *, int, _ngwm__getTimezoneListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListRequest(struct soap*, const char*, _ngwm__getTimezoneListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getTimestampResponse
-#define SOAP_TYPE_PointerTo_ngwm__getTimestampResponse (764)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampResponse(struct soap*, const char *, int, _ngwm__getTimestampResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampResponse(struct soap*, const char*, _ngwm__getTimestampResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getTimestampRequest
-#define SOAP_TYPE_PointerTo_ngwm__getTimestampRequest (763)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampRequest(struct soap*, const char *, int, _ngwm__getTimestampRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampRequest(struct soap*, const char*, _ngwm__getTimestampRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse
-#define SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse (760)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesResponse(struct soap*, const char *, int, _ngwm__getSignaturesResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesResponse(struct soap*, const char*, _ngwm__getSignaturesResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest
-#define SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest (759)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesRequest(struct soap*, const char *, int, _ngwm__getSignaturesRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesRequest(struct soap*, const char*, _ngwm__getSignaturesRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getSettingsResponse
-#define SOAP_TYPE_PointerTo_ngwm__getSettingsResponse (756)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsResponse(struct soap*, const char *, int, _ngwm__getSettingsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsResponse(struct soap*, const char*, _ngwm__getSettingsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getSettingsRequest
-#define SOAP_TYPE_PointerTo_ngwm__getSettingsRequest (755)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsRequest(struct soap*, const char *, int, _ngwm__getSettingsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsRequest(struct soap*, const char*, _ngwm__getSettingsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getRuleListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getRuleListResponse (752)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListResponse(struct soap*, const char *, int, _ngwm__getRuleListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListResponse(struct soap*, const char*, _ngwm__getRuleListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getRuleListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getRuleListRequest (751)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListRequest(struct soap*, const char *, int, _ngwm__getRuleListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListRequest(struct soap*, const char*, _ngwm__getRuleListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getProxyListResponse (748)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListResponse(struct soap*, const char *, int, _ngwm__getProxyListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListResponse(struct soap*, const char*, _ngwm__getProxyListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getProxyListRequest (747)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListRequest(struct soap*, const char *, int, _ngwm__getProxyListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListRequest(struct soap*, const char*, _ngwm__getProxyListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse (744)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, const char *, int, _ngwm__getProxyAccessListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, const char*, _ngwm__getProxyAccessListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest (743)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, const char *, int, _ngwm__getProxyAccessListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, const char*, _ngwm__getProxyAccessListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse
-#define SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse (740)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, const char *, int, _ngwm__getQuickMessagesResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, const char*, _ngwm__getQuickMessagesResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest
-#define SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest (739)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, const char *, int, _ngwm__getQuickMessagesRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, const char*, _ngwm__getQuickMessagesRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse (736)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListResponse(struct soap*, const char *, int, _ngwm__getLibraryListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListResponse(struct soap*, const char*, _ngwm__getLibraryListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest (735)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListRequest(struct soap*, const char *, int, _ngwm__getLibraryListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListRequest(struct soap*, const char*, _ngwm__getLibraryListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse (732)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemResponse(struct soap*, const char *, int, _ngwm__getLibraryItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemResponse(struct soap*, const char*, _ngwm__getLibraryItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest (731)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemRequest(struct soap*, const char *, int, _ngwm__getLibraryItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemRequest(struct soap*, const char*, _ngwm__getLibraryItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse
-#define SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse (728)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, const char *, int, _ngwm__getJunkMailSettingsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, const char*, _ngwm__getJunkMailSettingsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest
-#define SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest (727)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, const char *, int, _ngwm__getJunkMailSettingsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, const char*, _ngwm__getJunkMailSettingsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse
-#define SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse (724)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, const char *, int, _ngwm__getJunkEntriesResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, const char*, _ngwm__getJunkEntriesResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest
-#define SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest (723)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, const char *, int, _ngwm__getJunkEntriesRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, const char*, _ngwm__getJunkEntriesRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getItemsResponse
-#define SOAP_TYPE_PointerTo_ngwm__getItemsResponse (720)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsResponse(struct soap*, const char *, int, _ngwm__getItemsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsResponse(struct soap*, const char*, _ngwm__getItemsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getItemsRequest
-#define SOAP_TYPE_PointerTo_ngwm__getItemsRequest (719)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsRequest(struct soap*, const char *, int, _ngwm__getItemsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsRequest(struct soap*, const char*, _ngwm__getItemsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__getItemResponse (716)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemResponse(struct soap*, const char *, int, _ngwm__getItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemResponse(struct soap*, const char*, _ngwm__getItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__getItemRequest (715)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemRequest(struct soap*, const char *, int, _ngwm__getItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemRequest(struct soap*, const char*, _ngwm__getItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse
-#define SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse (712)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyResponse(struct soap*, const char *, int, _ngwm__getFreeBusyResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyResponse(struct soap*, const char*, _ngwm__getFreeBusyResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest
-#define SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest (711)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyRequest(struct soap*, const char *, int, _ngwm__getFreeBusyRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyRequest(struct soap*, const char*, _ngwm__getFreeBusyRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getFolderListResponse (708)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListResponse(struct soap*, const char *, int, _ngwm__getFolderListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListResponse(struct soap*, const char*, _ngwm__getFolderListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getFolderListRequest (707)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListRequest(struct soap*, const char *, int, _ngwm__getFolderListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListRequest(struct soap*, const char*, _ngwm__getFolderListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderResponse
-#define SOAP_TYPE_PointerTo_ngwm__getFolderResponse (704)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderResponse(struct soap*, const char *, int, _ngwm__getFolderResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderResponse(struct soap*, const char*, _ngwm__getFolderResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderRequest
-#define SOAP_TYPE_PointerTo_ngwm__getFolderRequest (703)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderRequest(struct soap*, const char *, int, _ngwm__getFolderRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderRequest(struct soap*, const char*, _ngwm__getFolderRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse (700)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, const char *, int, _ngwm__getDocumentTypeListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, const char*, _ngwm__getDocumentTypeListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest (699)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, const char *, int, _ngwm__getDocumentTypeListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, const char*, _ngwm__getDocumentTypeListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse
-#define SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse (696)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, const char *, int, _ngwm__getDeltaInfoResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, const char*, _ngwm__getDeltaInfoResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest
-#define SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest (695)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, const char *, int, _ngwm__getDeltaInfoRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, const char*, _ngwm__getDeltaInfoRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltasResponse
-#define SOAP_TYPE_PointerTo_ngwm__getDeltasResponse (692)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasResponse(struct soap*, const char *, int, _ngwm__getDeltasResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasResponse(struct soap*, const char*, _ngwm__getDeltasResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltasRequest
-#define SOAP_TYPE_PointerTo_ngwm__getDeltasRequest (691)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasRequest(struct soap*, const char *, int, _ngwm__getDeltasRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasRequest(struct soap*, const char*, _ngwm__getDeltasRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getCustomListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getCustomListResponse (688)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListResponse(struct soap*, const char *, int, _ngwm__getCustomListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListResponse(struct soap*, const char*, _ngwm__getCustomListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getCustomListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getCustomListRequest (687)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListRequest(struct soap*, const char *, int, _ngwm__getCustomListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListRequest(struct soap*, const char*, _ngwm__getCustomListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse (684)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListResponse(struct soap*, const char *, int, _ngwm__getCategoryListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListResponse(struct soap*, const char*, _ngwm__getCategoryListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest (683)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListRequest(struct soap*, const char *, int, _ngwm__getCategoryListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListRequest(struct soap*, const char*, _ngwm__getCategoryListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse
-#define SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse (680)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentResponse(struct soap*, const char *, int, _ngwm__getAttachmentResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentResponse(struct soap*, const char*, _ngwm__getAttachmentResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest
-#define SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest (679)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentRequest(struct soap*, const char *, int, _ngwm__getAttachmentRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentRequest(struct soap*, const char*, _ngwm__getAttachmentRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse
-#define SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse (676)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListResponse(struct soap*, const char *, int, _ngwm__getAddressBookListResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListResponse(struct soap*, const char*, _ngwm__getAddressBookListResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest
-#define SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest (675)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListRequest(struct soap*, const char *, int, _ngwm__getAddressBookListRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListRequest(struct soap*, const char*, _ngwm__getAddressBookListRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__forwardResponse
-#define SOAP_TYPE_PointerTo_ngwm__forwardResponse (672)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardResponse(struct soap*, const char *, int, _ngwm__forwardResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardResponse(struct soap*, const char*, _ngwm__forwardResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__forwardRequest
-#define SOAP_TYPE_PointerTo_ngwm__forwardRequest (671)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardRequest(struct soap*, const char *, int, _ngwm__forwardRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardRequest(struct soap*, const char*, _ngwm__forwardRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__executeRuleResponse
-#define SOAP_TYPE_PointerTo_ngwm__executeRuleResponse (668)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleResponse(struct soap*, const char *, int, _ngwm__executeRuleResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleResponse(struct soap*, const char*, _ngwm__executeRuleResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__executeRuleRequest
-#define SOAP_TYPE_PointerTo_ngwm__executeRuleRequest (667)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleRequest(struct soap*, const char *, int, _ngwm__executeRuleRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleRequest(struct soap*, const char*, _ngwm__executeRuleRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse
-#define SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse (664)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorResponse(struct soap*, const char *, int, _ngwm__destroyCursorResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorResponse(struct soap*, const char*, _ngwm__destroyCursorResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest
-#define SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest (663)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorRequest(struct soap*, const char *, int, _ngwm__destroyCursorRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorRequest(struct soap*, const char*, _ngwm__destroyCursorRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__delegateResponse
-#define SOAP_TYPE_PointerTo_ngwm__delegateResponse (660)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateResponse(struct soap*, const char *, int, _ngwm__delegateResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateResponse(struct soap*, const char*, _ngwm__delegateResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__delegateRequest
-#define SOAP_TYPE_PointerTo_ngwm__delegateRequest (659)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateRequest(struct soap*, const char *, int, _ngwm__delegateRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateRequest(struct soap*, const char*, _ngwm__delegateRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__declineResponse
-#define SOAP_TYPE_PointerTo_ngwm__declineResponse (656)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineResponse(struct soap*, const char *, int, _ngwm__declineResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineResponse(struct soap*, const char*, _ngwm__declineResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__declineRequest
-#define SOAP_TYPE_PointerTo_ngwm__declineRequest (655)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineRequest(struct soap*, const char *, int, _ngwm__declineRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineRequest(struct soap*, const char*, _ngwm__declineRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createSignatureResponse
-#define SOAP_TYPE_PointerTo_ngwm__createSignatureResponse (652)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureResponse(struct soap*, const char *, int, _ngwm__createSignatureResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureResponse(struct soap*, const char*, _ngwm__createSignatureResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createSignatureRequest
-#define SOAP_TYPE_PointerTo_ngwm__createSignatureRequest (651)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureRequest(struct soap*, const char *, int, _ngwm__createSignatureRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureRequest(struct soap*, const char*, _ngwm__createSignatureRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse
-#define SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse (648)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessResponse(struct soap*, const char *, int, _ngwm__createProxyAccessResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessResponse(struct soap*, const char*, _ngwm__createProxyAccessResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest
-#define SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest (647)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessRequest(struct soap*, const char *, int, _ngwm__createProxyAccessRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessRequest(struct soap*, const char*, _ngwm__createProxyAccessRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse
-#define SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse (644)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryResponse(struct soap*, const char *, int, _ngwm__createJunkEntryResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryResponse(struct soap*, const char*, _ngwm__createJunkEntryResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest
-#define SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest (643)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryRequest(struct soap*, const char *, int, _ngwm__createJunkEntryRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryRequest(struct soap*, const char*, _ngwm__createJunkEntryRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createItemsResponse
-#define SOAP_TYPE_PointerTo_ngwm__createItemsResponse (640)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsResponse(struct soap*, const char *, int, _ngwm__createItemsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsResponse(struct soap*, const char*, _ngwm__createItemsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createItemsRequest
-#define SOAP_TYPE_PointerTo_ngwm__createItemsRequest (639)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsRequest(struct soap*, const char *, int, _ngwm__createItemsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsRequest(struct soap*, const char*, _ngwm__createItemsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__createItemResponse (636)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemResponse(struct soap*, const char *, int, _ngwm__createItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemResponse(struct soap*, const char*, _ngwm__createItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__createItemRequest (635)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemRequest(struct soap*, const char *, int, _ngwm__createItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemRequest(struct soap*, const char*, _ngwm__createItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createCursorResponse
-#define SOAP_TYPE_PointerTo_ngwm__createCursorResponse (632)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorResponse(struct soap*, const char *, int, _ngwm__createCursorResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorResponse(struct soap*, const char*, _ngwm__createCursorResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__createCursorRequest
-#define SOAP_TYPE_PointerTo_ngwm__createCursorRequest (631)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorRequest(struct soap*, const char *, int, _ngwm__createCursorRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorRequest(struct soap*, const char*, _ngwm__createCursorRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__completeResponse
-#define SOAP_TYPE_PointerTo_ngwm__completeResponse (628)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeResponse(struct soap*, const char *, int, _ngwm__completeResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeResponse(struct soap*, const char*, _ngwm__completeResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__completeRequest
-#define SOAP_TYPE_PointerTo_ngwm__completeRequest (627)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeRequest(struct soap*, const char *, int, _ngwm__completeRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeRequest(struct soap*, const char*, _ngwm__completeRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse
-#define SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse (624)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, const char *, int, _ngwm__closeFreeBusySessionResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, const char*, _ngwm__closeFreeBusySessionResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest
-#define SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest (623)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, const char *, int, _ngwm__closeFreeBusySessionRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, const char*, _ngwm__closeFreeBusySessionRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addMembersResponse
-#define SOAP_TYPE_PointerTo_ngwm__addMembersResponse (620)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersResponse(struct soap*, const char *, int, _ngwm__addMembersResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersResponse(struct soap*, const char*, _ngwm__addMembersResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addMembersRequest
-#define SOAP_TYPE_PointerTo_ngwm__addMembersRequest (619)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersRequest(struct soap*, const char *, int, _ngwm__addMembersRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersRequest(struct soap*, const char*, _ngwm__addMembersRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addItemsResponse
-#define SOAP_TYPE_PointerTo_ngwm__addItemsResponse (616)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsResponse(struct soap*, const char *, int, _ngwm__addItemsResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsResponse(struct soap*, const char*, _ngwm__addItemsResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addItemsRequest
-#define SOAP_TYPE_PointerTo_ngwm__addItemsRequest (615)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsRequest(struct soap*, const char *, int, _ngwm__addItemsRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsRequest(struct soap*, const char*, _ngwm__addItemsRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addItemResponse
-#define SOAP_TYPE_PointerTo_ngwm__addItemResponse (612)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemResponse(struct soap*, const char *, int, _ngwm__addItemResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemResponse(struct soap*, const char*, _ngwm__addItemResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__addItemRequest
-#define SOAP_TYPE_PointerTo_ngwm__addItemRequest (611)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemRequest(struct soap*, const char *, int, _ngwm__addItemRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemRequest(struct soap*, const char*, _ngwm__addItemRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__acceptShareResponse
-#define SOAP_TYPE_PointerTo_ngwm__acceptShareResponse (608)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareResponse(struct soap*, const char *, int, _ngwm__acceptShareResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareResponse(struct soap*, const char*, _ngwm__acceptShareResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__acceptShareRequest
-#define SOAP_TYPE_PointerTo_ngwm__acceptShareRequest (607)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareRequest(struct soap*, const char *, int, _ngwm__acceptShareRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareRequest(struct soap*, const char*, _ngwm__acceptShareRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__acceptResponse
-#define SOAP_TYPE_PointerTo_ngwm__acceptResponse (604)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptResponse(struct soap*, const char *, int, _ngwm__acceptResponse *const*, const char *);
-SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse **, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptResponse(struct soap*, const char*, _ngwm__acceptResponse **, const char*);
-
-#ifndef SOAP_TYPE_PointerTo_ngwm__acceptRequest
-#define SOAP_TYPE_PointerTo_ngwm__acceptRequest (603)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptRequest(struct soap*, const char *, int, _ngwm__acceptRequest *const*, const char *);
-SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest **, const char*, const char*);
-SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptRequest(struct soap*, const char*, _ngwm__acceptRequest **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Alarm
-#define SOAP_TYPE_PointerTongwt__Alarm (601)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Alarm(struct soap*, ngwt__Alarm *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Alarm(struct soap*, ngwt__Alarm *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Alarm(struct soap*, const char *, int, ngwt__Alarm *const*, const char *);
-SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_get_PointerTongwt__Alarm(struct soap*, ngwt__Alarm **, const char*, const char*);
-SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_in_PointerTongwt__Alarm(struct soap*, const char*, ngwt__Alarm **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PhoneFlags
-#define SOAP_TYPE_PointerTongwt__PhoneFlags (600)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneFlags(struct soap*, const char *, int, ngwt__PhoneFlags *const*, const char *);
-SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags **, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneFlags(struct soap*, const char*, ngwt__PhoneFlags **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RecurrenceRule
-#define SOAP_TYPE_PointerTongwt__RecurrenceRule (599)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceRule(struct soap*, const char *, int, ngwt__RecurrenceRule *const*, const char *);
-SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule **, const char*, const char*);
-SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceRule(struct soap*, const char*, ngwt__RecurrenceRule **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RecurrenceDateType
-#define SOAP_TYPE_PointerTongwt__RecurrenceDateType (598)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceDateType(struct soap*, const char *, int, ngwt__RecurrenceDateType *const*, const char *);
-SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType **, const char*, const char*);
-SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceDateType(struct soap*, const char*, ngwt__RecurrenceDateType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SMimeOperation
-#define SOAP_TYPE_PointerTongwt__SMimeOperation (597)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SMimeOperation(struct soap*, const char *, int, ngwt__SMimeOperation *const*, const char *);
-SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_get_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation **, const char*, const char*);
-SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_in_PointerTongwt__SMimeOperation(struct soap*, const char*, ngwt__SMimeOperation **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__LinkInfo
-#define SOAP_TYPE_PointerTongwt__LinkInfo (596)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LinkInfo(struct soap*, const char *, int, ngwt__LinkInfo *const*, const char *);
-SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_get_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_in_PointerTongwt__LinkInfo(struct soap*, const char*, ngwt__LinkInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemOptions
-#define SOAP_TYPE_PointerTongwt__ItemOptions (595)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemOptions(struct soap*, const char *, int, ngwt__ItemOptions *const*, const char *);
-SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ItemOptions(struct soap*, const char*, ngwt__ItemOptions **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AttachmentInfo
-#define SOAP_TYPE_PointerTongwt__AttachmentInfo (594)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentInfo(struct soap*, const char *, int, ngwt__AttachmentInfo *const*, const char *);
-SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentInfo(struct soap*, const char*, ngwt__AttachmentInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__MessageBody
-#define SOAP_TYPE_PointerTongwt__MessageBody (593)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageBody(struct soap*, const char *, int, ngwt__MessageBody *const*, const char *);
-SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_get_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody **, const char*, const char*);
-SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_in_PointerTongwt__MessageBody(struct soap*, const char*, ngwt__MessageBody **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ReferenceInfo
-#define SOAP_TYPE_PointerTongwt__ReferenceInfo (592)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReferenceInfo(struct soap*, const char *, int, ngwt__ReferenceInfo *const*, const char *);
-SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_get_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_in_PointerTongwt__ReferenceInfo(struct soap*, const char*, ngwt__ReferenceInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PersonalInfo
-#define SOAP_TYPE_PointerTongwt__PersonalInfo (591)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PersonalInfo(struct soap*, const char *, int, ngwt__PersonalInfo *const*, const char *);
-SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_get_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_in_PointerTongwt__PersonalInfo(struct soap*, const char*, ngwt__PersonalInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__OfficeInfo
-#define SOAP_TYPE_PointerTongwt__OfficeInfo (590)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OfficeInfo(struct soap*, const char *, int, ngwt__OfficeInfo *const*, const char *);
-SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_get_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_in_PointerTongwt__OfficeInfo(struct soap*, const char*, ngwt__OfficeInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PostalAddressList
-#define SOAP_TYPE_PointerTongwt__PostalAddressList (589)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddressList(struct soap*, const char *, int, ngwt__PostalAddressList *const*, const char *);
-SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList **, const char*, const char*);
-SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddressList(struct soap*, const char*, ngwt__PostalAddressList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PhoneList
-#define SOAP_TYPE_PointerTongwt__PhoneList (588)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneList(struct soap*, const char *, int, ngwt__PhoneList *const*, const char *);
-SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList **, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneList(struct soap*, const char*, ngwt__PhoneList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ImAddressList
-#define SOAP_TYPE_PointerTongwt__ImAddressList (587)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddressList(struct soap*, const char *, int, ngwt__ImAddressList *const*, const char *);
-SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList **, const char*, const char*);
-SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddressList(struct soap*, const char*, ngwt__ImAddressList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__EmailAddressList
-#define SOAP_TYPE_PointerTongwt__EmailAddressList (586)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__EmailAddressList(struct soap*, const char *, int, ngwt__EmailAddressList *const*, const char *);
-SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList **, const char*, const char*);
-SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__EmailAddressList(struct soap*, const char*, ngwt__EmailAddressList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FullName
-#define SOAP_TYPE_PointerTongwt__FullName (585)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FullName(struct soap*, ngwt__FullName *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FullName(struct soap*, ngwt__FullName *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FullName(struct soap*, const char *, int, ngwt__FullName *const*, const char *);
-SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_get_PointerTongwt__FullName(struct soap*, ngwt__FullName **, const char*, const char*);
-SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_in_PointerTongwt__FullName(struct soap*, const char*, ngwt__FullName **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__VersionStatus
-#define SOAP_TYPE_PointerTongwt__VersionStatus (584)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__VersionStatus(struct soap*, const char *, int, enum ngwt__VersionStatus *const*, const char *);
-SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_get_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_in_PointerTongwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FolderACL
-#define SOAP_TYPE_PointerTongwt__FolderACL (583)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACL(struct soap*, const char *, int, ngwt__FolderACL *const*, const char *);
-SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL **, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACL(struct soap*, const char*, ngwt__FolderACL **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RuleActionList
-#define SOAP_TYPE_PointerTongwt__RuleActionList (582)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleActionList(struct soap*, const char *, int, ngwt__RuleActionList *const*, const char *);
-SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList **, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleActionList(struct soap*, const char*, ngwt__RuleActionList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Execution
-#define SOAP_TYPE_PointerTongwt__Execution (581)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Execution(struct soap*, enum ngwt__Execution *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Execution(struct soap*, enum ngwt__Execution *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Execution(struct soap*, const char *, int, enum ngwt__Execution *const*, const char *);
-SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_get_PointerTongwt__Execution(struct soap*, enum ngwt__Execution **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_in_PointerTongwt__Execution(struct soap*, const char*, enum ngwt__Execution **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Query
-#define SOAP_TYPE_PointerTongwt__Query (580)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Query(struct soap*, ngwt__Query *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Query(struct soap*, ngwt__Query *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Query(struct soap*, const char *, int, ngwt__Query *const*, const char *);
-SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_get_PointerTongwt__Query(struct soap*, ngwt__Query **, const char*, const char*);
-SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_in_PointerTongwt__Query(struct soap*, const char*, ngwt__Query **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FolderACLStatus
-#define SOAP_TYPE_PointerTongwt__FolderACLStatus (579)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLStatus(struct soap*, const char *, int, enum ngwt__FolderACLStatus *const*, const char *);
-SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessControlList
-#define SOAP_TYPE_PointerTongwt__AccessControlList (578)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlList(struct soap*, const char *, int, ngwt__AccessControlList *const*, const char *);
-SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlList(struct soap*, const char*, ngwt__AccessControlList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__WeekOfYear
-#define SOAP_TYPE_PointerTongwt__WeekOfYear (577)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__WeekOfYear(struct soap*, short *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__WeekOfYear(struct soap*, short *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__WeekOfYear(struct soap*, const char *, int, short *const*, const char *);
-SOAP_FMAC3 short ** SOAP_FMAC4 soap_get_PointerTongwt__WeekOfYear(struct soap*, short **, const char*, const char*);
-SOAP_FMAC3 short ** SOAP_FMAC4 soap_in_PointerTongwt__WeekOfYear(struct soap*, const char*, short **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__OccurrenceType
-#define SOAP_TYPE_PointerTongwt__OccurrenceType (576)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OccurrenceType(struct soap*, const char *, int, enum ngwt__OccurrenceType *const*, const char *);
-SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_get_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_in_PointerTongwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemSecurity
-#define SOAP_TYPE_PointerTongwt__ItemSecurity (575)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSecurity(struct soap*, const char *, int, enum ngwt__ItemSecurity *const*, const char *);
-SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemClass
-#define SOAP_TYPE_PointerTongwt__ItemClass (574)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemClass(struct soap*, const char *, int, enum ngwt__ItemClass *const*, const char *);
-SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_get_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_in_PointerTongwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemSource
-#define SOAP_TYPE_PointerTongwt__ItemSource (573)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSource(struct soap*, const char *, int, enum ngwt__ItemSource *const*, const char *);
-SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemStatus
-#define SOAP_TYPE_PointerTongwt__ItemStatus (572)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemStatus(struct soap*, const char *, int, ngwt__ItemStatus *const*, const char *);
-SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_get_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_in_PointerTongwt__ItemStatus(struct soap*, const char*, ngwt__ItemStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DeltaSyncType
-#define SOAP_TYPE_PointerTongwt__DeltaSyncType (571)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaSyncType(struct soap*, const char *, int, enum ngwt__DeltaSyncType *const*, const char *);
-SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RecipientStatus
-#define SOAP_TYPE_PointerTongwt__RecipientStatus (570)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientStatus(struct soap*, const char *, int, ngwt__RecipientStatus *const*, const char *);
-SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientStatus(struct soap*, const char*, ngwt__RecipientStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyBlockList
-#define SOAP_TYPE_PointerTongwt__FreeBusyBlockList (569)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlockList(struct soap*, const char *, int, ngwt__FreeBusyBlockList *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlockList(struct soap*, const char*, ngwt__FreeBusyBlockList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CalendarFolderAttribute
-#define SOAP_TYPE_PointerTongwt__CalendarFolderAttribute (568)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CalendarFolderAttribute(struct soap*, const char *, int, ngwt__CalendarFolderAttribute *const*, const char *);
-SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_get_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute **, const char*, const char*);
-SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_in_PointerTongwt__CalendarFolderAttribute(struct soap*, const char*, ngwt__CalendarFolderAttribute **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FilterDate
-#define SOAP_TYPE_PointerTongwt__FilterDate (566)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterDate(struct soap*, const char *, int, enum ngwt__FilterDate *const*, const char *);
-SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_get_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_in_PointerTongwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ContainerRef
-#define SOAP_TYPE_PointerTongwt__ContainerRef (564)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ContainerRef(struct soap*, const char *, int, ngwt__ContainerRef *const*, const char *);
-SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_get_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef **, const char*, const char*);
-SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_in_PointerTongwt__ContainerRef(struct soap*, const char*, ngwt__ContainerRef **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CategoryType
-#define SOAP_TYPE_PointerTongwt__CategoryType (563)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryType(struct soap*, const char *, int, enum ngwt__CategoryType *const*, const char *);
-SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessMiscRight
-#define SOAP_TYPE_PointerTongwt__AccessMiscRight (562)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessMiscRight(struct soap*, const char *, int, ngwt__AccessMiscRight *const*, const char *);
-SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessMiscRight(struct soap*, const char*, ngwt__AccessMiscRight **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessRight
-#define SOAP_TYPE_PointerTongwt__AccessRight (561)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRight(struct soap*, const char *, int, ngwt__AccessRight *const*, const char *);
-SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRight(struct soap*, const char*, ngwt__AccessRight **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Rights
-#define SOAP_TYPE_PointerTongwt__Rights (560)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rights(struct soap*, ngwt__Rights *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rights(struct soap*, ngwt__Rights *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rights(struct soap*, const char *, int, ngwt__Rights *const*, const char *);
-SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_get_PointerTongwt__Rights(struct soap*, ngwt__Rights **, const char*, const char*);
-SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_in_PointerTongwt__Rights(struct soap*, const char*, ngwt__Rights **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__EventList
-#define SOAP_TYPE_PointerTongwe__EventList (559)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventList(struct soap*, ngwe__EventList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventList(struct soap*, ngwe__EventList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventList(struct soap*, const char *, int, ngwe__EventList *const*, const char *);
-SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_get_PointerTongwe__EventList(struct soap*, ngwe__EventList **, const char*, const char*);
-SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_in_PointerTongwe__EventList(struct soap*, const char*, ngwe__EventList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__EventsList
-#define SOAP_TYPE_PointerTongwe__EventsList (558)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventsList(struct soap*, ngwe__EventsList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventsList(struct soap*, ngwe__EventsList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventsList(struct soap*, const char *, int, ngwe__EventsList *const*, const char *);
-SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_get_PointerTongwe__EventsList(struct soap*, ngwe__EventsList **, const char*, const char*);
-SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_in_PointerTongwe__EventsList(struct soap*, const char*, ngwe__EventsList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__Events
-#define SOAP_TYPE_PointerTongwe__Events (555)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Events(struct soap*, ngwe__Events *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Events(struct soap*, ngwe__Events *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Events(struct soap*, const char *, int, ngwe__Events *const*, const char *);
-SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_get_PointerTongwe__Events(struct soap*, ngwe__Events **, const char*, const char*);
-SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_in_PointerTongwe__Events(struct soap*, const char*, ngwe__Events **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__EventDefinition
-#define SOAP_TYPE_PointerTongwe__EventDefinition (554)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventDefinition(struct soap*, const char *, int, ngwe__EventDefinition *const*, const char *);
-SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_get_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition **, const char*, const char*);
-SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_in_PointerTongwe__EventDefinition(struct soap*, const char*, ngwe__EventDefinition **, const char*);
-
-#ifndef SOAP_TYPE_PointerToxsd__duration
-#define SOAP_TYPE_PointerToxsd__duration (553)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__duration(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__duration(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__duration(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__duration(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__duration(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__Event
-#define SOAP_TYPE_PointerTongwe__Event (551)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Event(struct soap*, ngwe__Event *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Event(struct soap*, ngwe__Event *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Event(struct soap*, const char *, int, ngwe__Event *const*, const char *);
-SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_get_PointerTongwe__Event(struct soap*, ngwe__Event **, const char*, const char*);
-SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_in_PointerTongwe__Event(struct soap*, const char*, ngwe__Event **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__ContainerList
-#define SOAP_TYPE_PointerTongwe__ContainerList (550)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ContainerList(struct soap*, const char *, int, ngwe__ContainerList *const*, const char *);
-SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_get_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList **, const char*, const char*);
-SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_in_PointerTongwe__ContainerList(struct soap*, const char*, ngwe__ContainerList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__ItemTypeList
-#define SOAP_TYPE_PointerTongwe__ItemTypeList (549)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemTypeList(struct soap*, const char *, int, enum ngwe__ItemTypeList *const*, const char *);
-SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList **, const char*, const char*);
-SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__ItemTypeList(struct soap*, const char*, enum ngwe__ItemTypeList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__EventTypeList
-#define SOAP_TYPE_PointerTongwe__EventTypeList (548)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventTypeList(struct soap*, const char *, int, ngwe__EventTypeList *const*, const char *);
-SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList **, const char*, const char*);
-SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__EventTypeList(struct soap*, const char*, ngwe__EventTypeList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__ItemType
-#define SOAP_TYPE_PointerTongwe__ItemType (547)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemType(struct soap*, const char *, int, enum ngwe__ItemType *const*, const char *);
-SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_get_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType **, const char*, const char*);
-SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_in_PointerTongwe__ItemType(struct soap*, const char*, enum ngwe__ItemType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwe__FieldList
-#define SOAP_TYPE_PointerTongwe__FieldList (546)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__FieldList(struct soap*, const char *, int, enum ngwe__FieldList *const*, const char *);
-SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_get_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList **, const char*, const char*);
-SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_in_PointerTongwe__FieldList(struct soap*, const char*, enum ngwe__FieldList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyUserList
-#define SOAP_TYPE_PointerTongwt__FreeBusyUserList (545)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyUserList(struct soap*, const char *, int, ngwt__FreeBusyUserList *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyUserList(struct soap*, const char*, ngwt__FreeBusyUserList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RetractType
-#define SOAP_TYPE_PointerTongwt__RetractType (544)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RetractType(struct soap*, const char *, int, enum ngwt__RetractType *const*, const char *);
-SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_get_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_in_PointerTongwt__RetractType(struct soap*, const char*, enum ngwt__RetractType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemList
-#define SOAP_TYPE_PointerTongwt__ItemList (543)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemList(struct soap*, ngwt__ItemList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemList(struct soap*, ngwt__ItemList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemList(struct soap*, const char *, int, ngwt__ItemList *const*, const char *);
-SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemList(struct soap*, ngwt__ItemList **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemList(struct soap*, const char*, ngwt__ItemList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CursorSeek
-#define SOAP_TYPE_PointerTongwt__CursorSeek (542)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CursorSeek(struct soap*, const char *, int, enum ngwt__CursorSeek *const*, const char *);
-SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_get_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_in_PointerTongwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessRightChanges
-#define SOAP_TYPE_PointerTongwt__AccessRightChanges (541)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightChanges(struct soap*, const char *, int, ngwt__AccessRightChanges *const*, const char *);
-SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightChanges(struct soap*, const char*, ngwt__AccessRightChanges **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ModifyItem
-#define SOAP_TYPE_PointerTongwt__ModifyItem (538)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ModifyItem(struct soap*, const char *, int, ngwt__ModifyItem *const*, const char *);
-SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_get_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem **, const char*, const char*);
-SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_in_PointerTongwt__ModifyItem(struct soap*, const char*, ngwt__ModifyItem **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Host
-#define SOAP_TYPE_PointerTongwt__Host (536)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Host(struct soap*, ngwt__Host *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Host(struct soap*, ngwt__Host *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Host(struct soap*, const char *, int, ngwt__Host *const*, const char *);
-SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_get_PointerTongwt__Host(struct soap*, ngwt__Host **, const char*, const char*);
-SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_in_PointerTongwt__Host(struct soap*, const char*, ngwt__Host **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Authentication
-#define SOAP_TYPE_PointerTongwt__Authentication (535)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Authentication(struct soap*, ngwt__Authentication *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Authentication(struct soap*, ngwt__Authentication *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Authentication(struct soap*, const char *, int, ngwt__Authentication *const*, const char *);
-SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_get_PointerTongwt__Authentication(struct soap*, ngwt__Authentication **, const char*, const char*);
-SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_in_PointerTongwt__Authentication(struct soap*, const char*, ngwt__Authentication **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__UserList
-#define SOAP_TYPE_PointerTongwt__UserList (534)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserList(struct soap*, ngwt__UserList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserList(struct soap*, ngwt__UserList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserList(struct soap*, const char *, int, ngwt__UserList *const*, const char *);
-SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_get_PointerTongwt__UserList(struct soap*, ngwt__UserList **, const char*, const char*);
-SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_in_PointerTongwt__UserList(struct soap*, const char*, ngwt__UserList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__TimezoneList
-#define SOAP_TYPE_PointerTongwt__TimezoneList (533)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneList(struct soap*, const char *, int, ngwt__TimezoneList *const*, const char *);
-SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList **, const char*, const char*);
-SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneList(struct soap*, const char*, ngwt__TimezoneList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Signatures
-#define SOAP_TYPE_PointerTongwt__Signatures (532)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signatures(struct soap*, ngwt__Signatures *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signatures(struct soap*, ngwt__Signatures *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signatures(struct soap*, const char *, int, ngwt__Signatures *const*, const char *);
-SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_get_PointerTongwt__Signatures(struct soap*, ngwt__Signatures **, const char*, const char*);
-SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_in_PointerTongwt__Signatures(struct soap*, const char*, ngwt__Signatures **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Settings
-#define SOAP_TYPE_PointerTongwt__Settings (531)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Settings(struct soap*, ngwt__Settings *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Settings(struct soap*, ngwt__Settings *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Settings(struct soap*, const char *, int, ngwt__Settings *const*, const char *);
-SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_get_PointerTongwt__Settings(struct soap*, ngwt__Settings **, const char*, const char*);
-SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_in_PointerTongwt__Settings(struct soap*, const char*, ngwt__Settings **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RuleList
-#define SOAP_TYPE_PointerTongwt__RuleList (530)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleList(struct soap*, ngwt__RuleList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleList(struct soap*, ngwt__RuleList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleList(struct soap*, const char *, int, ngwt__RuleList *const*, const char *);
-SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleList(struct soap*, ngwt__RuleList **, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleList(struct soap*, const char*, ngwt__RuleList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ProxyList
-#define SOAP_TYPE_PointerTongwt__ProxyList (529)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyList(struct soap*, const char *, int, ngwt__ProxyList *const*, const char *);
-SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList **, const char*, const char*);
-SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyList(struct soap*, const char*, ngwt__ProxyList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessRightList
-#define SOAP_TYPE_PointerTongwt__AccessRightList (528)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightList(struct soap*, const char *, int, ngwt__AccessRightList *const*, const char *);
-SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightList(struct soap*, const char*, ngwt__AccessRightList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__LibraryList
-#define SOAP_TYPE_PointerTongwt__LibraryList (527)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LibraryList(struct soap*, const char *, int, ngwt__LibraryList *const*, const char *);
-SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_get_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList **, const char*, const char*);
-SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_in_PointerTongwt__LibraryList(struct soap*, const char*, ngwt__LibraryList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SettingsList
-#define SOAP_TYPE_PointerTongwt__SettingsList (526)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsList(struct soap*, const char *, int, ngwt__SettingsList *const*, const char *);
-SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList **, const char*, const char*);
-SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsList(struct soap*, const char*, ngwt__SettingsList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__JunkHandlingList
-#define SOAP_TYPE_PointerTongwt__JunkHandlingList (525)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingList(struct soap*, const char *, int, ngwt__JunkHandlingList *const*, const char *);
-SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList **, const char*, const char*);
-SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingList(struct soap*, const char*, ngwt__JunkHandlingList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyInfoList
-#define SOAP_TYPE_PointerTongwt__FreeBusyInfoList (524)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfoList(struct soap*, const char *, int, ngwt__FreeBusyInfoList *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfoList(struct soap*, const char*, ngwt__FreeBusyInfoList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyStats
-#define SOAP_TYPE_PointerTongwt__FreeBusyStats (523)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyStats(struct soap*, const char *, int, ngwt__FreeBusyStats *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyStats(struct soap*, const char*, ngwt__FreeBusyStats **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FolderList
-#define SOAP_TYPE_PointerTongwt__FolderList (522)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderList(struct soap*, ngwt__FolderList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderList(struct soap*, ngwt__FolderList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderList(struct soap*, const char *, int, ngwt__FolderList *const*, const char *);
-SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_get_PointerTongwt__FolderList(struct soap*, ngwt__FolderList **, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_in_PointerTongwt__FolderList(struct soap*, const char*, ngwt__FolderList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemSourceList
-#define SOAP_TYPE_PointerTongwt__ItemSourceList (521)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSourceList(struct soap*, const char *, int, enum ngwt__ItemSourceList *const*, const char *);
-SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSourceList(struct soap*, const char*, enum ngwt__ItemSourceList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__MessageTypeList
-#define SOAP_TYPE_PointerTongwt__MessageTypeList (520)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageTypeList(struct soap*, const char *, int, enum ngwt__MessageTypeList *const*, const char *);
-SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__MessageTypeList(struct soap*, const char*, enum ngwt__MessageTypeList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FolderType
-#define SOAP_TYPE_PointerTongwt__FolderType (519)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderType(struct soap*, const char *, int, enum ngwt__FolderType *const*, const char *);
-SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_get_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_in_PointerTongwt__FolderType(struct soap*, const char*, enum ngwt__FolderType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DocumentTypeList
-#define SOAP_TYPE_PointerTongwt__DocumentTypeList (518)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentTypeList(struct soap*, const char *, int, ngwt__DocumentTypeList *const*, const char *);
-SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList **, const char*, const char*);
-SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentTypeList(struct soap*, const char*, ngwt__DocumentTypeList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Items
-#define SOAP_TYPE_PointerTongwt__Items (517)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Items(struct soap*, ngwt__Items *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Items(struct soap*, ngwt__Items *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Items(struct soap*, const char *, int, ngwt__Items *const*, const char *);
-SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_get_PointerTongwt__Items(struct soap*, ngwt__Items **, const char*, const char*);
-SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_in_PointerTongwt__Items(struct soap*, const char*, ngwt__Items **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DeltaInfo
-#define SOAP_TYPE_PointerTongwt__DeltaInfo (516)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaInfo(struct soap*, const char *, int, ngwt__DeltaInfo *const*, const char *);
-SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaInfo(struct soap*, const char*, ngwt__DeltaInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CustomList
-#define SOAP_TYPE_PointerTongwt__CustomList (515)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomList(struct soap*, ngwt__CustomList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomList(struct soap*, ngwt__CustomList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomList(struct soap*, const char *, int, ngwt__CustomList *const*, const char *);
-SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_get_PointerTongwt__CustomList(struct soap*, ngwt__CustomList **, const char*, const char*);
-SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_in_PointerTongwt__CustomList(struct soap*, const char*, ngwt__CustomList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CategoryList
-#define SOAP_TYPE_PointerTongwt__CategoryList (514)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryList(struct soap*, const char *, int, ngwt__CategoryList *const*, const char *);
-SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList **, const char*, const char*);
-SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryList(struct soap*, const char*, ngwt__CategoryList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AddressBookList
-#define SOAP_TYPE_PointerTongwt__AddressBookList (513)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBookList(struct soap*, const char *, int, ngwt__AddressBookList *const*, const char *);
-SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList **, const char*, const char*);
-SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBookList(struct soap*, const char*, ngwt__AddressBookList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Distribution
-#define SOAP_TYPE_PointerTongwt__Distribution (512)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Distribution(struct soap*, ngwt__Distribution *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Distribution(struct soap*, ngwt__Distribution *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Distribution(struct soap*, const char *, int, ngwt__Distribution *const*, const char *);
-SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_get_PointerTongwt__Distribution(struct soap*, ngwt__Distribution **, const char*, const char*);
-SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_in_PointerTongwt__Distribution(struct soap*, const char*, ngwt__Distribution **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__View
-#define SOAP_TYPE_PointerTongwt__View (511)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__View(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__View(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__View(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__View(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__View(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Status
-#define SOAP_TYPE_PointerTongwt__Status (510)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Status(struct soap*, ngwt__Status *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Status(struct soap*, ngwt__Status *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Status(struct soap*, const char *, int, ngwt__Status *const*, const char *);
-SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_get_PointerTongwt__Status(struct soap*, ngwt__Status **, const char*, const char*);
-SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_in_PointerTongwt__Status(struct soap*, const char*, ngwt__Status **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemRefList
-#define SOAP_TYPE_PointerTongwt__ItemRefList (509)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRefList(struct soap*, const char *, int, ngwt__ItemRefList *const*, const char *);
-SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRefList(struct soap*, const char*, ngwt__ItemRefList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__UserInfo
-#define SOAP_TYPE_PointerTongwt__UserInfo (507)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserInfo(struct soap*, const char *, int, ngwt__UserInfo *const*, const char *);
-SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_get_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_in_PointerTongwt__UserInfo(struct soap*, const char*, ngwt__UserInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RecipientType
-#define SOAP_TYPE_PointerTongwt__RecipientType (506)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientType(struct soap*, const char *, int, enum ngwt__RecipientType *const*, const char *);
-SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Timezone
-#define SOAP_TYPE_PointerTongwt__Timezone (504)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Timezone(struct soap*, ngwt__Timezone *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Timezone(struct soap*, ngwt__Timezone *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Timezone(struct soap*, const char *, int, ngwt__Timezone *const*, const char *);
-SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_get_PointerTongwt__Timezone(struct soap*, ngwt__Timezone **, const char*, const char*);
-SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_in_PointerTongwt__Timezone(struct soap*, const char*, ngwt__Timezone **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Minute
-#define SOAP_TYPE_PointerTongwt__Minute (503)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Minute(struct soap*, unsigned char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Minute(struct soap*, unsigned char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Minute(struct soap*, const char *, int, unsigned char *const*, const char *);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Minute(struct soap*, unsigned char **, const char*, const char*);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Minute(struct soap*, const char*, unsigned char **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Hour
-#define SOAP_TYPE_PointerTongwt__Hour (502)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Hour(struct soap*, unsigned char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Hour(struct soap*, unsigned char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Hour(struct soap*, const char *, int, unsigned char *const*, const char *);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Hour(struct soap*, unsigned char **, const char*, const char*);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Hour(struct soap*, const char*, unsigned char **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DayOfWeek
-#define SOAP_TYPE_PointerTongwt__DayOfWeek (501)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfWeek(struct soap*, const char *, int, ngwt__DayOfWeek *const*, const char *);
-SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek **, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfWeek(struct soap*, const char*, ngwt__DayOfWeek **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Day
-#define SOAP_TYPE_PointerTongwt__Day (500)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Day(struct soap*, unsigned char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Day(struct soap*, unsigned char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Day(struct soap*, const char *, int, unsigned char *const*, const char *);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Day(struct soap*, unsigned char **, const char*, const char*);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Day(struct soap*, const char*, unsigned char **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Month
-#define SOAP_TYPE_PointerTongwt__Month (499)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Month(struct soap*, unsigned char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Month(struct soap*, unsigned char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Month(struct soap*, const char *, int, unsigned char *const*, const char *);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Month(struct soap*, unsigned char **, const char*, const char*);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Month(struct soap*, const char*, unsigned char **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__TimezoneComponent
-#define SOAP_TYPE_PointerTongwt__TimezoneComponent (498)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneComponent(struct soap*, const char *, int, ngwt__TimezoneComponent *const*, const char *);
-SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent **, const char*, const char*);
-SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneComponent(struct soap*, const char*, ngwt__TimezoneComponent **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ProblemList
-#define SOAP_TYPE_PointerTongwt__ProblemList (497)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemList(struct soap*, const char *, int, ngwt__ProblemList *const*, const char *);
-SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList **, const char*, const char*);
-SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemList(struct soap*, const char*, ngwt__ProblemList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Signature
-#define SOAP_TYPE_PointerTongwt__Signature (495)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signature(struct soap*, ngwt__Signature *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signature(struct soap*, ngwt__Signature *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signature(struct soap*, const char *, int, ngwt__Signature *const*, const char *);
-SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_get_PointerTongwt__Signature(struct soap*, ngwt__Signature **, const char*, const char*);
-SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_in_PointerTongwt__Signature(struct soap*, const char*, ngwt__Signature **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SignatureData
-#define SOAP_TYPE_PointerTongwt__SignatureData (494)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SignatureData(struct soap*, const char *, int, ngwt__SignatureData *const*, const char *);
-SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_get_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData **, const char*, const char*);
-SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_in_PointerTongwt__SignatureData(struct soap*, const char*, ngwt__SignatureData **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SettingsGroup
-#define SOAP_TYPE_PointerTongwt__SettingsGroup (492)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsGroup(struct soap*, const char *, int, ngwt__SettingsGroup *const*, const char *);
-SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup **, const char*, const char*);
-SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsGroup(struct soap*, const char*, ngwt__SettingsGroup **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ReturnNotification
-#define SOAP_TYPE_PointerTongwt__ReturnNotification (491)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotification(struct soap*, const char *, int, ngwt__ReturnNotification *const*, const char *);
-SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification **, const char*, const char*);
-SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotification(struct soap*, const char*, ngwt__ReturnNotification **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__StatusTracking
-#define SOAP_TYPE_PointerTongwt__StatusTracking (490)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__StatusTracking(struct soap*, const char *, int, ngwt__StatusTracking *const*, const char *);
-SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_get_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking **, const char*, const char*);
-SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_in_PointerTongwt__StatusTracking(struct soap*, const char*, ngwt__StatusTracking **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SendOptionsRequestReply
-#define SOAP_TYPE_PointerTongwt__SendOptionsRequestReply (489)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptionsRequestReply(struct soap*, const char *, int, ngwt__SendOptionsRequestReply *const*, const char *);
-SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply **, const char*, const char*);
-SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptionsRequestReply(struct soap*, const char*, ngwt__SendOptionsRequestReply **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Rule
-#define SOAP_TYPE_PointerTongwt__Rule (487)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rule(struct soap*, ngwt__Rule *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rule(struct soap*, ngwt__Rule *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rule(struct soap*, const char *, int, ngwt__Rule *const*, const char *);
-SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_get_PointerTongwt__Rule(struct soap*, ngwt__Rule **, const char*, const char*);
-SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_in_PointerTongwt__Rule(struct soap*, const char*, ngwt__Rule **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RuleAction
-#define SOAP_TYPE_PointerTongwt__RuleAction (485)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleAction(struct soap*, const char *, int, ngwt__RuleAction *const*, const char *);
-SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_get_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction **, const char*, const char*);
-SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_in_PointerTongwt__RuleAction(struct soap*, const char*, ngwt__RuleAction **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CategoryRefList
-#define SOAP_TYPE_PointerTongwt__CategoryRefList (484)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryRefList(struct soap*, const char *, int, ngwt__CategoryRefList *const*, const char *);
-SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList **, const char*, const char*);
-SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryRefList(struct soap*, const char*, ngwt__CategoryRefList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Mail
-#define SOAP_TYPE_PointerTongwt__Mail (483)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Mail(struct soap*, ngwt__Mail *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Mail(struct soap*, ngwt__Mail *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Mail(struct soap*, const char *, int, ngwt__Mail *const*, const char *);
-SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_get_PointerTongwt__Mail(struct soap*, ngwt__Mail **, const char*, const char*);
-SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_in_PointerTongwt__Mail(struct soap*, const char*, ngwt__Mail **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ReturnNotificationOptions
-#define SOAP_TYPE_PointerTongwt__ReturnNotificationOptions (482)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotificationOptions(struct soap*, const char *, int, ngwt__ReturnNotificationOptions *const*, const char *);
-SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions **, const char*, const char*);
-SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotificationOptions(struct soap*, const char*, ngwt__ReturnNotificationOptions **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__MonthList
-#define SOAP_TYPE_PointerTongwt__MonthList (481)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MonthList(struct soap*, ngwt__MonthList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MonthList(struct soap*, ngwt__MonthList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MonthList(struct soap*, const char *, int, ngwt__MonthList *const*, const char *);
-SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_get_PointerTongwt__MonthList(struct soap*, ngwt__MonthList **, const char*, const char*);
-SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_in_PointerTongwt__MonthList(struct soap*, const char*, ngwt__MonthList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DayOfYearList
-#define SOAP_TYPE_PointerTongwt__DayOfYearList (480)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearList(struct soap*, const char *, int, ngwt__DayOfYearList *const*, const char *);
-SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList **, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearList(struct soap*, const char*, ngwt__DayOfYearList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DayOfMonthList
-#define SOAP_TYPE_PointerTongwt__DayOfMonthList (479)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfMonthList(struct soap*, const char *, int, ngwt__DayOfMonthList *const*, const char *);
-SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList **, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfMonthList(struct soap*, const char*, ngwt__DayOfMonthList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DayOfYearWeekList
-#define SOAP_TYPE_PointerTongwt__DayOfYearWeekList (478)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeekList(struct soap*, const char *, int, ngwt__DayOfYearWeekList *const*, const char *);
-SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList **, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeekList(struct soap*, const char*, ngwt__DayOfYearWeekList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Frequency
-#define SOAP_TYPE_PointerTongwt__Frequency (477)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Frequency(struct soap*, const char *, int, enum ngwt__Frequency *const*, const char *);
-SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_get_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_in_PointerTongwt__Frequency(struct soap*, const char*, enum ngwt__Frequency **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DelegateeStatus
-#define SOAP_TYPE_PointerTongwt__DelegateeStatus (474)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegateeStatus(struct soap*, const char *, int, ngwt__DelegateeStatus *const*, const char *);
-SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegateeStatus(struct soap*, const char*, ngwt__DelegateeStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DelegatedStatus
-#define SOAP_TYPE_PointerTongwt__DelegatedStatus (473)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegatedStatus(struct soap*, const char *, int, ngwt__DelegatedStatus *const*, const char *);
-SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegatedStatus(struct soap*, const char*, ngwt__DelegatedStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CommentStatus
-#define SOAP_TYPE_PointerTongwt__CommentStatus (472)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CommentStatus(struct soap*, const char *, int, ngwt__CommentStatus *const*, const char *);
-SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_get_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_in_PointerTongwt__CommentStatus(struct soap*, const char*, ngwt__CommentStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__TransferFailedStatus
-#define SOAP_TYPE_PointerTongwt__TransferFailedStatus (471)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TransferFailedStatus(struct soap*, const char *, int, ngwt__TransferFailedStatus *const*, const char *);
-SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus **, const char*, const char*);
-SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__TransferFailedStatus(struct soap*, const char*, ngwt__TransferFailedStatus **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Recipient
-#define SOAP_TYPE_PointerTongwt__Recipient (469)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Recipient(struct soap*, ngwt__Recipient *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Recipient(struct soap*, ngwt__Recipient *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Recipient(struct soap*, const char *, int, ngwt__Recipient *const*, const char *);
-SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_get_PointerTongwt__Recipient(struct soap*, ngwt__Recipient **, const char*, const char*);
-SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_in_PointerTongwt__Recipient(struct soap*, const char*, ngwt__Recipient **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Filter
-#define SOAP_TYPE_PointerTongwt__Filter (468)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Filter(struct soap*, ngwt__Filter *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Filter(struct soap*, ngwt__Filter *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Filter(struct soap*, const char *, int, ngwt__Filter *const*, const char *);
-SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_get_PointerTongwt__Filter(struct soap*, ngwt__Filter **, const char*, const char*);
-SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_in_PointerTongwt__Filter(struct soap*, const char*, ngwt__Filter **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__QueryTarget
-#define SOAP_TYPE_PointerTongwt__QueryTarget (467)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__QueryTarget(struct soap*, const char *, int, ngwt__QueryTarget *const*, const char *);
-SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_get_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget **, const char*, const char*);
-SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_in_PointerTongwt__QueryTarget(struct soap*, const char*, ngwt__QueryTarget **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ProxyUser
-#define SOAP_TYPE_PointerTongwt__ProxyUser (465)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyUser(struct soap*, const char *, int, ngwt__ProxyUser *const*, const char *);
-SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser **, const char*, const char*);
-SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyUser(struct soap*, const char*, ngwt__ProxyUser **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ProblemEntry
-#define SOAP_TYPE_PointerTongwt__ProblemEntry (463)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemEntry(struct soap*, const char *, int, ngwt__ProblemEntry *const*, const char *);
-SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry **, const char*, const char*);
-SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemEntry(struct soap*, const char*, ngwt__ProblemEntry **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PostalAddress
-#define SOAP_TYPE_PointerTongwt__PostalAddress (461)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddress(struct soap*, const char *, int, ngwt__PostalAddress *const*, const char *);
-SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress **, const char*, const char*);
-SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddress(struct soap*, const char*, ngwt__PostalAddress **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__PhoneNumber
-#define SOAP_TYPE_PointerTongwt__PhoneNumber (459)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneNumber(struct soap*, const char *, int, ngwt__PhoneNumber *const*, const char *);
-SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber **, const char*, const char*);
-SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneNumber(struct soap*, const char*, ngwt__PhoneNumber **, const char*);
-
-#ifndef SOAP_TYPE_PointerToxsd__date
-#define SOAP_TYPE_PointerToxsd__date (458)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__date(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__date(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__date(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__date(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__date(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemRef
-#define SOAP_TYPE_PointerTongwt__ItemRef (457)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRef(struct soap*, const char *, int, ngwt__ItemRef *const*, const char *);
-SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRef(struct soap*, const char*, ngwt__ItemRef **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__UUID
-#define SOAP_TYPE_PointerTongwt__UUID (456)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UUID(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UUID(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UUID(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__UUID(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__UUID(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SharedFolderNotification
-#define SOAP_TYPE_PointerTongwt__SharedFolderNotification (454)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SharedFolderNotification(struct soap*, const char *, int, ngwt__SharedFolderNotification *const*, const char *);
-SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_get_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification **, const char*, const char*);
-SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_in_PointerTongwt__SharedFolderNotification(struct soap*, const char*, ngwt__SharedFolderNotification **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__MessagePart
-#define SOAP_TYPE_PointerTongwt__MessagePart (452)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessagePart(struct soap*, const char *, int, ngwt__MessagePart *const*, const char *);
-SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_get_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart **, const char*, const char*);
-SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_in_PointerTongwt__MessagePart(struct soap*, const char*, ngwt__MessagePart **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Library
-#define SOAP_TYPE_PointerTongwt__Library (450)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Library(struct soap*, ngwt__Library *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Library(struct soap*, ngwt__Library *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Library(struct soap*, const char *, int, ngwt__Library *const*, const char *);
-SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_get_PointerTongwt__Library(struct soap*, ngwt__Library **, const char*, const char*);
-SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_in_PointerTongwt__Library(struct soap*, const char*, ngwt__Library **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__JunkEntry
-#define SOAP_TYPE_PointerTongwt__JunkEntry (448)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkEntry(struct soap*, const char *, int, ngwt__JunkEntry *const*, const char *);
-SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_get_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry **, const char*, const char*);
-SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_in_PointerTongwt__JunkEntry(struct soap*, const char*, ngwt__JunkEntry **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__JunkHandlingListType
-#define SOAP_TYPE_PointerTongwt__JunkHandlingListType (447)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingListType(struct soap*, const char *, int, enum ngwt__JunkHandlingListType *const*, const char *);
-SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Item
-#define SOAP_TYPE_PointerTongwt__Item (445)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Item(struct soap*, ngwt__Item *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Item(struct soap*, ngwt__Item *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Item(struct soap*, const char *, int, ngwt__Item *const*, const char *);
-SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_get_PointerTongwt__Item(struct soap*, ngwt__Item **, const char*, const char*);
-SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_in_PointerTongwt__Item(struct soap*, const char*, ngwt__Item **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ItemChanges
-#define SOAP_TYPE_PointerTongwt__ItemChanges (444)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemChanges(struct soap*, const char *, int, ngwt__ItemChanges *const*, const char *);
-SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_get_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges **, const char*, const char*);
-SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_in_PointerTongwt__ItemChanges(struct soap*, const char*, ngwt__ItemChanges **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__ImAddress
-#define SOAP_TYPE_PointerTongwt__ImAddress (442)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddress(struct soap*, const char *, int, ngwt__ImAddress *const*, const char *);
-SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress **, const char*, const char*);
-SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddress(struct soap*, const char*, ngwt__ImAddress **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__GroupMember
-#define SOAP_TYPE_PointerTongwt__GroupMember (440)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMember(struct soap*, const char *, int, ngwt__GroupMember *const*, const char *);
-SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember **, const char*, const char*);
-SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMember(struct soap*, const char*, ngwt__GroupMember **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__GroupMemberList
-#define SOAP_TYPE_PointerTongwt__GroupMemberList (439)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMemberList(struct soap*, const char *, int, ngwt__GroupMemberList *const*, const char *);
-SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList **, const char*, const char*);
-SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMemberList(struct soap*, const char*, ngwt__GroupMemberList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyInfo
-#define SOAP_TYPE_PointerTongwt__FreeBusyInfo (437)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfo(struct soap*, const char *, int, ngwt__FreeBusyInfo *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfo(struct soap*, const char*, ngwt__FreeBusyInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__NameAndEmail
-#define SOAP_TYPE_PointerTongwt__NameAndEmail (435)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__NameAndEmail(struct soap*, const char *, int, ngwt__NameAndEmail *const*, const char *);
-SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_get_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail **, const char*, const char*);
-SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_in_PointerTongwt__NameAndEmail(struct soap*, const char*, ngwt__NameAndEmail **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AcceptLevel
-#define SOAP_TYPE_PointerTongwt__AcceptLevel (434)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AcceptLevel(struct soap*, const char *, int, enum ngwt__AcceptLevel *const*, const char *);
-SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_get_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_in_PointerTongwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FreeBusyBlock
-#define SOAP_TYPE_PointerTongwt__FreeBusyBlock (432)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlock(struct soap*, const char *, int, ngwt__FreeBusyBlock *const*, const char *);
-SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock **, const char*, const char*);
-SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlock(struct soap*, const char*, ngwt__FreeBusyBlock **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Folder
-#define SOAP_TYPE_PointerTongwt__Folder (430)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Folder(struct soap*, ngwt__Folder *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Folder(struct soap*, ngwt__Folder *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Folder(struct soap*, const char *, int, ngwt__Folder *const*, const char *);
-SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_get_PointerTongwt__Folder(struct soap*, ngwt__Folder **, const char*, const char*);
-SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_in_PointerTongwt__Folder(struct soap*, const char*, ngwt__Folder **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FolderACLEntry
-#define SOAP_TYPE_PointerTongwt__FolderACLEntry (428)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLEntry(struct soap*, const char *, int, ngwt__FolderACLEntry *const*, const char *);
-SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry **, const char*, const char*);
-SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLEntry(struct soap*, const char*, ngwt__FolderACLEntry **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__FilterElement
-#define SOAP_TYPE_PointerTongwt__FilterElement (427)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterElement(struct soap*, const char *, int, ngwt__FilterElement *const*, const char *);
-SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_get_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement **, const char*, const char*);
-SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_in_PointerTongwt__FilterElement(struct soap*, const char*, ngwt__FilterElement **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DocumentType
-#define SOAP_TYPE_PointerTongwt__DocumentType (424)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentType(struct soap*, const char *, int, ngwt__DocumentType *const*, const char *);
-SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType **, const char*, const char*);
-SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentType(struct soap*, const char*, ngwt__DocumentType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AgeAction
-#define SOAP_TYPE_PointerTongwt__AgeAction (423)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AgeAction(struct soap*, const char *, int, enum ngwt__AgeAction *const*, const char *);
-SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_get_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_in_PointerTongwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__SendOptions
-#define SOAP_TYPE_PointerTongwt__SendOptions (422)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptions(struct soap*, const char *, int, ngwt__SendOptions *const*, const char *);
-SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions **, const char*, const char*);
-SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptions(struct soap*, const char*, ngwt__SendOptions **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__RecipientList
-#define SOAP_TYPE_PointerTongwt__RecipientList (421)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientList(struct soap*, const char *, int, ngwt__RecipientList *const*, const char *);
-SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList **, const char*, const char*);
-SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientList(struct soap*, const char*, ngwt__RecipientList **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__From
-#define SOAP_TYPE_PointerTongwt__From (420)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__From(struct soap*, ngwt__From *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__From(struct soap*, ngwt__From *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__From(struct soap*, const char *, int, ngwt__From *const*, const char *);
-SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_get_PointerTongwt__From(struct soap*, ngwt__From **, const char*, const char*);
-SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_in_PointerTongwt__From(struct soap*, const char*, ngwt__From **, const char*);
-
-#ifndef SOAP_TYPE_PointerToint
-#define SOAP_TYPE_PointerToint (419)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToint(struct soap*, int *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToint(struct soap*, int *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToint(struct soap*, const char *, int, int *const*, const char *);
-SOAP_FMAC3 int ** SOAP_FMAC4 soap_get_PointerToint(struct soap*, int **, const char*, const char*);
-SOAP_FMAC3 int ** SOAP_FMAC4 soap_in_PointerToint(struct soap*, const char*, int **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__DayOfYearWeek
-#define SOAP_TYPE_PointerTongwt__DayOfYearWeek (417)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeek(struct soap*, const char *, int, ngwt__DayOfYearWeek *const*, const char *);
-SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek **, const char*, const char*);
-SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeek(struct soap*, const char*, ngwt__DayOfYearWeek **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Custom
-#define SOAP_TYPE_PointerTongwt__Custom (413)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Custom(struct soap*, ngwt__Custom *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Custom(struct soap*, ngwt__Custom *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Custom(struct soap*, const char *, int, ngwt__Custom *const*, const char *);
-SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_get_PointerTongwt__Custom(struct soap*, ngwt__Custom **, const char*, const char*);
-SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_in_PointerTongwt__Custom(struct soap*, const char*, ngwt__Custom **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__CustomType
-#define SOAP_TYPE_PointerTongwt__CustomType (412)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomType(struct soap*, const char *, int, enum ngwt__CustomType *const*, const char *);
-SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_get_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType **, const char*, const char*);
-SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_in_PointerTongwt__CustomType(struct soap*, const char*, enum ngwt__CustomType **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__uid
-#define SOAP_TYPE_PointerTongwt__uid (411)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__uid(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__uid(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__uid(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__uid(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__uid(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__Category
-#define SOAP_TYPE_PointerTongwt__Category (408)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Category(struct soap*, ngwt__Category *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Category(struct soap*, ngwt__Category *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Category(struct soap*, const char *, int, ngwt__Category *const*, const char *);
-SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_get_PointerTongwt__Category(struct soap*, ngwt__Category **, const char*, const char*);
-SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_in_PointerTongwt__Category(struct soap*, const char*, ngwt__Category **, const char*);
-
-#ifndef SOAP_TYPE_PointerToxsd__base64Binary
-#define SOAP_TYPE_PointerToxsd__base64Binary (406)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__base64Binary(struct soap*, const char *, int, xsd__base64Binary *const*, const char *);
-SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_get_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary **, const char*, const char*);
-SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_in_PointerToxsd__base64Binary(struct soap*, const char*, xsd__base64Binary **, const char*);
-
-#ifndef SOAP_TYPE_PointerTounsignedLong
-#define SOAP_TYPE_PointerTounsignedLong (405)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedLong(struct soap*, unsigned long *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedLong(struct soap*, unsigned long *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedLong(struct soap*, const char *, int, unsigned long *const*, const char *);
-SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_get_PointerTounsignedLong(struct soap*, unsigned long **, const char*, const char*);
-SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_in_PointerTounsignedLong(struct soap*, const char*, unsigned long **, const char*);
-
-#ifndef SOAP_TYPE_PointerTostd__string
-#define SOAP_TYPE_PointerTostd__string (402)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__string(struct soap*, std::string *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__string(struct soap*, std::string *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__string(struct soap*, const char *, int, std::string *const*, const char *);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTostd__string(struct soap*, std::string **, const char*, const char*);
-SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTostd__string(struct soap*, const char*, std::string **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AttachmentID
-#define SOAP_TYPE_PointerTongwt__AttachmentID (401)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentID(struct soap*, const char *, int, ngwt__AttachmentID *const*, const char *);
-SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID **, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentID(struct soap*, const char*, ngwt__AttachmentID **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AttachmentItemInfo
-#define SOAP_TYPE_PointerTongwt__AttachmentItemInfo (399)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentItemInfo(struct soap*, const char *, int, ngwt__AttachmentItemInfo *const*, const char *);
-SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo **, const char*, const char*);
-SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentItemInfo(struct soap*, const char*, ngwt__AttachmentItemInfo **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AddressBook
-#define SOAP_TYPE_PointerTongwt__AddressBook (397)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBook(struct soap*, const char *, int, ngwt__AddressBook *const*, const char *);
-SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook **, const char*, const char*);
-SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBook(struct soap*, const char*, ngwt__AddressBook **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessRightEntry
-#define SOAP_TYPE_PointerTongwt__AccessRightEntry (395)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightEntry(struct soap*, const char *, int, ngwt__AccessRightEntry *const*, const char *);
-SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightEntry(struct soap*, const char*, ngwt__AccessRightEntry **, const char*);
-
-#ifndef SOAP_TYPE_PointerTobool
-#define SOAP_TYPE_PointerTobool (394)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTobool(struct soap*, bool *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTobool(struct soap*, bool *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTobool(struct soap*, const char *, int, bool *const*, const char *);
-SOAP_FMAC3 bool ** SOAP_FMAC4 soap_get_PointerTobool(struct soap*, bool **, const char*, const char*);
-SOAP_FMAC3 bool ** SOAP_FMAC4 soap_in_PointerTobool(struct soap*, const char*, bool **, const char*);
-
-#ifndef SOAP_TYPE_PointerTongwt__AccessControlListEntry
-#define SOAP_TYPE_PointerTongwt__AccessControlListEntry (391)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlListEntry(struct soap*, const char *, int, ngwt__AccessControlListEntry *const*, const char *);
-SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry **, const char*, const char*);
-SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlListEntry(struct soap*, const char*, ngwt__AccessControlListEntry **, const char*);
-
-#ifndef SOAP_TYPE_PointerTounsignedByte
-#define SOAP_TYPE_PointerTounsignedByte (10)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap*, unsigned char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap*, unsigned char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap*, const char *, int, unsigned char *const*, const char *);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap*, unsigned char **, const char*, const char*);
-SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap*, const char*, unsigned char **, const char*);
-
-#ifndef SOAP_TYPE__TQName
-#define SOAP_TYPE__TQName (5)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default__TQName(struct soap*, char **);
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__TQName(struct soap*, char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put__TQName(struct soap*, char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out__TQName(struct soap*, const char*, int, char*const*, const char*);
-SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__TQName(struct soap*, char **, const char*, const char*);
-SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__TQName(struct soap*, const char*, char **, const char*);
-
-#ifndef SOAP_TYPE_string
-#define SOAP_TYPE_string (3)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
-SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
-SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement (567)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const std::vector<ngwt__FilterElement * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector<ngwt__FilterElement * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const std::vector<ngwt__FilterElement * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const char*, int, const std::vector<ngwt__FilterElement * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FilterElement * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector<ngwt__FilterElement * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FilterElement * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const char*, std::vector<ngwt__FilterElement * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__FilterElement * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector<ngwt__FilterElement * >*);
-SOAP_FMAC5 std::vector<ngwt__FilterElement * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef (565)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const std::vector<ngwt__ContainerRef * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector<ngwt__ContainerRef * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const std::vector<ngwt__ContainerRef * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const char*, int, const std::vector<ngwt__ContainerRef * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ContainerRef * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector<ngwt__ContainerRef * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ContainerRef * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const char*, std::vector<ngwt__ContainerRef * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__ContainerRef * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector<ngwt__ContainerRef * >*);
-SOAP_FMAC5 std::vector<ngwt__ContainerRef * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwe__EventType
-#define SOAP_TYPE_std__vectorTemplateOfngwe__EventType (557)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwe__EventType(struct soap*, const std::vector<enum ngwe__EventType >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector<enum ngwe__EventType >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwe__EventType(struct soap*, const std::vector<enum ngwe__EventType >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwe__EventType(struct soap*, const char*, int, const std::vector<enum ngwe__EventType >*, const char*);
-SOAP_FMAC3 std::vector<enum ngwe__EventType >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector<enum ngwe__EventType >*, const char*, const char*);
-SOAP_FMAC3 std::vector<enum ngwe__EventType >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwe__EventType(struct soap*, const char*, std::vector<enum ngwe__EventType >*, const char*);
-SOAP_FMAC5 std::vector<enum ngwe__EventType > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwe__EventType(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector<enum ngwe__EventType >*);
-SOAP_FMAC5 std::vector<enum ngwe__EventType > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwe__EventType(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwe__EventType(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events (556)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const std::vector<ngwe__Events * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector<ngwe__Events * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const std::vector<ngwe__Events * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const char*, int, const std::vector<ngwe__Events * >*, const char*);
-SOAP_FMAC3 std::vector<ngwe__Events * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector<ngwe__Events * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwe__Events * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const char*, std::vector<ngwe__Events * >*, const char*);
-SOAP_FMAC5 std::vector<ngwe__Events * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector<ngwe__Events * >*);
-SOAP_FMAC5 std::vector<ngwe__Events * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event (552)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const std::vector<ngwe__Event * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector<ngwe__Event * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const std::vector<ngwe__Event * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const char*, int, const std::vector<ngwe__Event * >*, const char*);
-SOAP_FMAC3 std::vector<ngwe__Event * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector<ngwe__Event * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwe__Event * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const char*, std::vector<ngwe__Event * >*, const char*);
-SOAP_FMAC5 std::vector<ngwe__Event * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector<ngwe__Event * >*);
-SOAP_FMAC5 std::vector<ngwe__Event * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfstring
-#define SOAP_TYPE_std__vectorTemplateOfstring (540)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstring(struct soap*, const std::vector<char * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstring(struct soap*, std::vector<char * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstring(struct soap*, const std::vector<char * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstring(struct soap*, const char*, int, const std::vector<char * >*, const char*);
-SOAP_FMAC3 std::vector<char * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfstring(struct soap*, std::vector<char * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<char * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfstring(struct soap*, const char*, std::vector<char * >*, const char*);
-SOAP_FMAC5 std::vector<char * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfstring(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstring(struct soap*, std::vector<char * >*);
-SOAP_FMAC5 std::vector<char * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstring(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstring(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem (539)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const std::vector<ngwt__ModifyItem * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector<ngwt__ModifyItem * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const std::vector<ngwt__ModifyItem * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const char*, int, const std::vector<ngwt__ModifyItem * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ModifyItem * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector<ngwt__ModifyItem * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ModifyItem * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const char*, std::vector<ngwt__ModifyItem * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__ModifyItem * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector<ngwt__ModifyItem * >*);
-SOAP_FMAC5 std::vector<ngwt__ModifyItem * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host (537)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const std::vector<ngwt__Host * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector<ngwt__Host * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const std::vector<ngwt__Host * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const char*, int, const std::vector<ngwt__Host * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Host * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector<ngwt__Host * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Host * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const char*, std::vector<ngwt__Host * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Host * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector<ngwt__Host * >*);
-SOAP_FMAC5 std::vector<ngwt__Host * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo (508)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const std::vector<ngwt__UserInfo * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector<ngwt__UserInfo * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const std::vector<ngwt__UserInfo * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const char*, int, const std::vector<ngwt__UserInfo * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__UserInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector<ngwt__UserInfo * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__UserInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const char*, std::vector<ngwt__UserInfo * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__UserInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector<ngwt__UserInfo * >*);
-SOAP_FMAC5 std::vector<ngwt__UserInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone (505)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const std::vector<ngwt__Timezone * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector<ngwt__Timezone * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const std::vector<ngwt__Timezone * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const char*, int, const std::vector<ngwt__Timezone * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Timezone * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector<ngwt__Timezone * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Timezone * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const char*, std::vector<ngwt__Timezone * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Timezone * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector<ngwt__Timezone * >*);
-SOAP_FMAC5 std::vector<ngwt__Timezone * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature (496)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const std::vector<ngwt__Signature * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector<ngwt__Signature * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const std::vector<ngwt__Signature * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const char*, int, const std::vector<ngwt__Signature * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Signature * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector<ngwt__Signature * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Signature * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const char*, std::vector<ngwt__Signature * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Signature * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector<ngwt__Signature * >*);
-SOAP_FMAC5 std::vector<ngwt__Signature * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup (493)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const std::vector<ngwt__SettingsGroup * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector<ngwt__SettingsGroup * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const std::vector<ngwt__SettingsGroup * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const char*, int, const std::vector<ngwt__SettingsGroup * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__SettingsGroup * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector<ngwt__SettingsGroup * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__SettingsGroup * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const char*, std::vector<ngwt__SettingsGroup * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__SettingsGroup * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector<ngwt__SettingsGroup * >*);
-SOAP_FMAC5 std::vector<ngwt__SettingsGroup * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule (488)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const std::vector<ngwt__Rule * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector<ngwt__Rule * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const std::vector<ngwt__Rule * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const char*, int, const std::vector<ngwt__Rule * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Rule * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector<ngwt__Rule * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Rule * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const char*, std::vector<ngwt__Rule * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Rule * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector<ngwt__Rule * >*);
-SOAP_FMAC5 std::vector<ngwt__Rule * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction (486)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const std::vector<ngwt__RuleAction * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector<ngwt__RuleAction * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const std::vector<ngwt__RuleAction * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const char*, int, const std::vector<ngwt__RuleAction * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__RuleAction * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector<ngwt__RuleAction * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__RuleAction * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const char*, std::vector<ngwt__RuleAction * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__RuleAction * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector<ngwt__RuleAction * >*);
-SOAP_FMAC5 std::vector<ngwt__RuleAction * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfxsd__date
-#define SOAP_TYPE_std__vectorTemplateOfxsd__date (476)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfxsd__date(struct soap*, const std::vector<std::string >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfxsd__date(struct soap*, std::vector<std::string >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfxsd__date(struct soap*, const std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfxsd__date(struct soap*, const char*, int, const std::vector<std::string >*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfxsd__date(struct soap*, std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfxsd__date(struct soap*, const char*, std::vector<std::string >*, const char*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfxsd__date(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfxsd__date(struct soap*, std::vector<std::string >*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfxsd__date(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfxsd__date(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus (475)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const std::vector<ngwt__DelegateeStatus * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector<ngwt__DelegateeStatus * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const std::vector<ngwt__DelegateeStatus * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const char*, int, const std::vector<ngwt__DelegateeStatus * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DelegateeStatus * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector<ngwt__DelegateeStatus * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DelegateeStatus * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const char*, std::vector<ngwt__DelegateeStatus * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__DelegateeStatus * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector<ngwt__DelegateeStatus * >*);
-SOAP_FMAC5 std::vector<ngwt__DelegateeStatus * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient (470)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const std::vector<ngwt__Recipient * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector<ngwt__Recipient * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const std::vector<ngwt__Recipient * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const char*, int, const std::vector<ngwt__Recipient * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Recipient * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector<ngwt__Recipient * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Recipient * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const char*, std::vector<ngwt__Recipient * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Recipient * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector<ngwt__Recipient * >*);
-SOAP_FMAC5 std::vector<ngwt__Recipient * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser (466)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const std::vector<ngwt__ProxyUser * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector<ngwt__ProxyUser * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const std::vector<ngwt__ProxyUser * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const char*, int, const std::vector<ngwt__ProxyUser * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ProxyUser * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector<ngwt__ProxyUser * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ProxyUser * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const char*, std::vector<ngwt__ProxyUser * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__ProxyUser * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector<ngwt__ProxyUser * >*);
-SOAP_FMAC5 std::vector<ngwt__ProxyUser * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry (464)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const std::vector<ngwt__ProblemEntry * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector<ngwt__ProblemEntry * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const std::vector<ngwt__ProblemEntry * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const char*, int, const std::vector<ngwt__ProblemEntry * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ProblemEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector<ngwt__ProblemEntry * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ProblemEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const char*, std::vector<ngwt__ProblemEntry * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__ProblemEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector<ngwt__ProblemEntry * >*);
-SOAP_FMAC5 std::vector<ngwt__ProblemEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress (462)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const std::vector<ngwt__PostalAddress * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector<ngwt__PostalAddress * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const std::vector<ngwt__PostalAddress * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const char*, int, const std::vector<ngwt__PostalAddress * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__PostalAddress * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector<ngwt__PostalAddress * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__PostalAddress * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const char*, std::vector<ngwt__PostalAddress * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__PostalAddress * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector<ngwt__PostalAddress * >*);
-SOAP_FMAC5 std::vector<ngwt__PostalAddress * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber (460)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const std::vector<ngwt__PhoneNumber * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector<ngwt__PhoneNumber * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const std::vector<ngwt__PhoneNumber * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const char*, int, const std::vector<ngwt__PhoneNumber * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__PhoneNumber * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector<ngwt__PhoneNumber * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__PhoneNumber * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const char*, std::vector<ngwt__PhoneNumber * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__PhoneNumber * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector<ngwt__PhoneNumber * >*);
-SOAP_FMAC5 std::vector<ngwt__PhoneNumber * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__Month
-#define SOAP_TYPE_std__vectorTemplateOfngwt__Month (455)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__Month(struct soap*, const std::vector<unsigned char >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__Month(struct soap*, std::vector<unsigned char >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__Month(struct soap*, const std::vector<unsigned char >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__Month(struct soap*, const char*, int, const std::vector<unsigned char >*, const char*);
-SOAP_FMAC3 std::vector<unsigned char >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__Month(struct soap*, std::vector<unsigned char >*, const char*, const char*);
-SOAP_FMAC3 std::vector<unsigned char >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__Month(struct soap*, const char*, std::vector<unsigned char >*, const char*);
-SOAP_FMAC5 std::vector<unsigned char > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__Month(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__Month(struct soap*, std::vector<unsigned char >*);
-SOAP_FMAC5 std::vector<unsigned char > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__Month(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__Month(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart (453)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const std::vector<ngwt__MessagePart * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector<ngwt__MessagePart * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const std::vector<ngwt__MessagePart * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const char*, int, const std::vector<ngwt__MessagePart * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__MessagePart * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector<ngwt__MessagePart * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__MessagePart * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const char*, std::vector<ngwt__MessagePart * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__MessagePart * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector<ngwt__MessagePart * >*);
-SOAP_FMAC5 std::vector<ngwt__MessagePart * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library (451)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const std::vector<ngwt__Library * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector<ngwt__Library * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const std::vector<ngwt__Library * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const char*, int, const std::vector<ngwt__Library * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Library * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector<ngwt__Library * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Library * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const char*, std::vector<ngwt__Library * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Library * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector<ngwt__Library * >*);
-SOAP_FMAC5 std::vector<ngwt__Library * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry (449)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const std::vector<ngwt__JunkEntry * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector<ngwt__JunkEntry * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const std::vector<ngwt__JunkEntry * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const char*, int, const std::vector<ngwt__JunkEntry * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__JunkEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector<ngwt__JunkEntry * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__JunkEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const char*, std::vector<ngwt__JunkEntry * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__JunkEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector<ngwt__JunkEntry * >*);
-SOAP_FMAC5 std::vector<ngwt__JunkEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item (446)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const std::vector<ngwt__Item * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector<ngwt__Item * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const std::vector<ngwt__Item * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const char*, int, const std::vector<ngwt__Item * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Item * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector<ngwt__Item * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Item * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const char*, std::vector<ngwt__Item * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Item * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector<ngwt__Item * >*);
-SOAP_FMAC5 std::vector<ngwt__Item * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress (443)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const std::vector<ngwt__ImAddress * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector<ngwt__ImAddress * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const std::vector<ngwt__ImAddress * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const char*, int, const std::vector<ngwt__ImAddress * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ImAddress * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector<ngwt__ImAddress * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__ImAddress * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const char*, std::vector<ngwt__ImAddress * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__ImAddress * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector<ngwt__ImAddress * >*);
-SOAP_FMAC5 std::vector<ngwt__ImAddress * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember (441)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const std::vector<ngwt__GroupMember * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector<ngwt__GroupMember * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const std::vector<ngwt__GroupMember * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const char*, int, const std::vector<ngwt__GroupMember * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__GroupMember * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector<ngwt__GroupMember * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__GroupMember * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const char*, std::vector<ngwt__GroupMember * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__GroupMember * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector<ngwt__GroupMember * >*);
-SOAP_FMAC5 std::vector<ngwt__GroupMember * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo (438)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const std::vector<ngwt__FreeBusyInfo * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector<ngwt__FreeBusyInfo * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const std::vector<ngwt__FreeBusyInfo * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const char*, int, const std::vector<ngwt__FreeBusyInfo * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FreeBusyInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector<ngwt__FreeBusyInfo * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FreeBusyInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const char*, std::vector<ngwt__FreeBusyInfo * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__FreeBusyInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector<ngwt__FreeBusyInfo * >*);
-SOAP_FMAC5 std::vector<ngwt__FreeBusyInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail (436)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const std::vector<ngwt__NameAndEmail * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector<ngwt__NameAndEmail * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const std::vector<ngwt__NameAndEmail * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const char*, int, const std::vector<ngwt__NameAndEmail * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__NameAndEmail * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector<ngwt__NameAndEmail * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__NameAndEmail * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const char*, std::vector<ngwt__NameAndEmail * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__NameAndEmail * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector<ngwt__NameAndEmail * >*);
-SOAP_FMAC5 std::vector<ngwt__NameAndEmail * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock (433)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const std::vector<ngwt__FreeBusyBlock * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector<ngwt__FreeBusyBlock * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const std::vector<ngwt__FreeBusyBlock * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const char*, int, const std::vector<ngwt__FreeBusyBlock * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FreeBusyBlock * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector<ngwt__FreeBusyBlock * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FreeBusyBlock * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const char*, std::vector<ngwt__FreeBusyBlock * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__FreeBusyBlock * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector<ngwt__FreeBusyBlock * >*);
-SOAP_FMAC5 std::vector<ngwt__FreeBusyBlock * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder (431)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const std::vector<ngwt__Folder * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector<ngwt__Folder * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const std::vector<ngwt__Folder * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const char*, int, const std::vector<ngwt__Folder * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Folder * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector<ngwt__Folder * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Folder * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const char*, std::vector<ngwt__Folder * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Folder * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector<ngwt__Folder * >*);
-SOAP_FMAC5 std::vector<ngwt__Folder * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry (429)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const std::vector<ngwt__FolderACLEntry * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector<ngwt__FolderACLEntry * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const std::vector<ngwt__FolderACLEntry * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const char*, int, const std::vector<ngwt__FolderACLEntry * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FolderACLEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector<ngwt__FolderACLEntry * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__FolderACLEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const char*, std::vector<ngwt__FolderACLEntry * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__FolderACLEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector<ngwt__FolderACLEntry * >*);
-SOAP_FMAC5 std::vector<ngwt__FolderACLEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfstd__string
-#define SOAP_TYPE_std__vectorTemplateOfstd__string (426)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstd__string(struct soap*, const std::vector<std::string >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstd__string(struct soap*, std::vector<std::string >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstd__string(struct soap*, const std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstd__string(struct soap*, const char*, int, const std::vector<std::string >*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfstd__string(struct soap*, std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfstd__string(struct soap*, const char*, std::vector<std::string >*, const char*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfstd__string(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstd__string(struct soap*, std::vector<std::string >*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstd__string(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstd__string(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType (425)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const std::vector<ngwt__DocumentType * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector<ngwt__DocumentType * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const std::vector<ngwt__DocumentType * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const char*, int, const std::vector<ngwt__DocumentType * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DocumentType * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector<ngwt__DocumentType * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DocumentType * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const char*, std::vector<ngwt__DocumentType * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__DocumentType * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector<ngwt__DocumentType * >*);
-SOAP_FMAC5 std::vector<ngwt__DocumentType * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek (418)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const std::vector<ngwt__DayOfYearWeek * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector<ngwt__DayOfYearWeek * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const std::vector<ngwt__DayOfYearWeek * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const char*, int, const std::vector<ngwt__DayOfYearWeek * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DayOfYearWeek * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector<ngwt__DayOfYearWeek * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__DayOfYearWeek * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const char*, std::vector<ngwt__DayOfYearWeek * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__DayOfYearWeek * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector<ngwt__DayOfYearWeek * >*);
-SOAP_FMAC5 std::vector<ngwt__DayOfYearWeek * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear
-#define SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear (416)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const std::vector<short >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector<short >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const std::vector<short >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const char*, int, const std::vector<short >*, const char*);
-SOAP_FMAC3 std::vector<short >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector<short >*, const char*, const char*);
-SOAP_FMAC3 std::vector<short >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const char*, std::vector<short >*, const char*);
-SOAP_FMAC5 std::vector<short > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector<short >*);
-SOAP_FMAC5 std::vector<short > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth
-#define SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth (415)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const std::vector<char >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector<char >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const std::vector<char >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const char*, int, const std::vector<char >*, const char*);
-SOAP_FMAC3 std::vector<char >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector<char >*, const char*, const char*);
-SOAP_FMAC3 std::vector<char >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const char*, std::vector<char >*, const char*);
-SOAP_FMAC5 std::vector<char > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector<char >*);
-SOAP_FMAC5 std::vector<char > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom (414)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const std::vector<ngwt__Custom * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector<ngwt__Custom * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const std::vector<ngwt__Custom * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const char*, int, const std::vector<ngwt__Custom * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Custom * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector<ngwt__Custom * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Custom * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const char*, std::vector<ngwt__Custom * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Custom * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector<ngwt__Custom * >*);
-SOAP_FMAC5 std::vector<ngwt__Custom * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__uid
-#define SOAP_TYPE_std__vectorTemplateOfngwt__uid (410)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__uid(struct soap*, const std::vector<std::string >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__uid(struct soap*, std::vector<std::string >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__uid(struct soap*, const std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__uid(struct soap*, const char*, int, const std::vector<std::string >*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__uid(struct soap*, std::vector<std::string >*, const char*, const char*);
-SOAP_FMAC3 std::vector<std::string >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__uid(struct soap*, const char*, std::vector<std::string >*, const char*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__uid(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__uid(struct soap*, std::vector<std::string >*);
-SOAP_FMAC5 std::vector<std::string > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__uid(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__uid(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category (409)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const std::vector<ngwt__Category * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector<ngwt__Category * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const std::vector<ngwt__Category * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const char*, int, const std::vector<ngwt__Category * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Category * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector<ngwt__Category * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__Category * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const char*, std::vector<ngwt__Category * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__Category * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector<ngwt__Category * >*);
-SOAP_FMAC5 std::vector<ngwt__Category * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags
-#define SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags (407)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const std::vector<enum ngwt__CalendarFolderFlags >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector<enum ngwt__CalendarFolderFlags >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const std::vector<enum ngwt__CalendarFolderFlags >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const char*, int, const std::vector<enum ngwt__CalendarFolderFlags >*, const char*);
-SOAP_FMAC3 std::vector<enum ngwt__CalendarFolderFlags >* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector<enum ngwt__CalendarFolderFlags >*, const char*, const char*);
-SOAP_FMAC3 std::vector<enum ngwt__CalendarFolderFlags >* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const char*, std::vector<enum ngwt__CalendarFolderFlags >*, const char*);
-SOAP_FMAC5 std::vector<enum ngwt__CalendarFolderFlags > * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector<enum ngwt__CalendarFolderFlags >*);
-SOAP_FMAC5 std::vector<enum ngwt__CalendarFolderFlags > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo (400)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const std::vector<ngwt__AttachmentItemInfo * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector<ngwt__AttachmentItemInfo * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const std::vector<ngwt__AttachmentItemInfo * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const char*, int, const std::vector<ngwt__AttachmentItemInfo * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AttachmentItemInfo * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector<ngwt__AttachmentItemInfo * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AttachmentItemInfo * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const char*, std::vector<ngwt__AttachmentItemInfo * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__AttachmentItemInfo * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector<ngwt__AttachmentItemInfo * >*);
-SOAP_FMAC5 std::vector<ngwt__AttachmentItemInfo * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook (398)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const std::vector<ngwt__AddressBook * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector<ngwt__AddressBook * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const std::vector<ngwt__AddressBook * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const char*, int, const std::vector<ngwt__AddressBook * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AddressBook * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector<ngwt__AddressBook * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AddressBook * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const char*, std::vector<ngwt__AddressBook * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__AddressBook * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector<ngwt__AddressBook * >*);
-SOAP_FMAC5 std::vector<ngwt__AddressBook * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry (396)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const std::vector<ngwt__AccessRightEntry * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector<ngwt__AccessRightEntry * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const std::vector<ngwt__AccessRightEntry * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const char*, int, const std::vector<ngwt__AccessRightEntry * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AccessRightEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector<ngwt__AccessRightEntry * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AccessRightEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const char*, std::vector<ngwt__AccessRightEntry * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__AccessRightEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector<ngwt__AccessRightEntry * >*);
-SOAP_FMAC5 std::vector<ngwt__AccessRightEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry
-#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry (392)
-#endif
-SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const std::vector<ngwt__AccessControlListEntry * >*);
-SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector<ngwt__AccessControlListEntry * >*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const std::vector<ngwt__AccessControlListEntry * >*, const char*, const char*);
-SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const char*, int, const std::vector<ngwt__AccessControlListEntry * >*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AccessControlListEntry * >* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector<ngwt__AccessControlListEntry * >*, const char*, const char*);
-SOAP_FMAC3 std::vector<ngwt__AccessControlListEntry * >* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const char*, std::vector<ngwt__AccessControlListEntry * >*, const char*);
-SOAP_FMAC5 std::vector<ngwt__AccessControlListEntry * > * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int);
-SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector<ngwt__AccessControlListEntry * >*);
-SOAP_FMAC5 std::vector<ngwt__AccessControlListEntry * > * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int, const char*, const char*, size_t*);
-SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int, int, void*, const void*, size_t);
-
-#endif
-
-/* End of soapH.h */
diff --git a/kresources/groupwise/soap/soapStub.h b/kresources/groupwise/soap/soapStub.h
deleted file mode 100644
index 5566ba0b..00000000
--- a/kresources/groupwise/soap/soapStub.h
+++ /dev/null
@@ -1,8923 +0,0 @@
-/* soapStub.h
- Generated by gSOAP 2.7.3 from ./groupwise.h
- Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This part of the software is released under one of the following licenses:
- GPL, the gSOAP public license, or Genivia's license for commercial use.
-*/
-#ifndef soapStub_H
-#define soapStub_H
-#include <vector>
-#include "stdsoap2.h"
-
-/******************************************************************************\
- * *
- * Enumerations *
- * *
-\******************************************************************************/
-
-
-#ifndef SOAP_TYPE_ngwt__ItemSourceList
-#define SOAP_TYPE_ngwt__ItemSourceList (336)
-/* Bimask ngwt:ItemSourceList */
-enum ngwt__ItemSourceList {received = 1, sent = 2, draft = 4, personal = 8};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MessageTypeList
-#define SOAP_TYPE_ngwt__MessageTypeList (337)
-/* Bimask ngwt:MessageTypeList */
-enum ngwt__MessageTypeList {Appointment = 1, CalendarItem = 2, DocumentReference = 4, Mail = 8, Note = 16, PhoneMessage = 32, Task = 64};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__FieldList
-#define SOAP_TYPE_ngwe__FieldList (339)
-/* Bimask ngwe:FieldList */
-enum ngwe__FieldList {AcceptLevel = 1, Alarm = 2, AllDayEvent = 4, Attachment = 8, Category = 16, Classification = 32, Contact = 64, DueDate = 128, Duration = 256, EmailAddress = 512, ExpirationDate = 1024, Hidden = 2048, IMAddress = 4096, MessageBody = 8192, Name = 16384, Organization = 32768, Owner = 65536, PersonalSubject = 131072, PhoneNumber = 262144, Place = 524288, PostalAddress = 1048576, RecipientStatus = 2097152, Rights = 4194304, Security = 8388608, SendPriority = 16777216, StartDate = 33554432, Subject = 67108864, TaskCategory = 134217728, TaskPriority = 268435456};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__ItemTypeList
-#define SOAP_TYPE_ngwe__ItemTypeList (340)
-/* Bimask ngwe:ItemTypeList */
-enum ngwe__ItemTypeList {AddressBookItem = 1, Appointment_ = 2, CalendarItem_ = 4, Contact_ = 8, Group = 16, Mail_ = 32, Note_ = 64, Organization_ = 128, PhoneMessage_ = 256, Resource = 512, Task_ = 1024, DocumentRef = 2048};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AcceptLevel
-#define SOAP_TYPE_ngwt__AcceptLevel (341)
-/* ngwt:AcceptLevel */
-enum ngwt__AcceptLevel {Free = 0, Tentative = 1, Busy = 2, OutOfOffice = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AgeAction
-#define SOAP_TYPE_ngwt__AgeAction (342)
-/* ngwt:AgeAction */
-enum ngwt__AgeAction {archive = 0, delete__ = 1, retain = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AppointmentConflict
-#define SOAP_TYPE_ngwt__AppointmentConflict (343)
-/* ngwt:AppointmentConflict */
-enum ngwt__AppointmentConflict {Yes = 0, No = 1, Ignore = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CalendarFolderFlags
-#define SOAP_TYPE_ngwt__CalendarFolderFlags (344)
-/* ngwt:CalendarFolderFlags */
-enum ngwt__CalendarFolderFlags {ShowInList = 0, DontIncludeContent = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CategoryType
-#define SOAP_TYPE_ngwt__CategoryType (345)
-/* ngwt:CategoryType */
-enum ngwt__CategoryType {Normal = 0, Personal = 1, FollowUp = 2, Urgent = 3, LowPriority = 4};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ContactType
-#define SOAP_TYPE_ngwt__ContactType (346)
-/* ngwt:ContactType */
-enum ngwt__ContactType {Contact__ = 0, Group_ = 1, Resource_ = 2, Organization__ = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CursorSeek
-#define SOAP_TYPE_ngwt__CursorSeek (347)
-/* ngwt:CursorSeek */
-enum ngwt__CursorSeek {current = 0, start = 1, end = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CustomType
-#define SOAP_TYPE_ngwt__CustomType (348)
-/* ngwt:CustomType */
-enum ngwt__CustomType {String = 0, Numeric = 1, Date = 2, Binary = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DeltaSyncType
-#define SOAP_TYPE_ngwt__DeltaSyncType (353)
-/* ngwt:DeltaSyncType */
-enum ngwt__DeltaSyncType {add = 0, delete_ = 1, update = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DistributionType
-#define SOAP_TYPE_ngwt__DistributionType (354)
-/* ngwt:DistributionType */
-enum ngwt__DistributionType {TO = 0, CC = 1, BC = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Execution
-#define SOAP_TYPE_ngwt__Execution (355)
-/* ngwt:Execution */
-enum ngwt__Execution {Startup = 0, Exit = 1, New = 2, FolderOpen = 3, FolderClose = 4, FolderNew = 5, User = 6};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FilterDate
-#define SOAP_TYPE_ngwt__FilterDate (356)
-/* ngwt:FilterDate */
-enum ngwt__FilterDate {Today = 0, Tomorrow = 1, ThisMonth = 2, ThisWeek = 3, ThisYear = 4, Yesterday = 5};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FilterOp
-#define SOAP_TYPE_ngwt__FilterOp (357)
-/* ngwt:FilterOp */
-enum ngwt__FilterOp {and_ = 0, or_ = 1, not_ = 2, eq = 3, ne = 4, gt = 5, lt = 6, gte = 7, lte = 8, contains = 9, containsWord = 10, begins = 11, exists = 12, notExist = 13, isOf = 14, isNotOf = 15, fieldEqual = 16, fieldGTE = 17, fieldGT = 18, fieldLTE = 19, fieldLT = 20, fieldNE = 21, fieldDateEqual = 22};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FolderACLStatus
-#define SOAP_TYPE_ngwt__FolderACLStatus (358)
-/* ngwt:FolderACLStatus */
-enum ngwt__FolderACLStatus {pending = 0, accepted = 1, deleted = 2, opened = 3, owner = 4};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FolderType
-#define SOAP_TYPE_ngwt__FolderType (359)
-/* ngwt:FolderType */
-enum ngwt__FolderType {Mailbox = 0, SentItems = 1, Draft = 2, Trash = 3, Calendar = 4, Contacts = 5, Documents = 6, Checklist = 7, Cabinet = 8, Normal_ = 9, NNTPServer = 10, NNTPNewsGroup = 11, IMAP = 12, Query = 13, Root = 14, JunkMail = 15, Notes = 16};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Frequency
-#define SOAP_TYPE_ngwt__Frequency (360)
-/* ngwt:Frequency */
-enum ngwt__Frequency {Daily = 0, Weekly = 1, Monthly = 2, Yearly = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemClass
-#define SOAP_TYPE_ngwt__ItemClass (363)
-/* ngwt:ItemClass */
-enum ngwt__ItemClass {Public = 0, Private = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemOptionsPriority
-#define SOAP_TYPE_ngwt__ItemOptionsPriority (364)
-/* ngwt:ItemOptionsPriority */
-enum ngwt__ItemOptionsPriority {High = 0, Standard = 1, Low = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemSecurity
-#define SOAP_TYPE_ngwt__ItemSecurity (365)
-/* ngwt:ItemSecurity */
-enum ngwt__ItemSecurity {Normal__ = 0, Proprietary = 1, Confidential = 2, Secret = 3, TopSecret = 4, ForYourEyesOnly = 5};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemSource
-#define SOAP_TYPE_ngwt__ItemSource (366)
-/* ngwt:ItemSource */
-enum ngwt__ItemSource {received_ = 0, sent_ = 1, draft_ = 2, personal_ = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__JunkHandlingListType
-#define SOAP_TYPE_ngwt__JunkHandlingListType (367)
-/* ngwt:JunkHandlingListType */
-enum ngwt__JunkHandlingListType {junk = 0, block = 1, trust = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__JunkMatchType
-#define SOAP_TYPE_ngwt__JunkMatchType (368)
-/* ngwt:JunkMatchType */
-enum ngwt__JunkMatchType {email = 0, domain = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__LinkType
-#define SOAP_TYPE_ngwt__LinkType (369)
-/* ngwt:LinkType */
-enum ngwt__LinkType {forward = 0, reply = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MessageList
-#define SOAP_TYPE_ngwt__MessageList (370)
-/* ngwt:MessageList */
-enum ngwt__MessageList {All = 0, Modified = 1, New_ = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MessageType
-#define SOAP_TYPE_ngwt__MessageType (371)
-/* ngwt:MessageType */
-enum ngwt__MessageType {Appointment__ = 0, CalendarItem__ = 1, DocumentReference_ = 2, Mail__ = 3, Note__ = 4, PhoneMessage__ = 5, Task__ = 6};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__NotificationType
-#define SOAP_TYPE_ngwt__NotificationType (374)
-/* ngwt:NotificationType */
-enum ngwt__NotificationType {SharedAddressBook = 0, SharedFolder = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__OccurrenceType
-#define SOAP_TYPE_ngwt__OccurrenceType (375)
-/* ngwt:OccurrenceType */
-enum ngwt__OccurrenceType {First = 0, Second = 1, Third = 2, Fourth = 3, Fifth = 4, Last = 5};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PhoneNumberType
-#define SOAP_TYPE_ngwt__PhoneNumberType (376)
-/* ngwt:PhoneNumberType */
-enum ngwt__PhoneNumberType {Fax = 0, Home = 1, Mobile = 2, Office = 3, Pager = 4};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PostalAddressType
-#define SOAP_TYPE_ngwt__PostalAddressType (377)
-/* ngwt:PostalAddressType */
-enum ngwt__PostalAddressType {Home_ = 0, Office_ = 1};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RecipientType
-#define SOAP_TYPE_ngwt__RecipientType (378)
-/* ngwt:RecipientType */
-enum ngwt__RecipientType {User_ = 0, Resource__ = 1, PersonalGroup = 2, SystemGroup = 3, PersonalGroupMember = 4, SystemGroupMember = 5};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RetractType
-#define SOAP_TYPE_ngwt__RetractType (379)
-/* ngwt:RetractType */
-enum ngwt__RetractType {myMailbox = 0, recipientMailboxes = 1, allMailboxes = 2};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RuleActionType
-#define SOAP_TYPE_ngwt__RuleActionType (380)
-/* ngwt:RuleActionType */
-enum ngwt__RuleActionType {Accept = 0, Archive = 1, Category_ = 2, Delegate = 3, Delete = 4, Forward = 5, Link = 6, MarkPrivate = 7, MarkRead = 8, MarkUnread = 9, Move = 10, Purge = 11, Reply = 12, Send = 13, StopRules = 14, Unknown = 15};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__StatusTrackingOptions
-#define SOAP_TYPE_ngwt__StatusTrackingOptions (381)
-/* ngwt:StatusTrackingOptions */
-enum ngwt__StatusTrackingOptions {None = 0, Delivered = 1, DeliveredAndOpened = 2, All_ = 3};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__VersionEventType
-#define SOAP_TYPE_ngwt__VersionEventType (384)
-/* ngwt:VersionEventType */
-enum ngwt__VersionEventType {archive_ = 0, checkIn = 1, checkOut = 2, copyIn = 3, copyOut = 4, copyVersion = 5, created = 6, deleteVersion = 7, endAccess = 8, resetStatus = 9, restore = 10, retrieve = 11, securityModified = 12, versionDownloaded = 13, viewed = 14, unknown = 15};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__VersionStatus
-#define SOAP_TYPE_ngwt__VersionStatus (385)
-/* ngwt:VersionStatus */
-enum ngwt__VersionStatus {available = 0, checkedOut = 1, inUse = 2, deleted_ = 3, archived = 4, massInUse = 5, unavailable = 6};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__WeekDay
-#define SOAP_TYPE_ngwt__WeekDay (386)
-/* ngwt:WeekDay */
-enum ngwt__WeekDay {Sunday = 0, Monday = 1, Tuesday = 2, Wednesday = 3, Thursday = 4, Friday = 5, Saturday = 6};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__EventType
-#define SOAP_TYPE_ngwe__EventType (388)
-/* ngwe:EventType */
-enum ngwe__EventType {AddressBookAdd = 0, AddressBookDelete = 1, AddressBookModify = 2, AddressBookItemAdd = 3, AddressBookItemDelete = 4, AddressBookItemModify = 5, FolderAccept = 6, FolderAdd = 7, FolderDelete = 8, FolderItemAdd = 9, FolderItemDelete = 10, FolderItemMove = 11, FolderModify = 12, ItemAccept = 13, ItemArchive = 14, ItemComplete = 15, ItemDecline = 16, ItemDelete = 17, ItemMarkPrivate = 18, ItemMarkRead = 19, ItemMarkUnread = 20, ItemModify = 21, ItemPurge = 22, ItemUnarchive = 23, ItemUndelete = 24, Login = 25, Logout = 26, ProxyAccessAdd = 27, ProxyAccessModify = 28, ProxyAccessDelete = 29, ProxyLogin = 30, SessionTimedOut = 31, TrustedApplicationLogin = 32, ItemMarkUnprivate = 33, ItemUnaccept = 34, ItemUncomplete = 35, PersonalGroupItemAdd = 36, PersonalGroupItemDelete = 37};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__Field
-#define SOAP_TYPE_ngwe__Field (389)
-/* ngwe:Field */
-enum ngwe__Field {AcceptLevel_ = 0, Alarm_ = 1, AllDayEvent_ = 2, Attachment_ = 3, Category__ = 4, Classification_ = 5, Contact___ = 6, DueDate_ = 7, Duration_ = 8, EmailAddress_ = 9, ExpirationDate_ = 10, Hidden_ = 11, IMAddress_ = 12, MessageBody_ = 13, Name_ = 14, Organization___ = 15, Owner_ = 16, PersonalSubject_ = 17, PhoneNumber_ = 18, Place_ = 19, PostalAddress_ = 20, RecipientStatus_ = 21, Rights_ = 22, Security_ = 23, SendPriority_ = 24, StartDate_ = 25, Subject_ = 26, TaskCategory_ = 27, TaskPriority_ = 28};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__ItemType
-#define SOAP_TYPE_ngwe__ItemType (390)
-/* ngwe:ItemType */
-enum ngwe__ItemType {AddressBookItem_ = 0, Appointment___ = 1, CalendarItem___ = 2, Contact____ = 3, Group__ = 4, Mail___ = 5, Note___ = 6, Organization____ = 7, PhoneMessage___ = 8, Resource___ = 9, Task___ = 10, DocumentRef_ = 11};
-#endif
-
-/******************************************************************************\
- * *
- * Classes and Structs *
- * *
-\******************************************************************************/
-
-
-
-
-#ifndef SOAP_TYPE_xsd__base64Binary
-#define SOAP_TYPE_xsd__base64Binary (7)
-/* Base64 schema type: */
-class SOAP_CMAC xsd__base64Binary
-{
-public:
- unsigned char *__ptr;
- int __size;
- char *id; /* optional element of type xsd:string */
- char *type; /* optional element of type xsd:string */
- char *option; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 7; } /* = unique id SOAP_TYPE_xsd__base64Binary */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- xsd__base64Binary() { }
- virtual ~xsd__base64Binary() { }
-};
-#endif
-
-#if 0 /* volatile type: do no redeclare */
-
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessControlList
-#define SOAP_TYPE_ngwt__AccessControlList (19)
-/* ngwt:AccessControlList */
-class SOAP_CMAC ngwt__AccessControlList
-{
-public:
- std::vector<class ngwt__AccessControlListEntry * >entry; /* optional element of type ngwt:AccessControlListEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 19; } /* = unique id SOAP_TYPE_ngwt__AccessControlList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessControlList() { }
- virtual ~ngwt__AccessControlList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessMiscRight
-#define SOAP_TYPE_ngwt__AccessMiscRight (20)
-/* ngwt:AccessMiscRight */
-class SOAP_CMAC ngwt__AccessMiscRight
-{
-public:
- bool *alarms; /* optional element of type xsd:boolean */
- bool *notify; /* optional element of type xsd:boolean */
- bool *readHidden; /* optional element of type xsd:boolean */
- bool *setup; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 20; } /* = unique id SOAP_TYPE_ngwt__AccessMiscRight */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessMiscRight() { }
- virtual ~ngwt__AccessMiscRight() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessRight
-#define SOAP_TYPE_ngwt__AccessRight (21)
-/* ngwt:AccessRight */
-class SOAP_CMAC ngwt__AccessRight
-{
-public:
- bool *read; /* optional element of type xsd:boolean */
- bool *write; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 21; } /* = unique id SOAP_TYPE_ngwt__AccessRight */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessRight() { }
- virtual ~ngwt__AccessRight() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessRightChanges
-#define SOAP_TYPE_ngwt__AccessRightChanges (22)
-/* ngwt:AccessRightChanges */
-class SOAP_CMAC ngwt__AccessRightChanges
-{
-public:
- class ngwt__AccessRightEntry *add; /* optional element of type ngwt:AccessRightEntry */
- ngwt__AccessRightEntry *_delete; /* optional element of type ngwt:AccessRightEntry */
- ngwt__AccessRightEntry *update; /* optional element of type ngwt:AccessRightEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 22; } /* = unique id SOAP_TYPE_ngwt__AccessRightChanges */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessRightChanges() { }
- virtual ~ngwt__AccessRightChanges() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessRightList
-#define SOAP_TYPE_ngwt__AccessRightList (24)
-/* ngwt:AccessRightList */
-class SOAP_CMAC ngwt__AccessRightList
-{
-public:
- std::vector<ngwt__AccessRightEntry * >entry; /* optional element of type ngwt:AccessRightEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 24; } /* = unique id SOAP_TYPE_ngwt__AccessRightList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessRightList() { }
- virtual ~ngwt__AccessRightList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AddressBookList
-#define SOAP_TYPE_ngwt__AddressBookList (27)
-/* ngwt:AddressBookList */
-class SOAP_CMAC ngwt__AddressBookList
-{
-public:
- std::vector<class ngwt__AddressBook * >book; /* optional element of type ngwt:AddressBook */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 27; } /* = unique id SOAP_TYPE_ngwt__AddressBookList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AddressBookList() { }
- virtual ~ngwt__AddressBookList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AttachmentInfo
-#define SOAP_TYPE_ngwt__AttachmentInfo (31)
-/* ngwt:AttachmentInfo */
-class SOAP_CMAC ngwt__AttachmentInfo
-{
-public:
- std::vector<class ngwt__AttachmentItemInfo * >attachment; /* required element of type ngwt:AttachmentItemInfo */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 31; } /* = unique id SOAP_TYPE_ngwt__AttachmentInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AttachmentInfo() { }
- virtual ~ngwt__AttachmentInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AttachmentItemInfo
-#define SOAP_TYPE_ngwt__AttachmentItemInfo (32)
-/* ngwt:AttachmentItemInfo */
-class SOAP_CMAC ngwt__AttachmentItemInfo
-{
-public:
- class ngwt__AttachmentID *id; /* optional element of type ngwt:AttachmentID */
- std::string *name; /* optional element of type xsd:string */
- std::string *contentId; /* optional element of type xsd:string */
- std::string *contentType; /* optional element of type xsd:string */
- unsigned long *size; /* optional element of type xsd:unsignedLong */
- char *date; /* optional element of type xsd:string */
- xsd__base64Binary *data; /* optional element of type xsd:base64Binary */
- bool *hidden; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 32; } /* = unique id SOAP_TYPE_ngwt__AttachmentItemInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AttachmentItemInfo() { }
- virtual ~ngwt__AttachmentItemInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Authentication
-#define SOAP_TYPE_ngwt__Authentication (33)
-/* ngwt:Authentication */
-class SOAP_CMAC ngwt__Authentication
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 33; } /* = unique id SOAP_TYPE_ngwt__Authentication */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Authentication() { }
- virtual ~ngwt__Authentication() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CalendarFolderAttribute
-#define SOAP_TYPE_ngwt__CalendarFolderAttribute (35)
-/* ngwt:CalendarFolderAttribute */
-class SOAP_CMAC ngwt__CalendarFolderAttribute
-{
-public:
- std::vector<enum ngwt__CalendarFolderFlags >flags; /* sequence of 0 to 2 elements */
- unsigned long *color; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 35; } /* = unique id SOAP_TYPE_ngwt__CalendarFolderAttribute */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CalendarFolderAttribute() { }
- virtual ~ngwt__CalendarFolderAttribute() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CategoryList
-#define SOAP_TYPE_ngwt__CategoryList (38)
-/* ngwt:CategoryList */
-class SOAP_CMAC ngwt__CategoryList
-{
-public:
- std::vector<class ngwt__Category * >category; /* optional element of type ngwt:Category */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 38; } /* = unique id SOAP_TYPE_ngwt__CategoryList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CategoryList() { }
- virtual ~ngwt__CategoryList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CategoryRefList
-#define SOAP_TYPE_ngwt__CategoryRefList (39)
-/* ngwt:CategoryRefList */
-class SOAP_CMAC ngwt__CategoryRefList
-{
-public:
- std::vector<std::string >category; /* optional element of type ngwt:uid */
- std::string *primary; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 39; } /* = unique id SOAP_TYPE_ngwt__CategoryRefList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CategoryRefList() { }
- virtual ~ngwt__CategoryRefList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Custom
-#define SOAP_TYPE_ngwt__Custom (45)
-/* ngwt:Custom */
-class SOAP_CMAC ngwt__Custom
-{
-public:
- std::string field; /* required element of type xsd:string */
-public:
- std::string *value; /* optional element of type xsd:string */
- bool *locked; /* optional element of type xsd:boolean */
- enum ngwt__CustomType *type; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 45; } /* = unique id SOAP_TYPE_ngwt__Custom */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Custom() { }
- virtual ~ngwt__Custom() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CustomList
-#define SOAP_TYPE_ngwt__CustomList (46)
-/* ngwt:CustomList */
-class SOAP_CMAC ngwt__CustomList
-{
-public:
- std::vector<ngwt__Custom * >custom; /* optional element of type ngwt:Custom */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 46; } /* = unique id SOAP_TYPE_ngwt__CustomList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CustomList() { }
- virtual ~ngwt__CustomList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfMonthList
-#define SOAP_TYPE_ngwt__DayOfMonthList (47)
-/* ngwt:DayOfMonthList */
-class SOAP_CMAC ngwt__DayOfMonthList
-{
-public:
- std::vector<char >day; /* optional element of type ngwt:DayOfMonth */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 47; } /* = unique id SOAP_TYPE_ngwt__DayOfMonthList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DayOfMonthList() { }
- virtual ~ngwt__DayOfMonthList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearList
-#define SOAP_TYPE_ngwt__DayOfYearList (49)
-/* ngwt:DayOfYearList */
-class SOAP_CMAC ngwt__DayOfYearList
-{
-public:
- std::vector<short >day; /* optional element of type ngwt:DayOfYear */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 49; } /* = unique id SOAP_TYPE_ngwt__DayOfYearList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DayOfYearList() { }
- virtual ~ngwt__DayOfYearList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearWeekList
-#define SOAP_TYPE_ngwt__DayOfYearWeekList (51)
-/* ngwt:DayOfYearWeekList */
-class SOAP_CMAC ngwt__DayOfYearWeekList
-{
-public:
- std::vector<class ngwt__DayOfYearWeek * >day; /* optional element of type ngwt:DayOfYearWeek */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 51; } /* = unique id SOAP_TYPE_ngwt__DayOfYearWeekList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DayOfYearWeekList() { }
- virtual ~ngwt__DayOfYearWeekList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DeltaInfo
-#define SOAP_TYPE_ngwt__DeltaInfo (54)
-/* ngwt:DeltaInfo */
-class SOAP_CMAC ngwt__DeltaInfo
-{
-public:
- int *count; /* optional element of type xsd:int */
- unsigned long *firstSequence; /* optional element of type xsd:unsignedLong */
- unsigned long *lastSequence; /* optional element of type xsd:unsignedLong */
- unsigned long lastTimePORebuild; /* required element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 54; } /* = unique id SOAP_TYPE_ngwt__DeltaInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DeltaInfo() { }
- virtual ~ngwt__DeltaInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Distribution
-#define SOAP_TYPE_ngwt__Distribution (55)
-/* ngwt:Distribution */
-class SOAP_CMAC ngwt__Distribution
-{
-public:
- class ngwt__From *from; /* optional element of type ngwt:From */
- std::string *to; /* optional element of type xsd:string */
- std::string *cc; /* optional element of type xsd:string */
- std::string *bc; /* optional element of type xsd:string */
- class ngwt__RecipientList *recipients; /* optional element of type ngwt:RecipientList */
- class ngwt__SendOptions *sendoptions; /* optional element of type ngwt:SendOptions */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 55; } /* = unique id SOAP_TYPE_ngwt__Distribution */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Distribution() { }
- virtual ~ngwt__Distribution() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DocumentType
-#define SOAP_TYPE_ngwt__DocumentType (58)
-/* ngwt:DocumentType */
-class SOAP_CMAC ngwt__DocumentType
-{
-public:
- std::string name; /* required element of type xsd:string */
-public:
- unsigned long *life; /* optional element of type xsd:unsignedLong */
- unsigned long *maximumVersions; /* optional element of type xsd:unsignedLong */
- enum ngwt__AgeAction *ageAction; /* optional element of type ngwt:AgeAction */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 58; } /* = unique id SOAP_TYPE_ngwt__DocumentType */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DocumentType() { }
- virtual ~ngwt__DocumentType() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DocumentTypeList
-#define SOAP_TYPE_ngwt__DocumentTypeList (59)
-/* ngwt:DocumentTypeList */
-class SOAP_CMAC ngwt__DocumentTypeList
-{
-public:
- std::vector<ngwt__DocumentType * >item; /* optional element of type ngwt:DocumentType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 59; } /* = unique id SOAP_TYPE_ngwt__DocumentTypeList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DocumentTypeList() { }
- virtual ~ngwt__DocumentTypeList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__EmailAddressList
-#define SOAP_TYPE_ngwt__EmailAddressList (60)
-/* ngwt:EmailAddressList */
-class SOAP_CMAC ngwt__EmailAddressList
-{
-public:
- std::vector<std::string >email; /* optional element of type xsd:string */
- std::string *primary; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 60; } /* = unique id SOAP_TYPE_ngwt__EmailAddressList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__EmailAddressList() { }
- virtual ~ngwt__EmailAddressList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Filter
-#define SOAP_TYPE_ngwt__Filter (61)
-/* ngwt:Filter */
-class SOAP_CMAC ngwt__Filter
-{
-public:
- class ngwt__FilterElement *element; /* optional element of type ngwt:FilterElement */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 61; } /* = unique id SOAP_TYPE_ngwt__Filter */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Filter() { }
- virtual ~ngwt__Filter() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FilterElement
-#define SOAP_TYPE_ngwt__FilterElement (62)
-/* ngwt:FilterElement */
-class SOAP_CMAC ngwt__FilterElement
-{
-public:
- enum ngwt__FilterOp op; /* required element of type ngwt:FilterOp */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 62; } /* = unique id SOAP_TYPE_ngwt__FilterElement */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FilterElement() { }
- virtual ~ngwt__FilterElement() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FolderACL
-#define SOAP_TYPE_ngwt__FolderACL (66)
-/* ngwt:FolderACL */
-class SOAP_CMAC ngwt__FolderACL
-{
-public:
- std::vector<class ngwt__FolderACLEntry * >entry; /* optional element of type ngwt:FolderACLEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 66; } /* = unique id SOAP_TYPE_ngwt__FolderACL */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FolderACL() { }
- virtual ~ngwt__FolderACL() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FolderList
-#define SOAP_TYPE_ngwt__FolderList (68)
-/* ngwt:FolderList */
-class SOAP_CMAC ngwt__FolderList
-{
-public:
- std::vector<class ngwt__Folder * >folder; /* optional element of type ngwt:Folder */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 68; } /* = unique id SOAP_TYPE_ngwt__FolderList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FolderList() { }
- virtual ~ngwt__FolderList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyBlockList
-#define SOAP_TYPE_ngwt__FreeBusyBlockList (69)
-/* ngwt:FreeBusyBlockList */
-class SOAP_CMAC ngwt__FreeBusyBlockList
-{
-public:
- std::vector<class ngwt__FreeBusyBlock * >block; /* optional element of type ngwt:FreeBusyBlock */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 69; } /* = unique id SOAP_TYPE_ngwt__FreeBusyBlockList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyBlockList() { }
- virtual ~ngwt__FreeBusyBlockList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyBlock
-#define SOAP_TYPE_ngwt__FreeBusyBlock (70)
-/* ngwt:FreeBusyBlock */
-class SOAP_CMAC ngwt__FreeBusyBlock
-{
-public:
- char *startDate; /* required element of type xsd:string */
- char *endDate; /* required element of type xsd:string */
- enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */
- std::string *subject; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 70; } /* = unique id SOAP_TYPE_ngwt__FreeBusyBlock */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyBlock() { }
- virtual ~ngwt__FreeBusyBlock() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyUserList
-#define SOAP_TYPE_ngwt__FreeBusyUserList (72)
-/* ngwt:FreeBusyUserList */
-class SOAP_CMAC ngwt__FreeBusyUserList
-{
-public:
- std::vector<class ngwt__NameAndEmail * >user; /* optional element of type ngwt:NameAndEmail */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 72; } /* = unique id SOAP_TYPE_ngwt__FreeBusyUserList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyUserList() { }
- virtual ~ngwt__FreeBusyUserList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyInfoList
-#define SOAP_TYPE_ngwt__FreeBusyInfoList (73)
-/* ngwt:FreeBusyInfoList */
-class SOAP_CMAC ngwt__FreeBusyInfoList
-{
-public:
- std::vector<class ngwt__FreeBusyInfo * >user; /* optional element of type ngwt:FreeBusyInfo */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 73; } /* = unique id SOAP_TYPE_ngwt__FreeBusyInfoList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyInfoList() { }
- virtual ~ngwt__FreeBusyInfoList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyStats
-#define SOAP_TYPE_ngwt__FreeBusyStats (74)
-/* ngwt:FreeBusyStats */
-class SOAP_CMAC ngwt__FreeBusyStats
-{
-public:
- int responded; /* required element of type xsd:int */
- int outstanding; /* required element of type xsd:int */
- int total; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 74; } /* = unique id SOAP_TYPE_ngwt__FreeBusyStats */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyStats() { }
- virtual ~ngwt__FreeBusyStats() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FullName
-#define SOAP_TYPE_ngwt__FullName (76)
-/* ngwt:FullName */
-class SOAP_CMAC ngwt__FullName
-{
-public:
- std::string *displayName; /* optional element of type xsd:string */
- std::string *namePrefix; /* optional element of type xsd:string */
- std::string *firstName; /* optional element of type xsd:string */
- std::string *middleName; /* optional element of type xsd:string */
- std::string *lastName; /* optional element of type xsd:string */
- std::string *nameSuffix; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 76; } /* = unique id SOAP_TYPE_ngwt__FullName */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FullName() { }
- virtual ~ngwt__FullName() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__GroupMember
-#define SOAP_TYPE_ngwt__GroupMember (78)
-/* ngwt:GroupMember */
-class SOAP_CMAC ngwt__GroupMember
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *name; /* optional element of type xsd:string */
- std::string email; /* required element of type xsd:string */
-public:
- enum ngwt__DistributionType distType; /* optional element of type ngwt:DistributionType */
- enum ngwt__ContactType itemType; /* optional element of type ngwt:ContactType */
- class ngwt__GroupMemberList *members; /* optional element of type ngwt:GroupMemberList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 78; } /* = unique id SOAP_TYPE_ngwt__GroupMember */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__GroupMember() { }
- virtual ~ngwt__GroupMember() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__GroupMemberList
-#define SOAP_TYPE_ngwt__GroupMemberList (79)
-/* ngwt:GroupMemberList */
-class SOAP_CMAC ngwt__GroupMemberList
-{
-public:
- std::vector<ngwt__GroupMember * >member; /* optional element of type ngwt:GroupMember */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 79; } /* = unique id SOAP_TYPE_ngwt__GroupMemberList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__GroupMemberList() { }
- virtual ~ngwt__GroupMemberList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Host
-#define SOAP_TYPE_ngwt__Host (80)
-/* ngwt:Host */
-class SOAP_CMAC ngwt__Host
-{
-public:
- std::string *ipAddress; /* optional element of type xsd:string */
- unsigned long *port; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 80; } /* = unique id SOAP_TYPE_ngwt__Host */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Host() { }
- virtual ~ngwt__Host() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ImAddress
-#define SOAP_TYPE_ngwt__ImAddress (81)
-/* ngwt:ImAddress */
-class SOAP_CMAC ngwt__ImAddress
-{
-public:
- std::string *service; /* optional element of type xsd:string */
- std::string *address; /* optional element of type xsd:string */
- std::string *type; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 81; } /* = unique id SOAP_TYPE_ngwt__ImAddress */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ImAddress() { }
- virtual ~ngwt__ImAddress() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ImAddressList
-#define SOAP_TYPE_ngwt__ImAddressList (82)
-/* ngwt:ImAddressList */
-class SOAP_CMAC ngwt__ImAddressList
-{
-public:
- std::vector<ngwt__ImAddress * >im; /* optional element of type ngwt:ImAddress */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 82; } /* = unique id SOAP_TYPE_ngwt__ImAddressList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ImAddressList() { }
- virtual ~ngwt__ImAddressList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Item
-#define SOAP_TYPE_ngwt__Item (83)
-/* ngwt:Item */
-class SOAP_CMAC ngwt__Item
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- std::string *name; /* optional element of type xsd:string */
- unsigned long *version; /* optional element of type xsd:unsignedLong */
- char *modified; /* optional element of type xsd:string */
- class ngwt__ItemChanges *changes; /* optional element of type ngwt:ItemChanges */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 83; } /* = unique id SOAP_TYPE_ngwt__Item */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Item() { }
- virtual ~ngwt__Item() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemChanges
-#define SOAP_TYPE_ngwt__ItemChanges (84)
-/* ngwt:ItemChanges */
-class SOAP_CMAC ngwt__ItemChanges
-{
-public:
- ngwt__Item *add; /* optional element of type ngwt:Item */
- ngwt__Item *_delete; /* optional element of type ngwt:Item */
- ngwt__Item *update; /* optional element of type ngwt:Item */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 84; } /* = unique id SOAP_TYPE_ngwt__ItemChanges */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemChanges() { }
- virtual ~ngwt__ItemChanges() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemList
-#define SOAP_TYPE_ngwt__ItemList (85)
-/* ngwt:ItemList */
-class SOAP_CMAC ngwt__ItemList
-{
-public:
- std::vector<ngwt__Item * >item; /* optional element of type ngwt:Item */
- int *offset; /* optional attribute */
- int *count; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 85; } /* = unique id SOAP_TYPE_ngwt__ItemList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemList() { }
- virtual ~ngwt__ItemList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemOptions
-#define SOAP_TYPE_ngwt__ItemOptions (86)
-/* ngwt:ItemOptions */
-class SOAP_CMAC ngwt__ItemOptions
-{
-public:
- enum ngwt__ItemOptionsPriority priority; /* optional element of type ngwt:ItemOptionsPriority */
- char *expires; /* optional element of type xsd:string */
- char *delayDeliveryUntil; /* optional element of type xsd:string */
- bool *concealSubject; /* optional element of type xsd:boolean */
- bool *hidden; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 86; } /* = unique id SOAP_TYPE_ngwt__ItemOptions */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemOptions() { }
- virtual ~ngwt__ItemOptions() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemRefList
-#define SOAP_TYPE_ngwt__ItemRefList (88)
-/* ngwt:ItemRefList */
-class SOAP_CMAC ngwt__ItemRefList
-{
-public:
- std::vector<std::string >item; /* required element of type ngwt:uid */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 88; } /* = unique id SOAP_TYPE_ngwt__ItemRefList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemRefList() { }
- virtual ~ngwt__ItemRefList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Items
-#define SOAP_TYPE_ngwt__Items (89)
-/* ngwt:Items */
-class SOAP_CMAC ngwt__Items
-{
-public:
- std::vector<ngwt__Item * >item; /* optional element of type ngwt:Item */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 89; } /* = unique id SOAP_TYPE_ngwt__Items */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Items() { }
- virtual ~ngwt__Items() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemStatus
-#define SOAP_TYPE_ngwt__ItemStatus (90)
-/* ngwt:ItemStatus */
-class SOAP_CMAC ngwt__ItemStatus
-{
-public:
- bool *accepted; /* optional element of type xsd:boolean */
- bool *completed; /* optional element of type xsd:boolean */
- bool *delegated; /* optional element of type xsd:boolean */
- bool *deleted; /* optional element of type xsd:boolean */
- bool *forwarded; /* optional element of type xsd:boolean */
- bool *private_; /* optional element of type xsd:boolean */
- bool *opened; /* optional element of type xsd:boolean */
- bool *read; /* optional element of type xsd:boolean */
- bool *replied; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 90; } /* = unique id SOAP_TYPE_ngwt__ItemStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemStatus() { }
- virtual ~ngwt__ItemStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__JunkEntry
-#define SOAP_TYPE_ngwt__JunkEntry (91)
-/* ngwt:JunkEntry */
-class SOAP_CMAC ngwt__JunkEntry
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- std::string match; /* required element of type xsd:string */
-public:
- enum ngwt__JunkMatchType matchType; /* required element of type ngwt:JunkMatchType */
- enum ngwt__JunkHandlingListType *listType; /* optional element of type ngwt:JunkHandlingListType */
- int *useCount; /* optional element of type xsd:int */
- char *lastUsed; /* optional element of type xsd:string */
- unsigned long *version; /* optional element of type xsd:unsignedLong */
- char *modified; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 91; } /* = unique id SOAP_TYPE_ngwt__JunkEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__JunkEntry() { }
- virtual ~ngwt__JunkEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__JunkHandlingList
-#define SOAP_TYPE_ngwt__JunkHandlingList (92)
-/* ngwt:JunkHandlingList */
-class SOAP_CMAC ngwt__JunkHandlingList
-{
-public:
- std::vector<ngwt__JunkEntry * >entry; /* optional element of type ngwt:JunkEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 92; } /* = unique id SOAP_TYPE_ngwt__JunkHandlingList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__JunkHandlingList() { }
- virtual ~ngwt__JunkHandlingList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__LibraryList
-#define SOAP_TYPE_ngwt__LibraryList (94)
-/* ngwt:LibraryList */
-class SOAP_CMAC ngwt__LibraryList
-{
-public:
- std::vector<class ngwt__Library * >library; /* optional element of type ngwt:Library */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 94; } /* = unique id SOAP_TYPE_ngwt__LibraryList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__LibraryList() { }
- virtual ~ngwt__LibraryList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__LinkInfo
-#define SOAP_TYPE_ngwt__LinkInfo (95)
-/* ngwt:LinkInfo */
-class SOAP_CMAC ngwt__LinkInfo
-{
-public:
- std::string id; /* required element of type xsd:string */
-public:
- enum ngwt__LinkType type; /* required element of type ngwt:LinkType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 95; } /* = unique id SOAP_TYPE_ngwt__LinkInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__LinkInfo() { }
- virtual ~ngwt__LinkInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MessageBody
-#define SOAP_TYPE_ngwt__MessageBody (97)
-/* ngwt:MessageBody */
-class SOAP_CMAC ngwt__MessageBody
-{
-public:
- std::vector<class ngwt__MessagePart * >part; /* required element of type ngwt:MessagePart */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 97; } /* = unique id SOAP_TYPE_ngwt__MessageBody */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__MessageBody() { }
- virtual ~ngwt__MessageBody() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ModifyItem
-#define SOAP_TYPE_ngwt__ModifyItem (99)
-/* ngwt:ModifyItem */
-class SOAP_CMAC ngwt__ModifyItem
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- class ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */
- ngwt__ItemChanges *updates; /* required element of type ngwt:ItemChanges */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 99; } /* = unique id SOAP_TYPE_ngwt__ModifyItem */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ModifyItem() { }
- virtual ~ngwt__ModifyItem() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MonthList
-#define SOAP_TYPE_ngwt__MonthList (100)
-/* ngwt:MonthList */
-class SOAP_CMAC ngwt__MonthList
-{
-public:
- std::vector<unsigned char >month; /* optional element of type ngwt:Month */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 100; } /* = unique id SOAP_TYPE_ngwt__MonthList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__MonthList() { }
- virtual ~ngwt__MonthList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__NameAndEmail
-#define SOAP_TYPE_ngwt__NameAndEmail (101)
-/* ngwt:NameAndEmail */
-class SOAP_CMAC ngwt__NameAndEmail
-{
-public:
- std::string *displayName; /* optional element of type xsd:string */
- std::string *email; /* optional element of type xsd:string */
- std::string *uuid; /* optional element of type ngwt:UUID */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 101; } /* = unique id SOAP_TYPE_ngwt__NameAndEmail */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__NameAndEmail() { }
- virtual ~ngwt__NameAndEmail() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__OfficeInfo
-#define SOAP_TYPE_ngwt__OfficeInfo (103)
-/* ngwt:OfficeInfo */
-class SOAP_CMAC ngwt__OfficeInfo
-{
-public:
- class ngwt__ItemRef *organization; /* optional element of type ngwt:ItemRef */
- std::string *department; /* optional element of type xsd:string */
- std::string *title; /* optional element of type xsd:string */
- std::string *website; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 103; } /* = unique id SOAP_TYPE_ngwt__OfficeInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__OfficeInfo() { }
- virtual ~ngwt__OfficeInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PersonalInfo
-#define SOAP_TYPE_ngwt__PersonalInfo (105)
-/* ngwt:PersonalInfo */
-class SOAP_CMAC ngwt__PersonalInfo
-{
-public:
- std::string *birthday; /* optional element of type xsd:date */
- std::string *website; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 105; } /* = unique id SOAP_TYPE_ngwt__PersonalInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PersonalInfo() { }
- virtual ~ngwt__PersonalInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PhoneFlags
-#define SOAP_TYPE_ngwt__PhoneFlags (106)
-/* ngwt:PhoneFlags */
-class SOAP_CMAC ngwt__PhoneFlags
-{
-public:
- bool *called; /* optional element of type xsd:boolean */
- bool *pleaseCall; /* optional element of type xsd:boolean */
- bool *willCall; /* optional element of type xsd:boolean */
- bool *returnedYourCall; /* optional element of type xsd:boolean */
- bool *wantsToSeeYou; /* optional element of type xsd:boolean */
- bool *cameToSeeYou; /* optional element of type xsd:boolean */
- bool *urgent; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 106; } /* = unique id SOAP_TYPE_ngwt__PhoneFlags */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PhoneFlags() { }
- virtual ~ngwt__PhoneFlags() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PhoneList
-#define SOAP_TYPE_ngwt__PhoneList (107)
-/* ngwt:PhoneList */
-class SOAP_CMAC ngwt__PhoneList
-{
-public:
- std::vector<class ngwt__PhoneNumber * >phone; /* optional element of type ngwt:PhoneNumber */
- std::string *default_; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 107; } /* = unique id SOAP_TYPE_ngwt__PhoneList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PhoneList() { }
- virtual ~ngwt__PhoneList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PostalAddress
-#define SOAP_TYPE_ngwt__PostalAddress (111)
-/* ngwt:PostalAddress */
-class SOAP_CMAC ngwt__PostalAddress
-{
-public:
- std::string *description; /* optional element of type xsd:string */
- std::string *streetAddress; /* optional element of type xsd:string */
- std::string *location; /* optional element of type xsd:string */
- std::string *city; /* optional element of type xsd:string */
- std::string *state; /* optional element of type xsd:string */
- std::string *postalCode; /* optional element of type xsd:string */
- std::string *country; /* optional element of type xsd:string */
- enum ngwt__PostalAddressType type; /* required attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 111; } /* = unique id SOAP_TYPE_ngwt__PostalAddress */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PostalAddress() { }
- virtual ~ngwt__PostalAddress() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PostalAddressList
-#define SOAP_TYPE_ngwt__PostalAddressList (112)
-/* ngwt:PostalAddressList */
-class SOAP_CMAC ngwt__PostalAddressList
-{
-public:
- std::vector<ngwt__PostalAddress * >address; /* optional element of type ngwt:PostalAddress */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 112; } /* = unique id SOAP_TYPE_ngwt__PostalAddressList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PostalAddressList() { }
- virtual ~ngwt__PostalAddressList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ProblemEntry
-#define SOAP_TYPE_ngwt__ProblemEntry (113)
-/* ngwt:ProblemEntry */
-class SOAP_CMAC ngwt__ProblemEntry
-{
-public:
- std::string *element; /* optional element of type xsd:string */
- int *code; /* optional element of type xsd:int */
- std::string *description; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 113; } /* = unique id SOAP_TYPE_ngwt__ProblemEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ProblemEntry() { }
- virtual ~ngwt__ProblemEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ProblemList
-#define SOAP_TYPE_ngwt__ProblemList (114)
-/* ngwt:ProblemList */
-class SOAP_CMAC ngwt__ProblemList
-{
-public:
- std::vector<ngwt__ProblemEntry * >entry; /* optional element of type ngwt:ProblemEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 114; } /* = unique id SOAP_TYPE_ngwt__ProblemList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ProblemList() { }
- virtual ~ngwt__ProblemList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ProxyList
-#define SOAP_TYPE_ngwt__ProxyList (117)
-/* ngwt:ProxyList */
-class SOAP_CMAC ngwt__ProxyList
-{
-public:
- std::vector<class ngwt__ProxyUser * >proxy; /* optional element of type ngwt:ProxyUser */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 117; } /* = unique id SOAP_TYPE_ngwt__ProxyList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ProxyList() { }
- virtual ~ngwt__ProxyList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Query
-#define SOAP_TYPE_ngwt__Query (118)
-/* ngwt:Query */
-class SOAP_CMAC ngwt__Query
-{
-public:
- class ngwt__QueryTarget *target; /* required element of type ngwt:QueryTarget */
- ngwt__Filter *filter; /* required element of type ngwt:Filter */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 118; } /* = unique id SOAP_TYPE_ngwt__Query */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Query() { }
- virtual ~ngwt__Query() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__QueryTarget
-#define SOAP_TYPE_ngwt__QueryTarget (120)
-/* ngwt:QueryTarget */
-class SOAP_CMAC ngwt__QueryTarget
-{
-public:
- std::string *source; /* optional element of type ngwt:uid */
- std::vector<std::string >container; /* optional element of type ngwt:uid */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 120; } /* = unique id SOAP_TYPE_ngwt__QueryTarget */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__QueryTarget() { }
- virtual ~ngwt__QueryTarget() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RecipientList
-#define SOAP_TYPE_ngwt__RecipientList (122)
-/* ngwt:RecipientList */
-class SOAP_CMAC ngwt__RecipientList
-{
-public:
- std::vector<class ngwt__Recipient * >recipient; /* optional element of type ngwt:Recipient */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 122; } /* = unique id SOAP_TYPE_ngwt__RecipientList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RecipientList() { }
- virtual ~ngwt__RecipientList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RecipientStatus
-#define SOAP_TYPE_ngwt__RecipientStatus (123)
-/* ngwt:RecipientStatus */
-class SOAP_CMAC ngwt__RecipientStatus
-{
-public:
- char *delivered; /* optional element of type xsd:string */
- char *undeliverable; /* optional element of type xsd:string */
- char *transferred; /* optional element of type xsd:string */
- char *transferDelayed; /* optional element of type xsd:string */
- class ngwt__TransferFailedStatus *transferFailed; /* optional element of type ngwt:TransferFailedStatus */
- char *downloaded; /* optional element of type xsd:string */
- char *downloadedByThirdParty; /* optional element of type xsd:string */
- char *retractRequested; /* optional element of type xsd:string */
- char *retracted; /* optional element of type xsd:string */
- char *opened; /* optional element of type xsd:string */
- char *deleted; /* optional element of type xsd:string */
- char *undeleted; /* optional element of type xsd:string */
- char *purged; /* optional element of type xsd:string */
- class ngwt__CommentStatus *accepted; /* optional element of type ngwt:CommentStatus */
- ngwt__CommentStatus *declined; /* optional element of type ngwt:CommentStatus */
- char *replied; /* optional element of type xsd:string */
- char *forwarded; /* optional element of type xsd:string */
- char *shared; /* optional element of type xsd:string */
- char *started; /* optional element of type xsd:string */
- char *completed; /* optional element of type xsd:string */
- char *incomplete; /* optional element of type xsd:string */
- class ngwt__DelegatedStatus *delegated; /* optional element of type ngwt:DelegatedStatus */
- std::vector<class ngwt__DelegateeStatus * >delegateeStatus; /* optional element of type ngwt:DelegateeStatus */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 123; } /* = unique id SOAP_TYPE_ngwt__RecipientStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RecipientStatus() { }
- virtual ~ngwt__RecipientStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RecurrenceDateType
-#define SOAP_TYPE_ngwt__RecurrenceDateType (124)
-/* ngwt:RecurrenceDateType */
-class SOAP_CMAC ngwt__RecurrenceDateType
-{
-public:
- std::vector<std::string >date; /* required element of type xsd:date */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 124; } /* = unique id SOAP_TYPE_ngwt__RecurrenceDateType */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RecurrenceDateType() { }
- virtual ~ngwt__RecurrenceDateType() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RecurrenceRule
-#define SOAP_TYPE_ngwt__RecurrenceRule (125)
-/* ngwt:RecurrenceRule */
-class SOAP_CMAC ngwt__RecurrenceRule
-{
-public:
- enum ngwt__Frequency *frequency; /* optional element of type ngwt:Frequency */
- unsigned long *count; /* optional element of type xsd:unsignedLong */
- std::string *until; /* optional element of type xsd:date */
- unsigned long *interval; /* optional element of type xsd:unsignedLong */
- ngwt__DayOfYearWeekList *byDay; /* optional element of type ngwt:DayOfYearWeekList */
- ngwt__DayOfMonthList *byMonthDay; /* optional element of type ngwt:DayOfMonthList */
- ngwt__DayOfYearList *byYearDay; /* optional element of type ngwt:DayOfYearList */
- ngwt__MonthList *byMonth; /* optional element of type ngwt:MonthList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 125; } /* = unique id SOAP_TYPE_ngwt__RecurrenceRule */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RecurrenceRule() { }
- virtual ~ngwt__RecurrenceRule() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ReferenceInfo
-#define SOAP_TYPE_ngwt__ReferenceInfo (126)
-/* ngwt:ReferenceInfo */
-class SOAP_CMAC ngwt__ReferenceInfo
-{
-public:
- char *lastReferenceDate; /* optional element of type xsd:string */
- int *referenceCount; /* optional element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 126; } /* = unique id SOAP_TYPE_ngwt__ReferenceInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ReferenceInfo() { }
- virtual ~ngwt__ReferenceInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ReturnNotification
-#define SOAP_TYPE_ngwt__ReturnNotification (128)
-/* ngwt:ReturnNotification */
-class SOAP_CMAC ngwt__ReturnNotification
-{
-public:
- class ngwt__ReturnNotificationOptions *opened; /* optional element of type ngwt:ReturnNotificationOptions */
- ngwt__ReturnNotificationOptions *deleted; /* optional element of type ngwt:ReturnNotificationOptions */
- ngwt__ReturnNotificationOptions *accepted; /* optional element of type ngwt:ReturnNotificationOptions */
- ngwt__ReturnNotificationOptions *declined; /* optional element of type ngwt:ReturnNotificationOptions */
- ngwt__ReturnNotificationOptions *completed; /* optional element of type ngwt:ReturnNotificationOptions */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 128; } /* = unique id SOAP_TYPE_ngwt__ReturnNotification */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ReturnNotification() { }
- virtual ~ngwt__ReturnNotification() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ReturnNotificationOptions
-#define SOAP_TYPE_ngwt__ReturnNotificationOptions (129)
-/* ngwt:ReturnNotificationOptions */
-class SOAP_CMAC ngwt__ReturnNotificationOptions
-{
-public:
- bool mail; /* optional element of type xsd:boolean */
- bool notify; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 129; } /* = unique id SOAP_TYPE_ngwt__ReturnNotificationOptions */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ReturnNotificationOptions() { }
- virtual ~ngwt__ReturnNotificationOptions() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Rights
-#define SOAP_TYPE_ngwt__Rights (130)
-/* ngwt:Rights */
-class SOAP_CMAC ngwt__Rights
-{
-public:
- bool *read; /* optional element of type xsd:boolean */
- bool *add; /* optional element of type xsd:boolean */
- bool *edit; /* optional element of type xsd:boolean */
- bool *_delete; /* optional element of type xsd:boolean */
- bool *share; /* optional element of type xsd:boolean */
- bool *manage; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 130; } /* = unique id SOAP_TYPE_ngwt__Rights */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Rights() { }
- virtual ~ngwt__Rights() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RuleAction
-#define SOAP_TYPE_ngwt__RuleAction (132)
-/* ngwt:RuleAction */
-class SOAP_CMAC ngwt__RuleAction
-{
-public:
- enum ngwt__RuleActionType type; /* required element of type ngwt:RuleActionType */
- std::string *container; /* optional element of type ngwt:uid */
- class ngwt__Mail *item; /* optional element of type ngwt:Mail */
- std::string *message; /* optional element of type xsd:string */
- enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */
- ngwt__CategoryRefList *categories; /* optional element of type ngwt:CategoryRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 132; } /* = unique id SOAP_TYPE_ngwt__RuleAction */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RuleAction() { }
- virtual ~ngwt__RuleAction() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RuleActionList
-#define SOAP_TYPE_ngwt__RuleActionList (133)
-/* ngwt:RuleActionList */
-class SOAP_CMAC ngwt__RuleActionList
-{
-public:
- std::vector<ngwt__RuleAction * >action; /* optional element of type ngwt:RuleAction */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 133; } /* = unique id SOAP_TYPE_ngwt__RuleActionList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RuleActionList() { }
- virtual ~ngwt__RuleActionList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__RuleList
-#define SOAP_TYPE_ngwt__RuleList (134)
-/* ngwt:RuleList */
-class SOAP_CMAC ngwt__RuleList
-{
-public:
- std::vector<class ngwt__Rule * >rule; /* optional element of type ngwt:Rule */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 134; } /* = unique id SOAP_TYPE_ngwt__RuleList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__RuleList() { }
- virtual ~ngwt__RuleList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SendOptionsRequestReply
-#define SOAP_TYPE_ngwt__SendOptionsRequestReply (135)
-/* ngwt:SendOptionsRequestReply */
-class SOAP_CMAC ngwt__SendOptionsRequestReply
-{
-public:
- bool *whenConvenient; /* optional element of type xsd:boolean */
- char *byDate; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 135; } /* = unique id SOAP_TYPE_ngwt__SendOptionsRequestReply */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SendOptionsRequestReply() { }
- virtual ~ngwt__SendOptionsRequestReply() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SendOptions
-#define SOAP_TYPE_ngwt__SendOptions (136)
-/* ngwt:SendOptions */
-class SOAP_CMAC ngwt__SendOptions
-{
-public:
- ngwt__SendOptionsRequestReply *requestReply; /* optional element of type ngwt:SendOptionsRequestReply */
- std::string *mimeEncoding; /* optional element of type xsd:string */
- class ngwt__StatusTracking *statusTracking; /* optional element of type ngwt:StatusTracking */
- ngwt__ReturnNotification *notification; /* optional element of type ngwt:ReturnNotification */
- bool updateFrequentContacts; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 136; } /* = unique id SOAP_TYPE_ngwt__SendOptions */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SendOptions() { }
- virtual ~ngwt__SendOptions() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Settings
-#define SOAP_TYPE_ngwt__Settings (137)
-/* ngwt:Settings */
-class SOAP_CMAC ngwt__Settings
-{
-public:
- std::vector<class ngwt__SettingsGroup * >group; /* optional element of type ngwt:SettingsGroup */
- std::vector<ngwt__Custom * >setting; /* optional element of type ngwt:Custom */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 137; } /* = unique id SOAP_TYPE_ngwt__Settings */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Settings() { }
- virtual ~ngwt__Settings() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SettingsGroup
-#define SOAP_TYPE_ngwt__SettingsGroup (138)
-/* ngwt:SettingsGroup */
-class SOAP_CMAC ngwt__SettingsGroup
-{
-public:
- std::vector<ngwt__Custom * >setting; /* optional element of type ngwt:Custom */
- std::string *type; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 138; } /* = unique id SOAP_TYPE_ngwt__SettingsGroup */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SettingsGroup() { }
- virtual ~ngwt__SettingsGroup() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SettingsList
-#define SOAP_TYPE_ngwt__SettingsList (139)
-/* ngwt:SettingsList */
-class SOAP_CMAC ngwt__SettingsList
-{
-public:
- std::vector<ngwt__Custom * >setting; /* optional element of type ngwt:Custom */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 139; } /* = unique id SOAP_TYPE_ngwt__SettingsList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SettingsList() { }
- virtual ~ngwt__SettingsList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SharedFolderNotification
-#define SOAP_TYPE_ngwt__SharedFolderNotification (141)
-/* ngwt:SharedFolderNotification */
-class SOAP_CMAC ngwt__SharedFolderNotification
-{
-public:
- std::string *subject; /* optional element of type xsd:string */
- std::string *message; /* optional element of type xsd:string */
- std::string *description; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 141; } /* = unique id SOAP_TYPE_ngwt__SharedFolderNotification */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SharedFolderNotification() { }
- virtual ~ngwt__SharedFolderNotification() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Signature
-#define SOAP_TYPE_ngwt__Signature (143)
-/* ngwt:Signature */
-class SOAP_CMAC ngwt__Signature
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- std::string *name; /* optional element of type xsd:string */
- bool default_; /* optional element of type xsd:boolean */
- class ngwt__SignatureData *part; /* optional element of type ngwt:SignatureData */
- bool global; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 143; } /* = unique id SOAP_TYPE_ngwt__Signature */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Signature() { }
- virtual ~ngwt__Signature() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Signatures
-#define SOAP_TYPE_ngwt__Signatures (144)
-/* ngwt:Signatures */
-class SOAP_CMAC ngwt__Signatures
-{
-public:
- std::vector<ngwt__Signature * >signature; /* optional element of type ngwt:Signature */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 144; } /* = unique id SOAP_TYPE_ngwt__Signatures */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Signatures() { }
- virtual ~ngwt__Signatures() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SignatureData
-#define SOAP_TYPE_ngwt__SignatureData (145)
-/* ngwt:SignatureData */
-class SOAP_CMAC ngwt__SignatureData
-{
-public:
- unsigned long *size; /* optional element of type xsd:unsignedLong */
- xsd__base64Binary *data; /* optional element of type xsd:base64Binary */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 145; } /* = unique id SOAP_TYPE_ngwt__SignatureData */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SignatureData() { }
- virtual ~ngwt__SignatureData() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SMimeOperation
-#define SOAP_TYPE_ngwt__SMimeOperation (146)
-/* ngwt:SMimeOperation */
-class SOAP_CMAC ngwt__SMimeOperation
-{
-public:
- bool *signed_; /* optional element of type xsd:boolean */
- bool *encrypted; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 146; } /* = unique id SOAP_TYPE_ngwt__SMimeOperation */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SMimeOperation() { }
- virtual ~ngwt__SMimeOperation() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Status
-#define SOAP_TYPE_ngwt__Status (147)
-/* ngwt:Status */
-class SOAP_CMAC ngwt__Status
-{
-public:
- int code; /* required element of type xsd:int */
- std::string *description; /* optional element of type xsd:string */
- std::string *info; /* optional element of type xsd:string */
- ngwt__ProblemList *problems; /* optional element of type ngwt:ProblemList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 147; } /* = unique id SOAP_TYPE_ngwt__Status */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Status() { }
- virtual ~ngwt__Status() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Timezone
-#define SOAP_TYPE_ngwt__Timezone (151)
-/* ngwt:Timezone */
-class SOAP_CMAC ngwt__Timezone
-{
-public:
- std::string *id; /* optional element of type xsd:string */
- std::string *description; /* optional element of type xsd:string */
- class ngwt__TimezoneComponent *daylight; /* optional element of type ngwt:TimezoneComponent */
- ngwt__TimezoneComponent *standard; /* optional element of type ngwt:TimezoneComponent */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 151; } /* = unique id SOAP_TYPE_ngwt__Timezone */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Timezone() { }
- virtual ~ngwt__Timezone() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__TimezoneComponent
-#define SOAP_TYPE_ngwt__TimezoneComponent (152)
-/* ngwt:TimezoneComponent */
-class SOAP_CMAC ngwt__TimezoneComponent
-{
-public:
- std::string name; /* required element of type xsd:string */
-public:
- unsigned char *month; /* optional element of type ngwt:Month */
- unsigned char *day; /* optional element of type ngwt:Day */
- class ngwt__DayOfWeek *dayOfWeek; /* optional element of type ngwt:DayOfWeek */
- unsigned char *hour; /* optional element of type ngwt:Hour */
- unsigned char *minute; /* optional element of type ngwt:Minute */
- int offset; /* required element of type ngwt:GMTOffset */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 152; } /* = unique id SOAP_TYPE_ngwt__TimezoneComponent */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__TimezoneComponent() { }
- virtual ~ngwt__TimezoneComponent() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__TimezoneList
-#define SOAP_TYPE_ngwt__TimezoneList (153)
-/* ngwt:TimezoneList */
-class SOAP_CMAC ngwt__TimezoneList
-{
-public:
- std::vector<ngwt__Timezone * >timezone; /* optional element of type ngwt:Timezone */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 153; } /* = unique id SOAP_TYPE_ngwt__TimezoneList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__TimezoneList() { }
- virtual ~ngwt__TimezoneList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__UserInfo
-#define SOAP_TYPE_ngwt__UserInfo (156)
-/* ngwt:UserInfo */
-class SOAP_CMAC ngwt__UserInfo
-{
-public:
- std::string name; /* required element of type xsd:string */
-public:
- std::string *email; /* optional element of type xsd:string */
- std::string *uuid; /* optional element of type ngwt:UUID */
- std::string *userid; /* optional element of type xsd:string */
- enum ngwt__RecipientType *recipType; /* optional element of type ngwt:RecipientType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 156; } /* = unique id SOAP_TYPE_ngwt__UserInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__UserInfo() { }
- virtual ~ngwt__UserInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__UserList
-#define SOAP_TYPE_ngwt__UserList (157)
-/* ngwt:UserList */
-class SOAP_CMAC ngwt__UserList
-{
-public:
- std::vector<ngwt__UserInfo * >user; /* optional element of type ngwt:UserInfo */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 157; } /* = unique id SOAP_TYPE_ngwt__UserList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__UserList() { }
- virtual ~ngwt__UserList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__acceptRequest
-#define SOAP_TYPE__ngwm__acceptRequest (160)
-/* ngwm:acceptRequest */
-class SOAP_CMAC _ngwm__acceptRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- std::string *comment; /* optional element of type xsd:string */
- enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */
- unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 160; } /* = unique id SOAP_TYPE__ngwm__acceptRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__acceptRequest() { }
- virtual ~_ngwm__acceptRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__acceptResponse
-#define SOAP_TYPE__ngwm__acceptResponse (161)
-/* ngwm:acceptResponse */
-class SOAP_CMAC _ngwm__acceptResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 161; } /* = unique id SOAP_TYPE__ngwm__acceptResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__acceptResponse() { }
- virtual ~_ngwm__acceptResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__acceptShareRequest
-#define SOAP_TYPE__ngwm__acceptShareRequest (162)
-/* ngwm:acceptShareRequest */
-class SOAP_CMAC _ngwm__acceptShareRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *name; /* optional element of type xsd:string */
- std::string *container; /* optional element of type ngwt:uid */
- std::string *ngwt__description; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 162; } /* = unique id SOAP_TYPE__ngwm__acceptShareRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__acceptShareRequest() { }
- virtual ~_ngwm__acceptShareRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__acceptShareResponse
-#define SOAP_TYPE__ngwm__acceptShareResponse (163)
-/* ngwm:acceptShareResponse */
-class SOAP_CMAC _ngwm__acceptShareResponse
-{
-public:
- std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 163; } /* = unique id SOAP_TYPE__ngwm__acceptShareResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__acceptShareResponse() { }
- virtual ~_ngwm__acceptShareResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addItemRequest
-#define SOAP_TYPE__ngwm__addItemRequest (164)
-/* ngwm:addItemRequest */
-class SOAP_CMAC _ngwm__addItemRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 164; } /* = unique id SOAP_TYPE__ngwm__addItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addItemRequest() { }
- virtual ~_ngwm__addItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addItemResponse
-#define SOAP_TYPE__ngwm__addItemResponse (165)
-/* ngwm:addItemResponse */
-class SOAP_CMAC _ngwm__addItemResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 165; } /* = unique id SOAP_TYPE__ngwm__addItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addItemResponse() { }
- virtual ~_ngwm__addItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addItemsRequest
-#define SOAP_TYPE__ngwm__addItemsRequest (166)
-/* ngwm:addItemsRequest */
-class SOAP_CMAC _ngwm__addItemsRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 166; } /* = unique id SOAP_TYPE__ngwm__addItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addItemsRequest() { }
- virtual ~_ngwm__addItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addItemsResponse
-#define SOAP_TYPE__ngwm__addItemsResponse (167)
-/* ngwm:addItemsResponse */
-class SOAP_CMAC _ngwm__addItemsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 167; } /* = unique id SOAP_TYPE__ngwm__addItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addItemsResponse() { }
- virtual ~_ngwm__addItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addMembersRequest
-#define SOAP_TYPE__ngwm__addMembersRequest (168)
-/* ngwm:addMembersRequest */
-class SOAP_CMAC _ngwm__addMembersRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- ngwt__GroupMemberList *members; /* required element of type ngwt:GroupMemberList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 168; } /* = unique id SOAP_TYPE__ngwm__addMembersRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addMembersRequest() { }
- virtual ~_ngwm__addMembersRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__addMembersResponse
-#define SOAP_TYPE__ngwm__addMembersResponse (169)
-/* ngwm:addMembersResponse */
-class SOAP_CMAC _ngwm__addMembersResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 169; } /* = unique id SOAP_TYPE__ngwm__addMembersResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__addMembersResponse() { }
- virtual ~_ngwm__addMembersResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionRequest
-#define SOAP_TYPE__ngwm__closeFreeBusySessionRequest (170)
-/* ngwm:closeFreeBusySessionRequest */
-class SOAP_CMAC _ngwm__closeFreeBusySessionRequest
-{
-public:
- int freeBusySessionId; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 170; } /* = unique id SOAP_TYPE__ngwm__closeFreeBusySessionRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__closeFreeBusySessionRequest() { }
- virtual ~_ngwm__closeFreeBusySessionRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionResponse
-#define SOAP_TYPE__ngwm__closeFreeBusySessionResponse (171)
-/* ngwm:closeFreeBusySessionResponse */
-class SOAP_CMAC _ngwm__closeFreeBusySessionResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 171; } /* = unique id SOAP_TYPE__ngwm__closeFreeBusySessionResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__closeFreeBusySessionResponse() { }
- virtual ~_ngwm__closeFreeBusySessionResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__completeRequest
-#define SOAP_TYPE__ngwm__completeRequest (172)
-/* ngwm:completeRequest */
-class SOAP_CMAC _ngwm__completeRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 172; } /* = unique id SOAP_TYPE__ngwm__completeRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__completeRequest() { }
- virtual ~_ngwm__completeRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__completeResponse
-#define SOAP_TYPE__ngwm__completeResponse (173)
-/* ngwm:completeResponse */
-class SOAP_CMAC _ngwm__completeResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 173; } /* = unique id SOAP_TYPE__ngwm__completeResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__completeResponse() { }
- virtual ~_ngwm__completeResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createCursorRequest
-#define SOAP_TYPE__ngwm__createCursorRequest (174)
-/* ngwm:createCursorRequest */
-class SOAP_CMAC _ngwm__createCursorRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- ngwt__Filter *filter; /* optional element of type ngwt:Filter */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 174; } /* = unique id SOAP_TYPE__ngwm__createCursorRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createCursorRequest() { }
- virtual ~_ngwm__createCursorRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createCursorResponse
-#define SOAP_TYPE__ngwm__createCursorResponse (175)
-/* ngwm:createCursorResponse */
-class SOAP_CMAC _ngwm__createCursorResponse
-{
-public:
- int *cursor; /* RPC return element */ /* optional element of type xsd:int */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 175; } /* = unique id SOAP_TYPE__ngwm__createCursorResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createCursorResponse() { }
- virtual ~_ngwm__createCursorResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createItemRequest
-#define SOAP_TYPE__ngwm__createItemRequest (176)
-/* ngwm:createItemRequest */
-class SOAP_CMAC _ngwm__createItemRequest
-{
-public:
- ngwt__Item *item; /* required element of type ngwt:Item */
- ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 176; } /* = unique id SOAP_TYPE__ngwm__createItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createItemRequest() { }
- virtual ~_ngwm__createItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createItemResponse
-#define SOAP_TYPE__ngwm__createItemResponse (177)
-/* ngwm:createItemResponse */
-class SOAP_CMAC _ngwm__createItemResponse
-{
-public:
- std::vector<std::string >id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 177; } /* = unique id SOAP_TYPE__ngwm__createItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createItemResponse() { }
- virtual ~_ngwm__createItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createItemsRequest
-#define SOAP_TYPE__ngwm__createItemsRequest (178)
-/* ngwm:createItemsRequest */
-class SOAP_CMAC _ngwm__createItemsRequest
-{
-public:
- std::vector<ngwt__Item * >item; /* required element of type ngwt:Item */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 178; } /* = unique id SOAP_TYPE__ngwm__createItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createItemsRequest() { }
- virtual ~_ngwm__createItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createItemsResponse
-#define SOAP_TYPE__ngwm__createItemsResponse (179)
-/* ngwm:createItemsResponse */
-class SOAP_CMAC _ngwm__createItemsResponse
-{
-public:
- std::vector<std::string >id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 179; } /* = unique id SOAP_TYPE__ngwm__createItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createItemsResponse() { }
- virtual ~_ngwm__createItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createJunkEntryRequest
-#define SOAP_TYPE__ngwm__createJunkEntryRequest (180)
-/* ngwm:createJunkEntryRequest */
-class SOAP_CMAC _ngwm__createJunkEntryRequest
-{
-public:
- ngwt__JunkEntry *entry; /* required element of type ngwt:JunkEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 180; } /* = unique id SOAP_TYPE__ngwm__createJunkEntryRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createJunkEntryRequest() { }
- virtual ~_ngwm__createJunkEntryRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createJunkEntryResponse
-#define SOAP_TYPE__ngwm__createJunkEntryResponse (181)
-/* ngwm:createJunkEntryResponse */
-class SOAP_CMAC _ngwm__createJunkEntryResponse
-{
-public:
- std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 181; } /* = unique id SOAP_TYPE__ngwm__createJunkEntryResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createJunkEntryResponse() { }
- virtual ~_ngwm__createJunkEntryResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createProxyAccessRequest
-#define SOAP_TYPE__ngwm__createProxyAccessRequest (182)
-/* ngwm:createProxyAccessRequest */
-class SOAP_CMAC _ngwm__createProxyAccessRequest
-{
-public:
- ngwt__AccessRightEntry *entry; /* required element of type ngwt:AccessRightEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 182; } /* = unique id SOAP_TYPE__ngwm__createProxyAccessRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createProxyAccessRequest() { }
- virtual ~_ngwm__createProxyAccessRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createProxyAccessResponse
-#define SOAP_TYPE__ngwm__createProxyAccessResponse (183)
-/* ngwm:createProxyAccessResponse */
-class SOAP_CMAC _ngwm__createProxyAccessResponse
-{
-public:
- std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 183; } /* = unique id SOAP_TYPE__ngwm__createProxyAccessResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createProxyAccessResponse() { }
- virtual ~_ngwm__createProxyAccessResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createSignatureRequest
-#define SOAP_TYPE__ngwm__createSignatureRequest (184)
-/* ngwm:createSignatureRequest */
-class SOAP_CMAC _ngwm__createSignatureRequest
-{
-public:
- ngwt__Signature *signature; /* required element of type ngwt:Signature */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 184; } /* = unique id SOAP_TYPE__ngwm__createSignatureRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createSignatureRequest() { }
- virtual ~_ngwm__createSignatureRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__createSignatureResponse
-#define SOAP_TYPE__ngwm__createSignatureResponse (185)
-/* ngwm:createSignatureResponse */
-class SOAP_CMAC _ngwm__createSignatureResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 185; } /* = unique id SOAP_TYPE__ngwm__createSignatureResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__createSignatureResponse() { }
- virtual ~_ngwm__createSignatureResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__declineRequest
-#define SOAP_TYPE__ngwm__declineRequest (186)
-/* ngwm:declineRequest */
-class SOAP_CMAC _ngwm__declineRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- std::string *comment; /* optional element of type xsd:string */
- unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 186; } /* = unique id SOAP_TYPE__ngwm__declineRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__declineRequest() { }
- virtual ~_ngwm__declineRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__declineResponse
-#define SOAP_TYPE__ngwm__declineResponse (187)
-/* ngwm:declineResponse */
-class SOAP_CMAC _ngwm__declineResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 187; } /* = unique id SOAP_TYPE__ngwm__declineResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__declineResponse() { }
- virtual ~_ngwm__declineResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__delegateRequest
-#define SOAP_TYPE__ngwm__delegateRequest (188)
-/* ngwm:delegateRequest */
-class SOAP_CMAC _ngwm__delegateRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *commentToOrganizer; /* optional element of type xsd:string */
- std::string *commentToDelegatee; /* optional element of type xsd:string */
- ngwt__Distribution *distribution; /* required element of type ngwt:Distribution */
- unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 188; } /* = unique id SOAP_TYPE__ngwm__delegateRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__delegateRequest() { }
- virtual ~_ngwm__delegateRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__delegateResponse
-#define SOAP_TYPE__ngwm__delegateResponse (189)
-/* ngwm:delegateResponse */
-class SOAP_CMAC _ngwm__delegateResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 189; } /* = unique id SOAP_TYPE__ngwm__delegateResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__delegateResponse() { }
- virtual ~_ngwm__delegateResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__destroyCursorRequest
-#define SOAP_TYPE__ngwm__destroyCursorRequest (190)
-/* ngwm:destroyCursorRequest */
-class SOAP_CMAC _ngwm__destroyCursorRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- int cursor; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 190; } /* = unique id SOAP_TYPE__ngwm__destroyCursorRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__destroyCursorRequest() { }
- virtual ~_ngwm__destroyCursorRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__destroyCursorResponse
-#define SOAP_TYPE__ngwm__destroyCursorResponse (191)
-/* ngwm:destroyCursorResponse */
-class SOAP_CMAC _ngwm__destroyCursorResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 191; } /* = unique id SOAP_TYPE__ngwm__destroyCursorResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__destroyCursorResponse() { }
- virtual ~_ngwm__destroyCursorResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__executeRuleRequest
-#define SOAP_TYPE__ngwm__executeRuleRequest (192)
-/* ngwm:executeRuleRequest */
-class SOAP_CMAC _ngwm__executeRuleRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 192; } /* = unique id SOAP_TYPE__ngwm__executeRuleRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__executeRuleRequest() { }
- virtual ~_ngwm__executeRuleRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__executeRuleResponse
-#define SOAP_TYPE__ngwm__executeRuleResponse (193)
-/* ngwm:executeRuleResponse */
-class SOAP_CMAC _ngwm__executeRuleResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 193; } /* = unique id SOAP_TYPE__ngwm__executeRuleResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__executeRuleResponse() { }
- virtual ~_ngwm__executeRuleResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__forwardRequest
-#define SOAP_TYPE__ngwm__forwardRequest (194)
-/* ngwm:forwardRequest */
-class SOAP_CMAC _ngwm__forwardRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- bool embed; /* required element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 194; } /* = unique id SOAP_TYPE__ngwm__forwardRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__forwardRequest() { }
- virtual ~_ngwm__forwardRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__forwardResponse
-#define SOAP_TYPE__ngwm__forwardResponse (195)
-/* ngwm:forwardResponse */
-class SOAP_CMAC _ngwm__forwardResponse
-{
-public:
- ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 195; } /* = unique id SOAP_TYPE__ngwm__forwardResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__forwardResponse() { }
- virtual ~_ngwm__forwardResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getAddressBookListRequest
-#define SOAP_TYPE__ngwm__getAddressBookListRequest (196)
-/* ngwm:getAddressBookListRequest */
-class SOAP_CMAC _ngwm__getAddressBookListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 196; } /* = unique id SOAP_TYPE__ngwm__getAddressBookListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getAddressBookListRequest() { }
- virtual ~_ngwm__getAddressBookListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getAddressBookListResponse
-#define SOAP_TYPE__ngwm__getAddressBookListResponse (197)
-/* ngwm:getAddressBookListResponse */
-class SOAP_CMAC _ngwm__getAddressBookListResponse
-{
-public:
- ngwt__AddressBookList *books; /* RPC return element */ /* optional element of type ngwt:AddressBookList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 197; } /* = unique id SOAP_TYPE__ngwm__getAddressBookListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getAddressBookListResponse() { }
- virtual ~_ngwm__getAddressBookListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getAttachmentRequest
-#define SOAP_TYPE__ngwm__getAttachmentRequest (198)
-/* ngwm:getAttachmentRequest */
-class SOAP_CMAC _ngwm__getAttachmentRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- int offset; /* required element of type xsd:int */
- int length; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 198; } /* = unique id SOAP_TYPE__ngwm__getAttachmentRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getAttachmentRequest() { }
- virtual ~_ngwm__getAttachmentRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getAttachmentResponse
-#define SOAP_TYPE__ngwm__getAttachmentResponse (199)
-/* ngwm:getAttachmentResponse */
-class SOAP_CMAC _ngwm__getAttachmentResponse
-{
-public:
- ngwt__MessagePart *part; /* RPC return element */ /* optional element of type ngwt:MessagePart */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 199; } /* = unique id SOAP_TYPE__ngwm__getAttachmentResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getAttachmentResponse() { }
- virtual ~_ngwm__getAttachmentResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getCategoryListRequest
-#define SOAP_TYPE__ngwm__getCategoryListRequest (200)
-/* ngwm:getCategoryListRequest */
-class SOAP_CMAC _ngwm__getCategoryListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 200; } /* = unique id SOAP_TYPE__ngwm__getCategoryListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getCategoryListRequest() { }
- virtual ~_ngwm__getCategoryListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getCategoryListResponse
-#define SOAP_TYPE__ngwm__getCategoryListResponse (201)
-/* ngwm:getCategoryListResponse */
-class SOAP_CMAC _ngwm__getCategoryListResponse
-{
-public:
- ngwt__CategoryList *categories; /* RPC return element */ /* optional element of type ngwt:CategoryList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 201; } /* = unique id SOAP_TYPE__ngwm__getCategoryListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getCategoryListResponse() { }
- virtual ~_ngwm__getCategoryListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getCustomListRequest
-#define SOAP_TYPE__ngwm__getCustomListRequest (202)
-/* ngwm:getCustomListRequest */
-class SOAP_CMAC _ngwm__getCustomListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 202; } /* = unique id SOAP_TYPE__ngwm__getCustomListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getCustomListRequest() { }
- virtual ~_ngwm__getCustomListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getCustomListResponse
-#define SOAP_TYPE__ngwm__getCustomListResponse (203)
-/* ngwm:getCustomListResponse */
-class SOAP_CMAC _ngwm__getCustomListResponse
-{
-public:
- ngwt__CustomList *customs; /* RPC return element */ /* optional element of type ngwt:CustomList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 203; } /* = unique id SOAP_TYPE__ngwm__getCustomListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getCustomListResponse() { }
- virtual ~_ngwm__getCustomListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDeltasRequest
-#define SOAP_TYPE__ngwm__getDeltasRequest (204)
-/* ngwm:getDeltasRequest */
-class SOAP_CMAC _ngwm__getDeltasRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- ngwt__DeltaInfo *deltaInfo; /* required element of type ngwt:DeltaInfo */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 204; } /* = unique id SOAP_TYPE__ngwm__getDeltasRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDeltasRequest() { }
- virtual ~_ngwm__getDeltasRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDeltasResponse
-#define SOAP_TYPE__ngwm__getDeltasResponse (205)
-/* ngwm:getDeltasResponse */
-class SOAP_CMAC _ngwm__getDeltasResponse
-{
-public:
- ngwt__Items *items; /* RPC return element */ /* optional element of type ngwt:Items */
- ngwt__DeltaInfo *deltaInfo; /* required element of type ngwt:DeltaInfo */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 205; } /* = unique id SOAP_TYPE__ngwm__getDeltasResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDeltasResponse() { }
- virtual ~_ngwm__getDeltasResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDeltaInfoRequest
-#define SOAP_TYPE__ngwm__getDeltaInfoRequest (206)
-/* ngwm:getDeltaInfoRequest */
-class SOAP_CMAC _ngwm__getDeltaInfoRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 206; } /* = unique id SOAP_TYPE__ngwm__getDeltaInfoRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDeltaInfoRequest() { }
- virtual ~_ngwm__getDeltaInfoRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDeltaInfoResponse
-#define SOAP_TYPE__ngwm__getDeltaInfoResponse (207)
-/* ngwm:getDeltaInfoResponse */
-class SOAP_CMAC _ngwm__getDeltaInfoResponse
-{
-public:
- ngwt__DeltaInfo *deltaInfo; /* RPC return element */ /* required element of type ngwt:DeltaInfo */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 207; } /* = unique id SOAP_TYPE__ngwm__getDeltaInfoResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDeltaInfoResponse() { }
- virtual ~_ngwm__getDeltaInfoResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDocumentTypeListRequest
-#define SOAP_TYPE__ngwm__getDocumentTypeListRequest (208)
-/* ngwm:getDocumentTypeListRequest */
-class SOAP_CMAC _ngwm__getDocumentTypeListRequest
-{
-public:
- std::string library; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 208; } /* = unique id SOAP_TYPE__ngwm__getDocumentTypeListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDocumentTypeListRequest() { }
- virtual ~_ngwm__getDocumentTypeListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getDocumentTypeListResponse
-#define SOAP_TYPE__ngwm__getDocumentTypeListResponse (209)
-/* ngwm:getDocumentTypeListResponse */
-class SOAP_CMAC _ngwm__getDocumentTypeListResponse
-{
-public:
- ngwt__DocumentTypeList *items; /* RPC return element */ /* optional element of type ngwt:DocumentTypeList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 209; } /* = unique id SOAP_TYPE__ngwm__getDocumentTypeListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getDocumentTypeListResponse() { }
- virtual ~_ngwm__getDocumentTypeListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFolderRequest
-#define SOAP_TYPE__ngwm__getFolderRequest (210)
-/* ngwm:getFolderRequest */
-class SOAP_CMAC _ngwm__getFolderRequest
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */
- enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */
- enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */
- std::string *view; /* optional element of type ngwt:View */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 210; } /* = unique id SOAP_TYPE__ngwm__getFolderRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFolderRequest() { }
- virtual ~_ngwm__getFolderRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFolderResponse
-#define SOAP_TYPE__ngwm__getFolderResponse (211)
-/* ngwm:getFolderResponse */
-class SOAP_CMAC _ngwm__getFolderResponse
-{
-public:
- ngwt__Folder *folder; /* RPC return element */ /* optional element of type ngwt:Folder */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 211; } /* = unique id SOAP_TYPE__ngwm__getFolderResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFolderResponse() { }
- virtual ~_ngwm__getFolderResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFolderListRequest
-#define SOAP_TYPE__ngwm__getFolderListRequest (212)
-/* ngwm:getFolderListRequest */
-class SOAP_CMAC _ngwm__getFolderListRequest
-{
-public:
- std::string parent; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- bool recurse; /* required element of type xsd:boolean */
- bool imap; /* required element of type xsd:boolean */
- bool nntp; /* required element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 212; } /* = unique id SOAP_TYPE__ngwm__getFolderListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFolderListRequest() { }
- virtual ~_ngwm__getFolderListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFolderListResponse
-#define SOAP_TYPE__ngwm__getFolderListResponse (213)
-/* ngwm:getFolderListResponse */
-class SOAP_CMAC _ngwm__getFolderListResponse
-{
-public:
- ngwt__FolderList *folders; /* RPC return element */ /* optional element of type ngwt:FolderList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 213; } /* = unique id SOAP_TYPE__ngwm__getFolderListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFolderListResponse() { }
- virtual ~_ngwm__getFolderListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFreeBusyRequest
-#define SOAP_TYPE__ngwm__getFreeBusyRequest (214)
-/* ngwm:getFreeBusyRequest */
-class SOAP_CMAC _ngwm__getFreeBusyRequest
-{
-public:
- std::string freeBusySessionId; /* required element of type xsd:string */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 214; } /* = unique id SOAP_TYPE__ngwm__getFreeBusyRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFreeBusyRequest() { }
- virtual ~_ngwm__getFreeBusyRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getFreeBusyResponse
-#define SOAP_TYPE__ngwm__getFreeBusyResponse (215)
-/* ngwm:getFreeBusyResponse */
-class SOAP_CMAC _ngwm__getFreeBusyResponse
-{
-public:
- ngwt__FreeBusyStats *freeBusyStats; /* RPC return element */ /* optional element of type ngwt:FreeBusyStats */
- ngwt__FreeBusyInfoList *freeBusyInfo; /* optional element of type ngwt:FreeBusyInfoList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 215; } /* = unique id SOAP_TYPE__ngwm__getFreeBusyResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getFreeBusyResponse() { }
- virtual ~_ngwm__getFreeBusyResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getItemRequest
-#define SOAP_TYPE__ngwm__getItemRequest (216)
-/* ngwm:getItemRequest */
-class SOAP_CMAC _ngwm__getItemRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 216; } /* = unique id SOAP_TYPE__ngwm__getItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getItemRequest() { }
- virtual ~_ngwm__getItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getItemResponse
-#define SOAP_TYPE__ngwm__getItemResponse (217)
-/* ngwm:getItemResponse */
-class SOAP_CMAC _ngwm__getItemResponse
-{
-public:
- ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 217; } /* = unique id SOAP_TYPE__ngwm__getItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getItemResponse() { }
- virtual ~_ngwm__getItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getItemsRequest
-#define SOAP_TYPE__ngwm__getItemsRequest (218)
-/* ngwm:getItemsRequest */
-class SOAP_CMAC _ngwm__getItemsRequest
-{
-public:
- std::string *container; /* optional element of type ngwt:uid */
- std::string *view; /* optional element of type ngwt:View */
- ngwt__Filter *filter; /* optional element of type ngwt:Filter */
- ngwt__ItemRefList *items; /* optional element of type ngwt:ItemRefList */
- int count; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 218; } /* = unique id SOAP_TYPE__ngwm__getItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getItemsRequest() { }
- virtual ~_ngwm__getItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getItemsResponse
-#define SOAP_TYPE__ngwm__getItemsResponse (219)
-/* ngwm:getItemsResponse */
-class SOAP_CMAC _ngwm__getItemsResponse
-{
-public:
- ngwt__Items *items; /* RPC return element */ /* optional element of type ngwt:Items */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 219; } /* = unique id SOAP_TYPE__ngwm__getItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getItemsResponse() { }
- virtual ~_ngwm__getItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getJunkEntriesRequest
-#define SOAP_TYPE__ngwm__getJunkEntriesRequest (220)
-/* ngwm:getJunkEntriesRequest */
-class SOAP_CMAC _ngwm__getJunkEntriesRequest
-{
-public:
- enum ngwt__JunkHandlingListType *container; /* optional element of type ngwt:JunkHandlingListType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 220; } /* = unique id SOAP_TYPE__ngwm__getJunkEntriesRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getJunkEntriesRequest() { }
- virtual ~_ngwm__getJunkEntriesRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getJunkEntriesResponse
-#define SOAP_TYPE__ngwm__getJunkEntriesResponse (221)
-/* ngwm:getJunkEntriesResponse */
-class SOAP_CMAC _ngwm__getJunkEntriesResponse
-{
-public:
- ngwt__JunkHandlingList *junk; /* RPC return element */ /* optional element of type ngwt:JunkHandlingList */
- ngwt__JunkHandlingList *block; /* optional element of type ngwt:JunkHandlingList */
- ngwt__JunkHandlingList *trust; /* optional element of type ngwt:JunkHandlingList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 221; } /* = unique id SOAP_TYPE__ngwm__getJunkEntriesResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getJunkEntriesResponse() { }
- virtual ~_ngwm__getJunkEntriesResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsRequest
-#define SOAP_TYPE__ngwm__getJunkMailSettingsRequest (222)
-/* ngwm:getJunkMailSettingsRequest */
-class SOAP_CMAC _ngwm__getJunkMailSettingsRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 222; } /* = unique id SOAP_TYPE__ngwm__getJunkMailSettingsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getJunkMailSettingsRequest() { }
- virtual ~_ngwm__getJunkMailSettingsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsResponse
-#define SOAP_TYPE__ngwm__getJunkMailSettingsResponse (223)
-/* ngwm:getJunkMailSettingsResponse */
-class SOAP_CMAC _ngwm__getJunkMailSettingsResponse
-{
-public:
- ngwt__SettingsList *settings; /* RPC return element */ /* optional element of type ngwt:SettingsList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 223; } /* = unique id SOAP_TYPE__ngwm__getJunkMailSettingsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getJunkMailSettingsResponse() { }
- virtual ~_ngwm__getJunkMailSettingsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getLibraryItemRequest
-#define SOAP_TYPE__ngwm__getLibraryItemRequest (224)
-/* ngwm:getLibraryItemRequest */
-class SOAP_CMAC _ngwm__getLibraryItemRequest
-{
-public:
- std::string library; /* required element of type ngwt:uid */
-public:
- unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */
- std::string *versionNumber; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 224; } /* = unique id SOAP_TYPE__ngwm__getLibraryItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getLibraryItemRequest() { }
- virtual ~_ngwm__getLibraryItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getLibraryItemResponse
-#define SOAP_TYPE__ngwm__getLibraryItemResponse (225)
-/* ngwm:getLibraryItemResponse */
-class SOAP_CMAC _ngwm__getLibraryItemResponse
-{
-public:
- ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 225; } /* = unique id SOAP_TYPE__ngwm__getLibraryItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getLibraryItemResponse() { }
- virtual ~_ngwm__getLibraryItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getLibraryListRequest
-#define SOAP_TYPE__ngwm__getLibraryListRequest (226)
-/* ngwm:getLibraryListRequest */
-class SOAP_CMAC _ngwm__getLibraryListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 226; } /* = unique id SOAP_TYPE__ngwm__getLibraryListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getLibraryListRequest() { }
- virtual ~_ngwm__getLibraryListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getLibraryListResponse
-#define SOAP_TYPE__ngwm__getLibraryListResponse (227)
-/* ngwm:getLibraryListResponse */
-class SOAP_CMAC _ngwm__getLibraryListResponse
-{
-public:
- ngwt__LibraryList *libraries; /* RPC return element */ /* optional element of type ngwt:LibraryList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 227; } /* = unique id SOAP_TYPE__ngwm__getLibraryListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getLibraryListResponse() { }
- virtual ~_ngwm__getLibraryListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getQuickMessagesRequest
-#define SOAP_TYPE__ngwm__getQuickMessagesRequest (228)
-/* ngwm:getQuickMessagesRequest */
-class SOAP_CMAC _ngwm__getQuickMessagesRequest
-{
-public:
- enum ngwt__MessageList list; /* required element of type ngwt:MessageList */
- char *ngwt__startDate; /* optional element of type xsd:string */
- std::string *container; /* optional element of type ngwt:uid */
- enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */
- enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */
- std::string *view; /* optional element of type ngwt:View */
- int count; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 228; } /* = unique id SOAP_TYPE__ngwm__getQuickMessagesRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getQuickMessagesRequest() { }
- virtual ~_ngwm__getQuickMessagesRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getQuickMessagesResponse
-#define SOAP_TYPE__ngwm__getQuickMessagesResponse (229)
-/* ngwm:getQuickMessagesResponse */
-class SOAP_CMAC _ngwm__getQuickMessagesResponse
-{
-public:
- char *ngwt__startDate; /* RPC return element */ /* optional element of type xsd:string */
- ngwt__Items *items; /* optional element of type ngwt:Items */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 229; } /* = unique id SOAP_TYPE__ngwm__getQuickMessagesResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getQuickMessagesResponse() { }
- virtual ~_ngwm__getQuickMessagesResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getProxyAccessListRequest
-#define SOAP_TYPE__ngwm__getProxyAccessListRequest (230)
-/* ngwm:getProxyAccessListRequest */
-class SOAP_CMAC _ngwm__getProxyAccessListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 230; } /* = unique id SOAP_TYPE__ngwm__getProxyAccessListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getProxyAccessListRequest() { }
- virtual ~_ngwm__getProxyAccessListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getProxyAccessListResponse
-#define SOAP_TYPE__ngwm__getProxyAccessListResponse (231)
-/* ngwm:getProxyAccessListResponse */
-class SOAP_CMAC _ngwm__getProxyAccessListResponse
-{
-public:
- ngwt__AccessRightList *accessRights; /* RPC return element */ /* optional element of type ngwt:AccessRightList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 231; } /* = unique id SOAP_TYPE__ngwm__getProxyAccessListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getProxyAccessListResponse() { }
- virtual ~_ngwm__getProxyAccessListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getProxyListRequest
-#define SOAP_TYPE__ngwm__getProxyListRequest (232)
-/* ngwm:getProxyListRequest */
-class SOAP_CMAC _ngwm__getProxyListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 232; } /* = unique id SOAP_TYPE__ngwm__getProxyListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getProxyListRequest() { }
- virtual ~_ngwm__getProxyListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getProxyListResponse
-#define SOAP_TYPE__ngwm__getProxyListResponse (233)
-/* ngwm:getProxyListResponse */
-class SOAP_CMAC _ngwm__getProxyListResponse
-{
-public:
- ngwt__ProxyList *proxies; /* RPC return element */ /* optional element of type ngwt:ProxyList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 233; } /* = unique id SOAP_TYPE__ngwm__getProxyListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getProxyListResponse() { }
- virtual ~_ngwm__getProxyListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getRuleListRequest
-#define SOAP_TYPE__ngwm__getRuleListRequest (234)
-/* ngwm:getRuleListRequest */
-class SOAP_CMAC _ngwm__getRuleListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 234; } /* = unique id SOAP_TYPE__ngwm__getRuleListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getRuleListRequest() { }
- virtual ~_ngwm__getRuleListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getRuleListResponse
-#define SOAP_TYPE__ngwm__getRuleListResponse (235)
-/* ngwm:getRuleListResponse */
-class SOAP_CMAC _ngwm__getRuleListResponse
-{
-public:
- ngwt__RuleList *rules; /* RPC return element */ /* optional element of type ngwt:RuleList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 235; } /* = unique id SOAP_TYPE__ngwm__getRuleListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getRuleListResponse() { }
- virtual ~_ngwm__getRuleListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getSettingsRequest
-#define SOAP_TYPE__ngwm__getSettingsRequest (236)
-/* ngwm:getSettingsRequest */
-class SOAP_CMAC _ngwm__getSettingsRequest
-{
-public:
- std::string *id; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 236; } /* = unique id SOAP_TYPE__ngwm__getSettingsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getSettingsRequest() { }
- virtual ~_ngwm__getSettingsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getSettingsResponse
-#define SOAP_TYPE__ngwm__getSettingsResponse (237)
-/* ngwm:getSettingsResponse */
-class SOAP_CMAC _ngwm__getSettingsResponse
-{
-public:
- ngwt__Settings *settings; /* RPC return element */ /* optional element of type ngwt:Settings */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 237; } /* = unique id SOAP_TYPE__ngwm__getSettingsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getSettingsResponse() { }
- virtual ~_ngwm__getSettingsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getSignaturesRequest
-#define SOAP_TYPE__ngwm__getSignaturesRequest (238)
-/* ngwm:getSignaturesRequest */
-class SOAP_CMAC _ngwm__getSignaturesRequest
-{
-public:
- bool global; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 238; } /* = unique id SOAP_TYPE__ngwm__getSignaturesRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getSignaturesRequest() { }
- virtual ~_ngwm__getSignaturesRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getSignaturesResponse
-#define SOAP_TYPE__ngwm__getSignaturesResponse (239)
-/* ngwm:getSignaturesResponse */
-class SOAP_CMAC _ngwm__getSignaturesResponse
-{
-public:
- ngwt__Signatures *signatures; /* RPC return element */ /* optional element of type ngwt:Signatures */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 239; } /* = unique id SOAP_TYPE__ngwm__getSignaturesResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getSignaturesResponse() { }
- virtual ~_ngwm__getSignaturesResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getTimestampRequest
-#define SOAP_TYPE__ngwm__getTimestampRequest (240)
-/* ngwm:getTimestampRequest */
-class SOAP_CMAC _ngwm__getTimestampRequest
-{
-public:
- bool *backup; /* optional element of type xsd:boolean */
- bool *retention; /* optional element of type xsd:boolean */
- bool *noop; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 240; } /* = unique id SOAP_TYPE__ngwm__getTimestampRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getTimestampRequest() { }
- virtual ~_ngwm__getTimestampRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getTimestampResponse
-#define SOAP_TYPE__ngwm__getTimestampResponse (241)
-/* ngwm:getTimestampResponse */
-class SOAP_CMAC _ngwm__getTimestampResponse
-{
-public:
- char *backup; /* RPC return element */ /* optional element of type xsd:string */
- char *retention; /* optional element of type xsd:string */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 241; } /* = unique id SOAP_TYPE__ngwm__getTimestampResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getTimestampResponse() { }
- virtual ~_ngwm__getTimestampResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getTimezoneListRequest
-#define SOAP_TYPE__ngwm__getTimezoneListRequest (242)
-/* ngwm:getTimezoneListRequest */
-class SOAP_CMAC _ngwm__getTimezoneListRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 242; } /* = unique id SOAP_TYPE__ngwm__getTimezoneListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getTimezoneListRequest() { }
- virtual ~_ngwm__getTimezoneListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getTimezoneListResponse
-#define SOAP_TYPE__ngwm__getTimezoneListResponse (243)
-/* ngwm:getTimezoneListResponse */
-class SOAP_CMAC _ngwm__getTimezoneListResponse
-{
-public:
- ngwt__TimezoneList *timezones; /* RPC return element */ /* optional element of type ngwt:TimezoneList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 243; } /* = unique id SOAP_TYPE__ngwm__getTimezoneListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getTimezoneListResponse() { }
- virtual ~_ngwm__getTimezoneListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getUserListRequest
-#define SOAP_TYPE__ngwm__getUserListRequest (244)
-/* ngwm:getUserListRequest */
-class SOAP_CMAC _ngwm__getUserListRequest
-{
-public:
- std::string *name; /* optional element of type xsd:string */
- std::string *key; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 244; } /* = unique id SOAP_TYPE__ngwm__getUserListRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getUserListRequest() { }
- virtual ~_ngwm__getUserListRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__getUserListResponse
-#define SOAP_TYPE__ngwm__getUserListResponse (245)
-/* ngwm:getUserListResponse */
-class SOAP_CMAC _ngwm__getUserListResponse
-{
-public:
- ngwt__UserList *users; /* RPC return element */ /* optional element of type ngwt:UserList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 245; } /* = unique id SOAP_TYPE__ngwm__getUserListResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__getUserListResponse() { }
- virtual ~_ngwm__getUserListResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__loginRequest
-#define SOAP_TYPE__ngwm__loginRequest (246)
-/* ngwm:loginRequest */
-class SOAP_CMAC _ngwm__loginRequest
-{
-public:
- ngwt__Authentication *auth; /* required element of type ngwt:Authentication */
- std::string language; /* required element of type xsd:language */
- std::string version; /* required element of type xsd:decimal */
-public:
- std::string *application; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 246; } /* = unique id SOAP_TYPE__ngwm__loginRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__loginRequest() { }
- virtual ~_ngwm__loginRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__loginResponse
-#define SOAP_TYPE__ngwm__loginResponse (247)
-/* ngwm:loginResponse */
-class SOAP_CMAC _ngwm__loginResponse
-{
-public:
- std::string *session; /* RPC return element */ /* optional element of type xsd:string */
- ngwt__UserInfo *userinfo; /* optional element of type ngwt:UserInfo */
- ngwt__AccessRightEntry *entry; /* optional element of type ngwt:AccessRightEntry */
- std::string *gwVersion; /* optional element of type xsd:string */
- std::string *build; /* optional element of type xsd:string */
- std::vector<ngwt__Host * >redirectToHost; /* optional element of type ngwt:Host */
- char *serverUTCTime; /* optional element of type xsd:string */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 247; } /* = unique id SOAP_TYPE__ngwm__loginResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__loginResponse() { }
- virtual ~_ngwm__loginResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__logoutRequest
-#define SOAP_TYPE__ngwm__logoutRequest (248)
-/* ngwm:logoutRequest */
-class SOAP_CMAC _ngwm__logoutRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 248; } /* = unique id SOAP_TYPE__ngwm__logoutRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__logoutRequest() { }
- virtual ~_ngwm__logoutRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__logoutResponse
-#define SOAP_TYPE__ngwm__logoutResponse (249)
-/* ngwm:logoutResponse */
-class SOAP_CMAC _ngwm__logoutResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 249; } /* = unique id SOAP_TYPE__ngwm__logoutResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__logoutResponse() { }
- virtual ~_ngwm__logoutResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markPrivateRequest
-#define SOAP_TYPE__ngwm__markPrivateRequest (250)
-/* ngwm:markPrivateRequest */
-class SOAP_CMAC _ngwm__markPrivateRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 250; } /* = unique id SOAP_TYPE__ngwm__markPrivateRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markPrivateRequest() { }
- virtual ~_ngwm__markPrivateRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markPrivateResponse
-#define SOAP_TYPE__ngwm__markPrivateResponse (251)
-/* ngwm:markPrivateResponse */
-class SOAP_CMAC _ngwm__markPrivateResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 251; } /* = unique id SOAP_TYPE__ngwm__markPrivateResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markPrivateResponse() { }
- virtual ~_ngwm__markPrivateResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markReadRequest
-#define SOAP_TYPE__ngwm__markReadRequest (252)
-/* ngwm:markReadRequest */
-class SOAP_CMAC _ngwm__markReadRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 252; } /* = unique id SOAP_TYPE__ngwm__markReadRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markReadRequest() { }
- virtual ~_ngwm__markReadRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markReadResponse
-#define SOAP_TYPE__ngwm__markReadResponse (253)
-/* ngwm:markReadResponse */
-class SOAP_CMAC _ngwm__markReadResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 253; } /* = unique id SOAP_TYPE__ngwm__markReadResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markReadResponse() { }
- virtual ~_ngwm__markReadResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markUnPrivateRequest
-#define SOAP_TYPE__ngwm__markUnPrivateRequest (254)
-/* ngwm:markUnPrivateRequest */
-class SOAP_CMAC _ngwm__markUnPrivateRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 254; } /* = unique id SOAP_TYPE__ngwm__markUnPrivateRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markUnPrivateRequest() { }
- virtual ~_ngwm__markUnPrivateRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markUnPrivateResponse
-#define SOAP_TYPE__ngwm__markUnPrivateResponse (255)
-/* ngwm:markUnPrivateResponse */
-class SOAP_CMAC _ngwm__markUnPrivateResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 255; } /* = unique id SOAP_TYPE__ngwm__markUnPrivateResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markUnPrivateResponse() { }
- virtual ~_ngwm__markUnPrivateResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markUnReadRequest
-#define SOAP_TYPE__ngwm__markUnReadRequest (256)
-/* ngwm:markUnReadRequest */
-class SOAP_CMAC _ngwm__markUnReadRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 256; } /* = unique id SOAP_TYPE__ngwm__markUnReadRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markUnReadRequest() { }
- virtual ~_ngwm__markUnReadRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__markUnReadResponse
-#define SOAP_TYPE__ngwm__markUnReadResponse (257)
-/* ngwm:markUnReadResponse */
-class SOAP_CMAC _ngwm__markUnReadResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 257; } /* = unique id SOAP_TYPE__ngwm__markUnReadResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__markUnReadResponse() { }
- virtual ~_ngwm__markUnReadResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyItemRequest
-#define SOAP_TYPE__ngwm__modifyItemRequest (258)
-/* ngwm:modifyItemRequest */
-class SOAP_CMAC _ngwm__modifyItemRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */
- ngwt__ItemChanges *updates; /* required element of type ngwt:ItemChanges */
- unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 258; } /* = unique id SOAP_TYPE__ngwm__modifyItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyItemRequest() { }
- virtual ~_ngwm__modifyItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyItemResponse
-#define SOAP_TYPE__ngwm__modifyItemResponse (259)
-/* ngwm:modifyItemResponse */
-class SOAP_CMAC _ngwm__modifyItemResponse
-{
-public:
- char *ngwt__modified; /* RPC return element */ /* optional element of type xsd:string */
- std::vector<std::string >id; /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 259; } /* = unique id SOAP_TYPE__ngwm__modifyItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyItemResponse() { }
- virtual ~_ngwm__modifyItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyItemsRequest
-#define SOAP_TYPE__ngwm__modifyItemsRequest (260)
-/* ngwm:modifyItemsRequest */
-class SOAP_CMAC _ngwm__modifyItemsRequest
-{
-public:
- std::vector<ngwt__ModifyItem * >item; /* required element of type ngwt:ModifyItem */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 260; } /* = unique id SOAP_TYPE__ngwm__modifyItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyItemsRequest() { }
- virtual ~_ngwm__modifyItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyItemsResponse
-#define SOAP_TYPE__ngwm__modifyItemsResponse (261)
-/* ngwm:modifyItemsResponse */
-class SOAP_CMAC _ngwm__modifyItemsResponse
-{
-public:
- std::vector<char * >ngwt__modified; /* optional element of type xsd:string */
- std::vector<std::string >id; /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 261; } /* = unique id SOAP_TYPE__ngwm__modifyItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyItemsResponse() { }
- virtual ~_ngwm__modifyItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkEntryRequest
-#define SOAP_TYPE__ngwm__modifyJunkEntryRequest (262)
-/* ngwm:modifyJunkEntryRequest */
-class SOAP_CMAC _ngwm__modifyJunkEntryRequest
-{
-public:
- ngwt__JunkEntry *entry; /* required element of type ngwt:JunkEntry */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 262; } /* = unique id SOAP_TYPE__ngwm__modifyJunkEntryRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyJunkEntryRequest() { }
- virtual ~_ngwm__modifyJunkEntryRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkEntryResponse
-#define SOAP_TYPE__ngwm__modifyJunkEntryResponse (263)
-/* ngwm:modifyJunkEntryResponse */
-class SOAP_CMAC _ngwm__modifyJunkEntryResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 263; } /* = unique id SOAP_TYPE__ngwm__modifyJunkEntryResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyJunkEntryResponse() { }
- virtual ~_ngwm__modifyJunkEntryResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest
-#define SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest (264)
-/* ngwm:modifyJunkMailSettingsRequest */
-class SOAP_CMAC _ngwm__modifyJunkMailSettingsRequest
-{
-public:
- ngwt__SettingsList *settings; /* required element of type ngwt:SettingsList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 264; } /* = unique id SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyJunkMailSettingsRequest() { }
- virtual ~_ngwm__modifyJunkMailSettingsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse
-#define SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse (265)
-/* ngwm:modifyJunkMailSettingsResponse */
-class SOAP_CMAC _ngwm__modifyJunkMailSettingsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 265; } /* = unique id SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyJunkMailSettingsResponse() { }
- virtual ~_ngwm__modifyJunkMailSettingsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyPasswordRequest
-#define SOAP_TYPE__ngwm__modifyPasswordRequest (266)
-/* ngwm:modifyPasswordRequest */
-class SOAP_CMAC _ngwm__modifyPasswordRequest
-{
-public:
- std::string *old; /* optional element of type xsd:string */
- std::string *_new; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 266; } /* = unique id SOAP_TYPE__ngwm__modifyPasswordRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyPasswordRequest() { }
- virtual ~_ngwm__modifyPasswordRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyPasswordResponse
-#define SOAP_TYPE__ngwm__modifyPasswordResponse (267)
-/* ngwm:modifyPasswordResponse */
-class SOAP_CMAC _ngwm__modifyPasswordResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 267; } /* = unique id SOAP_TYPE__ngwm__modifyPasswordResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyPasswordResponse() { }
- virtual ~_ngwm__modifyPasswordResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyProxyAccessRequest
-#define SOAP_TYPE__ngwm__modifyProxyAccessRequest (268)
-/* ngwm:modifyProxyAccessRequest */
-class SOAP_CMAC _ngwm__modifyProxyAccessRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- ngwt__AccessRightChanges *updates; /* required element of type ngwt:AccessRightChanges */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 268; } /* = unique id SOAP_TYPE__ngwm__modifyProxyAccessRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyProxyAccessRequest() { }
- virtual ~_ngwm__modifyProxyAccessRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifyProxyAccessResponse
-#define SOAP_TYPE__ngwm__modifyProxyAccessResponse (269)
-/* ngwm:modifyProxyAccessResponse */
-class SOAP_CMAC _ngwm__modifyProxyAccessResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 269; } /* = unique id SOAP_TYPE__ngwm__modifyProxyAccessResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifyProxyAccessResponse() { }
- virtual ~_ngwm__modifyProxyAccessResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifySettingsRequest
-#define SOAP_TYPE__ngwm__modifySettingsRequest (270)
-/* ngwm:modifySettingsRequest */
-class SOAP_CMAC _ngwm__modifySettingsRequest
-{
-public:
- ngwt__SettingsList *settings; /* required element of type ngwt:SettingsList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 270; } /* = unique id SOAP_TYPE__ngwm__modifySettingsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifySettingsRequest() { }
- virtual ~_ngwm__modifySettingsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifySettingsResponse
-#define SOAP_TYPE__ngwm__modifySettingsResponse (271)
-/* ngwm:modifySettingsResponse */
-class SOAP_CMAC _ngwm__modifySettingsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 271; } /* = unique id SOAP_TYPE__ngwm__modifySettingsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifySettingsResponse() { }
- virtual ~_ngwm__modifySettingsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifySignaturesRequest
-#define SOAP_TYPE__ngwm__modifySignaturesRequest (272)
-/* ngwm:modifySignaturesRequest */
-class SOAP_CMAC _ngwm__modifySignaturesRequest
-{
-public:
- ngwt__Signatures *updates; /* required element of type ngwt:Signatures */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 272; } /* = unique id SOAP_TYPE__ngwm__modifySignaturesRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifySignaturesRequest() { }
- virtual ~_ngwm__modifySignaturesRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__modifySignaturesResponse
-#define SOAP_TYPE__ngwm__modifySignaturesResponse (273)
-/* ngwm:modifySignaturesResponse */
-class SOAP_CMAC _ngwm__modifySignaturesResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 273; } /* = unique id SOAP_TYPE__ngwm__modifySignaturesResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__modifySignaturesResponse() { }
- virtual ~_ngwm__modifySignaturesResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__moveItemRequest
-#define SOAP_TYPE__ngwm__moveItemRequest (274)
-/* ngwm:moveItemRequest */
-class SOAP_CMAC _ngwm__moveItemRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
- std::string container; /* required element of type ngwt:uid */
-public:
- std::string *from; /* optional element of type ngwt:uid */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 274; } /* = unique id SOAP_TYPE__ngwm__moveItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__moveItemRequest() { }
- virtual ~_ngwm__moveItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__moveItemResponse
-#define SOAP_TYPE__ngwm__moveItemResponse (275)
-/* ngwm:moveItemResponse */
-class SOAP_CMAC _ngwm__moveItemResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 275; } /* = unique id SOAP_TYPE__ngwm__moveItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__moveItemResponse() { }
- virtual ~_ngwm__moveItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__positionCursorRequest
-#define SOAP_TYPE__ngwm__positionCursorRequest (276)
-/* ngwm:positionCursorRequest */
-class SOAP_CMAC _ngwm__positionCursorRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- int cursor; /* required element of type xsd:int */
- enum ngwt__CursorSeek seek; /* required element of type ngwt:CursorSeek */
- int offset; /* required element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 276; } /* = unique id SOAP_TYPE__ngwm__positionCursorRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__positionCursorRequest() { }
- virtual ~_ngwm__positionCursorRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__positionCursorResponse
-#define SOAP_TYPE__ngwm__positionCursorResponse (277)
-/* ngwm:positionCursorResponse */
-class SOAP_CMAC _ngwm__positionCursorResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 277; } /* = unique id SOAP_TYPE__ngwm__positionCursorResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__positionCursorResponse() { }
- virtual ~_ngwm__positionCursorResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsRequest
-#define SOAP_TYPE__ngwm__purgeDeletedItemsRequest (278)
-/* ngwm:purgeDeletedItemsRequest */
-class SOAP_CMAC _ngwm__purgeDeletedItemsRequest
-{
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 278; } /* = unique id SOAP_TYPE__ngwm__purgeDeletedItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__purgeDeletedItemsRequest() { }
- virtual ~_ngwm__purgeDeletedItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsResponse
-#define SOAP_TYPE__ngwm__purgeDeletedItemsResponse (279)
-/* ngwm:purgeDeletedItemsResponse */
-class SOAP_CMAC _ngwm__purgeDeletedItemsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 279; } /* = unique id SOAP_TYPE__ngwm__purgeDeletedItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__purgeDeletedItemsResponse() { }
- virtual ~_ngwm__purgeDeletedItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__purgeRequest
-#define SOAP_TYPE__ngwm__purgeRequest (280)
-/* ngwm:purgeRequest */
-class SOAP_CMAC _ngwm__purgeRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 280; } /* = unique id SOAP_TYPE__ngwm__purgeRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__purgeRequest() { }
- virtual ~_ngwm__purgeRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__purgeResponse
-#define SOAP_TYPE__ngwm__purgeResponse (281)
-/* ngwm:purgeResponse */
-class SOAP_CMAC _ngwm__purgeResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 281; } /* = unique id SOAP_TYPE__ngwm__purgeResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__purgeResponse() { }
- virtual ~_ngwm__purgeResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__readCursorRequest
-#define SOAP_TYPE__ngwm__readCursorRequest (282)
-/* ngwm:readCursorRequest */
-class SOAP_CMAC _ngwm__readCursorRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- int cursor; /* required element of type xsd:int */
- bool forward; /* required element of type xsd:boolean */
- enum ngwt__CursorSeek *position; /* optional element of type ngwt:CursorSeek */
- int *count; /* optional element of type xsd:int */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 282; } /* = unique id SOAP_TYPE__ngwm__readCursorRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__readCursorRequest() { }
- virtual ~_ngwm__readCursorRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__readCursorResponse
-#define SOAP_TYPE__ngwm__readCursorResponse (283)
-/* ngwm:readCursorResponse */
-class SOAP_CMAC _ngwm__readCursorResponse
-{
-public:
- ngwt__ItemList *items; /* RPC return element */ /* optional element of type ngwt:ItemList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 283; } /* = unique id SOAP_TYPE__ngwm__readCursorResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__readCursorResponse() { }
- virtual ~_ngwm__readCursorResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionRequest
-#define SOAP_TYPE__ngwm__removeCustomDefinitionRequest (284)
-/* ngwm:removeCustomDefinitionRequest */
-class SOAP_CMAC _ngwm__removeCustomDefinitionRequest
-{
-public:
- ngwt__CustomList *customs; /* optional element of type ngwt:CustomList */
- bool books; /* required element of type xsd:boolean */
- bool doAsynchronous; /* required element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 284; } /* = unique id SOAP_TYPE__ngwm__removeCustomDefinitionRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeCustomDefinitionRequest() { }
- virtual ~_ngwm__removeCustomDefinitionRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionResponse
-#define SOAP_TYPE__ngwm__removeCustomDefinitionResponse (285)
-/* ngwm:removeCustomDefinitionResponse */
-class SOAP_CMAC _ngwm__removeCustomDefinitionResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 285; } /* = unique id SOAP_TYPE__ngwm__removeCustomDefinitionResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeCustomDefinitionResponse() { }
- virtual ~_ngwm__removeCustomDefinitionResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeItemRequest
-#define SOAP_TYPE__ngwm__removeItemRequest (286)
-/* ngwm:removeItemRequest */
-class SOAP_CMAC _ngwm__removeItemRequest
-{
-public:
- std::string *container; /* optional element of type ngwt:uid */
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 286; } /* = unique id SOAP_TYPE__ngwm__removeItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeItemRequest() { }
- virtual ~_ngwm__removeItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeItemResponse
-#define SOAP_TYPE__ngwm__removeItemResponse (287)
-/* ngwm:removeItemResponse */
-class SOAP_CMAC _ngwm__removeItemResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 287; } /* = unique id SOAP_TYPE__ngwm__removeItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeItemResponse() { }
- virtual ~_ngwm__removeItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeItemsRequest
-#define SOAP_TYPE__ngwm__removeItemsRequest (288)
-/* ngwm:removeItemsRequest */
-class SOAP_CMAC _ngwm__removeItemsRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 288; } /* = unique id SOAP_TYPE__ngwm__removeItemsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeItemsRequest() { }
- virtual ~_ngwm__removeItemsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeItemsResponse
-#define SOAP_TYPE__ngwm__removeItemsResponse (289)
-/* ngwm:removeItemsResponse */
-class SOAP_CMAC _ngwm__removeItemsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 289; } /* = unique id SOAP_TYPE__ngwm__removeItemsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeItemsResponse() { }
- virtual ~_ngwm__removeItemsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeJunkEntryRequest
-#define SOAP_TYPE__ngwm__removeJunkEntryRequest (290)
-/* ngwm:removeJunkEntryRequest */
-class SOAP_CMAC _ngwm__removeJunkEntryRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 290; } /* = unique id SOAP_TYPE__ngwm__removeJunkEntryRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeJunkEntryRequest() { }
- virtual ~_ngwm__removeJunkEntryRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeJunkEntryResponse
-#define SOAP_TYPE__ngwm__removeJunkEntryResponse (291)
-/* ngwm:removeJunkEntryResponse */
-class SOAP_CMAC _ngwm__removeJunkEntryResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 291; } /* = unique id SOAP_TYPE__ngwm__removeJunkEntryResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeJunkEntryResponse() { }
- virtual ~_ngwm__removeJunkEntryResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeMembersRequest
-#define SOAP_TYPE__ngwm__removeMembersRequest (292)
-/* ngwm:removeMembersRequest */
-class SOAP_CMAC _ngwm__removeMembersRequest
-{
-public:
- std::string container; /* required element of type ngwt:uid */
-public:
- ngwt__GroupMemberList *members; /* required element of type ngwt:GroupMemberList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 292; } /* = unique id SOAP_TYPE__ngwm__removeMembersRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeMembersRequest() { }
- virtual ~_ngwm__removeMembersRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeMembersResponse
-#define SOAP_TYPE__ngwm__removeMembersResponse (293)
-/* ngwm:removeMembersResponse */
-class SOAP_CMAC _ngwm__removeMembersResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 293; } /* = unique id SOAP_TYPE__ngwm__removeMembersResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeMembersResponse() { }
- virtual ~_ngwm__removeMembersResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeProxyAccessRequest
-#define SOAP_TYPE__ngwm__removeProxyAccessRequest (294)
-/* ngwm:removeProxyAccessRequest */
-class SOAP_CMAC _ngwm__removeProxyAccessRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 294; } /* = unique id SOAP_TYPE__ngwm__removeProxyAccessRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeProxyAccessRequest() { }
- virtual ~_ngwm__removeProxyAccessRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeProxyAccessResponse
-#define SOAP_TYPE__ngwm__removeProxyAccessResponse (295)
-/* ngwm:removeProxyAccessResponse */
-class SOAP_CMAC _ngwm__removeProxyAccessResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 295; } /* = unique id SOAP_TYPE__ngwm__removeProxyAccessResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeProxyAccessResponse() { }
- virtual ~_ngwm__removeProxyAccessResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeProxyUserRequest
-#define SOAP_TYPE__ngwm__removeProxyUserRequest (296)
-/* ngwm:removeProxyUserRequest */
-class SOAP_CMAC _ngwm__removeProxyUserRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 296; } /* = unique id SOAP_TYPE__ngwm__removeProxyUserRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeProxyUserRequest() { }
- virtual ~_ngwm__removeProxyUserRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeProxyUserResponse
-#define SOAP_TYPE__ngwm__removeProxyUserResponse (297)
-/* ngwm:removeProxyUserResponse */
-class SOAP_CMAC _ngwm__removeProxyUserResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 297; } /* = unique id SOAP_TYPE__ngwm__removeProxyUserResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeProxyUserResponse() { }
- virtual ~_ngwm__removeProxyUserResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeSignatureRequest
-#define SOAP_TYPE__ngwm__removeSignatureRequest (298)
-/* ngwm:removeSignatureRequest */
-class SOAP_CMAC _ngwm__removeSignatureRequest
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- bool *all; /* optional element of type xsd:boolean */
- bool global; /* optional element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 298; } /* = unique id SOAP_TYPE__ngwm__removeSignatureRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeSignatureRequest() { }
- virtual ~_ngwm__removeSignatureRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__removeSignatureResponse
-#define SOAP_TYPE__ngwm__removeSignatureResponse (299)
-/* ngwm:removeSignatureResponse */
-class SOAP_CMAC _ngwm__removeSignatureResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 299; } /* = unique id SOAP_TYPE__ngwm__removeSignatureResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__removeSignatureResponse() { }
- virtual ~_ngwm__removeSignatureResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__replyRequest
-#define SOAP_TYPE__ngwm__replyRequest (300)
-/* ngwm:replyRequest */
-class SOAP_CMAC _ngwm__replyRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- std::string *view; /* optional element of type ngwt:View */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 300; } /* = unique id SOAP_TYPE__ngwm__replyRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__replyRequest() { }
- virtual ~_ngwm__replyRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__replyResponse
-#define SOAP_TYPE__ngwm__replyResponse (301)
-/* ngwm:replyResponse */
-class SOAP_CMAC _ngwm__replyResponse
-{
-public:
- ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 301; } /* = unique id SOAP_TYPE__ngwm__replyResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__replyResponse() { }
- virtual ~_ngwm__replyResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__retractRequest
-#define SOAP_TYPE__ngwm__retractRequest (302)
-/* ngwm:retractRequest */
-class SOAP_CMAC _ngwm__retractRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- std::string *comment; /* optional element of type xsd:string */
- bool retractingAllInstances; /* optional element of type xsd:boolean */
- bool retractCausedByResend; /* optional element of type xsd:boolean */
- enum ngwt__RetractType *retractType; /* optional element of type ngwt:RetractType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 302; } /* = unique id SOAP_TYPE__ngwm__retractRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__retractRequest() { }
- virtual ~_ngwm__retractRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__retractResponse
-#define SOAP_TYPE__ngwm__retractResponse (303)
-/* ngwm:retractResponse */
-class SOAP_CMAC _ngwm__retractResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 303; } /* = unique id SOAP_TYPE__ngwm__retractResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__retractResponse() { }
- virtual ~_ngwm__retractResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__sendItemRequest
-#define SOAP_TYPE__ngwm__sendItemRequest (304)
-/* ngwm:sendItemRequest */
-class SOAP_CMAC _ngwm__sendItemRequest
-{
-public:
- ngwt__Item *item; /* required element of type ngwt:Item */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 304; } /* = unique id SOAP_TYPE__ngwm__sendItemRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__sendItemRequest() { }
- virtual ~_ngwm__sendItemRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__sendItemResponse
-#define SOAP_TYPE__ngwm__sendItemResponse (305)
-/* ngwm:sendItemResponse */
-class SOAP_CMAC _ngwm__sendItemResponse
-{
-public:
- std::vector<std::string >id; /* RPC return element */ /* optional element of type ngwt:uid */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 305; } /* = unique id SOAP_TYPE__ngwm__sendItemResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__sendItemResponse() { }
- virtual ~_ngwm__sendItemResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__setTimestampRequest
-#define SOAP_TYPE__ngwm__setTimestampRequest (306)
-/* ngwm:setTimestampRequest */
-class SOAP_CMAC _ngwm__setTimestampRequest
-{
-public:
- char *backup; /* optional element of type xsd:string */
- char *retention; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 306; } /* = unique id SOAP_TYPE__ngwm__setTimestampRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__setTimestampRequest() { }
- virtual ~_ngwm__setTimestampRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__setTimestampResponse
-#define SOAP_TYPE__ngwm__setTimestampResponse (307)
-/* ngwm:setTimestampResponse */
-class SOAP_CMAC _ngwm__setTimestampResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 307; } /* = unique id SOAP_TYPE__ngwm__setTimestampResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__setTimestampResponse() { }
- virtual ~_ngwm__setTimestampResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__startFreeBusySessionRequest
-#define SOAP_TYPE__ngwm__startFreeBusySessionRequest (308)
-/* ngwm:startFreeBusySessionRequest */
-class SOAP_CMAC _ngwm__startFreeBusySessionRequest
-{
-public:
- ngwt__FreeBusyUserList *users; /* required element of type ngwt:FreeBusyUserList */
- char *startDate; /* required element of type xsd:string */
- char *endDate; /* required element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 308; } /* = unique id SOAP_TYPE__ngwm__startFreeBusySessionRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__startFreeBusySessionRequest() { }
- virtual ~_ngwm__startFreeBusySessionRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__startFreeBusySessionResponse
-#define SOAP_TYPE__ngwm__startFreeBusySessionResponse (309)
-/* ngwm:startFreeBusySessionResponse */
-class SOAP_CMAC _ngwm__startFreeBusySessionResponse
-{
-public:
- int *freeBusySessionId; /* RPC return element */ /* optional element of type xsd:int */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 309; } /* = unique id SOAP_TYPE__ngwm__startFreeBusySessionResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__startFreeBusySessionResponse() { }
- virtual ~_ngwm__startFreeBusySessionResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__unacceptRequest
-#define SOAP_TYPE__ngwm__unacceptRequest (310)
-/* ngwm:unacceptRequest */
-class SOAP_CMAC _ngwm__unacceptRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 310; } /* = unique id SOAP_TYPE__ngwm__unacceptRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__unacceptRequest() { }
- virtual ~_ngwm__unacceptRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__unacceptResponse
-#define SOAP_TYPE__ngwm__unacceptResponse (311)
-/* ngwm:unacceptResponse */
-class SOAP_CMAC _ngwm__unacceptResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 311; } /* = unique id SOAP_TYPE__ngwm__unacceptResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__unacceptResponse() { }
- virtual ~_ngwm__unacceptResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__uncompleteRequest
-#define SOAP_TYPE__ngwm__uncompleteRequest (312)
-/* ngwm:uncompleteRequest */
-class SOAP_CMAC _ngwm__uncompleteRequest
-{
-public:
- ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 312; } /* = unique id SOAP_TYPE__ngwm__uncompleteRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__uncompleteRequest() { }
- virtual ~_ngwm__uncompleteRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__uncompleteResponse
-#define SOAP_TYPE__ngwm__uncompleteResponse (313)
-/* ngwm:uncompleteResponse */
-class SOAP_CMAC _ngwm__uncompleteResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 313; } /* = unique id SOAP_TYPE__ngwm__uncompleteResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__uncompleteResponse() { }
- virtual ~_ngwm__uncompleteResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__updateVersionStatusRequest
-#define SOAP_TYPE__ngwm__updateVersionStatusRequest (314)
-/* ngwm:updateVersionStatusRequest */
-class SOAP_CMAC _ngwm__updateVersionStatusRequest
-{
-public:
- std::string id; /* required element of type ngwt:uid */
-public:
- enum ngwt__VersionEventType event; /* required element of type ngwt:VersionEventType */
- ngwt__SignatureData *part; /* optional element of type ngwt:SignatureData */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 314; } /* = unique id SOAP_TYPE__ngwm__updateVersionStatusRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__updateVersionStatusRequest() { }
- virtual ~_ngwm__updateVersionStatusRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwm__updateVersionStatusResponse
-#define SOAP_TYPE__ngwm__updateVersionStatusResponse (315)
-/* ngwm:updateVersionStatusResponse */
-class SOAP_CMAC _ngwm__updateVersionStatusResponse
-{
-public:
- ngwt__SignatureData *part; /* RPC return element */ /* optional element of type ngwt:SignatureData */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 315; } /* = unique id SOAP_TYPE__ngwm__updateVersionStatusResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwm__updateVersionStatusResponse() { }
- virtual ~_ngwm__updateVersionStatusResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__ContainerList
-#define SOAP_TYPE_ngwe__ContainerList (316)
-/* ngwe:ContainerList */
-class SOAP_CMAC ngwe__ContainerList
-{
-public:
- std::vector<std::string >container; /* optional element of type ngwt:uid */
- bool *not_; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 316; } /* = unique id SOAP_TYPE_ngwe__ContainerList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__ContainerList() { }
- virtual ~ngwe__ContainerList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__Event
-#define SOAP_TYPE_ngwe__Event (317)
-/* ngwe:Event */
-class SOAP_CMAC ngwe__Event
-{
-public:
- enum ngwe__EventType event; /* required element of type ngwe:EventType */
- std::string *id; /* optional element of type ngwt:uid */
- char *timeStamp; /* optional element of type xsd:string */
- enum ngwe__FieldList *field; /* optional element of type ngwe:FieldList */
- std::string *container; /* optional element of type ngwt:uid */
- std::string *from; /* optional element of type ngwt:uid */
- std::string *key; /* optional element of type xsd:string */
- unsigned long *uid; /* optional element of type xsd:unsignedLong */
- enum ngwe__ItemType *type; /* optional element of type ngwe:ItemType */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 317; } /* = unique id SOAP_TYPE_ngwe__Event */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__Event() { }
- virtual ~ngwe__Event() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__EventDefinition
-#define SOAP_TYPE_ngwe__EventDefinition (318)
-/* ngwe:EventDefinition */
-class SOAP_CMAC ngwe__EventDefinition
-{
-public:
- class ngwe__EventTypeList *events; /* required element of type ngwe:EventTypeList */
- enum ngwe__ItemTypeList *type; /* optional element of type ngwe:ItemTypeList */
- enum ngwe__FieldList *field; /* optional element of type ngwe:FieldList */
- ngwe__ContainerList *containers; /* optional element of type ngwe:ContainerList */
- std::string *subType; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 318; } /* = unique id SOAP_TYPE_ngwe__EventDefinition */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__EventDefinition() { }
- virtual ~ngwe__EventDefinition() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__EventList
-#define SOAP_TYPE_ngwe__EventList (319)
-/* ngwe:EventList */
-class SOAP_CMAC ngwe__EventList
-{
-public:
- std::vector<ngwe__Event * >event; /* optional element of type ngwe:Event */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 319; } /* = unique id SOAP_TYPE_ngwe__EventList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__EventList() { }
- virtual ~ngwe__EventList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__Events
-#define SOAP_TYPE_ngwe__Events (320)
-/* ngwe:Events */
-class SOAP_CMAC ngwe__Events
-{
-public:
- std::string key; /* required element of type xsd:string */
-public:
- std::string *persistence; /* optional element of type xsd:duration */
- std::string *ipAddress; /* optional element of type xsd:string */
- int *port; /* optional element of type xsd:int */
- bool http; /* optional element of type xsd:boolean */
- ngwe__EventDefinition *definition; /* optional element of type ngwe:EventDefinition */
- bool *enabled; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 320; } /* = unique id SOAP_TYPE_ngwe__Events */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__Events() { }
- virtual ~ngwe__Events() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__EventsList
-#define SOAP_TYPE_ngwe__EventsList (321)
-/* ngwe:EventsList */
-class SOAP_CMAC ngwe__EventsList
-{
-public:
- std::vector<ngwe__Events * >event; /* optional element of type ngwe:Events */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 321; } /* = unique id SOAP_TYPE_ngwe__EventsList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__EventsList() { }
- virtual ~ngwe__EventsList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__EventTypeList
-#define SOAP_TYPE_ngwe__EventTypeList (322)
-/* ngwe:EventTypeList */
-class SOAP_CMAC ngwe__EventTypeList
-{
-public:
- std::vector<enum ngwe__EventType >event; /* sequence of 1 to 36 elements */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 322; } /* = unique id SOAP_TYPE_ngwe__EventTypeList */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__EventTypeList() { }
- virtual ~ngwe__EventTypeList() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwe__Notify
-#define SOAP_TYPE_ngwe__Notify (323)
-/* ngwe:Notify */
-class SOAP_CMAC ngwe__Notify
-{
-public:
- std::string userid; /* required element of type xsd:string */
- std::string key; /* required element of type xsd:string */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 323; } /* = unique id SOAP_TYPE_ngwe__Notify */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwe__Notify() { }
- virtual ~ngwe__Notify() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationRequest
-#define SOAP_TYPE__ngwe__cleanEventConfigurationRequest (324)
-/* ngwe:cleanEventConfigurationRequest */
-class SOAP_CMAC _ngwe__cleanEventConfigurationRequest
-{
-public:
- bool all; /* required element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 324; } /* = unique id SOAP_TYPE__ngwe__cleanEventConfigurationRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__cleanEventConfigurationRequest() { }
- virtual ~_ngwe__cleanEventConfigurationRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationResponse
-#define SOAP_TYPE__ngwe__cleanEventConfigurationResponse (325)
-/* ngwe:cleanEventConfigurationResponse */
-class SOAP_CMAC _ngwe__cleanEventConfigurationResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 325; } /* = unique id SOAP_TYPE__ngwe__cleanEventConfigurationResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__cleanEventConfigurationResponse() { }
- virtual ~_ngwe__cleanEventConfigurationResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__configureEventsRequest
-#define SOAP_TYPE__ngwe__configureEventsRequest (326)
-/* ngwe:configureEventsRequest */
-class SOAP_CMAC _ngwe__configureEventsRequest
-{
-public:
- ngwe__Events *events; /* optional element of type ngwe:Events */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 326; } /* = unique id SOAP_TYPE__ngwe__configureEventsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__configureEventsRequest() { }
- virtual ~_ngwe__configureEventsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__configureEventsResponse
-#define SOAP_TYPE__ngwe__configureEventsResponse (327)
-/* ngwe:configureEventsResponse */
-class SOAP_CMAC _ngwe__configureEventsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 327; } /* = unique id SOAP_TYPE__ngwe__configureEventsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__configureEventsResponse() { }
- virtual ~_ngwe__configureEventsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__getEventConfigurationRequest
-#define SOAP_TYPE__ngwe__getEventConfigurationRequest (328)
-/* ngwe:getEventConfigurationRequest */
-class SOAP_CMAC _ngwe__getEventConfigurationRequest
-{
-public:
- std::string *key; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 328; } /* = unique id SOAP_TYPE__ngwe__getEventConfigurationRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__getEventConfigurationRequest() { }
- virtual ~_ngwe__getEventConfigurationRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__getEventConfigurationResponse
-#define SOAP_TYPE__ngwe__getEventConfigurationResponse (329)
-/* ngwe:getEventConfigurationResponse */
-class SOAP_CMAC _ngwe__getEventConfigurationResponse
-{
-public:
- ngwe__EventsList *events; /* RPC return element */ /* optional element of type ngwe:EventsList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 329; } /* = unique id SOAP_TYPE__ngwe__getEventConfigurationResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__getEventConfigurationResponse() { }
- virtual ~_ngwe__getEventConfigurationResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__getEventsRequest
-#define SOAP_TYPE__ngwe__getEventsRequest (330)
-/* ngwe:getEventsRequest */
-class SOAP_CMAC _ngwe__getEventsRequest
-{
-public:
- std::string key; /* required element of type xsd:string */
-public:
- char *from; /* optional element of type xsd:string */
- char *until; /* optional element of type xsd:string */
- unsigned long *uid; /* optional element of type xsd:unsignedLong */
- int count; /* required element of type xsd:int */
- bool remove; /* required element of type xsd:boolean */
- bool notify; /* required element of type xsd:boolean */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 330; } /* = unique id SOAP_TYPE__ngwe__getEventsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__getEventsRequest() { }
- virtual ~_ngwe__getEventsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__getEventsResponse
-#define SOAP_TYPE__ngwe__getEventsResponse (331)
-/* ngwe:getEventsResponse */
-class SOAP_CMAC _ngwe__getEventsResponse
-{
-public:
- ngwe__EventList *events; /* RPC return element */ /* optional element of type ngwe:EventList */
- ngwt__Status *status; /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 331; } /* = unique id SOAP_TYPE__ngwe__getEventsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__getEventsResponse() { }
- virtual ~_ngwe__getEventsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__removeEventConfigurationRequest
-#define SOAP_TYPE__ngwe__removeEventConfigurationRequest (332)
-/* ngwe:removeEventConfigurationRequest */
-class SOAP_CMAC _ngwe__removeEventConfigurationRequest
-{
-public:
- std::string key; /* required element of type xsd:string */
-public:
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 332; } /* = unique id SOAP_TYPE__ngwe__removeEventConfigurationRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__removeEventConfigurationRequest() { }
- virtual ~_ngwe__removeEventConfigurationRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__removeEventConfigurationResponse
-#define SOAP_TYPE__ngwe__removeEventConfigurationResponse (333)
-/* ngwe:removeEventConfigurationResponse */
-class SOAP_CMAC _ngwe__removeEventConfigurationResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 333; } /* = unique id SOAP_TYPE__ngwe__removeEventConfigurationResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__removeEventConfigurationResponse() { }
- virtual ~_ngwe__removeEventConfigurationResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__removeEventsRequest
-#define SOAP_TYPE__ngwe__removeEventsRequest (334)
-/* ngwe:removeEventsRequest */
-class SOAP_CMAC _ngwe__removeEventsRequest
-{
-public:
- std::string key; /* required element of type xsd:string */
-public:
- char *from; /* optional element of type xsd:string */
- char *until; /* optional element of type xsd:string */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 334; } /* = unique id SOAP_TYPE__ngwe__removeEventsRequest */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__removeEventsRequest() { }
- virtual ~_ngwe__removeEventsRequest() { }
-};
-#endif
-
-#ifndef SOAP_TYPE__ngwe__removeEventsResponse
-#define SOAP_TYPE__ngwe__removeEventsResponse (335)
-/* ngwe:removeEventsResponse */
-class SOAP_CMAC _ngwe__removeEventsResponse
-{
-public:
- ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 335; } /* = unique id SOAP_TYPE__ngwe__removeEventsResponse */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- _ngwe__removeEventsResponse() { }
- virtual ~_ngwe__removeEventsResponse() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessControlListEntry
-#define SOAP_TYPE_ngwt__AccessControlListEntry (18)
-/* ngwt:AccessControlListEntry */
-class SOAP_CMAC ngwt__AccessControlListEntry : public ngwt__NameAndEmail
-{
-public:
- ngwt__Rights *rights; /* required element of type ngwt:Rights */
-public:
- virtual int soap_type() const { return 18; } /* = unique id SOAP_TYPE_ngwt__AccessControlListEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessControlListEntry() { }
- virtual ~ngwt__AccessControlListEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AccessRightEntry
-#define SOAP_TYPE_ngwt__AccessRightEntry (23)
-/* ngwt:AccessRightEntry */
-class SOAP_CMAC ngwt__AccessRightEntry : public ngwt__NameAndEmail
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
- ngwt__AccessRight *appointment; /* optional element of type ngwt:AccessRight */
- ngwt__AccessRight *mail; /* optional element of type ngwt:AccessRight */
- ngwt__AccessMiscRight *misc; /* optional element of type ngwt:AccessMiscRight */
- ngwt__AccessRight *note; /* optional element of type ngwt:AccessRight */
- ngwt__AccessRight *task; /* optional element of type ngwt:AccessRight */
-public:
- virtual int soap_type() const { return 23; } /* = unique id SOAP_TYPE_ngwt__AccessRightEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AccessRightEntry() { }
- virtual ~ngwt__AccessRightEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AddressBook
-#define SOAP_TYPE_ngwt__AddressBook (25)
-/* ngwt:AddressBook */
-class SOAP_CMAC ngwt__AddressBook : public ngwt__Item
-{
-public:
- std::string *description; /* optional element of type xsd:string */
- bool *isPersonal; /* optional element of type xsd:boolean */
- bool *isFrequentContacts; /* optional element of type xsd:boolean */
-public:
- virtual int soap_type() const { return 25; } /* = unique id SOAP_TYPE_ngwt__AddressBook */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AddressBook() { }
- virtual ~ngwt__AddressBook() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Alarm
-#define SOAP_TYPE_ngwt__Alarm (28)
-/* Primitive ngwt:Alarm schema type: */
-class SOAP_CMAC ngwt__Alarm
-{
-public:
- int __item;
- bool *enabled; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 28; } /* = unique id SOAP_TYPE_ngwt__Alarm */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Alarm() { }
- virtual ~ngwt__Alarm() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Category
-#define SOAP_TYPE_ngwt__Category (37)
-/* ngwt:Category */
-class SOAP_CMAC ngwt__Category : public ngwt__Item
-{
-public:
- enum ngwt__CategoryType *type; /* optional element of type ngwt:CategoryType */
- unsigned long *color; /* optional element of type xsd:unsignedLong */
-public:
- virtual int soap_type() const { return 37; } /* = unique id SOAP_TYPE_ngwt__Category */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Category() { }
- virtual ~ngwt__Category() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CommentStatus
-#define SOAP_TYPE_ngwt__CommentStatus (40)
-/* Primitive ngwt:CommentStatus schema type: */
-class SOAP_CMAC ngwt__CommentStatus
-{
-public:
- char *__item;
- std::string *comment; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 40; } /* = unique id SOAP_TYPE_ngwt__CommentStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CommentStatus() { }
- virtual ~ngwt__CommentStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ContainerItem
-#define SOAP_TYPE_ngwt__ContainerItem (43)
-/* ngwt:ContainerItem */
-class SOAP_CMAC ngwt__ContainerItem : public ngwt__Item
-{
-public:
- std::vector<class ngwt__ContainerRef * >container; /* required element of type ngwt:ContainerRef */
- ngwt__CategoryRefList *categories; /* optional element of type ngwt:CategoryRefList */
- char *created; /* optional element of type xsd:string */
- ngwt__CustomList *customs; /* optional element of type ngwt:CustomList */
-public:
- virtual int soap_type() const { return 43; } /* = unique id SOAP_TYPE_ngwt__ContainerItem */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ContainerItem() { }
- virtual ~ngwt__ContainerItem() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ContainerRef
-#define SOAP_TYPE_ngwt__ContainerRef (44)
-/* Primitive ngwt:ContainerRef schema type: */
-class SOAP_CMAC ngwt__ContainerRef
-{
-public:
- std::string __item;
-public:
- char *deleted; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 44; } /* = unique id SOAP_TYPE_ngwt__ContainerRef */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ContainerRef() { }
- virtual ~ngwt__ContainerRef() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DelegatedStatus
-#define SOAP_TYPE_ngwt__DelegatedStatus (52)
-/* Primitive ngwt:DelegatedStatus schema type: */
-class SOAP_CMAC ngwt__DelegatedStatus
-{
-public:
- ngwt__CommentStatus *__item;
- std::string *userid; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 52; } /* = unique id SOAP_TYPE_ngwt__DelegatedStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DelegatedStatus() { }
- virtual ~ngwt__DelegatedStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DelegateeStatus
-#define SOAP_TYPE_ngwt__DelegateeStatus (53)
-/* ngwt:DelegateeStatus */
-class SOAP_CMAC ngwt__DelegateeStatus : public ngwt__RecipientStatus
-{
-public:
- std::string *userid; /* optional attribute */
-public:
- virtual int soap_type() const { return 53; } /* = unique id SOAP_TYPE_ngwt__DelegateeStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DelegateeStatus() { }
- virtual ~ngwt__DelegateeStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FilterEntry
-#define SOAP_TYPE_ngwt__FilterEntry (63)
-/* ngwt:FilterEntry */
-class SOAP_CMAC ngwt__FilterEntry : public ngwt__FilterElement
-{
-public:
- std::string *field; /* optional element of type xsd:string */
- ngwt__Custom *custom; /* optional element of type ngwt:Custom */
- std::string *value; /* optional element of type xsd:string */
- enum ngwt__FilterDate *date; /* optional element of type ngwt:FilterDate */
-public:
- virtual int soap_type() const { return 63; } /* = unique id SOAP_TYPE_ngwt__FilterEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FilterEntry() { }
- virtual ~ngwt__FilterEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FilterGroup
-#define SOAP_TYPE_ngwt__FilterGroup (64)
-/* ngwt:FilterGroup */
-class SOAP_CMAC ngwt__FilterGroup : public ngwt__FilterElement
-{
-public:
- std::vector<ngwt__FilterElement * >element; /* required element of type ngwt:FilterElement */
-public:
- virtual int soap_type() const { return 64; } /* = unique id SOAP_TYPE_ngwt__FilterGroup */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FilterGroup() { }
- virtual ~ngwt__FilterGroup() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Folder
-#define SOAP_TYPE_ngwt__Folder (65)
-/* ngwt:Folder */
-class SOAP_CMAC ngwt__Folder : public ngwt__Item
-{
-public:
- std::string parent; /* required element of type ngwt:uid */
-public:
- std::string *description; /* optional element of type xsd:string */
- int *count; /* optional element of type xsd:int */
- bool *hasUnread; /* optional element of type xsd:boolean */
- int *unreadCount; /* optional element of type xsd:int */
- unsigned long *sequence; /* optional element of type xsd:unsignedLong */
- std::string *settings; /* optional element of type ngwt:uid */
- ngwt__CalendarFolderAttribute *calendarAttribute; /* optional element of type ngwt:CalendarFolderAttribute */
-public:
- virtual int soap_type() const { return 65; } /* = unique id SOAP_TYPE_ngwt__Folder */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Folder() { }
- virtual ~ngwt__Folder() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FreeBusyInfo
-#define SOAP_TYPE_ngwt__FreeBusyInfo (71)
-/* ngwt:FreeBusyInfo */
-class SOAP_CMAC ngwt__FreeBusyInfo : public ngwt__NameAndEmail
-{
-public:
- ngwt__FreeBusyBlockList *blocks; /* required element of type ngwt:FreeBusyBlockList */
-public:
- virtual int soap_type() const { return 71; } /* = unique id SOAP_TYPE_ngwt__FreeBusyInfo */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FreeBusyInfo() { }
- virtual ~ngwt__FreeBusyInfo() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__From
-#define SOAP_TYPE_ngwt__From (75)
-/* ngwt:From */
-class SOAP_CMAC ngwt__From : public ngwt__NameAndEmail
-{
-public:
- std::string *replyTo; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 75; } /* = unique id SOAP_TYPE_ngwt__From */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__From() { }
- virtual ~ngwt__From() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ItemRef
-#define SOAP_TYPE_ngwt__ItemRef (87)
-/* Primitive ngwt:ItemRef schema type: */
-class SOAP_CMAC ngwt__ItemRef
-{
-public:
- std::string __item;
-public:
- std::string *uid; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 87; } /* = unique id SOAP_TYPE_ngwt__ItemRef */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ItemRef() { }
- virtual ~ngwt__ItemRef() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Library
-#define SOAP_TYPE_ngwt__Library (93)
-/* ngwt:Library */
-class SOAP_CMAC ngwt__Library : public ngwt__Item
-{
-public:
- std::string *description; /* optional element of type xsd:string */
- std::string *domain; /* optional element of type xsd:string */
- std::string *postOffice; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 93; } /* = unique id SOAP_TYPE_ngwt__Library */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Library() { }
- virtual ~ngwt__Library() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__MessagePart
-#define SOAP_TYPE_ngwt__MessagePart (98)
-/* Primitive ngwt:MessagePart schema type: */
-class SOAP_CMAC ngwt__MessagePart
-{
-public:
- xsd__base64Binary __item;
- std::string *id; /* optional attribute */
- std::string *contentId; /* optional attribute */
- std::string *contentType; /* optional attribute */
- int *length; /* optional attribute */
- int *offset; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 98; } /* = unique id SOAP_TYPE_ngwt__MessagePart */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__MessagePart() { }
- virtual ~ngwt__MessagePart() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PhoneNumber
-#define SOAP_TYPE_ngwt__PhoneNumber (109)
-/* Primitive ngwt:PhoneNumber schema type: */
-class SOAP_CMAC ngwt__PhoneNumber
-{
-public:
- std::string __item;
-public:
- enum ngwt__PhoneNumberType type; /* required attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 109; } /* = unique id SOAP_TYPE_ngwt__PhoneNumber */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PhoneNumber() { }
- virtual ~ngwt__PhoneNumber() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PlainText
-#define SOAP_TYPE_ngwt__PlainText (110)
-/* ngwt:PlainText */
-class SOAP_CMAC ngwt__PlainText : public ngwt__Authentication
-{
-public:
- std::string username; /* required element of type xsd:string */
-public:
- std::string *password; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 110; } /* = unique id SOAP_TYPE_ngwt__PlainText */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PlainText() { }
- virtual ~ngwt__PlainText() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Proxy
-#define SOAP_TYPE_ngwt__Proxy (115)
-/* ngwt:Proxy */
-class SOAP_CMAC ngwt__Proxy : public ngwt__Authentication
-{
-public:
- std::string username; /* required element of type xsd:string */
-public:
- std::string *password; /* optional element of type xsd:string */
- std::string proxy; /* required element of type xsd:string */
-public:
- virtual int soap_type() const { return 115; } /* = unique id SOAP_TYPE_ngwt__Proxy */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Proxy() { }
- virtual ~ngwt__Proxy() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ProxyUser
-#define SOAP_TYPE_ngwt__ProxyUser (116)
-/* ngwt:ProxyUser */
-class SOAP_CMAC ngwt__ProxyUser : public ngwt__NameAndEmail
-{
-public:
- std::string *id; /* optional element of type ngwt:uid */
-public:
- virtual int soap_type() const { return 116; } /* = unique id SOAP_TYPE_ngwt__ProxyUser */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ProxyUser() { }
- virtual ~ngwt__ProxyUser() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Recipient
-#define SOAP_TYPE_ngwt__Recipient (121)
-/* ngwt:Recipient */
-class SOAP_CMAC ngwt__Recipient : public ngwt__NameAndEmail
-{
-public:
- enum ngwt__DistributionType distType; /* optional element of type ngwt:DistributionType */
- enum ngwt__RecipientType recipType; /* optional element of type ngwt:RecipientType */
- ngwt__RecipientStatus *recipientStatus; /* optional element of type ngwt:RecipientStatus */
- enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */
-public:
- virtual int soap_type() const { return 121; } /* = unique id SOAP_TYPE_ngwt__Recipient */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Recipient() { }
- virtual ~ngwt__Recipient() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__TransferFailedStatus
-#define SOAP_TYPE_ngwt__TransferFailedStatus (154)
-/* ngwt:TransferFailedStatus */
-class SOAP_CMAC ngwt__TransferFailedStatus : public ngwt__RecipientStatus
-{
-public:
- std::string *FailureReason; /* optional attribute */
-public:
- virtual int soap_type() const { return 154; } /* = unique id SOAP_TYPE_ngwt__TransferFailedStatus */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__TransferFailedStatus() { }
- virtual ~ngwt__TransferFailedStatus() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__TrustedApplication
-#define SOAP_TYPE_ngwt__TrustedApplication (155)
-/* ngwt:TrustedApplication */
-class SOAP_CMAC ngwt__TrustedApplication : public ngwt__Authentication
-{
-public:
- std::string username; /* required element of type xsd:string */
- std::string name; /* required element of type xsd:string */
- std::string key; /* required element of type xsd:string */
-public:
- virtual int soap_type() const { return 155; } /* = unique id SOAP_TYPE_ngwt__TrustedApplication */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__TrustedApplication() { }
- virtual ~ngwt__TrustedApplication() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AddressBookItem
-#define SOAP_TYPE_ngwt__AddressBookItem (26)
-/* ngwt:AddressBookItem */
-class SOAP_CMAC ngwt__AddressBookItem : public ngwt__ContainerItem
-{
-public:
- std::string *uuid; /* optional element of type ngwt:UUID */
- std::string *comment; /* optional element of type xsd:string */
- enum ngwt__DeltaSyncType *sync; /* optional element of type ngwt:DeltaSyncType */
- std::string *domain; /* optional element of type xsd:string */
- std::string *postOffice; /* optional element of type xsd:string */
- std::string *distinguishedName; /* optional element of type xsd:string */
- std::string *userid; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 26; } /* = unique id SOAP_TYPE_ngwt__AddressBookItem */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AddressBookItem() { }
- virtual ~ngwt__AddressBookItem() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__AttachmentID
-#define SOAP_TYPE_ngwt__AttachmentID (30)
-/* Primitive ngwt:AttachmentID schema type: */
-class SOAP_CMAC ngwt__AttachmentID
-{
-public:
- std::string __item;
-public:
- bool *itemReference; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 30; } /* = unique id SOAP_TYPE_ngwt__AttachmentID */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__AttachmentID() { }
- virtual ~ngwt__AttachmentID() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__BoxEntry
-#define SOAP_TYPE_ngwt__BoxEntry (34)
-/* ngwt:BoxEntry */
-class SOAP_CMAC ngwt__BoxEntry : public ngwt__ContainerItem
-{
-public:
- ngwt__ItemStatus *status; /* optional element of type ngwt:ItemStatus */
- std::string *thread; /* optional element of type xsd:string */
- std::string *msgId; /* optional element of type xsd:string */
- std::string *messageId; /* optional element of type xsd:string */
- enum ngwt__ItemSource *source; /* optional element of type ngwt:ItemSource */
- bool *returnSentItemsId; /* optional element of type xsd:boolean */
- char *delivered; /* required element of type xsd:string */
- enum ngwt__ItemClass *class_; /* optional element of type ngwt:ItemClass */
- enum ngwt__ItemSecurity *security; /* optional element of type ngwt:ItemSecurity */
- std::string *comment; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 34; } /* = unique id SOAP_TYPE_ngwt__BoxEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__BoxEntry() { }
- virtual ~ngwt__BoxEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfWeek
-#define SOAP_TYPE_ngwt__DayOfWeek (48)
-/* Primitive ngwt:DayOfWeek schema type: */
-class SOAP_CMAC ngwt__DayOfWeek
-{
-public:
- enum ngwt__WeekDay __item;
- enum ngwt__OccurrenceType *occurrence; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 48; } /* = unique id SOAP_TYPE_ngwt__DayOfWeek */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DayOfWeek() { }
- virtual ~ngwt__DayOfWeek() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfYearWeek
-#define SOAP_TYPE_ngwt__DayOfYearWeek (50)
-/* Primitive ngwt:DayOfYearWeek schema type: */
-class SOAP_CMAC ngwt__DayOfYearWeek
-{
-public:
- enum ngwt__WeekDay __item;
- short *occurrence; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 50; } /* = unique id SOAP_TYPE_ngwt__DayOfYearWeek */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DayOfYearWeek() { }
- virtual ~ngwt__DayOfYearWeek() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Document
-#define SOAP_TYPE_ngwt__Document (56)
-/* ngwt:Document */
-class SOAP_CMAC ngwt__Document : public ngwt__ContainerItem
-{
-public:
- std::string *subject; /* optional element of type xsd:string */
- ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */
- unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */
- std::string *documentTypeName; /* optional element of type xsd:string */
- ngwt__NameAndEmail *author; /* optional element of type ngwt:NameAndEmail */
- ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */
- unsigned long *officialVersion; /* optional element of type xsd:unsignedLong */
- unsigned long *currentVersion; /* optional element of type xsd:unsignedLong */
- ngwt__AccessControlList *current; /* optional element of type ngwt:AccessControlList */
- ngwt__AccessControlList *official; /* optional element of type ngwt:AccessControlList */
- ngwt__AccessControlList *other; /* optional element of type ngwt:AccessControlList */
-public:
- virtual int soap_type() const { return 56; } /* = unique id SOAP_TYPE_ngwt__Document */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Document() { }
- virtual ~ngwt__Document() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__FolderACLEntry
-#define SOAP_TYPE_ngwt__FolderACLEntry (67)
-/* ngwt:FolderACLEntry */
-class SOAP_CMAC ngwt__FolderACLEntry : public ngwt__AccessControlListEntry
-{
-public:
- enum ngwt__FolderACLStatus *status; /* optional element of type ngwt:FolderACLStatus */
-public:
- virtual int soap_type() const { return 67; } /* = unique id SOAP_TYPE_ngwt__FolderACLEntry */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__FolderACLEntry() { }
- virtual ~ngwt__FolderACLEntry() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__QueryFolder
-#define SOAP_TYPE_ngwt__QueryFolder (119)
-/* ngwt:QueryFolder */
-class SOAP_CMAC ngwt__QueryFolder : public ngwt__Folder
-{
-public:
- enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */
- ngwt__Query *query; /* optional element of type ngwt:Query */
-public:
- virtual int soap_type() const { return 119; } /* = unique id SOAP_TYPE_ngwt__QueryFolder */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__QueryFolder() { }
- virtual ~ngwt__QueryFolder() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Rule
-#define SOAP_TYPE_ngwt__Rule (131)
-/* ngwt:Rule */
-class SOAP_CMAC ngwt__Rule : public ngwt__ContainerItem
-{
-public:
- enum ngwt__Execution *execution; /* optional element of type ngwt:Execution */
- unsigned long sequence; /* required element of type xsd:unsignedLong */
- bool enabled; /* optional element of type xsd:boolean */
- enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */
- enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */
- enum ngwt__AppointmentConflict conflict; /* optional element of type ngwt:AppointmentConflict */
- ngwt__Filter *filter; /* optional element of type ngwt:Filter */
- ngwt__RuleActionList *actions; /* optional element of type ngwt:RuleActionList */
-public:
- virtual int soap_type() const { return 131; } /* = unique id SOAP_TYPE_ngwt__Rule */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Rule() { }
- virtual ~ngwt__Rule() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SharedFolder
-#define SOAP_TYPE_ngwt__SharedFolder (140)
-/* ngwt:SharedFolder */
-class SOAP_CMAC ngwt__SharedFolder : public ngwt__Folder
-{
-public:
- ngwt__Rights *rights; /* optional element of type ngwt:Rights */
- ngwt__FolderACL *acl; /* optional element of type ngwt:FolderACL */
- std::string *owner; /* optional element of type ngwt:UUID */
- bool *isSharedByMe; /* optional element of type xsd:boolean */
- bool *isSharedToMe; /* optional element of type xsd:boolean */
-public:
- virtual int soap_type() const { return 140; } /* = unique id SOAP_TYPE_ngwt__SharedFolder */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SharedFolder() { }
- virtual ~ngwt__SharedFolder() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__StatusTracking
-#define SOAP_TYPE_ngwt__StatusTracking (148)
-/* Primitive ngwt:StatusTracking schema type: */
-class SOAP_CMAC ngwt__StatusTracking
-{
-public:
- enum ngwt__StatusTrackingOptions __item;
- bool *autoDelete; /* optional attribute */
- struct soap *soap; /* transient */
-public:
- virtual int soap_type() const { return 148; } /* = unique id SOAP_TYPE_ngwt__StatusTracking */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__StatusTracking() { }
- virtual ~ngwt__StatusTracking() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SystemFolder
-#define SOAP_TYPE_ngwt__SystemFolder (149)
-/* ngwt:SystemFolder */
-class SOAP_CMAC ngwt__SystemFolder : public ngwt__Folder
-{
-public:
- bool *isSystemFolder; /* optional element of type xsd:boolean */
- enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */
- ngwt__FolderACL *acl; /* optional element of type ngwt:FolderACL */
- bool *isSharedByMe; /* optional element of type xsd:boolean */
-public:
- virtual int soap_type() const { return 149; } /* = unique id SOAP_TYPE_ngwt__SystemFolder */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SystemFolder() { }
- virtual ~ngwt__SystemFolder() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Version
-#define SOAP_TYPE_ngwt__Version (158)
-/* ngwt:Version */
-class SOAP_CMAC ngwt__Version : public ngwt__ContainerItem
-{
-public:
- ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */
- unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */
- ngwt__NameAndEmail *versionCreator; /* optional element of type ngwt:NameAndEmail */
- ngwt__NameAndEmail *retrievedBy; /* optional element of type ngwt:NameAndEmail */
- char *retrievedDate; /* optional element of type xsd:string */
- unsigned long versionNumber; /* required element of type xsd:unsignedLong */
- std::string *versionDescription; /* optional element of type xsd:string */
- enum ngwt__VersionStatus *versionStatus; /* optional element of type ngwt:VersionStatus */
- unsigned long *life; /* optional element of type xsd:unsignedLong */
- enum ngwt__AgeAction *ageAction; /* optional element of type ngwt:AgeAction */
- unsigned long *fileSize; /* optional element of type xsd:unsignedLong */
- std::string *filename; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 158; } /* = unique id SOAP_TYPE_ngwt__Version */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Version() { }
- virtual ~ngwt__Version() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__VersionEvent
-#define SOAP_TYPE_ngwt__VersionEvent (159)
-/* ngwt:VersionEvent */
-class SOAP_CMAC ngwt__VersionEvent : public ngwt__ContainerItem
-{
-public:
- ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */
- unsigned long documentNumber; /* required element of type xsd:unsignedLong */
- unsigned long versionNumber; /* required element of type xsd:unsignedLong */
- ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */
- enum ngwt__VersionEventType event; /* required element of type ngwt:VersionEventType */
- unsigned long *eventNumber; /* optional element of type xsd:unsignedLong */
- std::string *filename; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 159; } /* = unique id SOAP_TYPE_ngwt__VersionEvent */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__VersionEvent() { }
- virtual ~ngwt__VersionEvent() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Contact
-#define SOAP_TYPE_ngwt__Contact (41)
-/* ngwt:Contact */
-class SOAP_CMAC ngwt__Contact : public ngwt__AddressBookItem
-{
-public:
- ngwt__FullName *fullName; /* optional element of type ngwt:FullName */
- ngwt__EmailAddressList *emailList; /* optional element of type ngwt:EmailAddressList */
- ngwt__ImAddressList *imList; /* optional element of type ngwt:ImAddressList */
- ngwt__PhoneList *phoneList; /* optional element of type ngwt:PhoneList */
- ngwt__PostalAddressList *addressList; /* optional element of type ngwt:PostalAddressList */
- ngwt__OfficeInfo *officeInfo; /* optional element of type ngwt:OfficeInfo */
- ngwt__PersonalInfo *personalInfo; /* optional element of type ngwt:PersonalInfo */
- ngwt__ReferenceInfo *referenceInfo; /* optional element of type ngwt:ReferenceInfo */
-public:
- virtual int soap_type() const { return 41; } /* = unique id SOAP_TYPE_ngwt__Contact */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Contact() { }
- virtual ~ngwt__Contact() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__ContactFolder
-#define SOAP_TYPE_ngwt__ContactFolder (42)
-/* ngwt:ContactFolder */
-class SOAP_CMAC ngwt__ContactFolder : public ngwt__SystemFolder
-{
-public:
- std::string *addressBook; /* optional element of type ngwt:uid */
-public:
- virtual int soap_type() const { return 42; } /* = unique id SOAP_TYPE_ngwt__ContactFolder */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__ContactFolder() { }
- virtual ~ngwt__ContactFolder() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Group
-#define SOAP_TYPE_ngwt__Group (77)
-/* ngwt:Group */
-class SOAP_CMAC ngwt__Group : public ngwt__AddressBookItem
-{
-public:
- ngwt__GroupMemberList *members; /* optional element of type ngwt:GroupMemberList */
-public:
- virtual int soap_type() const { return 77; } /* = unique id SOAP_TYPE_ngwt__Group */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Group() { }
- virtual ~ngwt__Group() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Mail
-#define SOAP_TYPE_ngwt__Mail (96)
-/* ngwt:Mail */
-class SOAP_CMAC ngwt__Mail : public ngwt__BoxEntry
-{
-public:
- std::string *subject; /* optional element of type xsd:string */
- std::string *originalSubject; /* optional element of type xsd:string */
- std::string *subjectPrefix; /* optional element of type xsd:string */
- ngwt__Distribution *distribution; /* optional element of type ngwt:Distribution */
- ngwt__MessageBody *message; /* optional element of type ngwt:MessageBody */
- ngwt__AttachmentInfo *attachments; /* optional element of type ngwt:AttachmentInfo */
- ngwt__ItemOptions *options; /* optional element of type ngwt:ItemOptions */
- ngwt__LinkInfo *link; /* optional element of type ngwt:LinkInfo */
- bool hasAttachment; /* optional element of type xsd:boolean */
- int size; /* optional element of type xsd:int */
- std::string *subType; /* optional element of type xsd:string */
- bool *nntpOrImap; /* optional element of type xsd:boolean */
- ngwt__SMimeOperation *smimeType; /* optional element of type ngwt:SMimeOperation */
-public:
- virtual int soap_type() const { return 96; } /* = unique id SOAP_TYPE_ngwt__Mail */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Mail() { }
- virtual ~ngwt__Mail() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Organization
-#define SOAP_TYPE_ngwt__Organization (104)
-/* ngwt:Organization */
-class SOAP_CMAC ngwt__Organization : public ngwt__AddressBookItem
-{
-public:
- ngwt__ItemRef *contact; /* optional element of type ngwt:ItemRef */
- std::string *phone; /* optional element of type xsd:string */
- std::string *fax; /* optional element of type xsd:string */
- ngwt__PostalAddress *address; /* optional element of type ngwt:PostalAddress */
- std::string *website; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 104; } /* = unique id SOAP_TYPE_ngwt__Organization */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Organization() { }
- virtual ~ngwt__Organization() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Resource
-#define SOAP_TYPE_ngwt__Resource (127)
-/* ngwt:Resource */
-class SOAP_CMAC ngwt__Resource : public ngwt__AddressBookItem
-{
-public:
- std::string *phone; /* optional element of type xsd:string */
- std::string *resourceType; /* optional element of type xsd:string */
- std::string *email; /* optional element of type xsd:string */
- ngwt__ItemRef *owner; /* optional element of type ngwt:ItemRef */
-public:
- virtual int soap_type() const { return 127; } /* = unique id SOAP_TYPE_ngwt__Resource */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Resource() { }
- virtual ~ngwt__Resource() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__CalendarItem
-#define SOAP_TYPE_ngwt__CalendarItem (36)
-/* ngwt:CalendarItem */
-class SOAP_CMAC ngwt__CalendarItem : public ngwt__Mail
-{
-public:
- ngwt__RecurrenceDateType *rdate; /* optional element of type ngwt:RecurrenceDateType */
- ngwt__RecurrenceRule *rrule; /* optional element of type ngwt:RecurrenceRule */
- ngwt__RecurrenceDateType *exdate; /* optional element of type ngwt:RecurrenceDateType */
- unsigned long *recurrenceKey; /* optional element of type xsd:unsignedLong */
- std::string *iCalId; /* optional element of type xsd:string */
-public:
- virtual int soap_type() const { return 36; } /* = unique id SOAP_TYPE_ngwt__CalendarItem */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__CalendarItem() { }
- virtual ~ngwt__CalendarItem() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DocumentRef
-#define SOAP_TYPE_ngwt__DocumentRef (57)
-/* ngwt:DocumentRef */
-class SOAP_CMAC ngwt__DocumentRef : public ngwt__Mail
-{
-public:
- ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */
- unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */
- std::string *filename; /* optional element of type xsd:string */
- std::string *documentTypeName; /* optional element of type xsd:string */
- ngwt__NameAndEmail *author; /* optional element of type ngwt:NameAndEmail */
- ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */
- unsigned long *officialVersion; /* optional element of type xsd:unsignedLong */
- unsigned long *currentVersion; /* optional element of type xsd:unsignedLong */
- unsigned long *versionNumber; /* optional element of type xsd:unsignedLong */
- char *versionDescription; /* optional element of type xsd:anyType */
- unsigned long *fileSize; /* optional element of type xsd:unsignedLong */
- ngwt__AccessControlList *acl; /* optional element of type ngwt:AccessControlList */
-public:
- virtual int soap_type() const { return 57; } /* = unique id SOAP_TYPE_ngwt__DocumentRef */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__DocumentRef() { }
- virtual ~ngwt__DocumentRef() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__PhoneMessage
-#define SOAP_TYPE_ngwt__PhoneMessage (108)
-/* ngwt:PhoneMessage */
-class SOAP_CMAC ngwt__PhoneMessage : public ngwt__Mail
-{
-public:
- std::string *caller; /* optional element of type xsd:string */
- std::string *company; /* optional element of type xsd:string */
- std::string *phone; /* optional element of type xsd:string */
- ngwt__PhoneFlags *flags; /* optional element of type ngwt:PhoneFlags */
-public:
- virtual int soap_type() const { return 108; } /* = unique id SOAP_TYPE_ngwt__PhoneMessage */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__PhoneMessage() { }
- virtual ~ngwt__PhoneMessage() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__SharedNotification
-#define SOAP_TYPE_ngwt__SharedNotification (142)
-/* ngwt:SharedNotification */
-class SOAP_CMAC ngwt__SharedNotification : public ngwt__Mail
-{
-public:
- enum ngwt__NotificationType notification; /* required element of type ngwt:NotificationType */
- std::string *description; /* optional element of type xsd:string */
- ngwt__Rights *rights; /* optional element of type ngwt:Rights */
-public:
- virtual int soap_type() const { return 142; } /* = unique id SOAP_TYPE_ngwt__SharedNotification */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__SharedNotification() { }
- virtual ~ngwt__SharedNotification() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Appointment
-#define SOAP_TYPE_ngwt__Appointment (29)
-/* ngwt:Appointment */
-class SOAP_CMAC ngwt__Appointment : public ngwt__CalendarItem
-{
-public:
- char *startDate; /* optional element of type xsd:string */
- char *endDate; /* optional element of type xsd:string */
- std::string *startDay; /* optional element of type xsd:date */
- std::string *endDay; /* optional element of type xsd:date */
- enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */
- ngwt__Alarm *alarm; /* optional element of type ngwt:Alarm */
- bool *allDayEvent; /* optional element of type xsd:boolean */
- std::string *place; /* optional element of type xsd:string */
- ngwt__Timezone *timezone; /* optional element of type ngwt:Timezone */
-public:
- virtual int soap_type() const { return 29; } /* = unique id SOAP_TYPE_ngwt__Appointment */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Appointment() { }
- virtual ~ngwt__Appointment() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Note
-#define SOAP_TYPE_ngwt__Note (102)
-/* ngwt:Note */
-class SOAP_CMAC ngwt__Note : public ngwt__CalendarItem
-{
-public:
- std::string *startDate; /* optional element of type xsd:date */
-public:
- virtual int soap_type() const { return 102; } /* = unique id SOAP_TYPE_ngwt__Note */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Note() { }
- virtual ~ngwt__Note() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Task
-#define SOAP_TYPE_ngwt__Task (150)
-/* ngwt:Task */
-class SOAP_CMAC ngwt__Task : public ngwt__CalendarItem
-{
-public:
- std::string *startDate; /* optional element of type xsd:date */
- std::string *dueDate; /* optional element of type xsd:date */
- std::string *assignedDate; /* optional element of type xsd:date */
- std::string *taskPriority; /* optional element of type xsd:string */
- bool *completed; /* optional element of type xsd:boolean */
-public:
- virtual int soap_type() const { return 150; } /* = unique id SOAP_TYPE_ngwt__Task */
- virtual void soap_default(struct soap*);
- virtual void soap_serialize(struct soap*) const;
- virtual int soap_put(struct soap*, const char*, const char*) const;
- virtual int soap_out(struct soap*, const char*, int, const char*) const;
- virtual void *soap_get(struct soap*, const char*, const char*);
- virtual void *soap_in(struct soap*, const char*, const char*);
- ngwt__Task() { }
- virtual ~ngwt__Task() { }
-};
-#endif
-
-#ifndef SOAP_TYPE_SOAP_ENV__Header
-#define SOAP_TYPE_SOAP_ENV__Header (602)
-/* SOAP Header: */
-struct SOAP_ENV__Header
-{
- bool ngwt__gwTrace; /* required element of type xsd:boolean */
- std::string ngwt__session; /* required element of type xsd:string */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__acceptRequest
-#define SOAP_TYPE___ngw__acceptRequest (606)
-/* Operation wrapper: */
-struct __ngw__acceptRequest
-{
- _ngwm__acceptRequest *ngwm__acceptRequest; /* optional element of type ngwm:acceptRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__acceptShareRequest
-#define SOAP_TYPE___ngw__acceptShareRequest (610)
-/* Operation wrapper: */
-struct __ngw__acceptShareRequest
-{
- _ngwm__acceptShareRequest *ngwm__acceptShareRequest; /* optional element of type ngwm:acceptShareRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__addItemRequest
-#define SOAP_TYPE___ngw__addItemRequest (614)
-/* Operation wrapper: */
-struct __ngw__addItemRequest
-{
- _ngwm__addItemRequest *ngwm__addItemRequest; /* optional element of type ngwm:addItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__addItemsRequest
-#define SOAP_TYPE___ngw__addItemsRequest (618)
-/* Operation wrapper: */
-struct __ngw__addItemsRequest
-{
- _ngwm__addItemsRequest *ngwm__addItemsRequest; /* optional element of type ngwm:addItemsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__addMembersRequest
-#define SOAP_TYPE___ngw__addMembersRequest (622)
-/* Operation wrapper: */
-struct __ngw__addMembersRequest
-{
- _ngwm__addMembersRequest *ngwm__addMembersRequest; /* optional element of type ngwm:addMembersRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__closeFreeBusySessionRequest
-#define SOAP_TYPE___ngw__closeFreeBusySessionRequest (626)
-/* Operation wrapper: */
-struct __ngw__closeFreeBusySessionRequest
-{
- _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest; /* optional element of type ngwm:closeFreeBusySessionRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__completeRequest
-#define SOAP_TYPE___ngw__completeRequest (630)
-/* Operation wrapper: */
-struct __ngw__completeRequest
-{
- _ngwm__completeRequest *ngwm__completeRequest; /* optional element of type ngwm:completeRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createCursorRequest
-#define SOAP_TYPE___ngw__createCursorRequest (634)
-/* Operation wrapper: */
-struct __ngw__createCursorRequest
-{
- _ngwm__createCursorRequest *ngwm__createCursorRequest; /* optional element of type ngwm:createCursorRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createItemRequest
-#define SOAP_TYPE___ngw__createItemRequest (638)
-/* Operation wrapper: */
-struct __ngw__createItemRequest
-{
- _ngwm__createItemRequest *ngwm__createItemRequest; /* optional element of type ngwm:createItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createItemsRequest
-#define SOAP_TYPE___ngw__createItemsRequest (642)
-/* Operation wrapper: */
-struct __ngw__createItemsRequest
-{
- _ngwm__createItemsRequest *ngwm__createItemsRequest; /* optional element of type ngwm:createItemsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createJunkEntryRequest
-#define SOAP_TYPE___ngw__createJunkEntryRequest (646)
-/* Operation wrapper: */
-struct __ngw__createJunkEntryRequest
-{
- _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest; /* optional element of type ngwm:createJunkEntryRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createProxyAccessRequest
-#define SOAP_TYPE___ngw__createProxyAccessRequest (650)
-/* Operation wrapper: */
-struct __ngw__createProxyAccessRequest
-{
- _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest; /* optional element of type ngwm:createProxyAccessRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__createSignatureRequest
-#define SOAP_TYPE___ngw__createSignatureRequest (654)
-/* Operation wrapper: */
-struct __ngw__createSignatureRequest
-{
- _ngwm__createSignatureRequest *ngwm__createSignatureRequest; /* optional element of type ngwm:createSignatureRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__declineRequest
-#define SOAP_TYPE___ngw__declineRequest (658)
-/* Operation wrapper: */
-struct __ngw__declineRequest
-{
- _ngwm__declineRequest *ngwm__declineRequest; /* optional element of type ngwm:declineRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__delegateRequest
-#define SOAP_TYPE___ngw__delegateRequest (662)
-/* Operation wrapper: */
-struct __ngw__delegateRequest
-{
- _ngwm__delegateRequest *ngwm__delegateRequest; /* optional element of type ngwm:delegateRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__destroyCursorRequest
-#define SOAP_TYPE___ngw__destroyCursorRequest (666)
-/* Operation wrapper: */
-struct __ngw__destroyCursorRequest
-{
- _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest; /* optional element of type ngwm:destroyCursorRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__executeRuleRequest
-#define SOAP_TYPE___ngw__executeRuleRequest (670)
-/* Operation wrapper: */
-struct __ngw__executeRuleRequest
-{
- _ngwm__executeRuleRequest *ngwm__executeRuleRequest; /* optional element of type ngwm:executeRuleRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__forwardRequest
-#define SOAP_TYPE___ngw__forwardRequest (674)
-/* Operation wrapper: */
-struct __ngw__forwardRequest
-{
- _ngwm__forwardRequest *ngwm__forwardRequest; /* optional element of type ngwm:forwardRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getAddressBookListRequest
-#define SOAP_TYPE___ngw__getAddressBookListRequest (678)
-/* Operation wrapper: */
-struct __ngw__getAddressBookListRequest
-{
- _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest; /* optional element of type ngwm:getAddressBookListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getAttachmentRequestMessage
-#define SOAP_TYPE___ngw__getAttachmentRequestMessage (682)
-/* Operation wrapper: */
-struct __ngw__getAttachmentRequestMessage
-{
- _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest; /* optional element of type ngwm:getAttachmentRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getCategoryListRequest
-#define SOAP_TYPE___ngw__getCategoryListRequest (686)
-/* Operation wrapper: */
-struct __ngw__getCategoryListRequest
-{
- _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest; /* optional element of type ngwm:getCategoryListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getCustomListRequest
-#define SOAP_TYPE___ngw__getCustomListRequest (690)
-/* Operation wrapper: */
-struct __ngw__getCustomListRequest
-{
- _ngwm__getCustomListRequest *ngwm__getCustomListRequest; /* optional element of type ngwm:getCustomListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getDeltasRequest
-#define SOAP_TYPE___ngw__getDeltasRequest (694)
-/* Operation wrapper: */
-struct __ngw__getDeltasRequest
-{
- _ngwm__getDeltasRequest *ngwm__getDeltasRequest; /* optional element of type ngwm:getDeltasRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getDeltaInfoRequest
-#define SOAP_TYPE___ngw__getDeltaInfoRequest (698)
-/* Operation wrapper: */
-struct __ngw__getDeltaInfoRequest
-{
- _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest; /* optional element of type ngwm:getDeltaInfoRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getDocumentTypeListRequest
-#define SOAP_TYPE___ngw__getDocumentTypeListRequest (702)
-/* Operation wrapper: */
-struct __ngw__getDocumentTypeListRequest
-{
- _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest; /* optional element of type ngwm:getDocumentTypeListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getFolderRequest
-#define SOAP_TYPE___ngw__getFolderRequest (706)
-/* Operation wrapper: */
-struct __ngw__getFolderRequest
-{
- _ngwm__getFolderRequest *ngwm__getFolderRequest; /* optional element of type ngwm:getFolderRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getFolderListRequest
-#define SOAP_TYPE___ngw__getFolderListRequest (710)
-/* Operation wrapper: */
-struct __ngw__getFolderListRequest
-{
- _ngwm__getFolderListRequest *ngwm__getFolderListRequest; /* optional element of type ngwm:getFolderListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getFreeBusyRequest
-#define SOAP_TYPE___ngw__getFreeBusyRequest (714)
-/* Operation wrapper: */
-struct __ngw__getFreeBusyRequest
-{
- _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest; /* optional element of type ngwm:getFreeBusyRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getItemRequest
-#define SOAP_TYPE___ngw__getItemRequest (718)
-/* Operation wrapper: */
-struct __ngw__getItemRequest
-{
- _ngwm__getItemRequest *ngwm__getItemRequest; /* optional element of type ngwm:getItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getItemsRequest
-#define SOAP_TYPE___ngw__getItemsRequest (722)
-/* Operation wrapper: */
-struct __ngw__getItemsRequest
-{
- _ngwm__getItemsRequest *ngwm__getItemsRequest; /* optional element of type ngwm:getItemsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getJunkEntriesRequest
-#define SOAP_TYPE___ngw__getJunkEntriesRequest (726)
-/* Operation wrapper: */
-struct __ngw__getJunkEntriesRequest
-{
- _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest; /* optional element of type ngwm:getJunkEntriesRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getJunkMailSettingsRequest
-#define SOAP_TYPE___ngw__getJunkMailSettingsRequest (730)
-/* Operation wrapper: */
-struct __ngw__getJunkMailSettingsRequest
-{
- _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest; /* optional element of type ngwm:getJunkMailSettingsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getLibraryItemRequest
-#define SOAP_TYPE___ngw__getLibraryItemRequest (734)
-/* Operation wrapper: */
-struct __ngw__getLibraryItemRequest
-{
- _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest; /* optional element of type ngwm:getLibraryItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getLibraryListRequest
-#define SOAP_TYPE___ngw__getLibraryListRequest (738)
-/* Operation wrapper: */
-struct __ngw__getLibraryListRequest
-{
- _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest; /* optional element of type ngwm:getLibraryListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getQuickMessagesRequest
-#define SOAP_TYPE___ngw__getQuickMessagesRequest (742)
-/* Operation wrapper: */
-struct __ngw__getQuickMessagesRequest
-{
- _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest; /* optional element of type ngwm:getQuickMessagesRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getProxyAccessListRequest
-#define SOAP_TYPE___ngw__getProxyAccessListRequest (746)
-/* Operation wrapper: */
-struct __ngw__getProxyAccessListRequest
-{
- _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest; /* optional element of type ngwm:getProxyAccessListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getProxyListRequest
-#define SOAP_TYPE___ngw__getProxyListRequest (750)
-/* Operation wrapper: */
-struct __ngw__getProxyListRequest
-{
- _ngwm__getProxyListRequest *ngwm__getProxyListRequest; /* optional element of type ngwm:getProxyListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getRuleListRequest
-#define SOAP_TYPE___ngw__getRuleListRequest (754)
-/* Operation wrapper: */
-struct __ngw__getRuleListRequest
-{
- _ngwm__getRuleListRequest *ngwm__getRuleListRequest; /* optional element of type ngwm:getRuleListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getSettingsRequest
-#define SOAP_TYPE___ngw__getSettingsRequest (758)
-/* Operation wrapper: */
-struct __ngw__getSettingsRequest
-{
- _ngwm__getSettingsRequest *ngwm__getSettingsRequest; /* optional element of type ngwm:getSettingsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getSignaturesRequest
-#define SOAP_TYPE___ngw__getSignaturesRequest (762)
-/* Operation wrapper: */
-struct __ngw__getSignaturesRequest
-{
- _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest; /* optional element of type ngwm:getSignaturesRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getTimestampRequest
-#define SOAP_TYPE___ngw__getTimestampRequest (766)
-/* Operation wrapper: */
-struct __ngw__getTimestampRequest
-{
- _ngwm__getTimestampRequest *ngwm__getTimestampRequest; /* optional element of type ngwm:getTimestampRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getTimezoneListRequest
-#define SOAP_TYPE___ngw__getTimezoneListRequest (770)
-/* Operation wrapper: */
-struct __ngw__getTimezoneListRequest
-{
- _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest; /* optional element of type ngwm:getTimezoneListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getUserListRequest
-#define SOAP_TYPE___ngw__getUserListRequest (774)
-/* Operation wrapper: */
-struct __ngw__getUserListRequest
-{
- _ngwm__getUserListRequest *ngwm__getUserListRequest; /* optional element of type ngwm:getUserListRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__loginRequest
-#define SOAP_TYPE___ngw__loginRequest (778)
-/* Operation wrapper: */
-struct __ngw__loginRequest
-{
- _ngwm__loginRequest *ngwm__loginRequest; /* optional element of type ngwm:loginRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__logoutRequest
-#define SOAP_TYPE___ngw__logoutRequest (782)
-/* Operation wrapper: */
-struct __ngw__logoutRequest
-{
- _ngwm__logoutRequest *ngwm__logoutRequest; /* optional element of type ngwm:logoutRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__markPrivateRequest
-#define SOAP_TYPE___ngw__markPrivateRequest (786)
-/* Operation wrapper: */
-struct __ngw__markPrivateRequest
-{
- _ngwm__markPrivateRequest *ngwm__markPrivateRequest; /* optional element of type ngwm:markPrivateRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__markReadRequest
-#define SOAP_TYPE___ngw__markReadRequest (790)
-/* Operation wrapper: */
-struct __ngw__markReadRequest
-{
- _ngwm__markReadRequest *ngwm__markReadRequest; /* optional element of type ngwm:markReadRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__markUnPrivateRequest
-#define SOAP_TYPE___ngw__markUnPrivateRequest (794)
-/* Operation wrapper: */
-struct __ngw__markUnPrivateRequest
-{
- _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest; /* optional element of type ngwm:markUnPrivateRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__markUnReadRequest
-#define SOAP_TYPE___ngw__markUnReadRequest (798)
-/* Operation wrapper: */
-struct __ngw__markUnReadRequest
-{
- _ngwm__markUnReadRequest *ngwm__markUnReadRequest; /* optional element of type ngwm:markUnReadRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifyItemRequest
-#define SOAP_TYPE___ngw__modifyItemRequest (802)
-/* Operation wrapper: */
-struct __ngw__modifyItemRequest
-{
- _ngwm__modifyItemRequest *ngwm__modifyItemRequest; /* optional element of type ngwm:modifyItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifyJunkEntryRequest
-#define SOAP_TYPE___ngw__modifyJunkEntryRequest (806)
-/* Operation wrapper: */
-struct __ngw__modifyJunkEntryRequest
-{
- _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest; /* optional element of type ngwm:modifyJunkEntryRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifyJunkMailSettingsRequest
-#define SOAP_TYPE___ngw__modifyJunkMailSettingsRequest (810)
-/* Operation wrapper: */
-struct __ngw__modifyJunkMailSettingsRequest
-{
- _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest; /* optional element of type ngwm:modifyJunkMailSettingsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifyPasswordRequest
-#define SOAP_TYPE___ngw__modifyPasswordRequest (814)
-/* Operation wrapper: */
-struct __ngw__modifyPasswordRequest
-{
- _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest; /* optional element of type ngwm:modifyPasswordRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifyProxyAccessRequest
-#define SOAP_TYPE___ngw__modifyProxyAccessRequest (818)
-/* Operation wrapper: */
-struct __ngw__modifyProxyAccessRequest
-{
- _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest; /* optional element of type ngwm:modifyProxyAccessRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifySettingsRequest
-#define SOAP_TYPE___ngw__modifySettingsRequest (822)
-/* Operation wrapper: */
-struct __ngw__modifySettingsRequest
-{
- _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest; /* optional element of type ngwm:modifySettingsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__modifySignaturesRequest
-#define SOAP_TYPE___ngw__modifySignaturesRequest (826)
-/* Operation wrapper: */
-struct __ngw__modifySignaturesRequest
-{
- _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest; /* optional element of type ngwm:modifySignaturesRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__moveItemRequest
-#define SOAP_TYPE___ngw__moveItemRequest (830)
-/* Operation wrapper: */
-struct __ngw__moveItemRequest
-{
- _ngwm__moveItemRequest *ngwm__moveItemRequest; /* optional element of type ngwm:moveItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__positionCursorRequest
-#define SOAP_TYPE___ngw__positionCursorRequest (834)
-/* Operation wrapper: */
-struct __ngw__positionCursorRequest
-{
- _ngwm__positionCursorRequest *ngwm__positionCursorRequest; /* optional element of type ngwm:positionCursorRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__purgeDeletedItemsRequest
-#define SOAP_TYPE___ngw__purgeDeletedItemsRequest (838)
-/* Operation wrapper: */
-struct __ngw__purgeDeletedItemsRequest
-{
- _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest; /* optional element of type ngwm:purgeDeletedItemsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__purgeRequest
-#define SOAP_TYPE___ngw__purgeRequest (842)
-/* Operation wrapper: */
-struct __ngw__purgeRequest
-{
- _ngwm__purgeRequest *ngwm__purgeRequest; /* optional element of type ngwm:purgeRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__readCursorRequest
-#define SOAP_TYPE___ngw__readCursorRequest (846)
-/* Operation wrapper: */
-struct __ngw__readCursorRequest
-{
- _ngwm__readCursorRequest *ngwm__readCursorRequest; /* optional element of type ngwm:readCursorRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeCustomDefinitionRequest
-#define SOAP_TYPE___ngw__removeCustomDefinitionRequest (850)
-/* Operation wrapper: */
-struct __ngw__removeCustomDefinitionRequest
-{
- _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest; /* optional element of type ngwm:removeCustomDefinitionRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeItemRequest
-#define SOAP_TYPE___ngw__removeItemRequest (854)
-/* Operation wrapper: */
-struct __ngw__removeItemRequest
-{
- _ngwm__removeItemRequest *ngwm__removeItemRequest; /* optional element of type ngwm:removeItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeItemsRequest
-#define SOAP_TYPE___ngw__removeItemsRequest (858)
-/* Operation wrapper: */
-struct __ngw__removeItemsRequest
-{
- _ngwm__removeItemsRequest *ngwm__removeItemsRequest; /* optional element of type ngwm:removeItemsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeJunkEntryRequest
-#define SOAP_TYPE___ngw__removeJunkEntryRequest (862)
-/* Operation wrapper: */
-struct __ngw__removeJunkEntryRequest
-{
- _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest; /* optional element of type ngwm:removeJunkEntryRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeMembersRequest
-#define SOAP_TYPE___ngw__removeMembersRequest (866)
-/* Operation wrapper: */
-struct __ngw__removeMembersRequest
-{
- _ngwm__removeMembersRequest *ngwm__removeMembersRequest; /* optional element of type ngwm:removeMembersRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeProxyAccessRequest
-#define SOAP_TYPE___ngw__removeProxyAccessRequest (870)
-/* Operation wrapper: */
-struct __ngw__removeProxyAccessRequest
-{
- _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest; /* optional element of type ngwm:removeProxyAccessRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeProxyUserRequest
-#define SOAP_TYPE___ngw__removeProxyUserRequest (874)
-/* Operation wrapper: */
-struct __ngw__removeProxyUserRequest
-{
- _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest; /* optional element of type ngwm:removeProxyUserRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeSignatureRequest
-#define SOAP_TYPE___ngw__removeSignatureRequest (878)
-/* Operation wrapper: */
-struct __ngw__removeSignatureRequest
-{
- _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest; /* optional element of type ngwm:removeSignatureRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__replyRequest
-#define SOAP_TYPE___ngw__replyRequest (882)
-/* Operation wrapper: */
-struct __ngw__replyRequest
-{
- _ngwm__replyRequest *ngwm__replyRequest; /* optional element of type ngwm:replyRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__retractRequest
-#define SOAP_TYPE___ngw__retractRequest (886)
-/* Operation wrapper: */
-struct __ngw__retractRequest
-{
- _ngwm__retractRequest *ngwm__retractRequest; /* optional element of type ngwm:retractRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__sendItemRequest
-#define SOAP_TYPE___ngw__sendItemRequest (890)
-/* Operation wrapper: */
-struct __ngw__sendItemRequest
-{
- _ngwm__sendItemRequest *ngwm__sendItemRequest; /* optional element of type ngwm:sendItemRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__setTimestampRequest
-#define SOAP_TYPE___ngw__setTimestampRequest (894)
-/* Operation wrapper: */
-struct __ngw__setTimestampRequest
-{
- _ngwm__setTimestampRequest *ngwm__setTimestampRequest; /* optional element of type ngwm:setTimestampRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__startFreeBusySessionRequest
-#define SOAP_TYPE___ngw__startFreeBusySessionRequest (898)
-/* Operation wrapper: */
-struct __ngw__startFreeBusySessionRequest
-{
- _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest; /* optional element of type ngwm:startFreeBusySessionRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__unacceptRequest
-#define SOAP_TYPE___ngw__unacceptRequest (902)
-/* Operation wrapper: */
-struct __ngw__unacceptRequest
-{
- _ngwm__unacceptRequest *ngwm__unacceptRequest; /* optional element of type ngwm:unacceptRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__uncompleteRequest
-#define SOAP_TYPE___ngw__uncompleteRequest (906)
-/* Operation wrapper: */
-struct __ngw__uncompleteRequest
-{
- _ngwm__uncompleteRequest *ngwm__uncompleteRequest; /* optional element of type ngwm:uncompleteRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__updateVersionStatusRequest
-#define SOAP_TYPE___ngw__updateVersionStatusRequest (910)
-/* Operation wrapper: */
-struct __ngw__updateVersionStatusRequest
-{
- _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest; /* optional element of type ngwm:updateVersionStatusRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__cleanEventConfigurationRequest
-#define SOAP_TYPE___ngw__cleanEventConfigurationRequest (914)
-/* Operation wrapper: */
-struct __ngw__cleanEventConfigurationRequest
-{
- _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest; /* optional element of type ngwe:cleanEventConfigurationRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__configureEventsRequest
-#define SOAP_TYPE___ngw__configureEventsRequest (918)
-/* Operation wrapper: */
-struct __ngw__configureEventsRequest
-{
- _ngwe__configureEventsRequest *ngwe__configureEventsRequest; /* optional element of type ngwe:configureEventsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getEventConfigurationRequest
-#define SOAP_TYPE___ngw__getEventConfigurationRequest (922)
-/* Operation wrapper: */
-struct __ngw__getEventConfigurationRequest
-{
- _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest; /* optional element of type ngwe:getEventConfigurationRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__getEventsRequest
-#define SOAP_TYPE___ngw__getEventsRequest (926)
-/* Operation wrapper: */
-struct __ngw__getEventsRequest
-{
- _ngwe__getEventsRequest *ngwe__getEventsRequest; /* optional element of type ngwe:getEventsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeEventConfigurationRequest
-#define SOAP_TYPE___ngw__removeEventConfigurationRequest (930)
-/* Operation wrapper: */
-struct __ngw__removeEventConfigurationRequest
-{
- _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest; /* optional element of type ngwe:removeEventConfigurationRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE___ngw__removeEventsRequest
-#define SOAP_TYPE___ngw__removeEventsRequest (934)
-/* Operation wrapper: */
-struct __ngw__removeEventsRequest
-{
- _ngwe__removeEventsRequest *ngwe__removeEventsRequest; /* optional element of type ngwe:removeEventsRequest */
-};
-#endif
-
-#ifndef SOAP_TYPE_SOAP_ENV__Code
-#define SOAP_TYPE_SOAP_ENV__Code (935)
-/* SOAP Fault Code: */
-struct SOAP_ENV__Code
-{
- char *SOAP_ENV__Value; /* optional element of type TQName */
- struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
-};
-#endif
-
-#ifndef SOAP_TYPE_SOAP_ENV__Detail
-#define SOAP_TYPE_SOAP_ENV__Detail (937)
-/* SOAP-ENV:Detail */
-struct SOAP_ENV__Detail
-{
- int __type; /* any type of element <fault> (defined below) */
- void *fault; /* transient */
- char *__any;
-};
-#endif
-
-#ifndef SOAP_TYPE_SOAP_ENV__Fault
-#define SOAP_TYPE_SOAP_ENV__Fault (940)
-/* SOAP Fault: */
-struct SOAP_ENV__Fault
-{
- char *faultcode; /* optional element of type TQName */
- char *faultstring; /* optional element of type xsd:string */
- char *faultactor; /* optional element of type xsd:string */
- struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
- struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
- char *SOAP_ENV__Reason; /* optional element of type xsd:string */
- char *SOAP_ENV__Node; /* optional element of type xsd:string */
- char *SOAP_ENV__Role; /* optional element of type xsd:string */
- struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
-};
-#endif
-
-/******************************************************************************\
- * *
- * Types with Custom Serializers *
- * *
-\******************************************************************************/
-
-
-/******************************************************************************\
- * *
- * Typedefs *
- * *
-\******************************************************************************/
-
-#ifndef SOAP_TYPE__XML
-#define SOAP_TYPE__XML (4)
-typedef char *_XML;
-#endif
-
-#ifndef SOAP_TYPE__TQName
-#define SOAP_TYPE__TQName (5)
-typedef char *_TQName;
-#endif
-
-#ifndef SOAP_TYPE_xsd__date
-#define SOAP_TYPE_xsd__date (14)
-typedef std::string xsd__date;
-#endif
-
-#ifndef SOAP_TYPE_xsd__decimal
-#define SOAP_TYPE_xsd__decimal (15)
-typedef std::string xsd__decimal;
-#endif
-
-#ifndef SOAP_TYPE_xsd__duration
-#define SOAP_TYPE_xsd__duration (16)
-typedef std::string xsd__duration;
-#endif
-
-#ifndef SOAP_TYPE_xsd__language
-#define SOAP_TYPE_xsd__language (17)
-typedef std::string xsd__language;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__View
-#define SOAP_TYPE_ngwt__View (338)
-typedef std::string ngwt__View;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Day
-#define SOAP_TYPE_ngwt__Day (349)
-typedef unsigned char ngwt__Day;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfMonth
-#define SOAP_TYPE_ngwt__DayOfMonth (350)
-typedef char ngwt__DayOfMonth;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__DayOfYear
-#define SOAP_TYPE_ngwt__DayOfYear (352)
-typedef short ngwt__DayOfYear;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__GMTOffset
-#define SOAP_TYPE_ngwt__GMTOffset (361)
-typedef int ngwt__GMTOffset;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Hour
-#define SOAP_TYPE_ngwt__Hour (362)
-typedef unsigned char ngwt__Hour;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Minute
-#define SOAP_TYPE_ngwt__Minute (372)
-typedef unsigned char ngwt__Minute;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__Month
-#define SOAP_TYPE_ngwt__Month (373)
-typedef unsigned char ngwt__Month;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__uid
-#define SOAP_TYPE_ngwt__uid (382)
-typedef std::string ngwt__uid;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__UUID
-#define SOAP_TYPE_ngwt__UUID (383)
-typedef std::string ngwt__UUID;
-#endif
-
-#ifndef SOAP_TYPE_ngwt__WeekOfYear
-#define SOAP_TYPE_ngwt__WeekOfYear (387)
-typedef short ngwt__WeekOfYear;
-#endif
-
-
-/******************************************************************************\
- * *
- * Externals *
- * *
-\******************************************************************************/
-
-
-/******************************************************************************\
- * *
- * Service Operations *
- * *
-\******************************************************************************/
-
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__acceptRequest(struct soap*, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__addItemRequest(struct soap*, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__addItemsRequest(struct soap*, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__addMembersRequest(struct soap*, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__completeRequest(struct soap*, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createCursorRequest(struct soap*, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createItemRequest(struct soap*, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createItemsRequest(struct soap*, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__declineRequest(struct soap*, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__delegateRequest(struct soap*, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__forwardRequest(struct soap*, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getAttachmentRequestMessage(struct soap*, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFolderRequest(struct soap*, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getItemRequest(struct soap*, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getItemsRequest(struct soap*, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getUserListRequest(struct soap*, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__loginRequest(struct soap*, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__logoutRequest(struct soap*, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__markReadRequest(struct soap*, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__moveItemRequest(struct soap*, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__purgeRequest(struct soap*, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__readCursorRequest(struct soap*, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeItemRequest(struct soap*, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__replyRequest(struct soap*, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__retractRequest(struct soap*, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__sendItemRequest(struct soap*, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__unacceptRequest(struct soap*, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__getEventsRequest(struct soap*, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse);
-
-/******************************************************************************\
- * *
- * Stubs *
- * *
-\******************************************************************************/
-
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptShareRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__completeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__declineRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__delegateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__destroyCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__executeRuleRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__forwardRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAddressBookListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAttachmentRequestMessage(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCustomListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltasRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltaInfoRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDocumentTypeListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFreeBusyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkEntriesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getQuickMessagesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyAccessListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getRuleListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimezoneListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getUserListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__loginRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__logoutRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyPasswordRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__moveItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__positionCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__readCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyUserRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__replyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__retractRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__sendItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__setTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__startFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__unacceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__uncompleteRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__updateVersionStatusRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__configureEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse);
-
-/******************************************************************************\
- * *
- * Skeletons *
- * *
-\******************************************************************************/
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__acceptRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__acceptShareRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addItemsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addMembersRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__closeFreeBusySessionRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__completeRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createCursorRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createItemsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createJunkEntryRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createProxyAccessRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createSignatureRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__declineRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__delegateRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__destroyCursorRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__executeRuleRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__forwardRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getAddressBookListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getAttachmentRequestMessage(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getCategoryListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getCustomListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDeltasRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDeltaInfoRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDocumentTypeListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFolderRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFolderListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFreeBusyRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getItemsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getJunkEntriesRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getJunkMailSettingsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getLibraryItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getLibraryListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getQuickMessagesRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getProxyAccessListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getProxyListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getRuleListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getSettingsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getSignaturesRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getTimestampRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getTimezoneListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getUserListRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__loginRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__logoutRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markPrivateRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markReadRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markUnPrivateRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markUnReadRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyJunkEntryRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyJunkMailSettingsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyPasswordRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyProxyAccessRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifySettingsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifySignaturesRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__moveItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__positionCursorRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__purgeDeletedItemsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__purgeRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__readCursorRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeCustomDefinitionRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeItemsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeJunkEntryRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeMembersRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeProxyAccessRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeProxyUserRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeSignatureRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__replyRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__retractRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__sendItemRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__setTimestampRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__startFreeBusySessionRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__unacceptRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__uncompleteRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__updateVersionStatusRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__cleanEventConfigurationRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__configureEventsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getEventConfigurationRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getEventsRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeEventConfigurationRequest(struct soap*);
-
-SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeEventsRequest(struct soap*);
-
-#endif
-
-/* End of soapStub.h */
diff --git a/kresources/groupwise/soap/soapdebug.cpp b/kresources/groupwise/soap/soapdebug.cpp
deleted file mode 100644
index 415021a7..00000000
--- a/kresources/groupwise/soap/soapdebug.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-#include "groupwiseserver.h"
-
-#include <kaboutdata.h>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
-#include <kconfig.h>
-#include <kdebug.h>
-#include <ktempfile.h>
-
-#include <kabcresourcecached.h>
-
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcelocal.h>
-#include <libkcal/calendarresources.h>
-
-#include <iostream>
-
-namespace KABC {
-
-class ResourceMemory : public ResourceCached
-{
- public:
- ResourceMemory() : ResourceCached( 0 ) {}
-
- Ticket *requestSaveTicket() { return 0; }
- bool load() { return true; }
- bool save( Ticket * ) { return true; }
- void releaseSaveTicket( Ticket * ) {}
-};
-
-}
-
-static const KCmdLineOptions options[] =
-{
- { "s", 0, 0 },
- { "server <hostname>", I18N_NOOP("Server"), 0 },
- { "u", 0, 0 },
- { "user <string>", I18N_NOOP("User"), 0 },
- { "p", 0, 0 },
- { "password <string>", I18N_NOOP("Password"), 0 },
- { "f", 0, 0 },
- { "freebusy-user <string>", I18N_NOOP("Free/Busy user name"), 0 },
- { "addressbook-id <string>", I18N_NOOP("Addressbook identifier"), 0 },
- KCmdLineLastOption
-};
-
-int main( int argc, char **argv )
-{
- TDEAboutData aboutData( "soapdebug", I18N_NOOP("Groupwise Soap Debug"), "0.1" );
- aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
-
- TDECmdLineArgs::init( argc, argv, &aboutData );
- TDECmdLineArgs::addCmdLineOptions( options );
-
- TDEApplication app;
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
-
- TQString user = args->getOption( "user" );
- TQString pass = args->getOption( "password" );
- TQString url = args->getOption( "server" );
-
-#if 1
- if ( user.isEmpty() ) {
- kdError() << "Need user." << endl;
- return 1;
- }
- if ( pass.isEmpty() ) {
- kdError() << "Need password." << endl;
- return 1;
- }
- if ( url.isEmpty() ) {
- kdError() << "Need server." << endl;
- return 1;
- }
-#endif
-
- GroupwiseServer server( url, user, pass, 0 );
-
-#if 1
- if ( !server.login() ) {
- kdError() << "Unable to login to server " << url << endl;
- return 1;
- }
-#endif
-
-#if 0
- server.dumpData();
-#endif
-
-#if 0
- server.getCategoryList();
-#endif
-
-#if 0
- server.dumpFolderList();
-#endif
-
-#if 0
- TQString fbUser = args->getOption( "freebusy-user" );
- if ( fbUser.isEmpty() ) {
- kdError() << "Need user for which the freebusy data should be retrieved."
- << endl;
- } else {
- KCal::FreeBusy *fb = new KCal::FreeBusy;
-
- server.readFreeBusy( "user1",
- TQDate( 2004, 9, 1 ), TQDate( 2004, 10, 31 ), fb );
- }
-#endif
-
-#if 0
- KTempFile temp;
- KCal::ResourceLocal resource( temp.name() );
- resource.setActive( true );
- KCal::CalendarResources calendar;
- calendar.resourceManager()->add( &resource );
- kdDebug() << "Login" << endl;
-
- if ( !server.login() ) {
- kdDebug() << "Unable to login." << endl;
- } else {
- kdDebug() << "Read calendar" << endl;
- if ( !server.readCalendarSynchronous( &resource ) ) {
- kdDebug() << "Unable to read calendar data." << endl;
- }
- kdDebug() << "Logout" << endl;
- server.logout();
- }
- KCal::ICalFormat format;
-
- TQString ical = format.toString( &calendar );
-
- kdDebug() << "ICALENDAR: " << ical << endl;
-#endif
-
-#if 0
- TQString id = args->getOption( "addressbook-id" );
-
- kdDebug() << "ADDRESSBOOK ID: " << id << endl;
-
- TQStringList ids;
- ids.append( id );
-
- KABC::ResourceMemory resource;
-
- kdDebug() << "Login" << endl;
- if ( !server.login() ) {
- kdError() << "Unable to login." << endl;
- } else {
- kdDebug() << "Read Addressbook" << endl;
- if ( !server.readAddressBooksSynchronous( ids, &resource ) ) {
- kdError() << "Unable to read addressbook data." << endl;
- }
- kdDebug() << "Logout" << endl;
- server.logout();
- }
-
- KABC::Addressee::List addressees;
- KABC::Resource::Iterator it2;
- for( it2 = resource.begin(); it2 != resource.end(); ++it2 ) {
- kdDebug() << "ADDRESSEE: " << (*it2).fullEmail() << endl;
- addressees.append( *it2 );
- }
-#endif
-
-#if 0
- server.getDelta();
-#endif
-
- server.logout();
-
- return 0;
-}
-
diff --git a/kresources/groupwise/soap/stdsoap2.cpp b/kresources/groupwise/soap/stdsoap2.cpp
deleted file mode 100644
index 834051c5..00000000
--- a/kresources/groupwise/soap/stdsoap2.cpp
+++ /dev/null
@@ -1,12554 +0,0 @@
-/*
-
-stdsoap2.c[pp] 2.7.3
-
-Runtime environment.
-
-gSOAP XML Web services tools
-Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
-This part of the software is released under one of the following licenses:
-GPL, the gSOAP public license, or Genivia's license for commercial use.
---------------------------------------------------------------------------------
-Contributors:
-
-Wind River Systems, Inc., for the following additions:
- - vxWorks compatible
- - Support for IPv6.
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-A commercial use license is available from Genivia, Inc., contact@genivia.com
---------------------------------------------------------------------------------
-
-Installation note:
-
-Win32 build needs winsock.dll (Visual C++ "wsock32.lib")
-To do this in Visual C++ 6.0, go to "Project", "settings", select the "Link"
-tab (the project file needs to be selected in the file view) and add
-"wsock32.lib" to the "Object/library modules" entry
-
-On Mac OS X with gcc (GCC) 3.1 20020420 (prerelease) you MUST compile with
--fstack_check when using -O2 because gcc 3.1 has a bug that smashes the stack
-when locally allocated data exceeds 64K.
-
-*/
-
-#include "stdsoap2.h"
-
-#ifdef __cplusplus
-SOAP_SOURCE_STAMP("@(#) stdsoap2.cpp ver 2.7.3 2005-06-27 12:00:00 GMT")
-extern "C" {
-#else
-SOAP_SOURCE_STAMP("@(#) stdsoap2.c ver 2.7.3 2005-06-27 12:00:00 GMT")
-#endif
-
-/* 8bit character representing unknown/nonrepresentable character data (e.g. not supported by current locale) */
-#ifndef SOAP_UNKNOWN_CHAR
-#define SOAP_UNKNOWN_CHAR (127)
-#endif
-
-/* EOF=-1 */
-#define SOAP_LT (soap_wchar)(-2) /* XML character '<' */
-#define SOAP_TT (soap_wchar)(-3) /* XML character '</' */
-#define SOAP_GT (soap_wchar)(-4) /* XML character '>' */
-#define SOAP_QT (soap_wchar)(-5) /* XML character '"' */
-#define SOAP_AP (soap_wchar)(-6) /* XML character ''' */
-
-#define SOAP_BOM (soap_wchar)(0xFEFF) /* UTF BOM is Unicode FEFF */
-
-#define soap_blank(c) ((c) >= 0 && (c) <= 32)
-#define soap_notblank(c) ((c) > 32)
-#define soap_hash_ptr(p) (((unsigned long)(p) >> 3) & (SOAP_PTRHASH - 1))
-
-static int soap_isxdigit(int);
-static soap_wchar soap_char(struct soap*);
-
-#ifndef WITH_NOIDREF
-static void soap_update_ptrs(struct soap*, char*, char*, long);
-static int soap_has_copies(struct soap*, const char*, const char*);
-static void soap_init_iht(struct soap*);
-static void soap_free_iht(struct soap*);
-static void soap_init_pht(struct soap*);
-static void soap_free_pht(struct soap*);
-#endif
-
-#ifdef SOAP_DEBUG
-static void soap_init_logs(struct soap*);
-static void soap_close_logfile(struct soap*, int);
-static void soap_set_logfile(struct soap*, int, const char*);
-static void soap_free_mht(struct soap*);
-static void soap_track_unlink(struct soap*, const void*);
-#endif
-
-static int soap_set_error(struct soap*, const char*, const char*, const char*, int);
-static int soap_copy_fault(struct soap*, const char*, const char*, const char*);
-static int soap_getattrval(struct soap*, char*, size_t, soap_wchar);
-static void soap_set_local_namespaces(struct soap*);
-static void *fplugin(struct soap*, const char*);
-
-#ifndef WITH_LEAN
-static const char *soap_set_validation_fault(struct soap*, const char*, const char*);
-static int soap_isnumeric(struct soap*, const char*);
-static time_t soap_timegm(struct tm*);
-#endif
-
-#ifdef WITH_FAST
-static int soap_append_lab(struct soap*, const char*, size_t);
-#endif
-
-#ifndef WITH_LEANER
-static struct soap_multipart *soap_new_multipart(struct soap*, struct soap_multipart**, struct soap_multipart**, char*, size_t);
-static int soap_putdimefield(struct soap*, const char*, size_t);
-static char *soap_getdimefield(struct soap*, size_t);
-static void soap_select_mime_boundary(struct soap*);
-static int soap_valid_mime_boundary(struct soap*);
-static int soap_match_cid(const char*, const char*);
-static void soap_resolve_attachment(struct soap*, struct soap_multipart*);
-#endif
-
-#ifdef WITH_GZIP
-static int soap_getgziphdr(struct soap*);
-#endif
-
-#ifdef WITH_OPENSSL
-static int ssl_auth_init(struct soap*);
-static int ssl_verify_callback(int, X509_STORE_CTX*);
-static int ssl_password(char*, int, int, void *);
-static const char *ssl_error(struct soap*, int);
-/* This callback is included for future references. It should not be deleted
-static DH *ssl_tmp_dh(SSL*, int, int);
-*/
-#endif
-
-#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER)
-static const char *soap_decode(char*, size_t, const char*, const char*);
-#endif
-
-#ifndef WITH_NOHTTP
-static soap_wchar soap_getchunkchar(struct soap*);
-static const char *http_error(struct soap*, int);
-static int http_post(struct soap*, const char*, const char*, int, const char*, const char*, size_t);
-static int http_get(struct soap*);
-static int http_send_header(struct soap*, const char*);
-static int http_post_header(struct soap*, const char*, const char*);
-static int http_response(struct soap*, int, size_t);
-static int http_parse(struct soap*);
-static int http_parse_header(struct soap*, const char*, const char*);
-#endif
-
-#ifndef WITH_NOIO
-static int fsend(struct soap*, const char*, size_t);
-static size_t frecv(struct soap*, char*, size_t);
-static int tcp_init(struct soap*);
-static const char *tcp_error(struct soap*);
-#ifndef WITH_IPV6
-static int tcp_gethost(struct soap*, const char *addr, struct in_addr *inaddr);
-#endif
-static int tcp_connect(struct soap*, const char *endpoint, const char *host, int port);
-static int tcp_accept(struct soap*, int, struct sockaddr*, int*);
-static int tcp_disconnect(struct soap*);
-static int tcp_closesocket(struct soap*, SOAP_SOCKET);
-static int tcp_shutdownsocket(struct soap*, SOAP_SOCKET, int);
-static const char *soap_strerror(struct soap*);
-#endif
-
-#ifdef VXWORKS
-static int vx_nonblocking = TRUE; /* ioctl argument */
-#endif
-
-#if defined(PALM) && !defined(PALM_2)
-unsigned short errno;
-#endif
-
-#ifndef PALM_1
-static const char soap_env1[42] = "http://schemas.xmlsoap.org/soap/envelope/";
-static const char soap_enc1[42] = "http://schemas.xmlsoap.org/soap/encoding/";
-static const char soap_env2[40] = "http://www.w3.org/2003/05/soap-envelope";
-static const char soap_enc2[40] = "http://www.w3.org/2003/05/soap-encoding";
-static const char soap_rpc[35] = "http://www.w3.org/2003/05/soap-rpc";
-#endif
-
-#ifndef PALM_1
-const struct soap_double_nan soap_double_nan = {0xFFFFFFFF, 0xFFFFFFFF};
-static const char soap_base64o[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-static const char soap_base64i[81] = "\76XXX\77\64\65\66\67\70\71\72\73\74\75XXXXXXX\00\01\02\03\04\05\06\07\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31XXXXXX\32\33\34\35\36\37\40\41\42\43\44\45\46\47\50\51\52\53\54\55\56\57\60\61\62\63";
-#endif
-
-static const char soap_padding[3] = "\0\0";
-#define SOAP_STR_PADDING (soap_padding)
-#define SOAP_STR_EOS (soap_padding)
-#define SOAP_NON_NULL (soap_padding)
-
-#ifndef WITH_LEAN
-static const struct soap_code_map html_entity_codes[] = /* entities for XHTML parsing */
-{ { 160, "nbsp" },
- { 161, "iexcl" },
- { 162, "cent" },
- { 163, "pound" },
- { 164, "curren" },
- { 165, "yen" },
- { 166, "brvbar" },
- { 167, "sect" },
- { 168, "uml" },
- { 169, "copy" },
- { 170, "ordf" },
- { 171, "laquo" },
- { 172, "not" },
- { 173, "shy" },
- { 174, "reg" },
- { 175, "macr" },
- { 176, "deg" },
- { 177, "plusmn" },
- { 178, "sup2" },
- { 179, "sup3" },
- { 180, "acute" },
- { 181, "micro" },
- { 182, "para" },
- { 183, "middot" },
- { 184, "cedil" },
- { 185, "sup1" },
- { 186, "ordm" },
- { 187, "raquo" },
- { 188, "frac14" },
- { 189, "frac12" },
- { 190, "frac34" },
- { 191, "iquest" },
- { 192, "Agrave" },
- { 193, "Aacute" },
- { 194, "Acirc" },
- { 195, "Atilde" },
- { 196, "Auml" },
- { 197, "Aring" },
- { 198, "AElig" },
- { 199, "Ccedil" },
- { 200, "Egrave" },
- { 201, "Eacute" },
- { 202, "Ecirc" },
- { 203, "Euml" },
- { 204, "Igrave" },
- { 205, "Iacute" },
- { 206, "Icirc" },
- { 207, "Iuml" },
- { 208, "ETH" },
- { 209, "Ntilde" },
- { 210, "Ograve" },
- { 211, "Oacute" },
- { 212, "Ocirc" },
- { 213, "Otilde" },
- { 214, "Ouml" },
- { 215, "times" },
- { 216, "Oslash" },
- { 217, "Ugrave" },
- { 218, "Uacute" },
- { 219, "Ucirc" },
- { 220, "Uuml" },
- { 221, "Yacute" },
- { 222, "THORN" },
- { 223, "szlig" },
- { 224, "agrave" },
- { 225, "aacute" },
- { 226, "acirc" },
- { 227, "atilde" },
- { 228, "auml" },
- { 229, "aring" },
- { 230, "aelig" },
- { 231, "ccedil" },
- { 232, "egrave" },
- { 233, "eacute" },
- { 234, "ecirc" },
- { 235, "euml" },
- { 236, "igrave" },
- { 237, "iacute" },
- { 238, "icirc" },
- { 239, "iuml" },
- { 240, "eth" },
- { 241, "ntilde" },
- { 242, "ograve" },
- { 243, "oacute" },
- { 244, "ocirc" },
- { 245, "otilde" },
- { 246, "ouml" },
- { 247, "divide" },
- { 248, "oslash" },
- { 249, "ugrave" },
- { 250, "uacute" },
- { 251, "ucirc" },
- { 252, "uuml" },
- { 253, "yacute" },
- { 254, "thorn" },
- { 255, "yuml" },
- { 0, NULL }
-};
-#endif
-
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
-static const struct soap_code_map h_error_codes[] =
-{
-#ifdef HOST_NOT_FOUND
- { HOST_NOT_FOUND, "Host not found" },
-#endif
-#ifdef TRY_AGAIN
- { TRY_AGAIN, "Try Again" },
-#endif
-#ifdef NO_RECOVERY
- { NO_RECOVERY, "No Recovery" },
-#endif
-#ifdef NO_DATA
- { NO_DATA, "No Data" },
-#endif
-#ifdef NO_ADDRESS
- { NO_ADDRESS, "No Address" },
-#endif
- { 0, NULL }
-};
-#endif
-#endif
-
-#ifndef WITH_NOHTTP
-#ifndef WITH_LEAN
-static const struct soap_code_map h_http_error_codes[] =
-{ { 201, "Created" },
- { 202, "Accepted" },
- { 203, "Non-Authoritative Information" },
- { 204, "No Content" },
- { 205, "Reset Content" },
- { 206, "Partial Content" },
- { 300, "Multiple Choices" },
- { 301, "Moved Permanently" },
- { 302, "Found" },
- { 303, "See Other" },
- { 304, "Not Modified" },
- { 305, "Use Proxy" },
- { 307, "Temporary Redirect" },
- { 400, "Bad Request" },
- { 401, "Unauthorized" },
- { 402, "Payment Required" },
- { 403, "Forbidden" },
- { 404, "Not Found" },
- { 405, "Method Not Allowed" },
- { 406, "Not Acceptable" },
- { 407, "Proxy Authentication Required" },
- { 408, "Request Time-out" },
- { 409, "Conflict" },
- { 410, "Gone" },
- { 411, "Length Required" },
- { 412, "Precondition Failed" },
- { 413, "Request Entity Too Large" },
- { 414, "Request-URI Too Large" },
- { 415, "Unsupported Media Type" },
- { 416, "Requested range not satisfiable" },
- { 417, "Expectation Failed" },
- { 500, "Internal Server Error" },
- { 501, "Not Implemented" },
- { 502, "Bad Gateway" },
- { 503, "Service Unavailable" },
- { 504, "Gateway Time-out" },
- { 505, "HTTP Version not supported" },
- { 0, NULL }
-};
-#endif
-#endif
-
-#ifdef WITH_OPENSSL
-static const struct soap_code_map h_ssl_error_codes[] =
-{
-#define _SSL_ERROR(e) { e, #e }
- _SSL_ERROR(SSL_ERROR_SSL),
- _SSL_ERROR(SSL_ERROR_ZERO_RETURN),
- _SSL_ERROR(SSL_ERROR_WANT_READ),
- _SSL_ERROR(SSL_ERROR_WANT_WRITE),
- _SSL_ERROR(SSL_ERROR_WANT_CONNECT),
- _SSL_ERROR(SSL_ERROR_WANT_X509_LOOKUP),
- _SSL_ERROR(SSL_ERROR_SYSCALL),
- { 0, NULL }
-};
-#endif
-
-#ifndef WITH_LEANER
-static const struct soap_code_map mime_codes[] =
-{ { SOAP_MIME_7BIT, "7bit" },
- { SOAP_MIME_8BIT, "8bit" },
- { SOAP_MIME_BINARY, "binary" },
- { SOAP_MIME_QUOTED_PRINTABLE, "quoted-printable" },
- { SOAP_MIME_BASE64, "base64" },
- { SOAP_MIME_IETF_TOKEN, "ietf-token" },
- { SOAP_MIME_X_TOKEN, "x-token" },
- { 0, NULL }
-};
-#endif
-
-#ifdef WIN32
-static int tcp_done = 0;
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-fsend(struct soap *soap, const char *s, size_t n)
-{ register int nwritten;
-#if defined(__cplusplus) && !defined(WITH_LEAN)
- if (soap->os)
- { soap->os->write(s, n);
- if (soap->os->good())
- return SOAP_OK;
- return SOAP_EOF;
- }
-#endif
- while (n)
- { if (soap_valid_socket(soap->socket))
- {
-#ifndef WITH_LEAN
- if (soap->send_timeout)
- { struct timeval timeout;
- fd_set fd;
- if (soap->send_timeout > 0)
- { timeout.tv_sec = soap->send_timeout;
- timeout.tv_usec = 0;
- }
- else
- { timeout.tv_sec = -soap->send_timeout/1000000;
- timeout.tv_usec = -soap->send_timeout%1000000;
- }
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->socket, &fd);
- for (;;)
- { register int r = select((SOAP_SOCKET)(soap->socket + 1), NULL, &fd, &fd, &timeout);
- if (r > 0)
- break;
- if (!r)
- { soap->errnum = 0;
- return SOAP_EOF;
- }
- if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN)
- { soap->errnum = soap_socket_errno;
- return SOAP_EOF;
- }
- }
- }
-#endif
-#ifdef WITH_OPENSSL
- if (soap->ssl)
- nwritten = SSL_write(soap->ssl, s, n);
- else
-#endif
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- { if (soap->peerlen)
- nwritten = sendto((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, soap->peerlen);
- else
- nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags);
- /* retry and back-off algorithm */
- /* TODO: this is not very clear from specs so verify and limit conditions under which we should loop (e.g. ENOBUFS) */
- if (nwritten < 0)
- { struct timeval timeout;
- fd_set fd;
- int udp_repeat;
- int udp_delay;
- if ((soap->connect_flags & SO_BROADCAST))
- udp_repeat = 3; /* SOAP-over-UDP MULTICAST_UDP_REPEAT - 1 */
- else
- udp_repeat = 1; /* SOAP-over-UDP UNICAST_UDP_REPEAT - 1 */
- udp_delay = (soap_random % 201) + 50; /* UDP_MIN_DELAY .. UDP_MAX_DELAY */
- do
- { timeout.tv_sec = 0;
- timeout.tv_usec = 1000 * udp_delay; /* ms */
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->socket, &fd);
- select((SOAP_SOCKET)(soap->socket + 1), NULL, NULL, &fd, &timeout);
- if (soap->peerlen)
- nwritten = sendto((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, soap->peerlen);
- else
- nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags);
- udp_delay <<= 1;
- if (udp_delay > 500) /* UDP_UPPER_DELAY */
- udp_delay = 500;
- }
- while (nwritten < 0 && --udp_repeat > 0);
- }
- }
- else
-#endif
-#ifndef PALM
- nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags);
-#else
- nwritten = send((SOAP_SOCKET)soap->socket, (void*)s, n, soap->socket_flags);
-#endif
- if (nwritten <= 0)
- {
-#ifdef WITH_OPENSSL
- int err;
- if (soap->ssl && (err = SSL_get_error(soap->ssl, nwritten)) != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE)
- return SOAP_EOF;
-#endif
- if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EWOULDBLOCK && soap_socket_errno != SOAP_EAGAIN)
- { soap->errnum = soap_socket_errno;
- return SOAP_EOF;
- }
- nwritten = 0; /* and call write() again */
- }
- }
- else
- {
-#ifdef WITH_FASTCGI
- nwritten = fwrite((void*)s, 1, n, stdout);
- fflush(stdout);
-#else
-#ifdef UNDER_CE
- nwritten = fwrite(s, 1, n, soap->sendfd);
-#else
-#ifdef VXWORKS
-#ifdef WMW_RPM_IO
- if (soap->rpmreqid)
- { httpBlockPut(soap->rpmreqid, s, n);
- nwritten = n;
- }
- else
- nwritten = fwrite(s, sizeof(char), n, fdopen(soap->sendfd, "w"));
-#else
- nwritten = fwrite(s, sizeof(char), n, fdopen(soap->sendfd, "w"));
-#endif /* WMW_RPM_IO */
-#else
- nwritten = write((SOAP_SOCKET)soap->sendfd, s, n);
-#endif
-#endif
-#endif
- if (nwritten <= 0)
- { if (soap_errno != SOAP_EINTR && soap_errno != SOAP_EWOULDBLOCK && soap_errno != SOAP_EAGAIN)
- { soap->errnum = soap_errno;
- return SOAP_EOF;
- }
- nwritten = 0; /* and call write() again */
- }
- }
- n -= nwritten;
- s += nwritten;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_flush_raw(struct soap *soap, const char *s, size_t n)
-{ if ((soap->mode & SOAP_IO) == SOAP_IO_STORE)
- { register char *t;
- if (!(t = (char*)soap_push_block(soap, n)))
- return soap->error = SOAP_EOM;
- memcpy(t, s, n);
-#ifndef WITH_LEANER
- if (soap->fpreparesend)
- return soap->fpreparesend(soap, s, n);
-#endif
- return SOAP_OK;
- }
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK)
- { char t[16];
- sprintf(t, "\r\n%lX\r\n" + (soap->chunksize ? 0 : 2), (unsigned long)n);
- DBGMSG(SENT, t, strlen(t));
- if ((soap->error = soap->fsend(soap, t, strlen(t))))
- return soap->error;
- soap->chunksize += n;
- }
- DBGMSG(SENT, s, n);
-#endif
- return soap->error = soap->fsend(soap, s, n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_flush(struct soap *soap)
-{ if (soap->bufidx)
- {
-#ifdef WITH_ZLIB
- if (soap->mode & SOAP_ENC_ZLIB)
- { soap->d_stream.next_in = (Byte*)soap->buf;
- soap->d_stream.avail_in = (unsigned int)soap->bufidx;
-#ifdef WITH_GZIP
- soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->bufidx);
-#endif
- do
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflating %u bytes\n", soap->d_stream.avail_in));
- if (deflate(&soap->d_stream, Z_NO_FLUSH) != Z_OK)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to deflate: %s\n", soap->d_stream.msg?soap->d_stream.msg:""));
- return soap->error = SOAP_ZLIB_ERROR;
- }
- if (!soap->d_stream.avail_out)
- { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN))
- return soap->error;
- soap->d_stream.next_out = (Byte*)soap->z_buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- }
- } while (soap->d_stream.avail_in);
- }
- else
-#endif
- if (soap_flush_raw(soap, soap->buf, soap->bufidx))
- return soap->error;
- soap->bufidx = 0;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send_raw(struct soap *soap, const char *s, size_t n)
-{ if (!n)
- return SOAP_OK;
- if (soap->mode & SOAP_IO_LENGTH)
- { soap->count += n;
-#ifndef WITH_LEANER
- if (soap->fpreparesend && (soap->mode & SOAP_IO) != SOAP_IO_STORE)
- return soap->fpreparesend(soap, s, n);
-#endif
- return SOAP_OK;
- }
- if (soap->mode & SOAP_IO)
- { register size_t i = SOAP_BUFLEN - soap->bufidx;
- while (n >= i)
- { memcpy(soap->buf + soap->bufidx, s, i);
- soap->bufidx = SOAP_BUFLEN;
- if (soap_flush(soap))
- return soap->error;
- s += i;
- n -= i;
- i = SOAP_BUFLEN;
- }
- memcpy(soap->buf + soap->bufidx, s, n);
- soap->bufidx += n;
- return SOAP_OK;
- }
- return soap_flush_raw(soap, s, n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send(struct soap *soap, const char *s)
-{ if (s)
- return soap_send_raw(soap, s, strlen(s));
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send2(struct soap *soap, const char *s1, const char *s2)
-{ if (soap_send(soap, s1))
- return soap->error;
- return soap_send(soap, s2);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send3(struct soap *soap, const char *s1, const char *s2, const char *s3)
-{ if (soap_send(soap, s1)
- || soap_send(soap, s2))
- return soap->error;
- return soap_send(soap, s3);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static size_t
-frecv(struct soap *soap, char *s, size_t n)
-{ register int r;
- soap->errnum = 0;
-#if defined(__cplusplus) && !defined(WITH_LEAN)
- if (soap->is)
- { if (soap->is->good())
- return soap->is->read(s, n).gcount();
- return 0;
- }
-#endif
- if (soap_valid_socket(soap->socket))
- { for (;;)
- {
-#ifndef WITH_LEAN
- if (soap->recv_timeout)
- { struct timeval timeout;
- fd_set fd;
- if (soap->recv_timeout > 0)
- { timeout.tv_sec = soap->recv_timeout;
- timeout.tv_usec = 0;
- }
- else
- { timeout.tv_sec = -soap->recv_timeout/1000000;
- timeout.tv_usec = -soap->recv_timeout%1000000;
- }
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->socket, &fd);
- for (;;)
- { r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout);
- if (r > 0)
- break;
- if (!r)
- { soap->errnum = 0;
- return 0;
- }
- if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN)
- { soap->errnum = soap_socket_errno;
- return 0;
- }
- }
- }
-#endif
-#ifdef WITH_OPENSSL
- if (soap->ssl)
- { int err;
- r = SSL_read(soap->ssl, s, n);
- if ((err = SSL_get_error(soap->ssl, r)) == SSL_ERROR_NONE)
- return (size_t)r;
- if (err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE)
- return 0;
- }
- else
-#endif
- {
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- { SOAP_SOCKLEN_T k = (SOAP_SOCKLEN_T)sizeof(soap->peer);
- memset((void*)&soap->peer, 0, sizeof(soap->peer));
- r = recvfrom((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, &k); /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */
- soap->peerlen = (size_t)k;
-#ifndef WITH_IPV6
- soap->ip = ntohl(soap->peer.sin_addr.s_addr);
- soap->port = (int)ntohs(soap->peer.sin_port);
-#endif
- }
- else
-#endif
- r = recv((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags);
- if (r >= 0)
- return (size_t)r;
- if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN && soap_socket_errno != SOAP_EWOULDBLOCK)
- { soap->errnum = soap_socket_errno;
- return 0;
- }
- }
-#ifndef WITH_LEAN
- { struct timeval timeout;
- fd_set fd;
- timeout.tv_sec = 0;
- timeout.tv_usec = 10000;
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->socket, &fd);
-#ifdef WITH_OPENSSL
- if (soap->ssl && SSL_get_error(soap->ssl, r) == SSL_ERROR_WANT_WRITE)
- r = select((SOAP_SOCKET)(soap->socket + 1), NULL, &fd, &fd, &timeout);
- else
- r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout);
-#else
- r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout);
-#endif
- if (r < 0 && soap_socket_errno != SOAP_EINTR)
- { soap->errnum = soap_socket_errno;
- return 0;
- }
- }
-#endif
- }
- }
-#ifdef WITH_FASTCGI
- return fread(s, 1, n, stdin);
-#else
-#ifdef UNDER_CE
- return fread(s, 1, n, soap->recvfd);
-#else
-#ifdef WMW_RPM_IO
- if (soap->rpmreqid)
- r = httpBlockRead(soap->rpmreqid, s, n);
- else
- r = read(soap->recvfd, s, n);
- if (r >= 0)
- return r;
- return 0;
-#else
- r = read((SOAP_SOCKET)soap->recvfd, s, n);
- if (r >= 0)
- return (size_t)r;
- soap->errnum = soap_errno;
- return 0;
-#endif
-#endif
-#endif
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static soap_wchar
-soap_getchunkchar(struct soap *soap)
-{ if (soap->bufidx < soap->buflen)
- return soap->buf[soap->bufidx++];
- soap->bufidx = 0;
- soap->buflen = soap->chunkbuflen = soap->frecv(soap, soap->buf, SOAP_BUFLEN);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes from socket %d\n", (unsigned int)soap->buflen, soap->socket));
- DBGMSG(RECV, soap->buf, soap->buflen);
- if (soap->buflen)
- return soap->buf[soap->bufidx++];
- return EOF;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static int
-soap_isxdigit(int c)
-{ return (c >= '0' && c <= '9') || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f');
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_recv_raw(struct soap *soap)
-{ register size_t ret;
-#ifdef WITH_ZLIB
- if (soap->mode & SOAP_ENC_ZLIB)
- { if (soap->d_stream.next_out == Z_NULL)
- return EOF;
- if (soap->d_stream.avail_in || !soap->d_stream.avail_out)
- { register int r;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflating\n"));
- soap->d_stream.next_out = (Byte*)soap->buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- r = inflate(&soap->d_stream, Z_NO_FLUSH);
- if (r == Z_OK || r == Z_STREAM_END)
- { soap->bufidx = 0;
- soap->buflen = SOAP_BUFLEN - soap->d_stream.avail_out;
- if (soap->zlib_in == SOAP_ZLIB_GZIP)
- soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->buflen);
- if (r == Z_STREAM_END)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out));
- soap->z_ratio_in = (float)soap->d_stream.total_in / (float)soap->d_stream.total_out;
- soap->d_stream.next_out = Z_NULL;
- }
- if (soap->buflen)
- { soap->count += soap->buflen;
- return SOAP_OK;
- }
- }
- else if (r != Z_BUF_ERROR)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflate error: %s\n", soap->d_stream.msg?soap->d_stream.msg:""));
- soap->d_stream.next_out = Z_NULL;
- return EOF;
- }
- }
-zlib_again:
- if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK && !soap->chunksize)
- { memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN);
- soap->buflen = soap->z_buflen;
- }
- }
-#endif
-#ifndef WITH_NOHTTP
- if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) /* read HTTP chunked transfer */
- {
-chunk_again:
- if (soap->chunksize)
- { soap->buflen = ret = soap->frecv(soap, soap->buf, soap->chunksize > SOAP_BUFLEN ? SOAP_BUFLEN : soap->chunksize);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Getting chunk: read %u bytes\n", (unsigned int)ret));
- DBGMSG(RECV, soap->buf, ret);
- soap->bufidx = 0;
- soap->chunksize -= ret;
- }
- else
- { register soap_wchar c;
- char *t, tmp[8];
- t = tmp;
- if (!soap->chunkbuflen)
- { soap->chunkbuflen = ret = soap->frecv(soap, soap->buf, SOAP_BUFLEN);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes (chunked) from socket %d\n", (unsigned int)ret, soap->socket));
- DBGMSG(RECV, soap->buf, ret);
- soap->bufidx = 0;
- if (!ret)
- return EOF;
- }
- else
- soap->bufidx = soap->buflen;
- soap->buflen = soap->chunkbuflen;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Getting chunk size (%u %u)\n", (unsigned int)soap->bufidx, (unsigned int)soap->buflen));
- while (!soap_isxdigit((int)(c = soap_getchunkchar(soap))))
- if ((int)c == EOF)
- return EOF;
- do
- *t++ = (char)c;
- while (soap_isxdigit((int)(c = soap_getchunkchar(soap))) && t - tmp < 7);
- while ((int)c != EOF && c != '\n')
- c = soap_getchunkchar(soap);
- if ((int)c == EOF)
- return EOF;
- *t = '\0';
- soap->chunksize = soap_strtoul(tmp, &t, 16);
- if (!soap->chunksize)
- { soap->chunkbuflen = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of chunked message\n"));
- while ((int)c != EOF && c != '\n')
- c = soap_getchunkchar(soap);
- return EOF;
- }
- soap->buflen = soap->bufidx + soap->chunksize;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Moving buf len to %u (%u %s)\n", (unsigned int)soap->buflen, (unsigned int)soap->bufidx, tmp));
- if (soap->buflen > soap->chunkbuflen)
- { soap->buflen = soap->chunkbuflen;
- soap->chunksize -= soap->buflen - soap->bufidx;
- soap->chunkbuflen = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Passed end of buffer for chunked HTTP (%lu bytes left)\n", (unsigned long)(soap->buflen - soap->bufidx)));
- }
- else if (soap->chunkbuflen)
- soap->chunksize = 0;
- ret = soap->buflen - soap->bufidx;
- if (!ret)
- goto chunk_again;
- }
- }
- else
-#endif
- { soap->bufidx = 0;
- soap->buflen = ret = soap->frecv(soap, soap->buf, SOAP_BUFLEN);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes from socket %d\n", (unsigned int)ret, soap->socket));
- DBGMSG(RECV, soap->buf, ret);
- }
-#ifndef WITH_LEANER
- if (soap->fpreparerecv && (soap->error = soap->fpreparerecv(soap, soap->buf, ret)))
- return soap->error;
-#endif
-#ifdef WITH_ZLIB
- if (soap->mode & SOAP_ENC_ZLIB)
- { register int r;
- memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN);
- soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx);
- soap->d_stream.avail_in = (unsigned int)ret;
- soap->d_stream.next_out = (Byte*)soap->buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- r = inflate(&soap->d_stream, Z_NO_FLUSH);
- if (r == Z_OK || r == Z_STREAM_END)
- { soap->bufidx = 0;
- soap->z_buflen = soap->buflen;
- soap->buflen = ret = SOAP_BUFLEN - soap->d_stream.avail_out;
- if (soap->zlib_in == SOAP_ZLIB_GZIP)
- soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->buflen);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %u bytes\n", (unsigned int)ret));
- if (!ret)
- goto zlib_again;
- if (r == Z_STREAM_END)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out));
- soap->z_ratio_in = (float)soap->d_stream.total_in / (float)soap->d_stream.total_out;
- soap->d_stream.next_out = Z_NULL;
- }
- }
- else
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to inflate: (%d) %s\n", r, soap->d_stream.msg?soap->d_stream.msg:""));
- soap->d_stream.next_out = Z_NULL;
- return EOF;
- }
- }
-#endif
- soap->count += ret;
- return !ret;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_recv(struct soap *soap)
-{
-#ifndef WITH_LEANER
- if (soap->mode & SOAP_ENC_DIME)
- { if (soap->dime.buflen)
- { char *s;
- int i;
- unsigned char tmp[12];
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME hdr for chunked DIME is in buffer\n"));
- soap->count += soap->dime.buflen - soap->buflen;
- soap->buflen = soap->dime.buflen;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Skip padding (%ld bytes)\n", -(long)soap->dime.size&3));
- for (i = -(long)soap->dime.size&3; i > 0; i--)
- { soap->bufidx++;
- if (soap->bufidx >= soap->buflen)
- if (soap_recv_raw(soap))
- return EOF;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME hdr for next chunk\n"));
- s = (char*)tmp;
- for (i = 12; i > 0; i--)
- { *s++ = soap->buf[soap->bufidx++];
- if (soap->bufidx >= soap->buflen)
- if (soap_recv_raw(soap))
- return EOF;
- }
- soap->dime.flags = tmp[0] & 0x7;
- soap->dime.size = ((size_t)tmp[8] << 24) | ((size_t)tmp[9] << 16) | ((size_t)tmp[10] << 8) | ((size_t)tmp[11]);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME chunk (%u bytes)\n", (unsigned int)soap->dime.size));
- if (soap->dime.flags & SOAP_DIME_CF)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "More chunking\n"));
- soap->dime.chunksize = soap->dime.size;
- if (soap->buflen - soap->bufidx >= soap->dime.size)
- { soap->dime.buflen = soap->buflen;
- soap->buflen = soap->bufidx + soap->dime.chunksize;
- }
- else
- soap->dime.chunksize -= soap->buflen - soap->bufidx;
- }
- else
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Last chunk\n"));
- soap->dime.buflen = 0;
- soap->dime.chunksize = 0;
- }
- soap->count = soap->buflen - soap->bufidx;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%u bytes remaining\n", (unsigned int)soap->count));
- return SOAP_OK;
- }
- if (soap->dime.chunksize)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get next DIME hdr for chunked DIME (%u bytes chunk)\n", (unsigned int)soap->dime.chunksize));
- if (soap_recv_raw(soap))
- return EOF;
- if (soap->buflen - soap->bufidx >= soap->dime.chunksize)
- { soap->dime.buflen = soap->buflen;
- soap->count -= soap->buflen - soap->bufidx - soap->dime.chunksize;
- soap->buflen = soap->bufidx + soap->dime.chunksize;
- }
- else
- soap->dime.chunksize -= soap->buflen - soap->bufidx;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%lu bytes remaining, count=%u\n", (unsigned long)(soap->buflen-soap->bufidx), (unsigned int)soap->count));
- return SOAP_OK;
- }
- }
-#endif
- return soap_recv_raw(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-soap_wchar
-SOAP_FMAC2
-soap_getchar(struct soap *soap)
-{ register soap_wchar c;
- if (soap->ahead)
- { c = soap->ahead;
- soap->ahead = 0;
- return c;
- }
- return soap_get1(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-const struct soap_code_map*
-SOAP_FMAC2
-soap_code(const struct soap_code_map *map, const char *str)
-{ if (str)
- { while (map->string)
- { if (!strcmp(str, map->string)) /* case sensitive */
- return map;
- map++;
- }
- }
- return NULL;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-long
-SOAP_FMAC2
-soap_int_code(const struct soap_code_map *map, const char *str, long other)
-{ while (map->string)
- { if (!soap_tag_cmp(str, map->string)) /* case insensitive */
- return map->code;
- map++;
- }
- return other;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_str_code(const struct soap_code_map *map, long code)
-{ while (map->code != code && map->string)
- map++;
- return map->string;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static soap_wchar
-soap_char(struct soap *soap)
-{ char tmp[8];
- register int i;
- register soap_wchar c;
- register char *s = tmp;
- for (i = 0; i < 7; i++)
- { c = soap_get1(soap);
- if (c == ';' || (int)c == EOF)
- break;
- *s++ = (char)c;
- }
- *s = '\0';
- if (*tmp == '#')
- { if (tmp[1] == 'x' || tmp[1] == 'X')
- return soap_strtol(tmp + 2, NULL, 16);
- return atol(tmp + 1);
- }
- if (!strcmp(tmp, "lt"))
- return '<';
- if (!strcmp(tmp, "gt"))
- return '>';
- if (!strcmp(tmp, "amp"))
- return '&';
- if (!strcmp(tmp, "quot"))
- return '"';
- if (!strcmp(tmp, "apos"))
- return '\'';
-#ifndef WITH_LEAN
- return (soap_wchar)soap_int_code(html_entity_codes, tmp, SOAP_UNKNOWN_CHAR);
-#else
- return SOAP_UNKNOWN_CHAR; /* use this to represent unknown code */
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifdef WITH_LEAN
-soap_wchar
-soap_get0(struct soap *soap)
-{ if (soap->bufidx >= soap->buflen && soap_recv(soap))
- return EOF;
- return (unsigned char)soap->buf[soap->bufidx];
-}
-#endif
-
-/******************************************************************************/
-#ifdef WITH_LEAN
-soap_wchar
-soap_get1(struct soap *soap)
-{ if (soap->bufidx >= soap->buflen && soap_recv(soap))
- return EOF;
- return (unsigned char)soap->buf[soap->bufidx++];
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-soap_wchar
-SOAP_FMAC2
-soap_get(struct soap *soap)
-{ register soap_wchar c;
- c = soap->ahead;
- if (c)
- soap->ahead = 0;
- else
- c = soap_get1(soap);
- for (;;)
- { if (soap->cdata)
- { if (c == ']')
- { c = soap_get1(soap);
- if (c == ']')
- { soap->cdata = 0;
- soap_get1(soap); /* skip > */
- c = soap_get1(soap);
- }
- else
- { soap_revget1(soap);
- return ']';
- }
- }
- else
- return c;
- }
- switch (c)
- { case '<':
- do c = soap_get1(soap);
- while (soap_blank(c));
- if (c == '!' || c == '?' || c == '%')
- { register int k = 1;
- if (c == '!')
- { c = soap_get1(soap);
- if (c == '[')
- { do c = soap_get1(soap);
- while ((int)c != EOF && c != '[');
- if ((int)c == EOF)
- break;
- soap->cdata = 1;
- c = soap_get1(soap);
- continue;
- }
- if (c == '-' && (c = soap_get1(soap)) == '-')
- { do
- { c = soap_get1(soap);
- if (c == '-' && (c = soap_get1(soap)) == '-')
- break;
- } while ((int)c != EOF);
- }
- }
- while ((int)c != EOF)
- { if (c == '<')
- k++;
- else if (c == '>')
- { if (--k <= 0)
- break;
- }
- c = soap_get1(soap);
- }
- if ((int)c == EOF)
- break;
- c = soap_get1(soap);
- continue;
- }
- if (c == '/')
- return SOAP_TT;
- soap_revget1(soap);
- return SOAP_LT;
- case '>':
- return SOAP_GT;
- case '"':
- return SOAP_QT;
- case '\'':
- return SOAP_AP;
- case '&':
- return soap_char(soap) | 0x80000000;
- }
- break;
- }
- return c;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_move(struct soap *soap, long n)
-{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Moving %ld bytes forward\n", (long)n));
- for (; n > 0; n--)
- if ((int)soap_getchar(soap) == EOF)
- return SOAP_EOF;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-size_t
-SOAP_FMAC2
-soap_tell(struct soap *soap)
-{ return soap->count - soap->buflen + soap->bufidx - (soap->ahead != 0);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_pututf8(struct soap *soap, register unsigned long c)
-{ char tmp[16];
- if (c > 0 && c < 0x80)
- { *tmp = (char)c;
- return soap_send_raw(soap, tmp, 1);
- }
-#ifndef WITH_LEAN
- if (soap->mode & SOAP_XML_CANONICAL)
- { register char *t = tmp;
- if (c < 0x0800)
- *t++ = (char)(0xC0 | ((c >> 6) & 0x1F));
- else
- { if (c < 0x010000)
- *t++ = (char)(0xE0 | ((c >> 12) & 0x0F));
- else
- { if (c < 0x200000)
- *t++ = (char)(0xF0 | ((c >> 18) & 0x07));
- else
- { if (c < 0x04000000)
- *t++ = (char)(0xF8 | ((c >> 24) & 0x03));
- else
- { *t++ = (char)(0xFC | ((c >> 30) & 0x01));
- *t++ = (char)(0x80 | ((c >> 24) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 18) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 12) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 6) & 0x3F));
- }
- *t++ = (char)(0x80 | (c & 0x3F));
- *t = '\0';
- }
- else
-#endif
- sprintf(tmp, "&#%lu;", c);
- return soap_send(soap, tmp);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-soap_wchar
-SOAP_FMAC2
-soap_getutf8(struct soap *soap)
-{ register soap_wchar c, c1, c2, c3, c4;
- c = soap_get(soap);
- if (c < 0x80 || (soap->mode & SOAP_ENC_LATIN))
- return c;
- c1 = soap_get(soap);
- if (c1 < 0x80)
- { soap_unget(soap, c1);
- return c;
- }
- c1 &= 0x3F;
- if (c < 0xE0)
- return ((soap_wchar)(c & 0x1F) << 6) | c1;
- c2 = (soap_wchar)soap_get1(soap) & 0x3F;
- if (c < 0xF0)
- return ((soap_wchar)(c & 0x0F) << 12) | (c1 << 6) | c2;
- c3 = (soap_wchar)soap_get1(soap) & 0x3F;
- if (c < 0xF8)
- return ((soap_wchar)(c & 0x07) << 18) | (c1 << 12) | (c2 << 6) | c3;
- c4 = (soap_wchar)soap_get1(soap) & 0x3F;
- if (c < 0xFC)
- return ((soap_wchar)(c & 0x03) << 24) | (c1 << 18) | (c2 << 12) | (c3 << 6) | c4;
- return ((soap_wchar)(c & 0x01) << 30) | (c1 << 24) | (c2 << 18) | (c3 << 12) | (c4 << 6) | (soap_wchar)(soap_get1(soap) & 0x3F);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_puthex(struct soap *soap, const unsigned char *s, int n)
-{ char d[2];
- register int i;
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { if (!(soap->dom->data = soap_s2hex(soap, s, NULL, n)))
- return soap->error;
- return SOAP_OK;
- }
-#endif
- for (i = 0; i < n; i++)
- { register int m = *s++;
- d[0] = (char)((m >> 4) + (m > 159 ? '7' : '0'));
- m &= 0x0F;
- d[1] = (char)(m + (m > 9 ? '7' : '0'));
- if (soap_send_raw(soap, d, 2))
- return soap->error;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-unsigned char*
-SOAP_FMAC2
-soap_gethex(struct soap *soap, int *n)
-{
-#ifdef WITH_FAST
- soap->labidx = 0;
- for (;;)
- { register char *s;
- register int i, k;
- if (soap_append_lab(soap, NULL, 0))
- return NULL;
- s = soap->labbuf + soap->labidx;
- k = soap->lablen - soap->labidx;
- soap->labidx = soap->lablen;
- for (i = 0; i < k; i++)
- { register char d1, d2;
- register soap_wchar c;
- c = soap_get(soap);
- if (soap_isxdigit(c))
- { d1 = (char)c;
- c = soap_get(soap);
- if (soap_isxdigit(c))
- d2 = (char)c;
- else
- { soap->error = SOAP_TYPE;
- return NULL;
- }
- }
- else
- { unsigned char *p;
- soap_unget(soap, c);
- if (n)
- *n = (int)(soap->lablen - k + i);
- p = (unsigned char*)soap_malloc(soap, soap->lablen - k + i);
- if (p)
- memcpy(p, soap->labbuf, soap->lablen - k + i);
- return p;
- }
- *s++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0');
- }
- }
-#else
- if (soap_new_block(soap))
- return NULL;
- for (;;)
- { register int i;
- register char *s = (char*)soap_push_block(soap, SOAP_BLKLEN);
- if (!s)
- { soap_end_block(soap);
- return NULL;
- }
- for (i = 0; i < SOAP_BLKLEN; i++)
- { register char d1, d2;
- register soap_wchar c = soap_get(soap);
- if (soap_isxdigit(c))
- { d1 = (char)c;
- c = soap_get(soap);
- if (soap_isxdigit(c))
- d2 = (char)c;
- else
- { soap_end_block(soap);
- soap->error = SOAP_TYPE;
- return NULL;
- }
- }
- else
- { unsigned char *p;
- soap_unget(soap, c);
- if (n)
- *n = soap_size_block(soap, i);
- p = (unsigned char*)soap_save_block(soap, NULL, 0);
- return p;
- }
- *s++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0');
- }
- }
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putbase64(struct soap *soap, const unsigned char *s, int n)
-{ register int i;
- register unsigned long m;
- char d[4];
- if (!s)
- return SOAP_OK;
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { if (!(soap->dom->data = soap_s2base64(soap, s, NULL, n)))
- return soap->error;
- return SOAP_OK;
- }
-#endif
- for (; n > 2; n -= 3, s += 3)
- { m = s[0];
- m = (m << 8) | s[1];
- m = (m << 8) | s[2];
- for (i = 4; i > 0; m >>= 6)
- d[--i] = soap_base64o[m & 0x3F];
- if (soap_send_raw(soap, d, 4))
- return soap->error;
- }
- if (n > 0)
- { m = 0;
- for (i = 0; i < n; i++)
- m = (m << 8) | *s++;
- for (; i < 3; i++)
- m <<= 8;
- for (i++; i > 0; m >>= 6)
- d[--i] = soap_base64o[m & 0x3F];
- for (i = 3; i > n; i--)
- d[i] = '=';
- if (soap_send_raw(soap, d, 4))
- return soap->error;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-unsigned char*
-SOAP_FMAC2
-soap_getbase64(struct soap *soap, int *n, int malloc_flag)
-{
-#ifdef WITH_FAST
- soap->labidx = 0;
- for (;;)
- { register int i, k;
- register char *s;
- if (soap_append_lab(soap, NULL, 2))
- return NULL;
- s = soap->labbuf + soap->labidx;
- k = 3 * ((soap->lablen - soap->labidx) / 3);
- soap->labidx = 3 * (soap->lablen / 3);
- if (!s)
- return NULL;
- for (i = 0; i < k; i += 3)
- { register unsigned long m = 0;
- register int j = 0;
- do
- { register soap_wchar c = soap_get(soap);
- if (c == '=' || c < 0)
- { unsigned char *p;
- switch (j)
- { case 2:
- *s++ = (char)((m >> 4) & 0xFF);
- i++;
- break;
- case 3:
- *s++ = (char)((m >> 10) & 0xFF);
- *s++ = (char)((m >> 2) & 0xFF);
- i += 2;
- }
- if (n)
- *n = (int)(soap->lablen - k + i);
- p = (unsigned char*)soap_malloc(soap, soap->lablen - k + i);
- if (p)
- memcpy(p, soap->labbuf, soap->lablen - k + i);
- if (c >= 0)
- { while ((int)((c = soap_get(soap)) != EOF) && c != SOAP_LT && c != SOAP_TT)
- ;
- }
- soap_unget(soap, c);
- return p;
- }
- c -= '+';
- if (c >= 0 && c <= 79)
- { m = (m << 6) + soap_base64i[c];
- j++;
- }
- } while (j < 4);
- *s++ = (char)((m >> 16) & 0xFF);
- *s++ = (char)((m >> 8) & 0xFF);
- *s++ = (char)(m & 0xFF);
- }
- }
-#else
- if (soap_new_block(soap))
- return NULL;
- for (;;)
- { register int i;
- register char *s = (char*)soap_push_block(soap, 3 * SOAP_BLKLEN); /* must be multiple of 3 */
- if (!s)
- { soap_end_block(soap);
- return NULL;
- }
- for (i = 0; i < SOAP_BLKLEN; i++)
- { register unsigned long m = 0;
- register int j = 0;
- do
- { register soap_wchar c = soap_get(soap);
- if (c == '=' || c < 0)
- { unsigned char *p;
- i *= 3;
- switch (j)
- { case 2:
- *s++ = (char)((m >> 4) & 0xFF);
- i++;
- break;
- case 3:
- *s++ = (char)((m >> 10) & 0xFF);
- *s++ = (char)((m >> 2) & 0xFF);
- i += 2;
- }
- if (n)
- *n = (int)soap_size_block(soap, i);
- p = (unsigned char*)soap_save_block(soap, NULL, 0);
- if (c >= 0)
- { while ((int)((c = soap_get(soap)) != EOF) && c != SOAP_LT && c != SOAP_TT)
- ;
- }
- soap_unget(soap, c);
- return p;
- }
- c -= '+';
- if (c >= 0 && c <= 79)
- { m = (m << 6) + soap_base64i[c];
- j++;
- }
- } while (j < 4);
- *s++ = (char)((m >> 16) & 0xFF);
- *s++ = (char)((m >> 8) & 0xFF);
- *s++ = (char)(m & 0xFF);
- }
- }
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_xop_forward(struct soap *soap, unsigned char **ptr, int *size, char **id, char **type, char **options)
-{ int body = soap->body;
- if (!soap_peek_element(soap))
- { if (!soap_element_begin_in(soap, "xop:Include", 0) && *soap->href)
- { if (soap_dime_forward(soap, ptr, size, id, type, options))
- return soap->error;
- }
- if (soap->body && soap_element_end_in(soap, NULL))
- return soap->error;
- }
- soap->body = body;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_dime_forward(struct soap *soap, unsigned char **ptr, int *size, char **id, char **type, char **options)
-{ struct soap_xlist *xp = (struct soap_xlist*)SOAP_MALLOC(soap, sizeof(struct soap_xlist));
- *ptr = NULL;
- *size = 0;
- *id = soap_strdup(soap, soap->href);
- *type = NULL;
- *options = NULL;
- if (!xp)
- return soap->error = SOAP_EOM;
- xp->next = soap->xlist;
- xp->ptr = ptr;
- xp->size = size;
- xp->id = *id;
- xp->type = type;
- xp->options = options;
- soap->xlist = xp;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_strdup(struct soap *soap, const char *s)
-{ char *t = NULL;
- if (s && (t = (char*)soap_malloc(soap, strlen(s) + 1)))
- strcpy(t, s);
- return t;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_new_block(struct soap *soap)
-{ struct soap_blist *p;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "New block sequence (prev=%p)\n", soap->blist));
- if (!(p = (struct soap_blist*)SOAP_MALLOC(soap, sizeof(struct soap_blist))))
- return SOAP_EOM;
- p->next = soap->blist;
- p->ptr = NULL;
- p->size = 0;
- soap->blist = p;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_push_block(struct soap *soap, size_t n)
-{ char *p;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push block of %u bytes (%u bytes total)\n", (unsigned int)n, (unsigned int)soap->blist->size + (unsigned int)n));
- if (!(p = (char*)SOAP_MALLOC(soap, n + sizeof(char*) + sizeof(size_t))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- *(char**)p = soap->blist->ptr;
- *(size_t*)(p + sizeof(char*)) = n;
- soap->blist->ptr = p;
- soap->blist->size += n;
- return p + sizeof(char*) + sizeof(size_t);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_pop_block(struct soap *soap)
-{ char *p;
- if (!soap->blist->ptr)
- return;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Pop block\n"));
- p = soap->blist->ptr;
- soap->blist->size -= *(size_t*)(p + sizeof(char*));
- soap->blist->ptr = *(char**)p;
- SOAP_FREE(soap, p);
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static void
-soap_update_ptrs(struct soap *soap, char *start, char *end, long offset)
-{ int i;
- register struct soap_ilist *ip;
- register struct soap_flist *fp;
-#ifndef WITH_LEANER
- register struct soap_xlist *xp;
-#endif
- register void *p, **q;
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = ip->next)
- { if (ip->ptr && (char*)ip->ptr >= start && (char*)ip->ptr < end)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update id='%s' %p -> %p\n", ip->id, ip->ptr, (char*)ip->ptr + offset));
- ip->ptr = (char*)ip->ptr + offset;
- }
- for (q = &ip->link; q; q = (void**)p)
- { p = *q;
- if (p && (char*)p >= start && (char*)p < end)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Link update id='%s' %p\n", ip->id, p));
- *q = (char*)p + offset;
- }
- }
- for (q = &ip->copy; q; q = (void**)p)
- { p = *q;
- if (p && (char*)p >= start && (char*)p < end)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy chain update id='%s' %p\n", ip->id, p));
- *q = (char*)p + offset;
- }
- }
- for (fp = ip->flist; fp; fp = fp->next)
- { if ((char*)fp->ptr >= start && (char*)fp->ptr < end)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy list update id='%s' %p\n", ip->id, fp));
- fp->ptr = (char*)fp->ptr + offset;
- }
- }
- }
- }
-#ifndef WITH_LEANER
- for (xp = soap->xlist; xp; xp = xp->next)
- { if (xp->ptr && (char*)xp->ptr >= start && (char*)xp->ptr < end)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update id='%s' %p -> %p\n", xp->id?xp->id:"", xp->ptr, (char*)xp->ptr + offset));
- xp->ptr = (unsigned char**)((char*)xp->ptr + offset);
- xp->size = (int*)((char*)xp->size + offset);
- xp->type = (char**)((char*)xp->type + offset);
- xp->options = (char**)((char*)xp->options + offset);
- }
- }
-#endif
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static int
-soap_has_copies(struct soap *soap, register const char *start, register const char *end)
-{ register int i;
- register struct soap_ilist *ip;
- register struct soap_flist *fp;
- register const char *p;
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = ip->next)
- { for (p = (const char*)ip->copy; p; p = *(const char**)p)
- if (p >= start && p < end)
- return SOAP_ERR;
- for (fp = ip->flist; fp; fp = fp->next)
- if ((const char*)fp->ptr >= start && (const char*)fp->ptr < end)
- return SOAP_ERR;
- }
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_resolve(struct soap *soap)
-{ register int i;
- register struct soap_ilist *ip;
- register struct soap_flist *fp;
- short flag;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving forwarded data\n"));
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = ip->next)
- { if (ip->ptr)
- { register void *p, **q, *r;
- q = (void**)ip->link;
- ip->link = NULL;
- r = ip->ptr;
- DBGLOG(TEST, if (q) SOAP_MESSAGE(fdebug, "Traversing link chain to resolve id='%s'\n", ip->id));
- while (q)
- { p = *q;
- *q = r;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "... link %p -> %p\n", q, r));
- q = (void**)p;
- }
- }
- else if (*ip->id == '#')
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Missing data for id='%s'\n", ip->id));
- strcpy(soap->id, ip->id + 1);
- return soap->error = SOAP_MISSING_ID;
- }
- }
- }
- do
- { flag = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution phase\n"));
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = ip->next)
- { if (ip->ptr && !soap_has_copies(soap, (const char*)ip->ptr, (const char*)ip->ptr + ip->size))
- { if (ip->copy)
- { register void *p, **q = (void**)ip->copy;
- DBGLOG(TEST, if (q) SOAP_MESSAGE(fdebug, "Traversing copy chain to resolve id='%s'\n", ip->id));
- ip->copy = NULL;
- do
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "... copy %p -> %p (%u bytes)\n", ip->ptr, q, (unsigned int)ip->size));
- p = *q;
- memcpy(q, ip->ptr, ip->size);
- q = (void**)p;
- } while (q);
- flag = 1;
- }
- for (fp = ip->flist; fp; fp = ip->flist)
- { register unsigned int k = fp->level;
- register void *p = ip->ptr;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving forwarded data type=%d location=%p level=%u,%u id='%s'\n", ip->type, p, ip->level, fp->level, ip->id));
- while (ip->level < k)
- { register void **q = (void**)soap_malloc(soap, sizeof(void*));
- if (!q)
- return soap->error;
- *q = p;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level, new location=%p holds=%p...\n", q, *q));
- p = (void*)q;
- k--;
- }
- if (fp->fcopy)
- fp->fcopy(soap, ip->type, fp->type, fp->ptr, p, ip->size);
- else
- soap_fcopy(soap, ip->type, fp->type, fp->ptr, p, ip->size);
- ip->flist = fp->next;
- SOAP_FREE(soap, fp);
- flag = 1;
- }
- }
- }
- }
- } while (flag);
-#ifdef SOAP_DEBUG
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = ip->next)
- { if (ip->copy || ip->flist)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution error: forwarded data for id='%s' could not be propagated, please report this problem to the developers\n", ip->id));
- }
- }
- }
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution done\n"));
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-size_t
-SOAP_FMAC2
-soap_size_block(struct soap *soap, size_t n)
-{ if (soap->blist->ptr)
- { soap->blist->size -= *(size_t*)(soap->blist->ptr + sizeof(char*)) - n;
- *(size_t*)(soap->blist->ptr + sizeof(char*)) = n;
- }
- return soap->blist->size;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_first_block(struct soap *soap)
-{ char *p, *q, *r;
- p = soap->blist->ptr;
- if (!p)
- return NULL;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "First block\n"));
- r = NULL;
- do
- { q = *(char**)p;
- *(char**)p = r;
- r = p;
- p = q;
- } while (p);
- soap->blist->ptr = r;
- return r + sizeof(char*) + sizeof(size_t);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_next_block(struct soap *soap)
-{ char *p;
- p = soap->blist->ptr;
- if (p)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Next block\n"));
- soap->blist->ptr = *(char**)p;
- SOAP_FREE(soap, p);
- if (soap->blist->ptr)
- return soap->blist->ptr + sizeof(char*) + sizeof(size_t);
- }
- return NULL;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-size_t
-SOAP_FMAC2
-soap_block_size(struct soap *soap)
-{ return *(size_t*)(soap->blist->ptr + sizeof(char*));
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_end_block(struct soap *soap)
-{ struct soap_blist *bp;
- char *p, *q;
- bp = soap->blist;
- if (bp)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of block sequence, free all remaining blocks\n"));
- for (p = bp->ptr; p; p = q)
- { q = *(char**)p;
- SOAP_FREE(soap, p);
- }
- soap->blist = bp->next;
- SOAP_FREE(soap, bp);
- }
- DBGLOG(TEST, if (soap->blist) SOAP_MESSAGE(fdebug, "Restore previous block sequence\n"));
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_save_block(struct soap *soap, char *p, int flag)
-{ register size_t n;
- register char *q, *s;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Save all blocks in contiguous memory space of %u bytes (%p->%p)\n", (unsigned int)soap->blist->size, soap->blist->ptr, p));
- if (soap->blist->size)
- { if (!p)
- p = (char*)soap_malloc(soap, soap->blist->size);
- if (p)
- { for (s = p, q = soap_first_block(soap); q; q = soap_next_block(soap))
- { n = soap_block_size(soap);
-#ifndef WITH_NOIDREF
- if (flag)
- soap_update_ptrs(soap, q, q + n, (long)s - (long)q); /* pointers s and q may or may not be related */
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy %u bytes from %p to %p\n", (unsigned int)n, q, s));
- memcpy(s, q, n);
- s += n;
- }
- }
- else
- soap->error = SOAP_EOM;
- }
- soap_end_block(soap);
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_putsize(struct soap *soap, const char *type, int size)
-{ return soap_putsizes(soap, type, &size, 1);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_putsizes(struct soap *soap, const char *type, const int *size, int dim)
-{ return soap_putsizesoffsets(soap, type, size, NULL, dim);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_putsizesoffsets(struct soap *soap, const char *type, const int *size, const int *offset, int dim)
-{ int i;
- if (!type)
- return NULL;
- if (soap->version == 2)
- { sprintf(soap->type, "%s[%d", type, size[0]);
- for (i = 1; i < dim; i++)
- sprintf(soap->type + strlen(soap->type), " %d", size[i]);
- }
- else
- { if (offset)
- { sprintf(soap->type, "%s[%d", type, size[0] + offset[0]);
- for (i = 1; i < dim; i++)
- sprintf(soap->type + strlen(soap->type), ",%d", size[i] + offset[i]);
- }
- else
- { sprintf(soap->type, "%s[%d", type, size[0]);
- for (i = 1; i < dim; i++)
- sprintf(soap->type + strlen(soap->type), ",%d", size[i]);
- }
- strcat(soap->type, "]");
- }
- return soap->type;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_putoffset(struct soap *soap, int offset)
-{ return soap_putoffsets(soap, &offset, 1);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_putoffsets(struct soap *soap, const int *offset, int dim)
-{ register int i;
- sprintf(soap->arrayOffset, "[%d", offset[0]);
- for (i = 1; i < dim; i++)
- sprintf(soap->arrayOffset + strlen(soap->arrayOffset), ",%d", offset[i]);
- strcat(soap->arrayOffset, "]");
- return soap->arrayOffset;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_size(const int *size, int dim)
-{ register int i, n = size[0];
- for (i = 1; i < dim; i++)
- n *= size[i];
- return n;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getoffsets(const char *attr, const int *size, int *offset, int dim)
-{ register int i, j = 0;
- if (offset)
- for (i = 0; i < dim && attr && *attr; i++)
- { attr++;
- j *= size[i];
- j += offset[i] = (int)atol(attr);
- attr = strchr(attr, ',');
- }
- else
- for (i = 0; i < dim && attr && *attr; i++)
- { attr++;
- j *= size[i];
- j += (int)atol(attr);
- attr = strchr(attr, ',');
- }
- return j;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getsize(const char *attr1, const char *attr2, int *j)
-{ register int n, k;
- char *s;
- *j = 0;
- if (!*attr1)
- return -1;
- if (*attr1 == '[')
- attr1++;
- n = 1;
- for (;;)
- { k = (int)soap_strtol(attr1, &s, 10);
- n *= k;
- if (k < 0 || n > SOAP_MAXARRAYSIZE || s == attr1)
- return -1;
- attr1 = strchr(s, ',');
- if (!attr1)
- attr1 = strchr(s, ' ');
- if (attr2 && *attr2)
- { attr2++;
- *j *= k;
- k = (int)soap_strtol(attr2, &s, 10);
- *j += k;
- if (k < 0)
- return -1;
- attr2 = s;
- }
- if (!attr1)
- break;
- attr1++;
- }
- return n - *j;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getsizes(const char *attr, int *size, int dim)
-{ register int i, k, n;
- if (!*attr)
- return -1;
- i = strlen(attr);
- n = 1;
- do
- { for (i = i-1; i >= 0; i--)
- if (attr[i] == '[' || attr[i] == ',' || attr[i] == ' ')
- break;
- k = (int)atol(attr + i + 1);
- n *= size[--dim] = k;
- if (k < 0 || n > SOAP_MAXARRAYSIZE)
- return -1;
- } while (i >= 0 && attr[i] != '[');
- return n;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getposition(const char *attr, int *pos)
-{ register int i, n;
- if (!*attr)
- return -1;
- n = 0;
- i = 1;
- do
- { pos[n++] = (int)atol(attr + i);
- while (attr[i] && attr[i] != ',' && attr[i] != ']')
- i++;
- if (attr[i] == ',')
- i++;
- } while (n < SOAP_MAXDIMS && attr[i] && attr[i] != ']');
- return n;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_push_namespace(struct soap *soap, const char *id, const char *ns)
-{ register struct soap_nlist *np;
- register struct Namespace *p;
- np = (struct soap_nlist*)SOAP_MALLOC(soap, sizeof(struct soap_nlist) + strlen(id));
- if (!np)
- return soap->error = SOAP_EOM;
- strcpy(np->id, id);
- np->level = soap->level;
- np->index = -1;
- np->ns = NULL;
- np->next = soap->nlist;
- soap->nlist = np;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push namespace binding (level=%u) '%s' '%s'\n", soap->level, id, ns));
- p = soap->local_namespaces;
- if (p)
- { register short i = 0;
- for (; p->id; p++, i++)
- { if (p->ns && !strcmp(ns, p->ns))
- { if (p->out)
- { SOAP_FREE(soap, p->out);
- p->out = NULL;
- }
- break;
- }
- if (p->out)
- { if (!SOAP_STRCMP(ns, p->out))
- break;
- }
- else if (p->in)
- { if (!soap_tag_cmp(ns, p->in))
- { if ((p->out = (char*)SOAP_MALLOC(soap, strlen(ns) + 1)))
- strcpy(p->out, ns);
- break;
- }
- }
- }
- if (p && p->id)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push OK ('%s' matches '%s' in namespace table)\n", id, p->id));
- np->index = i;
- }
- }
- if (!p || !p->id)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push NOT OK: no match found for '%s' in namespace mapping table (added to stack anyway)\n", ns));
- np->ns = (char*)SOAP_MALLOC(soap, strlen(ns) + 1);
- if (!np->ns)
- return soap->error = SOAP_EOM;
- strcpy(np->ns, ns);
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_pop_namespace(struct soap *soap)
-{ register struct soap_nlist *np;
- while (soap->nlist && soap->nlist->level >= soap->level)
- { np = soap->nlist->next;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Popped namespace binding (level=%u) '%s'\n", soap->level, soap->nlist->id));
- if (soap->nlist->ns)
- SOAP_FREE(soap, soap->nlist->ns);
- SOAP_FREE(soap, soap->nlist);
- soap->nlist = np;
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_match_namespace(struct soap *soap, const char *id1, const char *id2, int n1, int n2)
-{ register struct soap_nlist *np = soap->nlist;
- while (np && (strncmp(np->id, id1, n1) || np->id[n1]))
- np = np->next;
- if (np)
- { if (np->index < 0 || (np->index >= 0 && soap->local_namespaces[np->index].id && (strncmp(soap->local_namespaces[np->index].id, id2, n2) || soap->local_namespaces[np->index].id[n2])))
- return SOAP_NAMESPACE;
- return SOAP_OK;
- }
- if (n1 == 3 && n1 == n2 && !strcmp(id1, "xml") && !strcmp(id1, id2))
- return SOAP_OK;
- return SOAP_SYNTAX_ERROR;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_tag_cmp(const char *s, const char *t)
-{ for (;;)
- { register int c1 = *s;
- register int c2 = *t;
- if (!c1 || c1 == '"')
- break;
- if (c2 != '-')
- { if (c1 != c2)
- { if (c1 >= 'A' && c1 <= 'Z')
- c1 += 'a' - 'A';
- if (c2 >= 'A' && c2 <= 'Z')
- c2 += 'a' - 'A';
- }
- if (c1 != c2)
- { if (c2 != '*')
- return 1;
- c2 = *++t;
- if (!c2)
- return 0;
- if (c2 >= 'A' && c2 <= 'Z')
- c2 += 'a' - 'A';
- for (;;)
- { c1 = *s;
- if (!c1 || c1 == '"')
- break;
- if (c1 >= 'A' && c1 <= 'Z')
- c1 += 'a' - 'A';
- if (c1 == c2 && !soap_tag_cmp(s + 1, t + 1))
- return 0;
- s++;
- }
- break;
- }
- }
- s++;
- t++;
- }
- if (*t == '*' && !t[1])
- return 0;
- return *t;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_match_tag(struct soap *soap, const char *tag1, const char *tag2)
-{ register const char *s, *t;
- if (!tag1 || !tag2 || !*tag2)
- return SOAP_OK;
- s = strchr(tag1, ':');
- t = strchr(tag2, ':');
- if (t)
- { if (s)
- { if (t[1] && SOAP_STRCMP(s + 1, t + 1))
- return SOAP_TAG_MISMATCH;
- if (t != tag2 && soap_match_namespace(soap, tag1, tag2, s - tag1, t - tag2))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags '%s' and '%s' match but namespaces differ\n", tag1, tag2));
- return SOAP_TAG_MISMATCH;
- }
- }
- else if (SOAP_STRCMP(tag1, t + 1))
- return SOAP_TAG_MISMATCH;
- else if (t != tag2 && soap_match_namespace(soap, tag1, tag2, 0, t - tag2))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags '%s' and '%s' match but namespaces differ\n", tag1, tag2));
- return SOAP_TAG_MISMATCH;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags and (default) namespaces match: '%s' '%s'\n", tag1, tag2));
- return SOAP_OK;
- }
- if (s)
- { if (SOAP_STRCMP(s + 1, tag2))
- return SOAP_TAG_MISMATCH;
- }
- else if (SOAP_STRCMP(tag1, tag2))
- return SOAP_TAG_MISMATCH;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags match: '%s' '%s'\n", tag1, tag2));
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_match_array(struct soap *soap, const char *type)
-{ if (*soap->arrayType)
- if (soap_match_tag(soap, soap->arrayType, type)
- && soap_match_tag(soap, soap->arrayType, "xsd:anyType")
- && soap_match_tag(soap, soap->arrayType, "xsd:ur-type")
- )
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array type mismatch: '%s' '%s'\n", soap->arrayType, type));
- return SOAP_TAG_MISMATCH;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-
-#ifdef WITH_OPENSSL
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_ssl_server_context(struct soap *soap, unsigned short flags, const char *keyfile, const char *password, const char *cafile, const char *capath, const char *dhfile, const char *randfile, const char *sid)
-{ int err;
- soap->keyfile = keyfile;
- soap->password = password;
- soap->cafile = cafile;
- soap->capath = capath;
- if (dhfile)
- { soap->dhfile = dhfile;
- soap->rsa = 0;
- }
- else
- { soap->dhfile = NULL;
- soap->rsa = 1;
- }
- soap->randfile = randfile;
- soap->require_client_auth = (flags & SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION);
- if (!(err = soap->fsslauth(soap)))
- if (sid)
- SSL_CTX_set_session_id_context(soap->ctx, (unsigned char*)sid, strlen(sid));
- return err;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_ssl_client_context(struct soap *soap, unsigned short flags, const char *keyfile, const char *password, const char *cafile, const char *capath, const char *randfile)
-{ soap->keyfile = keyfile;
- soap->password = password;
- soap->cafile = cafile;
- soap->capath = capath;
- soap->dhfile = NULL;
- soap->rsa = 0;
- soap->randfile = randfile;
- soap->require_server_auth = (flags & SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION);
- return soap->fsslauth(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-static void
-ssl_init(struct soap *soap)
-{ static int done = 0;
- if (!done)
- { done = 1;
- SSL_library_init();
-#ifndef WITH_LEAN
- SSL_load_error_strings();
-#endif
- if (!RAND_load_file("/dev/urandom", 1024))
- { RAND_seed(soap->buf, sizeof(soap->buf));
- while (!RAND_status())
- { int r = soap_random;
- RAND_seed(&r, sizeof(int));
- }
- }
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static const char *
-ssl_error(struct soap *soap, int ret)
-{ int err = SSL_get_error(soap->ssl, ret);
- const char *msg = soap_str_code(h_ssl_error_codes, err);
- if (msg)
- strcpy(soap->msgbuf, msg);
- else
- return ERR_error_string(err, soap->msgbuf);
- if (ERR_peek_error())
- { unsigned long r;
- strcat(soap->msgbuf, "\n");
- while ((r = ERR_get_error()))
- ERR_error_string_n(r, soap->msgbuf + strlen(soap->msgbuf), sizeof(soap->msgbuf) - strlen(soap->msgbuf));
- }
- else
- { switch (ret)
- { case 0:
- strcpy(soap->msgbuf, "EOF was observed that violates the protocol. The client probably provided invalid authentication information.");
- break;
- case -1:
- sprintf(soap->msgbuf, "Error observed by underlying BIO: %s", strerror(errno));
- break;
- }
- }
- return soap->msgbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static int
-ssl_password(char *buf, int num, int rwflag, void *userdata)
-{ if (num < (int)strlen((char*)userdata) + 1)
- return 0;
- return strlen(strcpy(buf, (char*)userdata));
-}
-#endif
-
-/******************************************************************************/
-/* This callback is included for future references. It should not be deleted
-#ifndef PALM_2
-static DH *
-ssl_tmp_dh(SSL *ssl, int is_export, int keylength)
-{ static DH *dh512 = NULL;
- static DH *dh1024 = NULL;
- DH *dh;
- switch (keylength)
- { case 512:
- if (!dh512)
- { BIO *bio = BIO_new_file("dh512.pem", "r");
- if (bio)
- { dh512 = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
- BIO_free(bio);
- return dh512;
- }
- }
- else
- return dh512;
- default:
- if (!dh1024)
- { BIO *bio = BIO_new_file("dh1024.pem", "r");
- if (bio)
- { dh1024 = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
- BIO_free(bio);
- }
- }
- dh = dh1024;
- }
- return dh;
-}
-#endif
-*/
-
-/******************************************************************************/
-#ifndef PALM_1
-static int
-ssl_auth_init(struct soap *soap)
-{ ssl_init(soap);
- if (!soap->ctx)
- { if (!(soap->ctx = SSL_CTX_new(SSLv23_method())))
- return soap_set_receiver_error(soap, "SSL error", "Can't setup context", SOAP_SSL_ERROR);
- }
- if (soap->randfile)
- { if (!RAND_load_file(soap->randfile, -1))
- return soap_set_receiver_error(soap, "SSL error", "Can't load randomness", SOAP_SSL_ERROR);
- }
- if (soap->cafile || soap->capath)
- { if (!SSL_CTX_load_verify_locations(soap->ctx, soap->cafile, soap->capath))
- return soap_set_receiver_error(soap, "SSL error", "Can't read CA file and directory", SOAP_SSL_ERROR);
- }
- if (!SSL_CTX_set_default_verify_paths(soap->ctx))
- return soap_set_receiver_error(soap, "SSL error", "Can't read default CA file and/or directory", SOAP_SSL_ERROR);
- if (soap->password)
- { SSL_CTX_set_default_passwd_cb_userdata(soap->ctx, (void*)soap->password);
- SSL_CTX_set_default_passwd_cb(soap->ctx, ssl_password);
- }
-/* See below */
- if (soap->keyfile)
- { if (!SSL_CTX_use_certificate_chain_file(soap->ctx, soap->keyfile))
- return soap_set_receiver_error(soap, "SSL error", "Can't read certificate key file", SOAP_SSL_ERROR);
- if (soap->password)
- { SSL_CTX_set_default_passwd_cb_userdata(soap->ctx, (void*)soap->password);
- SSL_CTX_set_default_passwd_cb(soap->ctx, ssl_password);
- }
- if (!SSL_CTX_use_PrivateKey_file(soap->ctx, soap->keyfile, SSL_FILETYPE_PEM))
- return soap_set_receiver_error(soap, "SSL error", "Can't read key file", SOAP_SSL_ERROR);
- }
-/* Suggested alternative approach to check cafile first before the key file:
- if (!soap->cafile || !SSL_CTX_use_certificate_chain_file(soap->ctx, soap->cafile))
- { if (soap->keyfile)
- { if (!SSL_CTX_use_certificate_chain_file(soap->ctx, soap->keyfile))
- return soap_set_receiver_error(soap, "SSL error", "Can't read certificate or key file", SOAP_SSL_ERROR);
- if (!SSL_CTX_use_PrivateKey_file(soap->ctx, soap->keyfile, SSL_FILETYPE_PEM))
- return soap_set_receiver_error(soap, "SSL error", "Can't read key file", SOAP_SSL_ERROR);
- }
- }
-*/
- if (soap->rsa)
- { RSA *rsa = RSA_generate_key(512, RSA_F4, NULL, NULL);
- if (!SSL_CTX_set_tmp_rsa(soap->ctx, rsa))
- { if (rsa)
- RSA_free(rsa);
- return soap_set_receiver_error(soap, "SSL error", "Can't set RSA key", SOAP_SSL_ERROR);
- }
- RSA_free(rsa);
- }
- else if (soap->dhfile)
- { DH *dh = 0;
- BIO *bio;
- bio = BIO_new_file(soap->dhfile, "r");
- if (!bio)
- return soap_set_receiver_error(soap, "SSL error", "Can't read DH file", SOAP_SSL_ERROR);
- dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
- BIO_free(bio);
- if (SSL_CTX_set_tmp_dh(soap->ctx, dh) < 0)
- { if (dh)
- DH_free(dh);
- return soap_set_receiver_error(soap, "SSL error", "Can't set DH parameters", SOAP_SSL_ERROR);
- }
- DH_free(dh);
- }
- SSL_CTX_set_options(soap->ctx, SSL_OP_ALL | SSL_OP_NO_SSLv2);
- SSL_CTX_set_verify(soap->ctx, soap->require_client_auth ? (SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT) : soap->require_server_auth ? SSL_VERIFY_PEER : SSL_VERIFY_NONE, soap->fsslverify);
-#if (OPENSSL_VERSION_NUMBER < 0x00905100L)
- SSL_CTX_set_verify_depth(soap->ctx, 1);
-#else
- SSL_CTX_set_verify_depth(soap->ctx, 9);
-#endif
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static int
-ssl_verify_callback(int ok, X509_STORE_CTX *store)
-{
-#ifdef SOAP_DEBUG
- if (!ok)
- { char data[256];
- X509 *cert = X509_STORE_CTX_get_current_cert(store);
- fprintf(stderr, "SSL verify error or warning with certificate at depth %d: %s\n", X509_STORE_CTX_get_error_depth(store), X509_verify_cert_error_string(X509_STORE_CTX_get_error(store)));
- X509_NAME_oneline(X509_get_issuer_name(cert), data, sizeof(data));
- fprintf(stderr, "certificate issuer %s\n", data);
- X509_NAME_oneline(X509_get_subject_name(cert), data, sizeof(data));
- fprintf(stderr, "certificate subject %s\n", data);
- }
-#endif
- /* return 1 to always continue, but unsafe progress will be terminated by SSL */
- return ok;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_ssl_accept(struct soap *soap)
-{ int i, r;
- if (!soap_valid_socket(soap->socket))
- return soap_set_receiver_error(soap, "SSL error", "No socket in soap_ssl_accept()", SOAP_SSL_ERROR);
- if (!soap->ctx && (soap->error = soap->fsslauth(soap)))
- return SOAP_INVALID_SOCKET;
- if (!soap->ssl)
- { soap->ssl = SSL_new(soap->ctx);
- if (!soap->ssl)
- return soap_set_receiver_error(soap, "SSL error", "SSL_new() failed in soap_ssl_accept()", SOAP_SSL_ERROR);
- }
- else
- SSL_clear(soap->ssl);
- soap->imode |= SOAP_ENC_SSL;
- soap->omode |= SOAP_ENC_SSL;
-#ifdef WIN32
- { u_long nonblocking = 1;
- ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &nonblocking);
- }
-#else
- fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)|O_NONBLOCK);
-#endif
- soap->bio = BIO_new_socket((SOAP_SOCKET)soap->socket, BIO_NOCLOSE);
- SSL_set_bio(soap->ssl, soap->bio, soap->bio);
- i = 100; /* 100 * 0.1 ms retries */
- while ((r = SSL_accept(soap->ssl)) <= 0)
- { int err = SSL_get_error(soap->ssl, r);
- if (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_WANT_WRITE)
- { struct timeval timeout;
- fd_set fd;
- if (i-- <= 0)
- break;
- timeout.tv_sec = 0;
- timeout.tv_usec = 100000;
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->socket, &fd);
- r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout);
- if (r < 0 && soap_socket_errno != SOAP_EINTR)
- { soap->errnum = soap_socket_errno;
- return SOAP_EOF;
- }
- }
- else
- { soap->errnum = err;
- break;
- }
- }
-#ifdef WIN32
- { u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &blocking);
- }
-#else
- fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)&~O_NONBLOCK);
-#endif
- if (r <= 0)
- { soap_set_receiver_error(soap, ssl_error(soap, r), "SSL_accept() failed in soap_ssl_accept()", SOAP_SSL_ERROR);
- soap_closesock(soap);
- return SOAP_SSL_ERROR;
- }
- if (soap->require_client_auth)
- { X509 *peer;
- int err;
- if ((err = SSL_get_verify_result(soap->ssl)) != X509_V_OK)
- { soap_closesock(soap);
- return soap_set_sender_error(soap, X509_verify_cert_error_string(err), "SSL certificate presented by peer cannot be verified in soap_ssl_accept()", SOAP_SSL_ERROR);
- }
- peer = SSL_get_peer_certificate(soap->ssl);
- if (!peer)
- { soap_closesock(soap);
- return soap_set_sender_error(soap, "SSL error", "No SSL certificate was presented by the peer in soap_ssl_accept()", SOAP_SSL_ERROR);
- }
- X509_free(peer);
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#endif /* WITH_OPENSSL */
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_init(struct soap *soap)
-{ soap->errmode = 1;
-#ifdef WIN32
- if (tcp_done)
- return 0;
- else
- { WSADATA w;
- if (WSAStartup(MAKEWORD(1, 1), &w))
- return -1;
- tcp_done = 1;
- }
-#endif
- return 0;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_done(struct soap *soap)
-{
-#ifdef SOAP_DEBUG
- int i;
-#endif
- soap_free(soap);
- while (soap->clist)
- { struct soap_clist *p = soap->clist->next;
- SOAP_FREE(soap, soap->clist);
- soap->clist = p;
- }
- soap->keep_alive = 0; /* to force close the socket */
- soap_closesock(soap);
-#ifdef WITH_COOKIES
- soap_free_cookies(soap);
-#endif
- while (soap->plugins)
- { register struct soap_plugin *p = soap->plugins->next;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Removing plugin '%s'\n", soap->plugins->id));
- if (soap->plugins->fcopy || !soap->copy)
- soap->plugins->fdelete(soap, soap->plugins);
- SOAP_FREE(soap, soap->plugins);
- soap->plugins = p;
- }
- soap->fplugin = fplugin;
-#ifndef WITH_NOHTTP
- soap->fpost = http_post;
- soap->fget = http_get;
- soap->fposthdr = http_post_header;
- soap->fresponse = http_response;
- soap->fparse = http_parse;
- soap->fparsehdr = http_parse_header;
-#endif
-#ifndef WITH_NOIO
-#ifndef WITH_IPV6
- soap->fresolve = tcp_gethost;
-#else
- soap->fresolve = NULL;
-#endif
- soap->faccept = tcp_accept;
- soap->fopen = tcp_connect;
- soap->fclose = tcp_disconnect;
- soap->fclosesocket = tcp_closesocket;
- soap->fshutdownsocket = tcp_shutdownsocket;
- soap->fsend = fsend;
- soap->frecv = frecv;
- soap->fpoll = soap_poll;
-#else
- soap->fopen = NULL;
- soap->fclose = NULL;
- soap->fpoll = NULL;
-#endif
-#ifndef WITH_LEANER
- soap->fprepareinit = NULL;
- soap->fpreparesend = NULL;
- soap->fpreparerecv = NULL;
-#endif
- soap->fseterror = NULL;
- soap->fignore = NULL;
- soap->fserveloop = NULL;
-#ifdef WITH_OPENSSL
- if (soap->session)
- { SSL_SESSION_free(soap->session);
- soap->session = NULL;
- }
-#endif
- if (!soap->copy)
- { if (soap_valid_socket(soap->master))
- { soap->fclosesocket(soap, (SOAP_SOCKET)soap->master);
- soap->master = SOAP_INVALID_SOCKET;
- }
-#ifdef WITH_OPENSSL
- if (soap->ctx)
- { SSL_CTX_free(soap->ctx);
- soap->ctx = NULL;
- }
-#endif
- }
-#ifdef SOAP_DEBUG
- for (i = 0; i < SOAP_MAXLOGS; i++)
- { if (soap->logfile[i])
- { SOAP_FREE(soap, (void*)soap->logfile[i]);
- soap->logfile[i] = NULL;
- }
- soap_close_logfile(soap, i);
- }
- soap_free_mht(soap);
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_cleanup(struct soap *soap)
-{ soap_done(soap);
-#ifdef WIN32
- if (!tcp_done)
- return;
- tcp_done = 0;
- WSACleanup();
-#endif
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static const char*
-tcp_error(struct soap *soap)
-{ register const char *msg = NULL;
- switch (soap->errmode)
- { case 0:
- msg = soap_strerror(soap);
- break;
- case 1:
- msg = "WSAStartup failed";
- break;
- case 2:
- {
-#ifndef WITH_LEAN
- msg = soap_str_code(h_error_codes, soap->errnum);
- if (!msg)
-#endif
- { sprintf(soap->msgbuf, "TCP/UDP IP error %d", soap->errnum);
- msg = soap->msgbuf;
- }
- }
- }
- return msg;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static const char*
-http_error(struct soap *soap, int status)
-{ register const char *msg = SOAP_STR_EOS;
-#ifndef WITH_LEAN
- msg = soap_str_code(h_http_error_codes, status);
- if (!msg)
- msg = SOAP_STR_EOS;
-#endif
- return msg;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_IPV6
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
-{ soap_int32 iadd = -1;
- struct hostent hostent, *host = &hostent;
-#ifdef VXWORKS
- int hostint;
- char *addrcopy = (char*)SOAP_MALLOC(soap, strlen(addr) + 1); /*copy of addr. */
- /* inet_addr(), and hostGetByName() expect "char *"; addr is a "const char *". */
- strncpy(addrcopy, addr, strlen(addr)+1);
- iadd = inet_addr(addrcopy);
-#else
-#if defined(_AIXVERSION_431) || defined(__osf__)
- struct hostent_data ht_data;
-#endif
- iadd = inet_addr(addr);
-#endif
- if (iadd != -1)
- { memcpy(inaddr, &iadd, sizeof(iadd));
-#ifdef VXWORKS
- SOAP_FREE(soap, addrcopy);
-#endif
- return SOAP_OK;
- }
-#if defined(__GLIBC__)
- if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
- host = NULL;
-#elif defined(_AIXVERSION_431) || defined(__osf__)
- memset((void*)&ht_data, 0, sizeof(ht_data));
- if (gethostbyname_r(addr, &hostent, &ht_data) < 0)
- { host = NULL;
- soap->errnum = h_errno;
- }
-#elif defined(HAVE_GETHOSTBYNAME_R)
- host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum);
-#elif defined(VXWORKS)
- /* If the DNS resolver library resolvLib has been configured in the vxWorks
- * image, a query for the host IP address is sent to the DNS server, if the
- * name was not found in the local host table. */
- hostint = hostGetByName(addrcopy);
- if (hostint == ERROR)
- { host = NULL;
- soap->errnum = soap_errno;
- }
- SOAP_FREE(soap, addrcopy); /*free() is placed after the error checking to assure that
- * errno captured is that from hostGetByName() */
-#else
- if (!(host = gethostbyname(addr)))
- soap->errnum = h_errno;
-#endif
- if (!host)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Host name not found\n"));
- return SOAP_ERR;
- }
-#ifdef VXWORKS
- inaddr->s_addr = hostint;
-#else
- memcpy(inaddr, host->h_addr, host->h_length);
-#endif
- return SOAP_OK;
-}
-#endif
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_connect(struct soap *soap, const char *endpoint, const char *host, int port)
-{
-#ifdef WITH_IPV6
- struct addrinfo hints, *res, *ressave;
- int err;
-#endif
- register int fd;
-#ifndef WITH_LEAN
- int len = SOAP_BUFLEN;
- int set = 1;
-#endif
- if (soap_valid_socket(soap->socket))
- soap->fclosesocket(soap, (SOAP_SOCKET)soap->socket);
- soap->socket = SOAP_INVALID_SOCKET;
- if (tcp_init(soap))
- { soap->errnum = 0;
- soap_set_sender_error(soap, tcp_error(soap), "TCP init failed in tcp_connect()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- soap->errmode = 0;
-#ifdef WITH_IPV6
- memset((void*)&hints, 0, sizeof(hints));
- hints.ai_family = PF_UNSPEC;
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- hints.ai_socktype = SOCK_DGRAM;
- else
-#endif
- hints.ai_socktype = SOCK_STREAM;
- soap->errmode = 2;
- if (soap->proxy_host)
- err = getaddrinfo(soap->proxy_host, soap_int2s(soap, soap->proxy_port), &hints, &res);
- else
- err = getaddrinfo(host, soap_int2s(soap, port), &hints, &res);
- if (err)
- { soap_set_sender_error(soap, gai_strerror(err), "getaddrinfo failed in tcp_connect()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- ressave = res;
-again:
- fd = (int)socket(res->ai_family, res->ai_socktype, res->ai_protocol);
- soap->errmode = 0;
-#else
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- fd = (int)socket(AF_INET, SOCK_DGRAM, 0);
- else
-#endif
- fd = (int)socket(AF_INET, SOCK_STREAM, 0);
-#endif
- if (fd < 0)
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "socket failed in tcp_connect()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef SOCKET_CLOSE_ON_EXEC
-#ifdef WIN32
-#ifndef UNDER_CE
- SetHandleInformation((HANDLE)fd, HANDLE_FLAG_INHERIT, 0);
-#endif
-#else
- fcntl(fd, F_SETFD, 1);
-#endif
-#endif
-#ifndef WITH_LEAN
- if (soap->connect_flags & SO_LINGER)
- { struct linger linger;
- memset((void*)&linger, 0, sizeof(linger));
- linger.l_onoff = 1;
- linger.l_linger = 0;
- if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_LINGER, (char*)&linger, sizeof(struct linger)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_LINGER failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- }
- if ((soap->connect_flags & ~SO_LINGER) && setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, soap->connect_flags & ~SO_LINGER, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- if (soap->keep_alive && setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef TCP_NODELAY
- if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)fd, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
-#endif
-#endif
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Opening socket %d to host='%s' port=%d\n", fd, host, port));
-#ifndef WITH_IPV6
- soap->peerlen = sizeof(soap->peer);
- memset((void*)&soap->peer, 0, sizeof(soap->peer));
- soap->peer.sin_family = AF_INET;
- soap->errmode = 2;
- if (soap->proxy_host)
- { if (soap->fresolve(soap, soap->proxy_host, &soap->peer.sin_addr))
- { soap_set_sender_error(soap, tcp_error(soap), "get proxy host by name failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- soap->peer.sin_port = htons((short)soap->proxy_port);
- }
- else
- { if (soap->fresolve(soap, host, &soap->peer.sin_addr))
- { soap_set_sender_error(soap, tcp_error(soap), "get host by name failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- soap->peer.sin_port = htons((short)port);
- }
- soap->errmode = 0;
- if ((soap->omode & SOAP_IO_UDP))
- return fd;
-#endif
-#ifndef WITH_LEAN
- if (soap->connect_timeout)
-#if defined(WIN32)
- { u_long nonblocking = 1;
- ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &nonblocking);
- }
-#elif defined(VXWORKS)
- { vx_nonblocking = TRUE;
- ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */
- }
-#else
- fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)|O_NONBLOCK);
-#endif
- else
-#if defined(WIN32)
- { u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking);
- }
-#elif defined(VXWORKS)
- { vx_nonblocking = FALSE;
- ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */
- }
-#else
- fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK);
-#endif
-#endif
- for (;;)
- {
-#ifdef WITH_IPV6
- if (connect((SOAP_SOCKET)fd, res->ai_addr, res->ai_addrlen))
-#else
- if (connect((SOAP_SOCKET)fd, (struct sockaddr*)&soap->peer, sizeof(soap->peer)))
-#endif
- {
-#ifndef WITH_LEAN
- if (soap->connect_timeout && (soap_socket_errno == SOAP_EINPROGRESS || soap_socket_errno == SOAP_EWOULDBLOCK))
- { struct timeval timeout;
- SOAP_SOCKLEN_T k;
- fd_set fds;
- if (soap->connect_timeout > 0)
- { timeout.tv_sec = soap->connect_timeout;
- timeout.tv_usec = 0;
- }
- else
- { timeout.tv_sec = -soap->connect_timeout/1000000;
- timeout.tv_usec = -soap->connect_timeout%1000000;
- }
- FD_ZERO(&fds);
- FD_SET((SOAP_SOCKET)fd, &fds);
- for (;;)
- { int r = select((SOAP_SOCKET)(fd + 1), NULL, &fds, NULL, &timeout);
- if (r > 0)
- break;
- if (!r)
- { soap->errnum = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connect timeout\n"));
- soap_set_sender_error(soap, "Timeout", "connect failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- if (soap_socket_errno != SOAP_EINTR)
- { soap->errnum = soap_socket_errno;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n"));
- soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- }
- k = (SOAP_SOCKLEN_T)sizeof(soap->errnum);
- if (!getsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_ERROR, (char*)&soap->errnum, &k) && !soap->errnum) /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */
- break;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n"));
- soap->errnum = soap_socket_errno;
- soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- else
-#endif
-#ifdef WITH_IPV6
- if (res->ai_next)
- { res = res->ai_next;
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- goto again;
- }
- else
-#endif
- if (soap_socket_errno != SOAP_EINTR)
- { soap->errnum = soap_socket_errno;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n"));
- soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR);
- soap->fclosesocket(soap, (SOAP_SOCKET)fd);
- return SOAP_INVALID_SOCKET;
- }
- }
- else
- break;
- }
-#ifdef WITH_IPV6
- soap->peerlen = 0; /* IPv6: already connected so use send() */
- freeaddrinfo(ressave);
-#endif
-#ifndef WITH_LEAN
- if (soap->connect_timeout)
-#if defined(WIN32)
- { u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking);
- }
-#elif defined(VXWORKS)
- { vx_nonblocking = FALSE;
- ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */
- }
-#else
- fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK);
-#endif
-#endif
- soap->socket = fd;
- soap->imode &= ~SOAP_ENC_SSL;
- soap->omode &= ~SOAP_ENC_SSL;
- if (!strncmp(endpoint, "https:", 6))
- {
-#ifdef WITH_OPENSSL
- int r;
- if (soap->proxy_host)
- { short v;
- unsigned int k = soap->omode; /* make sure we only parse HTTP */
- size_t n = soap->count; /* save the content length */
- soap->omode &= ~SOAP_ENC; /* mask IO and ENC */
- soap->omode |= SOAP_IO_BUFFER;
- soap_begin_send(soap);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connecting to proxy server\n"));
- sprintf(soap->tmpbuf, "CONNECT %s:%d HTTP/%s", host, port, soap->http_version);
- if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL)))
- return SOAP_INVALID_SOCKET;
-#ifndef WITH_LEAN
- if (soap->proxy_userid && soap->proxy_passwd && strlen(soap->proxy_userid) + strlen(soap->proxy_passwd) < 761)
- { sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd);
- strcpy(soap->tmpbuf, "Basic ");
- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262));
- if ((soap->error = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf)))
- return soap->error;
- }
-#endif
- if ((soap->error = soap->fposthdr(soap, NULL, NULL))
- || soap_flush(soap))
- return SOAP_INVALID_SOCKET;
- soap->omode = k;
- k = soap->imode;
- soap->imode &= ~SOAP_ENC; /* mask IO and ENC */
- v = soap->version; /* preserve */
- if (soap_begin_recv(soap))
- return SOAP_INVALID_SOCKET;
- soap->version = v; /* restore */
- soap->imode = k; /* restore */
- soap->count = n; /* restore */
- soap_begin_send(soap);
- }
- if (!soap->ctx && (soap->error = soap->fsslauth(soap)))
- { soap_set_sender_error(soap, "SSL error", "SSL authentication failed in tcp_connect(): check password, key file, and ca file.", SOAP_SSL_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- soap->ssl = SSL_new(soap->ctx);
- if (!soap->ssl)
- { soap->error = SOAP_SSL_ERROR;
- return SOAP_INVALID_SOCKET;
- }
- if (soap->session)
- { if (!strcmp(soap->session_host, host) && soap->session_port == port)
- SSL_set_session(soap->ssl, soap->session);
- SSL_SESSION_free(soap->session);
- soap->session = NULL;
- }
- soap->imode |= SOAP_ENC_SSL;
- soap->omode |= SOAP_ENC_SSL;
- soap->bio = BIO_new_socket((SOAP_SOCKET)fd, BIO_NOCLOSE);
- SSL_set_bio(soap->ssl, soap->bio, soap->bio);
-#ifndef WITH_LEAN
- if (soap->connect_timeout)
-#ifdef WIN32
- { u_long nonblocking = 1;
- ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &nonblocking);
- }
-#else
- fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)|O_NONBLOCK);
-#endif
-#endif
- for (;;)
- { if ((r = SSL_connect(soap->ssl)) <= 0)
- { int err = SSL_get_error(soap->ssl, r);
- if (err != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE)
- { soap_set_sender_error(soap, ssl_error(soap, r), "SSL connect failed in tcp_connect()", SOAP_SSL_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (soap->connect_timeout)
- { struct timeval timeout;
- fd_set fds;
- if (soap->connect_timeout > 0)
- { timeout.tv_sec = soap->connect_timeout;
- timeout.tv_usec = 0;
- }
- else
- { timeout.tv_sec = -soap->connect_timeout/1000000;
- timeout.tv_usec = -soap->connect_timeout%1000000;
- }
- FD_ZERO(&fds);
- FD_SET((SOAP_SOCKET)soap->socket, &fds);
- for (;;)
- { int r = select((SOAP_SOCKET)(soap->socket + 1), &fds, NULL, &fds, &timeout);
- if (r > 0)
- break;
- if (!r)
- { soap->errnum = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connect timeout\n"));
- soap_set_sender_error(soap, "Timeout", "connect failed in tcp_connect()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
- continue;
- }
- }
- break;
- }
-#ifndef WITH_LEAN
- if (soap->connect_timeout)
-#ifdef WIN32
- { u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking);
- }
-#else
- fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK);
-#endif
-#endif
- if (soap->require_server_auth)
- { X509 *peer;
- int err;
- if ((err = SSL_get_verify_result(soap->ssl)) != X509_V_OK)
- { soap_set_sender_error(soap, X509_verify_cert_error_string(err), "SSL certificate presented by peer cannot be verified in tcp_connect()", SOAP_SSL_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- peer = SSL_get_peer_certificate(soap->ssl);
- if (!peer)
- { soap_set_sender_error(soap, "SSL error", "No SSL certificate was presented by the peer in tcp_connect()", SOAP_SSL_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- X509_NAME_get_text_by_NID(X509_get_subject_name(peer), NID_commonName, soap->msgbuf, sizeof(soap->msgbuf));
- X509_free(peer);
- if (soap_tag_cmp(soap->msgbuf, host))
- { soap_set_sender_error(soap, "SSL error", "SSL certificate host name mismatch in tcp_connect()", SOAP_SSL_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
-#else
- soap->error = SOAP_SSL_ERROR;
- return SOAP_INVALID_SOCKET;
-#endif
- }
- return fd;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_bind(struct soap *soap, const char *host, int port, int backlog)
-{
-#ifdef WITH_IPV6
- struct addrinfo *addrinfo;
- struct addrinfo hints;
- struct addrinfo res;
- int err;
-#endif
-#ifndef WITH_LEAN
- int len = SOAP_BUFLEN;
- int set = 1;
-#endif
- if (soap_valid_socket(soap->master))
- { soap->fclosesocket(soap, (SOAP_SOCKET)soap->master);
- soap->master = SOAP_INVALID_SOCKET;
- }
- soap->socket = SOAP_INVALID_SOCKET;
- soap->errmode = 1;
- if (tcp_init(soap))
- { soap_set_receiver_error(soap, tcp_error(soap), "TCP init failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef WITH_IPV6
- memset((void*)&hints, 0, sizeof(hints));
- hints.ai_family = PF_UNSPEC;
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- hints.ai_socktype = SOCK_DGRAM;
- else
-#endif
- hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_PASSIVE;
- soap->errmode = 2;
- err = getaddrinfo(host, soap_int2s(soap, port), &hints, &addrinfo);
- if (addrinfo)
- { res = *addrinfo;
- soap->peer = *((struct sockaddr_storage*)addrinfo->ai_addr);
- soap->peerlen = addrinfo->ai_addrlen;
- res.ai_addr = (struct sockaddr*)&soap->peer;
- res.ai_addrlen = soap->peerlen;
- freeaddrinfo(addrinfo);
- }
- if (err)
- { soap_set_receiver_error(soap, gai_strerror(err), "getaddrinfo failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- soap->master = socket(res.ai_family, res.ai_socktype, res.ai_protocol);
-#else
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- soap->master = (int)socket(AF_INET, SOCK_DGRAM, 0);
- else
-#endif
- soap->master = (int)socket(AF_INET, SOCK_STREAM, 0);
-#endif
- soap->errmode = 0;
- if (!soap_valid_socket(soap->master))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "socket failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- soap->socket = soap->master;
-#endif
-#ifdef SOCKET_CLOSE_ON_EXEC
-#ifdef WIN32
-#ifndef UNDER_CE
- SetHandleInformation((HANDLE)soap->master, HANDLE_FLAG_INHERIT, 0);
-#endif
-#else
- fcntl(soap->master, F_SETFD, 1);
-#endif
-#endif
-#ifndef WITH_LEAN
- if (soap->bind_flags && setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, soap->bind_flags, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (soap->keep_alive && setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef TCP_NODELAY
- if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)soap->master, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#endif
-#endif
-#ifdef WITH_IPV6
- soap->errmode = 0;
- if (bind((SOAP_SOCKET)soap->master, res.ai_addr, res.ai_addrlen))
- { soap->errnum = soap_socket_errno;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n"));
- soap_closesock(soap);
- soap_set_receiver_error(soap, tcp_error(soap), "bind failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#else
- soap->peerlen = sizeof(soap->peer);
- memset((void*)&soap->peer, 0, sizeof(soap->peer));
- soap->peer.sin_family = AF_INET;
- soap->errmode = 2;
- if (host)
- { if (soap->fresolve(soap, host, &soap->peer.sin_addr))
- { soap_set_receiver_error(soap, tcp_error(soap), "get host by name failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
- else
- soap->peer.sin_addr.s_addr = htonl(INADDR_ANY);
- soap->peer.sin_port = htons((short)port);
- soap->errmode = 0;
- if (bind((SOAP_SOCKET)soap->master, (struct sockaddr*)&soap->peer, soap->peerlen))
- { soap->errnum = soap_socket_errno;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n"));
- soap_closesock(soap);
- soap_set_receiver_error(soap, tcp_error(soap), "bind failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#endif
- if (!(soap->omode & SOAP_IO_UDP) && listen((SOAP_SOCKET)soap->master, backlog))
- { soap->errnum = soap_socket_errno;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n"));
- soap_closesock(soap);
- soap_set_receiver_error(soap, tcp_error(soap), "listen failed in soap_bind()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- return soap->master;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_poll(struct soap *soap)
-{
-#ifndef WITH_LEAN
- struct timeval timeout;
- fd_set rfd, sfd, xfd;
- int r;
- timeout.tv_sec = 0;
- timeout.tv_usec = 0;
- FD_ZERO(&rfd);
- FD_ZERO(&sfd);
- FD_ZERO(&xfd);
- if (soap_valid_socket(soap->socket))
- { FD_SET((SOAP_SOCKET)soap->socket, &rfd);
- FD_SET((SOAP_SOCKET)soap->socket, &sfd);
- FD_SET((SOAP_SOCKET)soap->socket, &xfd);
- r = select((SOAP_SOCKET)(soap->socket + 1), &rfd, &sfd, &xfd, &timeout);
- if (r > 0 && FD_ISSET((SOAP_SOCKET)soap->socket, &xfd))
- r = -1;
- }
- else if (soap_valid_socket(soap->master))
- { FD_SET((SOAP_SOCKET)soap->master, &sfd);
- r = select((SOAP_SOCKET)(soap->master + 1), NULL, &sfd, NULL, &timeout);
- }
- else
- return SOAP_OK;
- if (r > 0)
- { if (soap_valid_socket(soap->socket)
- && FD_ISSET((SOAP_SOCKET)soap->socket, &sfd)
- && (!FD_ISSET((SOAP_SOCKET)soap->socket, &rfd)
- || recv((SOAP_SOCKET)soap->socket, soap->tmpbuf, 1, MSG_PEEK) > 0))
- return SOAP_OK;
- }
- else if (r < 0)
- { soap->errnum = soap_socket_errno;
- if ((soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) && soap_socket_errno != SOAP_EINTR)
- { soap_set_receiver_error(soap, tcp_error(soap), "select failed in soap_poll()", SOAP_TCP_ERROR);
- return soap->error = SOAP_TCP_ERROR;
- }
- }
- else
- soap->errnum = 0;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Polling: other end down on socket=%d select=%d\n", soap->socket, r));
- return SOAP_EOF;
-#else
- return SOAP_OK;
-#endif
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_accept(struct soap *soap, int s, struct sockaddr *a, int *n)
-{ int fd;
- fd = (int)accept((SOAP_SOCKET)s, a, (SOAP_SOCKLEN_T*)n); /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */
-#ifdef SOCKET_CLOSE_ON_EXEC
-#ifdef WIN32
-#ifndef UNDER_CE
- SetHandleInformation((HANDLE)fd, HANDLE_FLAG_INHERIT, 0);
-#endif
-#else
- fcntl(fd, F_SETFD, FD_CLOEXEC);
-#endif
-#endif
- return fd;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_accept(struct soap *soap)
-{ int n = (int)sizeof(soap->peer);
-#ifndef WITH_LEAN
- int len = SOAP_BUFLEN;
- int set = 1;
-#endif
- soap->error = SOAP_OK;
-#ifdef WITH_UDP
- if ((soap->omode & SOAP_IO_UDP))
- return soap->socket = soap->master;
-#endif
- memset((void*)&soap->peer, 0, sizeof(soap->peer));
- soap->socket = SOAP_INVALID_SOCKET;
- soap->errmode = 0;
- if (soap_valid_socket(soap->master))
- { for (;;)
- {
-#ifndef WITH_LEAN
- if (soap->accept_timeout)
- { struct timeval timeout;
- fd_set fd;
- if (soap->accept_timeout > 0)
- { timeout.tv_sec = soap->accept_timeout;
- timeout.tv_usec = 0;
- }
- else
- { timeout.tv_sec = -soap->accept_timeout/1000000;
- timeout.tv_usec = -soap->accept_timeout%1000000;
- }
- FD_ZERO(&fd);
- FD_SET((SOAP_SOCKET)soap->master, &fd);
- for (;;)
- { int r = select((SOAP_SOCKET)(soap->master + 1), &fd, &fd, NULL, &timeout);
- if (r > 0)
- break;
- if (!r)
- { soap->errnum = 0;
- soap_set_receiver_error(soap, "Timeout", "accept failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (soap_socket_errno != SOAP_EINTR)
- { soap->errnum = soap_socket_errno;
- soap_closesock(soap);
- soap_set_sender_error(soap, tcp_error(soap), "accept failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
-#if defined(WIN32)
- { u_long nonblocking = 1;
- ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &nonblocking);
- }
-#elif defined(VXWORKS)
- { vx_nonblocking = TRUE;
- ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking));
- }
-#else
- fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)|O_NONBLOCK);
-#endif
- }
- else
-#if defined(WIN32)
- { u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &blocking);
- }
-#elif defined(VXWORKS)
- { vx_nonblocking = FALSE;
- ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking));
- }
-#else
- fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)&~O_NONBLOCK);
-#endif
-#endif
- soap->socket = soap->faccept(soap, soap->master, (struct sockaddr*)&soap->peer, &n);
- soap->peerlen = (size_t)n;
- if (soap_valid_socket(soap->socket))
- {
-#ifdef WITH_IPV6
-/* Use soap->host to store the numeric form of the remote host */
- getnameinfo((struct sockaddr*)&soap->peer, n, soap->host, sizeof(soap->host), NULL, 0, NI_NUMERICHOST | NI_NUMERICSERV);
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept socket %d from %s\n", soap->socket, soap->host));
- soap->ip = 0; /* info stored in soap->peer and soap->host */
- soap->port = 0; /* info stored in soap->peer and soap->host */
-#else
- soap->ip = ntohl(soap->peer.sin_addr.s_addr);
- soap->port = (int)ntohs(soap->peer.sin_port); /* does not return port number on some systems */
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept socket %d at port %d from IP %d.%d.%d.%d\n", soap->socket, soap->port, (int)(soap->ip>>24)&0xFF, (int)(soap->ip>>16)&0xFF, (int)(soap->ip>>8)&0xFF, (int)soap->ip&0xFF));
-#endif
- soap->keep_alive = ((soap->imode & SOAP_IO_KEEPALIVE) != 0);
-#ifndef WITH_LEAN
- if (soap->accept_flags & SO_LINGER)
- { struct linger linger;
- memset((void*)&linger, 0, sizeof(linger));
- linger.l_onoff = 1;
- linger.l_linger = 0;
- if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_LINGER, (char*)&linger, sizeof(struct linger)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_LINGER failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
- if ((soap->accept_flags & ~SO_LINGER) && setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, soap->accept_flags & ~SO_LINGER, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (soap->keep_alive && setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#ifdef TCP_NODELAY
- if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)soap->socket, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int)))
- { soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-#endif
-#endif
- if (soap->accept_timeout)
- {
-#if defined(WIN32)
- u_long blocking = 0;
- ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &blocking);
- ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &blocking);
-#elif defined(VXWORKS)
- vx_nonblocking = FALSE;
- ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking));
- ioctl((SOAP_SOCKET)soap->socket, FIONBIO, (int)(&vx_nonblocking));
-#elif defined(PALM)
- fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL,0)&~O_NONBLOCK);
- fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL,0)&~O_NONBLOCK);
-#elif defined(SYMBIAN)
- long blocking = 0;
- ioctl((SOAP_SOCKET)soap->master, 0/*FIONBIO*/, &blocking);
-#else
- fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)&~O_NONBLOCK);
- fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)&~O_NONBLOCK);
-#endif
- }
- return soap->socket;
- }
- if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept failed from %s\n", soap->host));
- soap->errnum = soap_socket_errno;
- soap_set_receiver_error(soap, tcp_error(soap), "accept failed in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
- }
- }
- else
- { soap->errnum = 0;
- soap_set_receiver_error(soap, tcp_error(soap), "no master socket in soap_accept()", SOAP_TCP_ERROR);
- return SOAP_INVALID_SOCKET;
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_disconnect(struct soap *soap)
-{
-#ifdef WITH_OPENSSL
- if (soap->ssl)
- { int r, s = 0;
- if (soap->session)
- SSL_SESSION_free(soap->session);
- if (*soap->host)
- { soap->session = SSL_get1_session(soap->ssl);
- if (soap->session)
- { strcpy(soap->session_host, soap->host);
- soap->session_port = soap->port;
- }
- }
- r = SSL_shutdown(soap->ssl);
- if (r != 1)
- { s = ERR_get_error();
- if (s)
- { if (soap_valid_socket(soap->socket))
- { soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1);
- soap->socket = SOAP_INVALID_SOCKET;
- }
- r = SSL_shutdown(soap->ssl);
- }
- }
- DBGLOG(TEST, if (s) SOAP_MESSAGE(fdebug, "Shutdown failed: %d\n", SSL_get_error(soap->ssl, r)));
- SSL_free(soap->ssl);
- soap->ssl = NULL;
- if (s)
- return SOAP_SSL_ERROR;
- ERR_remove_state(0);
- }
-#endif
- if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP))
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Closing socket %d\n", soap->socket));
- soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 2);
- soap->fclosesocket(soap, (SOAP_SOCKET)soap->socket);
- soap->socket = SOAP_INVALID_SOCKET;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_closesocket(struct soap *soap, SOAP_SOCKET fd)
-{ return closesocket(fd);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static int
-tcp_shutdownsocket(struct soap *soap, SOAP_SOCKET fd, int how)
-{ return shutdown(fd, how);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_closesock(struct soap *soap)
-{ register int status = soap->error;
- if (status == SOAP_EOF || status == SOAP_TCP_ERROR || status == SOAP_SSL_ERROR || !soap->keep_alive)
- { if (soap->fclose && (soap->error = soap->fclose(soap)))
- return soap->error;
- soap->keep_alive = 0;
- }
-#ifdef WITH_ZLIB
- if (soap->zlib_state == SOAP_ZLIB_DEFLATE)
- deflateEnd(&soap->d_stream);
- else if (soap->zlib_state == SOAP_ZLIB_INFLATE)
- inflateEnd(&soap->d_stream);
- soap->zlib_state = SOAP_ZLIB_NONE;
-#endif
- return soap->error = status;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-size_t
-SOAP_FMAC2
-soap_hash(register const char *s)
-{ register size_t h = 0;
- while (*s)
- h = 65599*h + *s++;
- return h % SOAP_IDHASH;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static void
-soap_init_pht(struct soap *soap)
-{ register int i;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing pointer hashtable\n"));
- for (i = 0; i < (int)SOAP_PTRHASH; i++)
- soap->pht[i] = NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap*
-SOAP_FMAC2
-soap_new1(soap_mode mode)
-{ return soap_new2(mode, mode);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap*
-SOAP_FMAC2
-soap_new()
-{ return soap_new2(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap*
-SOAP_FMAC2
-soap_new2(soap_mode imode, soap_mode omode)
-{ struct soap *soap = (struct soap*)malloc(sizeof(struct soap));
- if (soap)
- soap_init2(soap, imode, omode);
- return soap;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static void
-soap_free_pht(struct soap *soap)
-{ register struct soap_plist *pp, *next;
- register int i;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free pointer hashtable\n"));
- for (i = 0; i < (int)SOAP_PTRHASH; i++)
- { for (pp = soap->pht[i]; pp; pp = next)
- { next = pp->next;
- SOAP_FREE(soap, pp);
- }
- soap->pht[i] = NULL;
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type)
-{ register int i;
- struct soap_plist *pp;
- if (soap->version != 1)
- soap->encoding = 1;
- if (a)
- i = soap_array_pointer_lookup(soap, p, a, n, type, &pp);
- else
- i = soap_pointer_lookup(soap, p, type, &pp);
- if (i)
- { if (soap_is_embedded(soap, pp)
- || soap_is_single(soap, pp))
- return 0;
- soap_set_embedded(soap, pp);
- }
- return i;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_pointer_lookup(struct soap *soap, const void *p, int type, struct soap_plist **ppp)
-{ register struct soap_plist *pp;
- *ppp = NULL;
- if (p)
- for (pp = soap->pht[soap_hash_ptr(p)]; pp; pp = pp->next)
- if (pp->ptr == p && pp->type == type)
- { *ppp = pp;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup location=%p type=%d id=%d\n", p, type, pp->id));
- return pp->id;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup location=%p type=%d: not found\n", p, type));
- return 0;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_pointer_enter(struct soap *soap, const void *p, const struct soap_array *a, int n, int type, struct soap_plist **ppp)
-{ register int h;
- register struct soap_plist *pp = *ppp = (struct soap_plist*)SOAP_MALLOC(soap, sizeof(struct soap_plist));
- if (!pp)
- return 0;
- if (a)
- h = soap_hash_ptr(a->__ptr);
- else
- h = soap_hash_ptr(p);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Pointer enter location=%p array=%p size=%d dim=%d type=%d id=%lu\n", p, a?a->__ptr:NULL, a?a->__size:0, n, type, soap->idnum+1));
- pp->next = soap->pht[h];
- pp->type = type;
- pp->mark1 = 0;
- pp->mark2 = 0;
- pp->ptr = p;
- pp->array = a;
- soap->pht[h] = pp;
- pp->id = ++soap->idnum;
- return pp->id;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_array_pointer_lookup(struct soap *soap, const void *p, const struct soap_array *a, int n, int type, struct soap_plist **ppp)
-{ register struct soap_plist *pp;
- *ppp = NULL;
- if (!p || !a->__ptr)
- return 0;
- for (pp = soap->pht[soap_hash_ptr(a->__ptr)]; pp; pp = pp->next)
- { if (pp->type == type && pp->array && pp->array->__ptr == a->__ptr)
- { register int i;
- for (i = 0; i < n; i++)
- if (((const int*)&pp->array->__size)[i] != ((const int*)&a->__size)[i])
- break;
- if (i == n)
- { *ppp = pp;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array lookup location=%p type=%d id=%d\n", a->__ptr, type, pp->id));
- return pp->id;
- }
- }
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array lookup location=%p type=%d: not found\n", a->__ptr, type));
- return 0;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_begin_count(struct soap *soap)
-{ soap_clr_attr(soap);
- soap_set_local_namespaces(soap);
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_ENC_DIME) || (soap->omode & SOAP_ENC_DIME))
- soap->mode = soap->omode | SOAP_IO_LENGTH | SOAP_ENC_DIME;
- else
-#endif
- { soap->mode = soap->omode;
- if ((soap->mode & SOAP_IO) == SOAP_IO_STORE
- || (((soap->mode & SOAP_IO) == SOAP_IO_CHUNK || (soap->mode & SOAP_ENC_XML))
-#ifndef WITH_LEANER
- && !soap->fpreparesend
-#endif
- ))
- soap->mode &= ~SOAP_IO_LENGTH;
- else
- soap->mode |= SOAP_IO_LENGTH;
- }
-#ifdef WITH_ZLIB
- if ((soap->mode & SOAP_ENC_ZLIB) && (soap->mode & SOAP_IO) == SOAP_IO_FLUSH)
- { if (!(soap->mode & SOAP_ENC_DIME))
- soap->mode &= ~SOAP_IO_LENGTH;
- if (soap->mode & SOAP_ENC_XML)
- soap->mode |= SOAP_IO_BUFFER;
- else
- soap->mode |= SOAP_IO_STORE;
- }
-#endif
- if (!soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH))
- soap->mode |= SOAP_XML_TREE;
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_ENC_MTOM) && (soap->mode & SOAP_ENC_DIME))
- soap->mode |= SOAP_ENC_MIME;
- else
- soap->mode &= ~SOAP_ENC_MTOM;
- if (soap->mode & SOAP_ENC_MIME)
- soap_select_mime_boundary(soap);
- soap->dime.list = soap->dime.last; /* keep track of last DIME attachment */
-#endif
- soap->count = 0;
- soap->ns = 0;
- soap->null = 0;
- soap->position = 0;
- soap->mustUnderstand = 0;
- soap->encoding = 0;
- soap->part = SOAP_BEGIN;
- soap->idnum = 0;
-#ifndef WITH_LEANER
- soap->dime.count = 0; /* count # of attachments */
- soap->dime.size = 0; /* accumulate total size of attachments */
- if (soap->fprepareinit && (soap->mode & SOAP_IO) != SOAP_IO_STORE)
- soap->fprepareinit(soap);
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin count phase (socket=%d mode=0x%x count=%lu)\n", soap->socket, soap->mode, (unsigned long)soap->count));
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_begin_send(struct soap *soap)
-{ soap->error = SOAP_OK;
- soap_clr_attr(soap);
- soap_set_local_namespaces(soap);
- soap->mode = soap->omode | (soap->mode & (SOAP_IO_LENGTH | SOAP_ENC_DIME));
-#ifdef WITH_ZLIB
- if ((soap->mode & SOAP_ENC_ZLIB) && (soap->mode & SOAP_IO) == SOAP_IO_FLUSH)
- { if (soap->mode & SOAP_ENC_XML)
- soap->mode |= SOAP_IO_BUFFER;
- else
- soap->mode |= SOAP_IO_STORE;
- }
-#endif
-#ifdef WITH_UDP
- if ((soap->mode & SOAP_IO_UDP))
- { soap->mode |= SOAP_ENC_XML;
- if (soap->count > SOAP_BUFLEN)
- return soap->error = SOAP_UDP_ERROR;
- }
-#endif
- if ((soap->mode & SOAP_IO) == SOAP_IO_FLUSH && soap_valid_socket(soap->socket))
- { if (soap->count || (soap->mode & SOAP_IO_LENGTH) || (soap->mode & SOAP_ENC_XML))
- soap->mode |= SOAP_IO_BUFFER;
- else
- soap->mode |= SOAP_IO_STORE;
- }
- soap->mode &= ~SOAP_IO_LENGTH;
- if ((soap->mode & SOAP_IO) == SOAP_IO_STORE)
- soap_new_block(soap);
- if (!(soap->mode & SOAP_IO_KEEPALIVE))
- soap->keep_alive = 0;
- if (!soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH))
- soap->mode |= SOAP_XML_TREE;
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_ENC_MTOM) && (soap->mode & SOAP_ENC_DIME))
- { soap->mode |= SOAP_ENC_MIME;
- soap->mode &= ~SOAP_ENC_DIME;
- }
- else
- soap->mode &= ~SOAP_ENC_MTOM;
- if (soap->mode & SOAP_ENC_MIME)
- soap_select_mime_boundary(soap);
-#ifdef WIN32
-#ifndef UNDER_CE
-#ifndef WITH_FASTCGI
- if (!soap_valid_socket(soap->socket)) /* Set win32 stdout or soap->sendfd to BINARY, e.g. to support DIME */
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->sendfd, O_BINARY);
-#else
- _setmode((SOAP_SOCKET)soap->sendfd, _O_BINARY);
-#endif
-#endif
-#endif
-#endif
-#endif
- if (soap->mode & SOAP_IO)
- { soap->bufidx = 0;
- soap->buflen = 0;
- }
- soap->chunksize = 0;
- soap->ns = 0;
- soap->null = 0;
- soap->position = 0;
- soap->mustUnderstand = 0;
- soap->encoding = 0;
- soap->part = SOAP_BEGIN;
- soap->idnum = 0;
- soap->level = 0;
-#ifdef WITH_ZLIB
- soap->z_ratio_out = 1.0;
- if ((soap->mode & SOAP_ENC_ZLIB) && soap->zlib_state != SOAP_ZLIB_DEFLATE)
- {
-#ifdef WITH_GZIP
- memcpy(soap->z_buf, "\37\213\10\0\0\0\0\0\0\377", 10);
- soap->d_stream.next_out = (Byte*)soap->z_buf + 10;
- soap->d_stream.avail_out = SOAP_BUFLEN - 10;
- soap->z_crc = crc32(0L, NULL, 0);
- if (deflateInit2(&soap->d_stream, soap->z_level, Z_DEFLATED, -MAX_WBITS, 8, Z_DEFAULT_STRATEGY) != Z_OK)
-#else
- soap->d_stream.next_out = (Byte*)soap->z_buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- if (deflateInit(&soap->d_stream, soap->z_level) != Z_OK)
-#endif
- return soap->error = SOAP_ZLIB_ERROR;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflate initialized\n"));
- soap->zlib_state = SOAP_ZLIB_DEFLATE;
- }
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin send phase (socket=%d mode=0x%x count=%lu)\n", soap->socket, soap->mode, (unsigned long)soap->count));
-#ifndef WITH_LEANER
- if (soap->fprepareinit && (soap->mode & SOAP_IO) == SOAP_IO_STORE)
- soap->fprepareinit(soap);
-#endif
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_embedded(struct soap *soap, const void *p, int t)
-{ struct soap_plist *pp;
- if (soap_pointer_lookup(soap, p, t, &pp))
- { pp->mark1 = 1;
- pp->mark2 = 1;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded %p type=%d mark set to 1\n", p, t));
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_reference(struct soap *soap, const void *p, int t)
-{
- struct soap_plist *pp;
- if (!p || (soap->mode & SOAP_XML_TREE))
- return 1;
- if (soap_pointer_lookup(soap, p, t, &pp))
- { if (pp->mark1 == 0)
- { pp->mark1 = 2;
- pp->mark2 = 2;
- }
- }
- else if (soap_pointer_enter(soap, p, NULL, 0, t, &pp))
- { pp->mark1 = 0;
- pp->mark2 = 0;
- }
- else
- return 1;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Reference %p type=%d (%d %d)\n", p, t, (int)pp->mark1, (int)pp->mark2));
- return pp->mark1;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_array_reference(struct soap *soap, const void *p, const struct soap_array *a, int n, int t)
-{ register int i;
- struct soap_plist *pp;
- if (!p)
- return 1;
- i = soap_array_pointer_lookup(soap, p, a, n, t, &pp);
- if (i)
- { if (pp->mark1 == 0)
- { pp->mark1 = 2;
- pp->mark2 = 2;
- }
- }
- else if (!soap_pointer_enter(soap, p, a, n, t, &pp))
- return 1;
- else
- { pp->mark1 = 0;
- pp->mark2 = 0;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array reference %p ptr=%p dim=%d type=%d (%d %d)\n", p, a->__ptr, n, t, (int)pp->mark1, (int)pp->mark2));
- return pp->mark1;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_embedded_id(struct soap *soap, int id, const void *p, int t)
-{ struct soap_plist *pp;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id %p type=%d id=%d\n", p, t, id));
- if (soap->mode & SOAP_XML_TREE)
- return id;
- if (soap->version == 1 && soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH) && soap->part != SOAP_IN_HEADER)
- { if (id < 0)
- { id = soap_pointer_lookup(soap, p, t, &pp);
- if (id)
- { if (soap->mode & SOAP_IO_LENGTH)
- pp->mark1 = 2;
- else
- pp->mark2 = 2;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id multiref id=%d %p type=%d = (%d %d)\n", id, p, t, (int)pp->mark1, (int)pp->mark2));
- }
- return -1;
- }
- return id;
- }
- if (id < 0)
- id = soap_pointer_lookup(soap, p, t, &pp);
- else if (id && !soap_pointer_lookup(soap, p, t, &pp))
- return 0;
- if (id && pp)
- { if (soap->mode & SOAP_IO_LENGTH)
- pp->mark1 = 1;
- else
- pp->mark2 = 1;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id embedded ref id=%d %p type=%d = (%d %d)\n", id, p, t, (int)pp->mark1, (int)pp->mark2));
- }
- return id;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_is_embedded(struct soap *soap, struct soap_plist *pp)
-{ if (!pp)
- return 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Is embedded? %d %d\n", (int)pp->mark1, (int)pp->mark2));
- if (soap->version == 1 && soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH) && soap->part != SOAP_IN_HEADER)
- { if (soap->mode & SOAP_IO_LENGTH)
- return pp->mark1 != 0;
- return pp->mark2 != 0;
- }
- if (soap->mode & SOAP_IO_LENGTH)
- return pp->mark1 == 1;
- return pp->mark2 == 1;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_is_single(struct soap *soap, struct soap_plist *pp)
-{ if (soap->part == SOAP_IN_HEADER)
- return 1;
- if (!pp)
- return 0;
- if (soap->mode & SOAP_IO_LENGTH)
- return pp->mark1 == 0;
- return pp->mark2 == 0;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_embedded(struct soap *soap, struct soap_plist *pp)
-{ if (!pp)
- return;
- if (soap->mode & SOAP_IO_LENGTH)
- pp->mark1 = 1;
- else
- pp->mark2 = 1;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_attachment(struct soap *soap, const char *tag, int id, const void *p, const struct soap_array *a, const char *aid, const char *atype, const char *aoptions, int n, const char *type, int t)
-{ struct soap_plist *pp;
- int i;
- if (!p || !a->__ptr || (!aid && !atype))
- return soap_element_id(soap, tag, id, p, a, n, type, t);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Attachment tag='%s' id='%s' (%d) type='%s'\n", tag, aid?aid:"", id, atype?atype:""));
- i = soap_array_pointer_lookup(soap, p, a, n, t, &pp);
- if (!i)
- { i = soap_pointer_enter(soap, p, a, n, t, &pp);
- if (!i)
- { soap->error = SOAP_EOM;
- return -1;
- }
- }
- if (id < 0)
- id = i;
- if (!aid)
- { sprintf(soap->tmpbuf, soap->dime_id_format, id);
- aid = soap_strdup(soap, soap->tmpbuf);
- }
- if (soap->mode & SOAP_ENC_MTOM)
- { if (soap_element_begin_out(soap, tag, 0, type)
- || soap_element_href(soap, "xop:Include", 0, "href", aid)
- || soap_element_end_out(soap, tag))
- return soap->error;
- }
- else if (soap_element_href(soap, tag, 0, "href", aid))
- return soap->error;
- if (soap->mode & SOAP_IO_LENGTH)
- { if (pp->mark1 != 3)
- { struct soap_multipart *content;
- if (soap->mode & SOAP_ENC_MTOM)
- content = soap_new_multipart(soap, &soap->mime.first, &soap->mime.last, (char*)a->__ptr, a->__size);
- else
- content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, (char*)a->__ptr, a->__size);
- if (!content)
- { soap->error = SOAP_EOM;
- return -1;
- }
- if (!strncmp(aid, "cid:", 4)) /* RFC 2111 */
- { if (soap->mode & SOAP_ENC_MTOM)
- { char *s = (char*)soap_malloc(soap, strlen(aid) - 1);
- if (s)
- { *s = '<';
- strcpy(s + 1, aid + 4);
- strcat(s, ">");
- content->id = s;
- }
- }
- else
- content->id = aid + 4;
- }
- else
- content->id = aid;
- content->type = atype;
- content->options = aoptions;
- content->encoding = SOAP_MIME_BINARY;
- pp->mark1 = 3;
- }
- }
- else
- pp->mark2 = 3;
- return -1;
-}
-#endif
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static void
-soap_init_iht(struct soap *soap)
-{ register int i;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing ID hashtable\n"));
- for (i = 0; i < SOAP_IDHASH; i++)
- soap->iht[i] = NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_1
-static void
-soap_free_iht(struct soap *soap)
-{ register int i;
- register struct soap_ilist *ip, *p;
- register struct soap_flist *fp, *fq;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free ID hashtable\n"));
- for (i = 0; i < SOAP_IDHASH; i++)
- { for (ip = soap->iht[i]; ip; ip = p)
- { for (fp = ip->flist; fp; fp = fq)
- { fq = fp->next;
- SOAP_FREE(soap, fp);
- }
- p = ip->next;
- SOAP_FREE(soap, ip);
- }
- soap->iht[i] = NULL;
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-struct soap_ilist *
-SOAP_FMAC2
-soap_lookup(struct soap *soap, const char *id)
-{ register struct soap_ilist *ip;
- for (ip = soap->iht[soap_hash(id)]; ip; ip = ip->next)
- if (!strcmp(ip->id, id))
- return ip;
- return NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-struct soap_ilist *
-SOAP_FMAC2
-soap_enter(struct soap *soap, const char *id)
-{ register size_t h;
- register struct soap_ilist *ip;
- ip = (struct soap_ilist*)SOAP_MALLOC(soap, sizeof(struct soap_ilist) + strlen(id));
- if (ip)
- { h = soap_hash(id);
- strcpy(ip->id, id);
- ip->next = soap->iht[h];
- soap->iht[h] = ip;
- return ip;
- }
- return NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_malloc(struct soap *soap, size_t n)
-{ register char *p;
- if (!n)
- return (void*)SOAP_NON_NULL;
- if (!soap)
- return SOAP_MALLOC(soap, n);
- n += (-(long)n) & 7;
- if (!(p = (char*)SOAP_MALLOC(soap, n + sizeof(void*) + sizeof(size_t))))
- { soap->error = SOAP_EOM;
- return NULL;
- }
- /* keep chain of alloced cells for later destruction */
- soap->alloced = 1;
- *(void**)(p + n) = soap->alist;
- *(size_t*)(p + n + sizeof(void*)) = n;
- soap->alist = p + n;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Malloc %u bytes at location %p\n", (unsigned int)n, p));
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_init_mht(struct soap *soap)
-{ register int i;
- for (i = 0; i < (int)SOAP_PTRHASH; i++)
- soap->mht[i] = NULL;
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_free_mht(struct soap *soap)
-{ register int i;
- register struct soap_mlist *mp, *mq;
- for (i = 0; i < (int)SOAP_PTRHASH; i++)
- { for (mp = soap->mht[i]; mp; mp = mq)
- { mq = mp->next;
- if (mp->live)
- fprintf(stderr, "%s(%d): malloc() = %p not freed (memory leak or forgot to call soap_end()?)\n", mp->file, mp->line, mp->ptr);
- free(mp);
- }
- soap->mht[i] = NULL;
- }
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_track_malloc(struct soap *soap, const char *file, int line, size_t size)
-{ register void *p = malloc(size);
- if (soap)
- { register int h = soap_hash_ptr(p);
- register struct soap_mlist *mp = (struct soap_mlist*)malloc(sizeof(struct soap_mlist));
- mp->next = soap->mht[h];
- mp->ptr = p;
- mp->file = file;
- mp->line = line;
- mp->live = 1;
- soap->mht[h] = mp;
- }
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_track_free(struct soap *soap, const char *file, int line, void *p)
-{ register int h = soap_hash_ptr(p);
- register struct soap_mlist *mp;
- for (mp = soap->mht[h]; mp; mp = mp->next)
- if (mp->ptr == p)
- break;
- if (mp)
- { if (mp->live)
- { free(p);
- mp->live = 0;
- }
- else
- fprintf(stderr, "%s(%d) free(%p): double free of pointer malloced at %s(%d)\n", file, line, p, mp->file, mp->line);
- }
- else
- fprintf(stderr, "%s(%d) free(%p): pointer not alloced\n", file, line, p);
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_track_unlink(struct soap *soap, const void *p)
-{ register int h = soap_hash_ptr(p);
- register struct soap_mlist *mp;
- for (mp = soap->mht[h]; mp; mp = mp->next)
- if (mp->ptr == p)
- break;
- if (mp)
- mp->live = 0;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_dealloc(struct soap *soap, void *p)
-{ if (!soap)
- return;
- if (p)
- { register char **q;
- for (q = (char**)&soap->alist; *q; q = *(char***)q)
- { if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*))))
- { *q = **(char***)q;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Freed data at %p\n", p));
- SOAP_FREE(soap, p);
- return;
- }
- }
- soap_delete(soap, p);
- }
- else
- { register char *q;
- while (soap->alist)
- { q = (char*)soap->alist;
- soap->alist = *(void**)q;
- q -= *(size_t*)(q + sizeof(void*));
- SOAP_FREE(soap, q);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Dealloc all data done\n"));
- }
- /* we must assume these were deallocated: */
- soap->action = NULL;
- soap->fault = NULL;
- soap->header = NULL;
- soap->userid = NULL;
- soap->passwd = NULL;
- soap->authrealm = NULL;
-#ifndef WITH_LEANER
- soap_clr_mime(soap);
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_delete(struct soap *soap, void *p)
-{ register struct soap_clist **cp = &soap->clist;
- if (p)
- { while (*cp)
- { if (p == (*cp)->ptr)
- { register struct soap_clist *q = *cp;
- *cp = q->next;
- q->fdelete(q);
- SOAP_FREE(soap, q);
- return;
- }
- cp = &(*cp)->next;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not dealloc data %p: address not in list\n", p));
- }
- else
- { while (*cp)
- { register struct soap_clist *q = *cp;
- *cp = q->next;
- if (q->ptr == (void*)soap->fault)
- soap->fault = NULL; /* this was deallocated */
- else if (q->ptr == (void*)soap->header)
- soap->header = NULL; /* this was deallocated */
- q->fdelete(q);
- SOAP_FREE(soap, q);
- }
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-struct soap_clist *
-SOAP_FMAC2
-soap_link(struct soap *soap, void *p, int t, int n, void (*fdelete)(struct soap_clist*))
-{ register struct soap_clist *cp;
- if ((cp = (struct soap_clist*)SOAP_MALLOC(soap, sizeof(struct soap_clist))))
- { cp->next = soap->clist;
- cp->type = t;
- cp->size = n;
- cp->ptr = p;
- cp->fdelete = fdelete;
- soap->clist = cp;
- }
- return cp;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_unlink(struct soap *soap, const void *p)
-{ register char **q;
- register struct soap_clist **cp;
- if (!soap || !p)
- return;
- for (q = (char**)&soap->alist; *q; q = *(char***)q)
- { if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*))))
- { *q = **(char***)q;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked data %p\n", p));
-#ifdef SOAP_DEBUG
- soap_track_unlink(soap, p);
-#endif
- return;
- }
- }
- for (cp = &soap->clist; *cp; cp = &(*cp)->next)
- { if (p == (*cp)->ptr)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked class instance %p\n", p));
- q = (char**)*cp;
- *cp = (*cp)->next;
- SOAP_FREE(soap, q);
- return;
- }
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_lookup_type(struct soap *soap, const char *id)
-{ register struct soap_ilist *ip;
- if (id && *id)
- { ip = soap_lookup(soap, id);
- if (ip)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup id='%s' type=%d\n", id, ip->type));
- return ip->type;
- }
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "lookup type id='%s' NOT FOUND! Need to get it from xsi:type\n", id));
- return 0;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_id_lookup(struct soap *soap, const char *id, void **p, int t, size_t n, unsigned int k)
-{ struct soap_ilist *ip;
- void **q;
- if (!p || !id || !*id)
- return p;
- ip = soap_lookup(soap, id); /* lookup pointer to hash table entry for string id */
- if (!ip)
- { ip = soap_enter(soap, id); /* new hash table entry for string id */
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding first href='%s' type=%d %p (%u bytes)\n", id, t, p, (unsigned int)n));
- ip->type = t;
- ip->size = n;
- ip->link = p;
- ip->copy = NULL;
- ip->flist = NULL;
- ip->ptr = NULL;
- ip->level = k;
- *p = NULL;
- }
- else if (ip->ptr)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolved href='%s' type=%d location=%p (%u bytes)\n", id, t, ip->ptr, (unsigned int)n));
- if (ip->type != t)
- { strcpy(soap->id, id);
- soap->error = SOAP_HREF;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility: id type=%d href type=%d\n", ip->type, t));
- return NULL;
- }
- while (ip->level < k)
- { q = (void**)soap_malloc(soap, sizeof(void*));
- if (!q)
- return NULL;
- *p = (void*)q;
- p = q;
- k--;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n"));
- }
- *p = ip->ptr;
- }
- else if (ip->level > k)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving level %u pointers to href='%s'\n", ip->level, id));
- while (ip->level > k)
- { void *s, **r = &ip->link;
- q = (void**)ip->link;
- while (q)
- { *r = (void*)soap_malloc(soap, sizeof(void*));
- s = *q;
- *q = *r;
- r = (void**)*r;
- q = (void**)s;
- }
- *r = NULL;
- ip->size = n;
- ip->copy = NULL;
- ip->level = ip->level - 1;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n"));
- }
- q = (void**)ip->link;
- ip->link = p;
- *p = (void*)q;
- }
- else
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarded href='%s' type=%d location=%p (%u bytes)\n", id, t, p, (unsigned int)n));
- while (ip->level < k)
- { q = (void**)soap_malloc(soap, sizeof(void*));
- *p = q;
- p = q;
- k--;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n"));
- }
- q = (void**)ip->link;
- ip->link = p;
- *p = (void*)q;
- }
- return p;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIDREF
-#ifndef PALM_2
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_id_forward(struct soap *soap, const char *href, void *p, int st, int tt, size_t n, unsigned int k, void (*fcopy)(struct soap*, int, int, void*, const void*, size_t))
-{ struct soap_ilist *ip;
- if (!p || !href || !*href)
- return p;
- ip = soap_lookup(soap, href); /* lookup pointer to hash table entry for string id */
- if (!ip)
- { ip = soap_enter(soap, href); /* new hash table entry for string id */
- ip->type = st;
- ip->size = n;
- ip->link = NULL;
- ip->copy = NULL;
- ip->ptr = NULL;
- ip->level = 0;
- ip->flist = NULL;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "New entry href='%s' type=%d size=%lu level=%d location=%p\n", href, st, (unsigned long)n, k, p));
- }
- else if (ip->type != st || (ip->level == k && ip->size != n))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility id='%s' expect type=%d size=%lu level=%u got type=%d size=%lu\n", href, ip->type, (unsigned long)ip->size, k, st, (unsigned long)n));
- strcpy(soap->id, href);
- soap->error = SOAP_HREF;
- return NULL;
- }
- if (fcopy || n < sizeof(void*) || *href != '#')
- { register struct soap_flist *fp = (struct soap_flist*)SOAP_MALLOC(soap, sizeof(struct soap_flist));
- if (!fp)
- { soap->error = SOAP_EOM;
- return NULL;
- }
- fp->next = ip->flist;
- fp->type = tt;
- fp->ptr = p;
- fp->level = k;
- if (fcopy)
- fp->fcopy = fcopy;
- else
- fp->fcopy = soap_fcopy;
- ip->flist = fp;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding type=%d (target type=%d) size=%lu location=%p level=%u href='%s'\n", st, tt, (unsigned long)n, p, k, href));
- }
- else
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding copying address %p for type=%d href='%s'\n", p, st, href));
- *(void**)p = ip->copy;
- ip->copy = p;
- }
- return p;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void*
-SOAP_FMAC2
-soap_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*))
-{
-#ifndef WITH_NOIDREF
- struct soap_ilist *ip;
-#endif
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Enter id='%s' type=%d loc=%p size=%lu level=%u\n", id, t, p, (unsigned long)n, k));
- soap->alloced = 0;
- if (!p)
- { if (finstantiate)
- p = finstantiate(soap, t, type, arrayType, &n);
- else
- p = soap_malloc(soap, n);
- if (p)
- soap->alloced = 1;
- }
-#ifndef WITH_NOIDREF
- if (!id || !*id)
-#endif
- return p;
-#ifndef WITH_NOIDREF
- ip = soap_lookup(soap, id); /* lookup pointer to hash table entry for string id */
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Lookup entry id='%s for location=%p'\n", id, p));
- if (!ip)
- { ip = soap_enter(soap, id); /* new hash table entry for string id */
- ip->type = t;
- ip->link = NULL;
- ip->copy = NULL;
- ip->flist = NULL;
- ip->size = n;
- ip->ptr = p;
- ip->level = k;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "New entry id='%s' type=%d size=%lu level=%u location=%p\n", id, t, (unsigned long)n, k, p));
- }
- else if ((ip->type != t || (ip->level == k && ip->size != n)) && (ip->copy || ip->flist))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility id='%s' expect type=%d size=%lu level=%u got type=%d size=%lu\n", id, ip->type, (unsigned long)ip->size, k, t, (unsigned long)n));
- strcpy(soap->id, id);
- soap->error = SOAP_HREF;
- return NULL;
- }
- else if (ip->ptr)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Multiply defined id='%s'\n", id));
- strcpy(soap->id, id);
- soap->error = SOAP_MULTI_ID;
- return NULL;
- }
- else
- { ip->size = n;
- ip->ptr = p;
- ip->level = k;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update entry id='%s' type=%d location=%p size=%lu level=%u\n", id, t, p, (unsigned long)n, k));
- }
- return ip->ptr;
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_fcopy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n)
-{ DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Copying data type=%d (target type=%d) %p -> %p (%lu bytes)\n", st, tt, q, p, (unsigned long)n));
- memcpy(p, q, n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_end_send(struct soap *soap)
-{
-#ifndef WITH_LEANER
- if (soap->dime.list)
- { /* SOAP body referenced attachments must appear first */
- soap->dime.last->next = soap->dime.first;
- soap->dime.first = soap->dime.list->next;
- soap->dime.list->next = NULL;
- soap->dime.last = soap->dime.list;
- }
- if (soap_putdime(soap) || soap_putmime(soap))
- return soap->error;
- soap->mime.list = NULL;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->dime.list = NULL;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End send\n"));
- if (soap->mode & SOAP_IO) /* need to flush the remaining data in buffer */
- { if (soap_flush(soap))
-#ifdef WITH_ZLIB
- { if (soap->mode & SOAP_ENC_ZLIB && soap->zlib_state == SOAP_ZLIB_DEFLATE)
- { soap->zlib_state = SOAP_ZLIB_NONE;
- deflateEnd(&soap->d_stream);
- }
- return soap->error;
- }
-#else
- return soap->error;
-#endif
-#ifdef WITH_ZLIB
- if (soap->mode & SOAP_ENC_ZLIB)
- { int r;
- soap->d_stream.avail_in = 0;
- do
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflating remainder\n"));
- r = deflate(&soap->d_stream, Z_FINISH);
- if (soap->d_stream.avail_out != SOAP_BUFLEN)
- { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN - soap->d_stream.avail_out))
- { soap->zlib_state = SOAP_ZLIB_NONE;
- deflateEnd(&soap->d_stream);
- return soap->error;
- }
- soap->d_stream.next_out = (Byte*)soap->z_buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- }
- } while (r == Z_OK);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out));
- soap->z_ratio_out = (float)soap->d_stream.total_out / (float)soap->d_stream.total_in;
- soap->mode &= ~SOAP_ENC_ZLIB;
- soap->zlib_state = SOAP_ZLIB_NONE;
- if (deflateEnd(&soap->d_stream) != Z_OK || r != Z_STREAM_END)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to end deflate: %s\n", soap->d_stream.msg?soap->d_stream.msg:""));
- return soap->error = SOAP_ZLIB_ERROR;
- }
-#ifdef WITH_GZIP
- soap->z_buf[0] = soap->z_crc & 0xFF;
- soap->z_buf[1] = (soap->z_crc >> 8) & 0xFF;
- soap->z_buf[2] = (soap->z_crc >> 16) & 0xFF;
- soap->z_buf[3] = (soap->z_crc >> 24) & 0xFF;
- soap->z_buf[4] = soap->d_stream.total_in & 0xFF;
- soap->z_buf[5] = (soap->d_stream.total_in >> 8) & 0xFF;
- soap->z_buf[6] = (soap->d_stream.total_in >> 16) & 0xFF;
- soap->z_buf[7] = (soap->d_stream.total_in >> 24) & 0xFF;
- if (soap_flush_raw(soap, soap->z_buf, 8))
- return soap->error;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip crc32=%lu\n", (unsigned long)soap->z_crc));
-#endif
- }
-#endif
- if ((soap->mode & SOAP_IO) == SOAP_IO_STORE)
- { char *p;
-#ifndef WITH_NOHTTP
- if (!(soap->mode & SOAP_ENC_XML))
- { soap->mode--;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending buffered message of length %u\n", (unsigned int)soap->blist->size));
- if (soap->status >= SOAP_POST)
- soap->error = soap->fpost(soap, soap->endpoint, soap->host, soap->port, soap->path, soap->action, soap->blist->size);
- else if (soap->status != SOAP_STOP)
- soap->error = soap->fresponse(soap, soap->status, soap->blist->size);
- if (soap->error || soap_flush(soap))
- return soap->error;
- soap->mode++;
- }
-#endif
- for (p = soap_first_block(soap); p; p = soap_next_block(soap))
- { DBGMSG(SENT, p, soap_block_size(soap));
- if ((soap->error = soap->fsend(soap, p, soap_block_size(soap))))
- { soap_end_block(soap);
- return soap->error;
- }
- }
- soap_end_block(soap);
- }
-#ifndef WITH_LEANER
- else if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK)
- { DBGMSG(SENT, "\r\n0\r\n\r\n", 7);
- if ((soap->error = soap->fsend(soap, "\r\n0\r\n\r\n", 7)))
- return soap->error;
- }
-#endif
- }
-#ifdef WITH_OPENSSL
- if (!soap->ssl && soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_UDP))
- soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1); /* Send TCP FIN */
-#else
- if (soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_UDP))
- soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1); /* Send TCP FIN */
-#endif
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of send message ok\n"));
- soap->part = SOAP_END;
- soap->count = 0;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_end_recv(struct soap *soap)
-{ soap->part = SOAP_END;
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_ENC_DIME) && soap_getdime(soap))
- return soap->error;
- soap->dime.list = soap->dime.first;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
- if ((soap->mode & SOAP_ENC_MIME) && soap_getmime(soap))
- return soap->error;
- soap->mime.list = soap->mime.first;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->mime.boundary = NULL;
-#endif
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "End of receive message ok\n"));
-#ifdef WITH_ZLIB
- if (soap->mode & SOAP_ENC_ZLIB)
- { soap->mode &= ~SOAP_ENC_ZLIB;
- memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN);
- soap->bufidx = (char*)soap->d_stream.next_in - soap->z_buf;
- soap->buflen = soap->z_buflen;
- soap->zlib_state = SOAP_ZLIB_NONE;
- if (inflateEnd(&soap->d_stream) != Z_OK)
- return soap->error = SOAP_ZLIB_ERROR;
-#ifdef WITH_GZIP
- if (soap->zlib_in == SOAP_ZLIB_GZIP)
- { soap_wchar c;
- short i;
- for (i = 0; i < 8; i++)
- { if ((int)(c = soap_getchar(soap)) == EOF)
- return soap->error = SOAP_EOF;
- soap->z_buf[i] = (char)c;
- }
- if (soap->z_crc != ((uLong)(unsigned char)soap->z_buf[0] | ((uLong)(unsigned char)soap->z_buf[1] << 8) | ((uLong)(unsigned char)soap->z_buf[2] << 16) | ((uLong)(unsigned char)soap->z_buf[3] << 24)))
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Gzip error: crc check failed, message corrupted? (crc32=%lu)\n", (unsigned long)soap->z_crc));
- return soap->error = SOAP_ZLIB_ERROR;
- }
- if (soap->d_stream.total_out != ((uLong)(unsigned char)soap->z_buf[4] | ((uLong)(unsigned char)soap->z_buf[5] << 8) | ((uLong)(unsigned char)soap->z_buf[6] << 16) | ((uLong)(unsigned char)soap->z_buf[7] << 24)))
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Gzip error: incorrect message length\n"));
- return soap->error = SOAP_ZLIB_ERROR;
- }
- }
-#endif
- }
-#endif
- if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK)
- while ((int)soap_getchar(soap) != EOF) /* advance to last chunk */
- ;
- if (soap->fdisconnect && (soap->error = soap->fdisconnect(soap)))
- return soap->error;
-#ifndef WITH_NOIDREF
- return soap_resolve(soap);
-#else
-#ifndef WITH_LEANER
- if (soap->xlist)
- { if (soap->mode & SOAP_ENC_MTOM)
- return soap->error = SOAP_MIME_HREF;
- return soap->error = SOAP_DIME_HREF;
- }
-#endif
- return SOAP_OK;
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_free(struct soap *soap)
-{ register struct Namespace *ns;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free namespace stack\n"));
- while (soap->nlist)
- { register struct soap_nlist *np = soap->nlist->next;
- if (soap->nlist->ns)
- SOAP_FREE(soap, soap->nlist->ns);
- SOAP_FREE(soap, soap->nlist);
- soap->nlist = np;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free any remaining temp blocks\n"));
- while (soap->blist)
- soap_end_block(soap);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free attributes\n"));
- while (soap->attributes)
- { register struct soap_attribute *tp = soap->attributes->next;
- if (soap->attributes->value)
- SOAP_FREE(soap, soap->attributes->value);
- SOAP_FREE(soap, soap->attributes);
- soap->attributes = tp;
- }
-#ifdef WITH_FAST
- if (soap->labbuf)
- SOAP_FREE(soap, soap->labbuf);
- soap->labbuf = NULL;
- soap->lablen = 0;
- soap->labidx = 0;
-#endif
-#ifndef WITH_NOIDREF
- soap_free_pht(soap);
- soap_free_iht(soap);
-#endif
- ns = soap->local_namespaces;
- if (ns)
- { for (; ns->id; ns++)
- { if (ns->out)
- { if (soap->encodingStyle == ns->out)
- soap->encodingStyle = SOAP_STR_EOS;
- SOAP_FREE(soap, ns->out);
- ns->out = NULL;
- }
- if (soap->encodingStyle == ns->ns)
- soap->encodingStyle = SOAP_STR_EOS;
- }
- SOAP_FREE(soap, soap->local_namespaces);
- soap->local_namespaces = NULL;
- }
-#ifndef WITH_LEANER
- while (soap->xlist)
- { struct soap_xlist *xp = soap->xlist->next;
- SOAP_FREE(soap, soap->xlist);
- soap->xlist = xp;
- }
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_init_logs(struct soap *soap)
-{ int i;
- for (i = 0; i < SOAP_MAXLOGS; i++)
- { soap->logfile[i] = NULL;
- soap->fdebug[i] = NULL;
- }
-}
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_LEAN) || defined(SOAP_DEBUG)
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_open_logfile(struct soap *soap, int i)
-{ if (soap->logfile[i])
- soap->fdebug[i] = fopen(soap->logfile[i], i < 2 ? "ab" : "a");
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_close_logfile(struct soap *soap, int i)
-{ if (soap->fdebug[i])
- { fclose(soap->fdebug[i]);
- soap->fdebug[i] = NULL;
- }
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_close_logfiles(struct soap *soap)
-{ int i;
- for (i = 0; i < SOAP_MAXLOGS; i++)
- soap_close_logfile(soap, i);
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-static void
-soap_set_logfile(struct soap *soap, int i, const char *logfile)
-{ char *s = NULL;
- soap_close_logfile(soap, i);
- if (soap->logfile[i])
- SOAP_FREE(soap, (void*)soap->logfile[i]);
- if (logfile)
- if ((s = (char*)SOAP_MALLOC(soap, strlen(logfile) + 1)))
- strcpy(s, logfile);
- soap->logfile[i] = s;
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_recv_logfile(struct soap *soap, const char *logfile)
-{ soap_set_logfile(soap, SOAP_INDEX_RECV, logfile);
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_sent_logfile(struct soap *soap, const char *logfile)
-{ soap_set_logfile(soap, SOAP_INDEX_SENT, logfile);
-}
-#endif
-
-/******************************************************************************/
-#ifdef SOAP_DEBUG
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_test_logfile(struct soap *soap, const char *logfile)
-{ soap_set_logfile(soap, SOAP_INDEX_TEST, logfile);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap*
-SOAP_FMAC2
-soap_copy(struct soap *soap)
-{ return soap_copy_context((struct soap*)malloc(sizeof(struct soap)), soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap*
-SOAP_FMAC2
-soap_copy_context(struct soap *copy, struct soap *soap)
-{ if (copy)
- { register struct soap_plugin *p;
- memcpy(copy, soap, sizeof(struct soap));
- copy->copy = 1;
- copy->user = NULL;
- copy->error = SOAP_OK;
- copy->userid = NULL;
- copy->passwd = NULL;
- copy->nlist = NULL;
- copy->blist = NULL;
- copy->clist = NULL;
- copy->alist = NULL;
- copy->attributes = NULL;
-#ifdef SOAP_DEBUG
- soap_init_mht(copy);
-#endif
- copy->local_namespaces = NULL;
- soap_set_local_namespaces(copy);
-#ifndef WITH_NOIDREF
- soap_init_iht(copy);
- soap_init_pht(copy);
-#endif
- copy->header = NULL;
- copy->fault = NULL;
- copy->action = NULL;
- *copy->host = '\0';
-#ifndef WITH_LEAN
-#ifdef WITH_COOKIES
- copy->cookies = soap_copy_cookies(copy);
-#else
- copy->cookies = NULL;
-#endif
-#endif
-#ifdef SOAP_DEBUG
- soap_init_logs(copy);
- soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
- soap_set_sent_logfile(copy, soap->logfile[SOAP_INDEX_SENT]);
- soap_set_test_logfile(copy, soap->logfile[SOAP_INDEX_TEST]);
-#endif
- copy->plugins = NULL;
- for (p = soap->plugins; p; p = p->next)
- { register struct soap_plugin *q = (struct soap_plugin*)SOAP_MALLOC(copy, sizeof(struct soap_plugin));
- if (!q)
- return NULL;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying plugin '%s'\n", p->id));
- *q = *p;
- if (p->fcopy && (soap->error = p->fcopy(copy, q, p)))
- { SOAP_FREE(copy, q);
- return NULL;
- }
- q->next = copy->plugins;
- copy->plugins = q;
- }
- }
- else
- soap->error = SOAP_EOM;
- return copy;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_init(struct soap *soap)
-{ soap->version = 0;
- soap_imode(soap, SOAP_IO_DEFAULT);
- soap_omode(soap, SOAP_IO_DEFAULT);
- soap->copy = 0;
- soap->plugins = NULL;
- soap->user = NULL;
- soap->userid = NULL;
- soap->passwd = NULL;
-#ifndef WITH_NOHTTP
- soap->fpost = http_post;
- soap->fget = http_get;
- soap->fposthdr = http_post_header;
- soap->fresponse = http_response;
- soap->fparse = http_parse;
- soap->fparsehdr = http_parse_header;
-#endif
- soap->fconnect = NULL;
- soap->fdisconnect = NULL;
-#ifndef WITH_NOIO
-#ifndef WITH_IPV6
- soap->fresolve = tcp_gethost;
-#else
- soap->fresolve = NULL;
-#endif
- soap->faccept = tcp_accept;
- soap->fopen = tcp_connect;
- soap->fclose = tcp_disconnect;
- soap->fclosesocket = tcp_closesocket;
- soap->fshutdownsocket = tcp_shutdownsocket;
- soap->fsend = fsend;
- soap->frecv = frecv;
- soap->fpoll = soap_poll;
-#else
- soap->fopen = NULL;
- soap->fclose = NULL;
- soap->fpoll = NULL;
-#endif
-#ifndef WITH_LEANER
- soap->fprepareinit = NULL;
- soap->fpreparesend = NULL;
- soap->fpreparerecv = NULL;
-#endif
- soap->fseterror = NULL;
- soap->fignore = NULL;
- soap->fserveloop = NULL;
- soap->fplugin = fplugin;
-#ifndef WITH_LEANER
- soap->fdimereadopen = NULL;
- soap->fdimewriteopen = NULL;
- soap->fdimereadclose = NULL;
- soap->fdimewriteclose = NULL;
- soap->fdimeread = NULL;
- soap->fdimewrite = NULL;
-#endif
- soap->float_format = "%.8g"; /* .8 preserves single FP precision as much as possible, but might not be very efficient */
- soap->double_format = "%.17lg"; /* .17 preserves double FP precision as much as possible, but might not be very efficient */
- soap->dime_id_format = "cid:id%d"; /* default DIME id format */
- soap->http_version = "1.1";
- soap->actor = NULL;
- soap->max_keep_alive = SOAP_MAXKEEPALIVE;
- soap->keep_alive = 0;
- soap->recv_timeout = 0;
- soap->send_timeout = 0;
- soap->connect_timeout = 0;
- soap->accept_timeout = 0;
- soap->socket_flags = 0;
- soap->connect_flags = 0;
- soap->bind_flags = 0;
- soap->accept_flags = 0;
- soap->ip = 0;
-#ifdef WITH_FAST
- soap->labbuf = NULL;
- soap->lablen = 0;
- soap->labidx = 0;
-#endif
- soap->encodingStyle = SOAP_STR_EOS;
-#ifndef WITH_NONAMESPACES
- soap->namespaces = namespaces;
-#else
- soap->namespaces = NULL;
-#endif
- soap->local_namespaces = NULL;
- soap->nlist = NULL;
- soap->blist = NULL;
- soap->clist = NULL;
- soap->alist = NULL;
- soap->attributes = NULL;
- soap->header = NULL;
- soap->fault = NULL;
- soap->master = SOAP_INVALID_SOCKET;
- soap->socket = SOAP_INVALID_SOCKET;
- soap->os = NULL;
- soap->is = NULL;
-#ifndef WITH_LEANER
- soap->dom = NULL;
- soap->dime.list = NULL;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
- soap->mime.list = NULL;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->mime.boundary = NULL;
- soap->mime.start = NULL;
- soap->xlist = NULL;
-#endif
-#ifndef UNDER_CE
- soap->recvfd = 0;
- soap->sendfd = 1;
-#else
- soap->recvfd = stdin;
- soap->sendfd = stdout;
-#endif
- soap->host[0] = '\0';
- soap->port = 0;
- soap->action = NULL;
- soap->proxy_host = NULL;
- soap->proxy_port = 8080;
- soap->proxy_userid = NULL;
- soap->proxy_passwd = NULL;
- soap->authrealm = NULL;
- soap->prolog = NULL;
-#ifdef WITH_OPENSSL
- soap->fsslauth = ssl_auth_init;
- soap->fsslverify = ssl_verify_callback;
- soap->bio = NULL;
- soap->ssl = NULL;
- soap->ctx = NULL;
- soap->require_server_auth = 0;
- soap->require_client_auth = 0;
- soap->rsa = 0;
- soap->keyfile = NULL;
- soap->password = NULL;
- soap->dhfile = NULL;
- soap->cafile = NULL;
- soap->capath = NULL;
- soap->randfile = NULL;
- soap->session = NULL;
-#endif
-#ifdef WITH_ZLIB
- soap->zlib_state = SOAP_ZLIB_NONE;
- soap->zlib_in = SOAP_ZLIB_NONE;
- soap->zlib_out = SOAP_ZLIB_NONE;
- soap->d_stream.zalloc = NULL;
- soap->d_stream.zfree = NULL;
- soap->d_stream.opaque = NULL;
- soap->z_level = 6;
-#endif
-#ifndef WITH_LEAN
- soap->cookies = NULL;
- soap->cookie_domain = NULL;
- soap->cookie_path = NULL;
- soap->cookie_max = 32;
-#endif
-#ifdef SOAP_DEBUG
- soap_init_mht(soap);
- soap_init_logs(soap);
- soap_set_recv_logfile(soap, "RECV.log");
- soap_set_sent_logfile(soap, "SENT.log");
- soap_set_test_logfile(soap, NULL);
-#endif
-#ifdef WMW_RPM_IO
- soap->rpmreqid = NULL;
-#endif /* WMW_RPM_IO */
-#ifdef PALM
- palmNetLibOpen();
-#endif
-#ifndef WITH_NOIDREF
- soap_init_iht(soap);
- soap_init_pht(soap);
-#endif
- soap_begin(soap);
-#ifdef SOAP_DEBUG
- soap_set_test_logfile(soap, "TEST.log");
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_init1(struct soap *soap, soap_mode mode)
-{ soap_init2(soap, mode, mode);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_init2(struct soap *soap, soap_mode imode, soap_mode omode)
-{ soap_init(soap);
- soap_imode(soap, imode);
- soap_omode(soap, omode);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_begin(struct soap *soap)
-{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing\n"));
- if (!soap->keep_alive)
- { soap->buflen = 0;
- soap->bufidx = 0;
- }
- soap->keep_alive = (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) != 0);
- soap->null = 0;
- soap->position = 0;
- soap->encoding = 0;
- soap->mustUnderstand = 0;
- soap->mode = 0;
- soap->ns = 0;
- soap->part = SOAP_BEGIN;
- soap->alloced = 0;
- soap->count = 0;
- soap->length = 0;
- soap->cdata = 0;
- soap->error = SOAP_OK;
- soap->peeked = 0;
- soap->ahead = 0;
- soap->idnum = 0;
- soap->level = 0;
- soap->endpoint[0] = '\0';
-#ifndef WITH_LEANER
- soap->dime.chunksize = 0;
- soap->dime.buflen = 0;
-#endif
- soap_free(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_end(struct soap *soap)
-{ register struct soap_clist *cp;
- soap_free(soap);
- soap_dealloc(soap, NULL);
- while (soap->clist)
- { cp = soap->clist->next;
- SOAP_FREE(soap, soap->clist);
- soap->clist = cp;
- }
- soap_closesock(soap);
-#ifdef SOAP_DEBUG
- soap_close_logfiles(soap);
-#endif
-#ifdef PALM
- palmNetLibClose();
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_namespaces(struct soap *soap, struct Namespace *p)
-{ register struct Namespace *ns = soap->local_namespaces;
- register struct soap_nlist *np, *nq, *nr;
- register unsigned int level = soap->level;
- soap->namespaces = p;
- soap->local_namespaces = NULL;
- soap_set_local_namespaces(soap);
- /* reverse the list */
- np = soap->nlist;
- soap->nlist = NULL;
- if (np)
- { nq = np->next;
- np->next = NULL;
- while (nq)
- { nr = nq->next;
- nq->next = np;
- np = nq;
- nq = nr;
- }
- }
- while (np)
- { soap->level = np->level; /* preserve element nesting level */
- if (np->ns)
- { if (soap_push_namespace(soap, np->id, np->ns))
- return soap->error;
- }
- else if (np->index >= 0 && ns)
- { if (ns[np->index].out)
- { if (soap_push_namespace(soap, np->id, ns[np->index].out))
- return soap->error;
- }
- else if (soap_push_namespace(soap, np->id, ns[np->index].ns))
- return soap->error;
- }
- if (np->ns)
- SOAP_FREE(soap, np->ns);
- nq = np;
- np = np->next;
- SOAP_FREE(soap, nq);
- }
- if (ns)
- { register int i;
- for (i = 0; ns[i].id; i++)
- { if (ns[i].out)
- { SOAP_FREE(soap, ns[i].out);
- ns[i].out = NULL;
- }
- }
- SOAP_FREE(soap, ns);
- }
- soap->level = level; /* restore level */
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static void
-soap_set_local_namespaces(struct soap *soap)
-{ if (soap->namespaces && !soap->local_namespaces)
- { register const struct Namespace *ns1;
- register struct Namespace *ns2;
- register size_t n = 1;
- for (ns1 = soap->namespaces; ns1->id; ns1++)
- n++;
- n *= sizeof(struct Namespace);
- ns2 = (struct Namespace*)SOAP_MALLOC(soap, n);
- if (ns2)
- { memcpy(ns2, soap->namespaces, n);
- if (ns2[0].ns)
- { if (!strcmp(ns2[0].ns, soap_env1))
- soap->version = 1;
- else
- soap->version = 2;
- }
- soap->local_namespaces = ns2;
- }
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element(struct soap *soap, const char *tag, int id, const char *type)
-{ struct Namespace *ns = soap->local_namespaces;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element begin tag='%s' id='%d' type='%s'\n", tag, id, type?type:""));
-/**/
-#ifdef WITH_DOM
- if (soap->mode & SOAP_XML_DOM)
- { register struct soap_dom_element *p, *e = (struct soap_dom_element*)soap_malloc(soap, sizeof(struct soap_dom_element));
- e->next = NULL;
- e->prnt = soap->dom;
- e->nstr = NULL;
- e->name = soap_strdup(soap, tag); /* check EOM? */
- e->data = NULL;
- e->type = 0;
- e->node = NULL;
- e->elts = NULL;
- e->atts = NULL;
- if (soap->dom)
- { p = soap->dom->elts;
- if (p)
- { while (p->next)
- p = p->next;
- p->next = e;
- }
- else
- soap->dom->elts = e;
- }
- soap->dom = e;
- }
- else
-#endif
-{
- soap->level++;
- if (!soap->ns && !(soap->mode & SOAP_XML_CANONICAL))
- if (soap_send(soap, soap->prolog ? soap->prolog : "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"))
- return soap->error;
- if (soap_send_raw(soap, "<", 1)
- || soap_send(soap, tag))
- return soap->error;
-}
-/**/
- if (!soap->ns)
- { for (ns = soap->local_namespaces; ns && ns->id; ns++)
- { if (*ns->id && (ns->out || ns->ns))
- { sprintf(soap->tmpbuf, "xmlns:%s", ns->id);
- if (soap_attribute(soap, soap->tmpbuf, ns->out ? ns->out : ns->ns))
- return soap->error;
- }
- }
- soap->ns = 1;
- }
- if (id > 0)
- { sprintf(soap->tmpbuf, "_%d", id);
- if (soap_attribute(soap, "id", soap->tmpbuf))
- return soap->error;
- }
- if (type && *type)
- { if (soap_attribute(soap, "xsi:type", type))
- return soap->error;
- }
- if (soap->null && soap->position > 0)
- { int i;
- sprintf(soap->tmpbuf, "[%d", soap->positions[0]);
- for (i = 1; i < soap->position; i++)
- sprintf(soap->tmpbuf + strlen(soap->tmpbuf), ",%d", soap->positions[i]);
- strcat(soap->tmpbuf, "]");
- if (soap_attribute(soap, "SOAP-ENC:position", soap->tmpbuf))
- return soap->error;
- }
- if (soap->mustUnderstand)
- { if (soap->actor && *soap->actor)
- { if (soap_attribute(soap, soap->version == 2 ? "SOAP-ENV:role" : "SOAP-ENV:actor", soap->actor))
- return soap->error;
- }
- if (soap_attribute(soap, "SOAP-ENV:mustUnderstand", soap->version == 2 ? "true" : "1"))
- return soap->error;
- soap->mustUnderstand = 0;
- }
- if (soap->encoding)
- { if (soap->encodingStyle && soap->local_namespaces)
- { if (!*soap->encodingStyle)
- { if (soap->local_namespaces[1].out)
- soap->encodingStyle = soap->local_namespaces[1].out;
- else
- soap->encodingStyle = soap->local_namespaces[1].ns;
- }
- if (soap_attribute(soap, "SOAP-ENV:encodingStyle", soap->encodingStyle))
- return soap->error;
- }
- soap->encoding = 0;
- }
- soap->null = 0;
- soap->position = 0;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_begin_out(struct soap *soap, const char *tag, int id, const char *type)
-{ if (*tag == '-')
- return SOAP_OK;
- if (soap_element(soap, tag, id, type))
- return soap->error;
- return soap_element_start_end_out(soap, NULL);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-#ifndef HAVE_STRRCHR
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_strrchr(const char *s, int t)
-{ register char *r = NULL;
- while (*s)
- if (*s++ == t)
- r = (char*)s - 1;
- return r;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-#ifndef HAVE_STRTOL
-SOAP_FMAC1
-long
-SOAP_FMAC2
-soap_strtol(const char *s, char **t, int b)
-{ register long n = 0;
- register int c;
- while (*s > 0 && *s <= 32)
- s++;
- if (b == 10)
- { short neg = 0;
- if (*s == '-')
- { s++;
- neg = 1;
- }
- else if (*s == '+')
- s++;
- while ((c = *s) && c >= '0' && c <= '9')
- { if (n >= 214748364 && c >= '8')
- break;
- n *= 10;
- n += c - '0';
- s++;
- }
- if (neg)
- n = -n;
- }
- else /* b == 16 and value is always positive */
- { while ((c = *s))
- { if (c >= '0' && c <= '9')
- c -= '0';
- else if (c >= 'A' && c <= 'F')
- c -= 'A' - 10;
- else if (c >= 'a' && c <= 'f')
- c -= 'a' - 10;
- if (n > 0x07FFFFFF)
- break;
- n <<= 4;
- n += c;
- s++;
- }
- }
- if (t)
- *t = (char*)s;
- return n;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-#ifndef HAVE_STRTOUL
-SOAP_FMAC1
-unsigned long
-SOAP_FMAC2
-soap_strtoul(const char *s, char **t, int b)
-{ unsigned long n = 0;
- register int c;
- while (*s > 0 && *s <= 32)
- s++;
- if (b == 10)
- { if (*s == '+')
- s++;
- while ((c = *s) && c >= '0' && c <= '9')
- { if (n >= 429496729 && c >= '6')
- break;
- n *= 10;
- n += c - '0';
- s++;
- }
- }
- else /* b == 16 */
- { while ((c = *s))
- { if (c >= '0' && c <= '9')
- c -= '0';
- else if (c >= 'A' && c <= 'F')
- c -= 'A' - 10;
- else if (c >= 'a' && c <= 'f')
- c -= 'a' - 10;
- if (n > 0x0FFFFFFF)
- break;
- n <<= 4;
- n += c;
- s++;
- }
- }
- if (t)
- *t = (char*)s;
- return n;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_array_begin_out(struct soap *soap, const char *tag, int id, const char *type, const char *offset)
-{ if (soap_element(soap, tag, id, "SOAP-ENC:Array"))
- return soap->error;
- if (soap->version == 2)
- { const char *s;
- s = soap_strrchr(type, '[');
- if ((size_t)(s - type) < sizeof(soap->tmpbuf))
- { strncpy(soap->tmpbuf, type, s - type);
- soap->tmpbuf[s - type] = '\0';
- if (type && *type && (soap_attribute(soap, "SOAP-ENC:itemType", soap->tmpbuf)))
- return soap->error;
- if (s && (soap_attribute(soap, "SOAP-ENC:arraySize", s + 1)))
- return soap->error;
- }
- }
- else
- { if (offset && (soap_attribute(soap, "SOAP-ENC:offset", offset)))
- return soap->error;
- if (type && *type && (soap_attribute(soap, "SOAP-ENC:arrayType", type)))
- return soap->error;
- }
- return soap_element_start_end_out(soap, NULL);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_start_end_out(struct soap *soap, const char *tag)
-{ register struct soap_attribute *tp;
-/**/
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { for (tp = soap->attributes; tp; tp = tp->next)
- { if (tp->visible)
- { register struct soap_dom_attribute *a = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute));
- a->next = soap->dom->atts;
- a->nstr = NULL;
- a->name = soap_strdup(soap, tp->name); /* check EOM */
- a->data = soap_strdup(soap, tp->value); /* check EOM */
- a->wide = NULL;
- soap->dom->atts = a;
- tp->visible = 0;
- }
- }
- return SOAP_OK;
- }
-#endif
-/**/
- for (tp = soap->attributes; tp; tp = tp->next)
- { if (tp->visible)
- { if (soap_send(soap, " ") || soap_send(soap, tp->name))
- return soap->error;
- if (tp->visible == 2 && tp->value)
- if (soap_send_raw(soap, "=\"", 2)
- || soap_string_out(soap, tp->value, 1)
- || soap_send_raw(soap, "\"", 1))
- return soap->error;
- tp->visible = 0;
- }
- }
- if (tag)
- { soap->level--;
-#ifndef WITH_LEAN
- if (soap->mode & SOAP_XML_CANONICAL)
- { if (soap_send_raw(soap, ">", 1)
- || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
- }
-#endif
- return soap_send_raw(soap, "/>", 2);
- }
- return soap_send_raw(soap, ">", 1);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_end_out(struct soap *soap, const char *tag)
-{ if (*tag == '-')
- return SOAP_OK;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element ending tag='%s'\n", tag));
-/**/
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { if (soap->dom->prnt)
- soap->dom = soap->dom->prnt;
- return SOAP_OK;
- }
-#endif
-/**/
- soap->level--;
- if (soap_send_raw(soap, "</", 2)
- || soap_send(soap, tag))
- return soap->error;
- return soap_send_raw(soap, ">", 1);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_ref(struct soap *soap, const char *tag, int id, int href)
-{ register int n = 0;
- if (soap->version == 2)
- n = 1;
- sprintf(soap->href, "#_%d", href);
- return soap_element_href(soap, tag, id, "href" + n, soap->href + n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_href(struct soap *soap, const char *tag, int id, const char *ref, const char *val)
-{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element '%s' reference %s='%s'\n", tag, ref, val));
- if (soap_element(soap, tag, id, NULL)
- || soap_attribute(soap, ref, val)
- || soap_element_start_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_null(struct soap *soap, const char *tag, int id, const char *type)
-{ struct soap_attribute *tp;
- for (tp = soap->attributes; tp; tp = tp->next)
- if (tp->visible)
- break;
- if (tp || (soap->version == 2 && soap->position > 0) || id > 0 || (soap->mode & SOAP_XML_NIL))
- { if (soap_element(soap, tag, id, type))
- return soap->error;
- if (soap->part != SOAP_IN_HEADER && soap->encodingStyle)
- if (soap_attribute(soap, "xsi:nil", "true"))
- return soap->error;
- return soap_element_start_end_out(soap, tag);
- }
- soap->null = 1;
- soap->position = 0;
- soap->mustUnderstand = 0;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_id(struct soap *soap, const char *tag, int id, const void *p, const struct soap_array *a, int n, const char *type, int t)
-{ if (!p || (a && !a->__ptr))
- { soap_element_null(soap, tag, id, type);
- return -1;
- }
-#ifndef WITH_NOIDREF
- if (soap->mode & SOAP_XML_TREE)
- return 0;
- if (id < 0)
- { struct soap_plist *pp;
- if (a)
- id = soap_array_pointer_lookup(soap, p, a, n, t, &pp);
- else
- id = soap_pointer_lookup(soap, p, t, &pp);
- if (id)
- { if (soap_is_embedded(soap, pp))
- { soap_element_ref(soap, tag, 0, id);
- return -1;
- }
- if (soap_is_single(soap, pp))
- return 0;
- soap_set_embedded(soap, pp);
- }
- }
- return id;
-#else
- return 0;
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_result(struct soap *soap, const char *tag)
-{ if (soap->version == 2 && soap->encodingStyle)
- if (soap_element(soap, "SOAP-RPC:result", 0, NULL)
- || soap_attribute(soap, "xmlns:SOAP-RPC", soap_rpc)
- || soap_element_start_end_out(soap, NULL)
- || soap_string_out(soap, tag, 0)
- || soap_element_end_out(soap, "SOAP-RPC:result"))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_attribute(struct soap *soap, const char *name, const char *value)
-{
-/**/
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { register struct soap_dom_attribute *a = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute));
- a->next = soap->dom->atts;
- a->nstr = NULL;
- a->name = soap_strdup(soap, name); /* check EOM */
- a->data = soap_strdup(soap, value); /* check EOM */
- a->wide = NULL;
- soap->dom->atts = a;
- return SOAP_OK;
- }
-#endif
-/**/
-#ifndef WITH_LEAN
- if (soap->mode & SOAP_XML_CANONICAL)
- { if (soap_set_attr(soap, name, value))
- return soap->error;
- }
- else
-#endif
- { if (soap_send(soap, " ") || soap_send(soap, name))
- return soap->error;
- if (value)
- if (soap_send_raw(soap, "=\"", 2)
- || soap_string_out(soap, value, 1)
- || soap_send_raw(soap, "\"", 1))
- return soap->error;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_begin_in(struct soap *soap, const char *tag, int nillable)
-{ if (!soap_peek_element(soap))
- { if (soap->other)
- return soap->error = SOAP_TAG_MISMATCH;
- if (tag && *tag == '-')
- return SOAP_OK;
- if (!(soap->error = soap_match_tag(soap, soap->tag, tag)))
- { soap->peeked = 0;
- if (soap->body)
- soap->level++;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin element found (level=%u) '%s'='%s'\n", soap->level, soap->tag, tag?tag:"" ));
- if (!nillable && soap->null && (soap->mode & SOAP_XML_STRICT))
- return soap->error = SOAP_NULL;
- }
- } else if (soap->error == SOAP_NO_TAG && tag && *tag == '-')
- return soap->error = SOAP_OK;
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_element_end_in(struct soap *soap, const char *tag)
-{ register soap_wchar c;
- register char *s;
- register const char *t;
- register int n = 0;
- if (tag && *tag == '-')
- return SOAP_OK;
- soap->level--;
- soap_pop_namespace(soap);
- if (soap->error == SOAP_NO_TAG)
- soap->error = SOAP_OK;
- if (soap->peeked && *soap->tag)
- n++;
- soap->peeked = 0;
- do
- { while (((c = soap_get(soap)) != SOAP_TT))
- { if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- if (c == SOAP_LT)
- n++;
- else if (c == '/')
- { c = soap_get(soap);
- if (c == SOAP_GT)
- n--;
- else
- soap_unget(soap, c);
- }
- }
- } while (n--);
- s = soap->tag;
- do c = soap_get(soap);
- while (soap_blank(c));
- do
- { *s++ = (char)c;
- c = soap_get(soap);
- } while (soap_notblank(c));
- *s = '\0';
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- while (soap_blank(c))
- c = soap_get(soap);
- if (c != SOAP_GT)
- return soap->error = SOAP_SYNTAX_ERROR;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End element found (level=%u) '%s'='%s'\n", soap->level, soap->tag, tag?tag:""));
- if (!tag || !*tag)
- return SOAP_OK;
- if ((s = strchr(soap->tag, ':')))
- s++;
- else
- s = soap->tag;
- if ((t = strchr(tag, ':')))
- t++;
- else
- t = tag;
- if (!SOAP_STRCMP(s, t))
- return SOAP_OK;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End element tag name does not match\n"));
- return soap->error = SOAP_SYNTAX_ERROR;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char *
-SOAP_FMAC2
-soap_attr_value(struct soap *soap, const char *name, int flag)
-{ register struct soap_attribute *tp;
- for (tp = soap->attributes; tp; tp = tp->next)
- if (!soap_match_tag(soap, tp->name, name))
- break;
- if (tp && tp->visible == 2)
- { if (flag == 2 && (soap->mode & SOAP_XML_STRICT))
- soap->error = SOAP_PROHIBITED;
- else
- return tp->value;
- }
- else if (flag == 1 && (soap->mode & SOAP_XML_STRICT))
- soap->error = SOAP_REQUIRED;
- return NULL;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_attr(struct soap *soap, const char *name, const char *value)
-{ register struct soap_attribute *tp;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set attribute %s='%s'\n", name, value?value:""));
- for (tp = soap->attributes; tp; tp = tp->next)
- if (!strcmp(tp->name, name))
- break;
- if (!tp)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Allocate attribute %s\n", name));
- if (!(tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(name))))
- return soap->error = SOAP_EOM;
- tp->ns = NULL;
-#ifndef WITH_LEAN
- if (soap->mode & SOAP_XML_CANONICAL)
- { struct soap_attribute **tpp = &soap->attributes;
- const char *s = strchr(name, ':');
- if (!strncmp(name, "xmlns", 5))
- { for (; *tpp; tpp = &(*tpp)->next)
- if (strncmp((*tpp)->name, "xmlns", 5) || strcmp((*tpp)->name + 5, name + 5) > 0)
- break;
- }
- else if (!s)
- { for (; *tpp; tpp = &(*tpp)->next)
- if (strncmp((*tpp)->name, "xmlns", 5) && ((*tpp)->ns || strcmp((*tpp)->name, name) > 0))
- break;
- }
- else
- { int k;
- for (; *tpp; tpp = &(*tpp)->next)
- { if (!strncmp((*tpp)->name, "xmlns:", 6) && !strncmp((*tpp)->name + 6, name, s - name) && !(*tpp)->name[6 + s - name])
- { if (!tp->ns)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Canonicalization: prefix %s=%p(%s)\n", name, (*tpp)->ns, (*tpp)->ns));
- tp->ns = (*tpp)->ns;
- }
- }
- else if (strncmp((*tpp)->name, "xmlns", 5) && (*tpp)->ns && tp->ns && ((k = strcmp((*tpp)->ns, tp->ns)) > 0 || (!k && strcmp((*tpp)->name, name) > 0)))
- break;
- }
- }
- tp->next = *tpp;
- *tpp = tp;
- }
- else
-#endif
- { tp->next = soap->attributes;
- soap->attributes = tp;
- }
- strcpy(tp->name, name);
- tp->value = NULL;
- }
- else if (value && tp->value && tp->size <= strlen(value))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free attribute value of %s (free %p)\n", name, tp->value));
- SOAP_FREE(soap, tp->value);
- tp->value = NULL;
- tp->ns = NULL;
- }
- if (value)
- { if (!tp->value)
- { tp->size = strlen(value) + 1;
- if (!(tp->value = (char*)SOAP_MALLOC(soap, tp->size)))
- return soap->error = SOAP_EOM;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Allocate attribute value of %s (%p)\n", tp->name, tp->value));
- }
- strcpy(tp->value, value);
- if (!strncmp(tp->name, "xmlns:", 6))
- tp->ns = tp->value;
- tp->visible = 2;
- }
- else
- tp->visible = 1;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_clr_attr(struct soap *soap)
-{ register struct soap_attribute *tp;
-#ifndef WITH_LEAN
- if (soap->mode & SOAP_XML_CANONICAL)
- { while (soap->attributes)
- { tp = soap->attributes->next;
- SOAP_FREE(soap, soap->attributes->value);
- SOAP_FREE(soap, soap->attributes);
- soap->attributes = tp;
- }
- }
- else
-#endif
- { for (tp = soap->attributes; tp; tp = tp->next)
- tp->visible = 0;
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-static int
-soap_getattrval(struct soap *soap, char *s, size_t n, soap_wchar d)
-{ size_t i;
- soap_wchar c;
- for (i = 0; i < n; i++)
- { c = soap_getutf8(soap);
- switch (c)
- {
- case SOAP_TT:
- *s++ = '<';
- soap_unget(soap, '/');
- break;
- case SOAP_LT:
- *s++ = '<';
- break;
- case SOAP_GT:
- if (d == ' ')
- { soap_unget(soap, c);
- *s = '\0';
- return SOAP_OK;
- }
- *s++ = '>';
- break;
- case SOAP_QT:
- if (c == d)
- { *s = '\0';
- return SOAP_OK;
- }
- *s++ = '"';
- break;
- case SOAP_AP:
- if (c == d)
- { *s = '\0';
- return SOAP_OK;
- }
- *s++ = '\'';
- break;
- case '\t':
- case '\n':
- case '\r':
- case ' ':
- case '/':
- if (d == ' ')
- { soap_unget(soap, c);
- *s = '\0';
- return SOAP_OK;
- }
- default:
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- *s++ = (char)c;
- }
- }
- return soap->error = SOAP_EOM;
-}
-#endif
-
-/******************************************************************************/
-#ifdef WITH_FAST
-#ifndef PALM_2
-static int
-soap_append_lab(struct soap *soap, const char *s, size_t n)
-{ if (soap->labidx + n >= soap->lablen)
- { register char *t = soap->labbuf;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Enlarging look-aside buffer to append data, old size=%lu", (unsigned long)soap->lablen));
- if (soap->lablen == 0)
- soap->lablen = SOAP_LABLEN;
- while (soap->labidx + n >= soap->lablen)
- soap->lablen <<= 1;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, ", new size=%lu\n", (unsigned long)soap->lablen));
- soap->labbuf = (char*)SOAP_MALLOC(soap, soap->lablen);
- if (!soap->labbuf)
- { if (t)
- free(t);
- return soap->error = SOAP_EOM;
- }
- if (t && soap->labidx)
- { memcpy(soap->labbuf, t, soap->labidx);
- free(t);
- }
- }
- if (s)
- { memcpy(soap->labbuf + soap->labidx, s, n);
- soap->labidx += n;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_peek_element(struct soap *soap)
-{ register struct soap_attribute *tp;
- const char *t;
- register char *s;
- register soap_wchar c;
- register int i;
- if (soap->peeked)
- { if (!*soap->tag)
- return soap->error = SOAP_NO_TAG;
- return SOAP_OK;
- }
- soap->peeked = 1;
- for (;;)
- { c = soap_getutf8(soap);
- if (c == SOAP_BOM)
- c = soap_getutf8(soap);
- while (soap_blank(c))
- c = soap_getutf8(soap);
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- if (c != SOAP_LT)
- { *soap->tag = '\0';
- soap_unget(soap, c);
- return soap->error = SOAP_NO_TAG;
- }
- s = soap->tag;
- do c = soap_get(soap);
- while (soap_blank(c));
- i = sizeof(soap->tag);
- while (c != '/' && soap_notblank(c))
- { if (--i > 0)
- *s++ = (char)c;
- c = soap_get(soap);
- }
- while (soap_blank(c))
- c = soap_get(soap);
- *s = '\0';
- if (*soap->tag != '?')
- break;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "XML PI <%s?>\n", soap->tag));
- while ((int)c != EOF && c != SOAP_GT && c != '?')
- { s = soap->tmpbuf;
- i = sizeof(soap->tmpbuf) - 2;
- while (c != '=' && c != SOAP_GT && c != '?' && soap_notblank(c))
- { if (--i > 0)
- *s++ = (char)c;
- c = soap_get(soap);
- }
- while (soap_blank(c))
- c = soap_get(soap);
- if (c == '=')
- { *s++ = '=';
- do c = soap_get(soap);
- while (soap_blank(c));
- if (c != SOAP_QT && c != SOAP_AP)
- { soap_unget(soap, c);
- c = ' '; /* blank delimiter */
- }
- if (soap_getattrval(soap, s, i, c) == SOAP_EOM)
- while (soap_getattrval(soap, soap->tmpbuf, sizeof(soap->tmpbuf), c) == SOAP_EOM)
- ;
- else if (!strcmp(soap->tag, "?xml") && (!soap_tag_cmp(soap->tmpbuf, "encoding=iso-8859-1") || !soap_tag_cmp(soap->tmpbuf, "encoding=latin1")))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "XML latin1 encoding\n"));
- soap->mode |= SOAP_ENC_LATIN;
- }
- }
- do c = soap_get(soap);
- while (soap_blank(c));
- }
- }
- soap->id[0] = '\0';
- soap->href[0] = '\0';
- soap->type[0] = '\0';
- soap->arrayType[0] = '\0';
- soap->arraySize[0] = '\0';
- soap->arrayOffset[0] = '\0';
- soap->other = 0;
- soap->root = -1;
- soap->position = 0;
- soap->null = 0;
- soap->mustUnderstand = 0;
- soap_clr_attr(soap);
- while ((int)c != EOF && c != SOAP_GT && c != '/')
- { s = soap->tmpbuf;
- i = sizeof(soap->tmpbuf);
- while (c != '=' && c != '/' && soap_notblank(c))
- { if (--i > 0)
- *s++ = (char)c;
- c = soap_get(soap);
- }
- *s = '\0';
- if (i == sizeof(soap->tmpbuf))
- return soap->error = SOAP_SYNTAX_ERROR;
- if (!strncmp(soap->tmpbuf, "xmlns:", 6))
- { soap->tmpbuf[5] = '\0';
- t = soap->tmpbuf + 6;
- }
- else if (!strcmp(soap->tmpbuf, "xmlns"))
- t = SOAP_STR_EOS;
- else
- t = NULL;
- for (tp = soap->attributes; tp; tp = tp->next)
- if (!SOAP_STRCMP(tp->name, soap->tmpbuf))
- break;
- if (!tp)
- { tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(soap->tmpbuf));
- if (!tp)
- return soap->error = SOAP_EOM;
- strcpy(tp->name, soap->tmpbuf);
- tp->value = NULL;
- tp->size = 0;
- tp->next = soap->attributes;
- soap->attributes = tp;
- }
- while (soap_blank(c))
- c = soap_get(soap);
- if (c == '=')
- { do c = soap_get(soap);
- while (soap_blank(c));
- if (c != SOAP_QT && c != SOAP_AP)
- { soap_unget(soap, c);
- c = ' '; /* blank delimiter */
- }
- if (soap_getattrval(soap, tp->value, tp->size, c))
- {
-#ifdef WITH_FAST
- if (soap->error != SOAP_EOM)
- return soap->error;
- soap->error = SOAP_OK;
- soap->labidx = 0;
- if (soap_append_lab(soap, tp->value, tp->size))
- return soap->error;
- SOAP_FREE(soap, tp->value);
- for (;;)
- { if (soap_getattrval(soap, soap->labbuf + soap->labidx, soap->lablen - soap->labidx, c))
- { if (soap->error != SOAP_EOM)
- return soap->error;
- soap->error = SOAP_OK;
- soap->labidx = soap->lablen;
- if (soap_append_lab(soap, NULL, 0))
- return soap->error;
- }
- else
- break;
- }
- tp->size = soap->lablen;
- if (!(tp->value = (char*)SOAP_MALLOC(soap, tp->size)))
- return soap->error = SOAP_EOM;
- memcpy(tp->value, soap->labbuf, soap->lablen);
-#else
- size_t n;
- if (soap->error != SOAP_EOM)
- return soap->error;
- soap->error = SOAP_OK;
- if (soap_new_block(soap))
- return soap->error;
- for (;;)
- { if (!(s = (char*)soap_push_block(soap, SOAP_BLKLEN)))
- return soap->error;
- if (soap_getattrval(soap, s, SOAP_BLKLEN, c))
- { if (soap->error != SOAP_EOM)
- return soap->error;
- soap->error = SOAP_OK;
- }
- else
- break;
- }
- n = tp->size + soap->blist->size;
- if (!(s = (char*)SOAP_MALLOC(soap, n)))
- return soap->error = SOAP_EOM;
- if (tp->value)
- { memcpy(s, tp->value, tp->size);
- SOAP_FREE(soap, tp->value);
- }
- soap_save_block(soap, s + tp->size, 0);
- tp->value = s;
- tp->size = n;
-#endif
- }
- do c = soap_get(soap);
- while (soap_blank(c));
- tp->visible = 2; /* seen this attribute w/ value */
- }
- else
- tp->visible = 1; /* seen this attribute w/o value */
- if (t && tp->value)
- { if (soap_push_namespace(soap, t, tp->value))
- return soap->error;
- tp->visible = 0;
- }
- }
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- for (tp = soap->attributes; tp; tp = tp->next)
- { if (tp->visible && tp->value)
- { if (!strcmp(tp->name, "id"))
- { *soap->id = '#';
- strncpy(soap->id + 1, tp->value, sizeof(soap->id) - 2);
- soap->id[sizeof(soap->id)-1] = '\0';
- }
- else if (!strcmp(tp->name, "href"))
- { strncpy(soap->href, tp->value, sizeof(soap->href) - 1);
- soap->href[sizeof(soap->href)-1] = '\0';
- }
- else if ((soap->version == 2 || (soap->mode & SOAP_XML_GRAPH)) && !strcmp(tp->name, "ref"))
- { *soap->href = '#';
- strncpy(soap->href + 1, tp->value, sizeof(soap->href) - 2);
- soap->href[sizeof(soap->href)-1] = '\0';
- }
- else if (!soap_match_tag(soap, tp->name, "xsi:type"))
- { strncpy(soap->type, tp->value, sizeof(soap->type) - 1);
- soap->type[sizeof(soap->type)-1] = '\0';
- }
- else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:arrayType"))
- { s = soap_strrchr(tp->value, '[');
- if (s && (size_t)(s - tp->value) < sizeof(soap->arrayType))
- { strncpy(soap->arrayType, tp->value, s - tp->value);
- soap->arrayType[s - tp->value] = '\0';
- strncpy(soap->arraySize, s, sizeof(soap->arraySize) - 1);
- }
- else
- strncpy(soap->arrayType, tp->value, sizeof(soap->arrayType) - 1);
- soap->arraySize[sizeof(soap->arrayType)-1] = '\0';
- soap->arrayType[sizeof(soap->arrayType)-1] = '\0';
- }
- else if (soap->version == 2 && !soap_match_tag(soap, tp->name, "SOAP-ENC:itemType"))
- strncpy(soap->arrayType, tp->value, sizeof(soap->arrayType) - 1);
- else if (soap->version == 2 && !soap_match_tag(soap, tp->name, "SOAP-ENC:arraySize"))
- strncpy(soap->arraySize, tp->value, sizeof(soap->arraySize) - 1);
- else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:offset"))
- strncpy(soap->arrayOffset, tp->value, sizeof(soap->arrayOffset));
- else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:position"))
- soap->position = soap_getposition(tp->value, soap->positions);
- else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:root"))
- soap->root = ((!strcmp(tp->value, "1") || !strcmp(tp->value, "true")));
- else if (!soap_match_tag(soap, tp->name, "SOAP-ENV:actor")
- || !soap_match_tag(soap, tp->name, "SOAP-ENV:role"))
- { if ((!soap->actor || strcmp(soap->actor, tp->value))
- && strcmp(tp->value, "http://schemas.xmlsoap.org/soap/actor/next")
- && strcmp(tp->value, "http://www.w3.org/2003/05/soap-envelope/role/next"))
- soap->other = 1;
- }
- else if (!soap_match_tag(soap, tp->name, "SOAP-ENV:mustUnderstand")
- && (!strcmp(tp->value, "1") || !strcmp(tp->value, "true")))
- soap->mustUnderstand = 1;
- else if ((!soap_match_tag(soap, tp->name, "xsi:null")
- || !soap_match_tag(soap, tp->name, "xsi:nil"))
- && (!strcmp(tp->value, "1")
- || !strcmp(tp->value, "true")))
- soap->null = 1;
- }
- }
- if (!(soap->body = (c != '/')))
- do c = soap_get(soap);
- while (soap_blank(c));
- return soap->error = SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_retry(struct soap *soap)
-{ soap->error = SOAP_OK;
- soap_revert(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_revert(struct soap *soap)
-{ if (!soap->peeked)
- { soap->peeked = 1;
- if (soap->body)
- soap->level--;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Reverting last element (level=%u)\n", soap->level));
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_string_out(struct soap *soap, const char *s, int flag)
-{ register const char *t;
- register soap_wchar c;
- register soap_wchar mask = 0xFFFFFF80UL;
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { soap->dom->data = soap_strdup(soap, s); /* check EOM */
- return SOAP_OK;
- }
-#endif
- if (soap->mode & SOAP_C_UTFSTRING)
- mask = 0;
- t = s;
- while ((c = *t++))
- { switch (c)
- {
- case 9:
- if (flag)
- { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&#x9;", 5))
- return soap->error;
- s = t;
- }
- break;
- case 10:
- if (flag || !(soap->mode & SOAP_XML_CANONICAL))
- { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&#xA;", 5))
- return soap->error;
- s = t;
- }
- break;
- case 13:
- if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&#xD;", 5))
- return soap->error;
- s = t;
- break;
- case '&':
- if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&amp;", 5))
- return soap->error;
- s = t;
- break;
- case '<':
- if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&lt;", 4))
- return soap->error;
- s = t;
- break;
- case '>':
- if (!flag)
- { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&gt;", 4))
- return soap->error;
- s = t;
- }
- break;
- case '"':
- if (flag)
- { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&quot;", 6))
- return soap->error;
- s = t;
- }
- break;
- default:
-#ifndef WITH_LEANER
-#ifdef HAVE_MBTOWC
- if (soap->mode & SOAP_C_MBSTRING)
- { wchar_t wc;
- register int m = mbtowc(&wc, t - 1, MB_CUR_MAX);
- if (m > 0 && wc != c)
- { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, wc))
- return soap->error;
- s = t += m - 1;
- continue;
- }
- }
-#endif
-#endif
- if (c & mask)
- { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, (unsigned char)c))
- return soap->error;
- s = t;
- }
- }
- }
- return soap_send_raw(soap, s, t - s - 1);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_string_in(struct soap *soap, int flag, long minlen, long maxlen)
-{ register char *s;
- char *t = NULL;
- register size_t i;
- register long l = 0;
- register int n = 0;
- register int m = 0;
- register soap_wchar c;
-#if !defined(WITH_LEANER) && defined(HAVE_WCTOMB)
- char buf[MB_LEN_MAX > 8 ? MB_LEN_MAX : 8];
-#else
- char buf[8];
-#endif
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Reading string content\n"));
-#ifdef WITH_CDATA
- if (!flag)
- { register int state = 0;
-#ifdef WITH_FAST
- soap->labidx = 0; /* use look-aside buffer */
-#else
- if (soap_new_block(soap))
- return NULL;
-#endif
- for (;;)
- {
-#ifdef WITH_FAST
- register size_t k;
- if (soap_append_lab(soap, NULL, 0)) /* allocate more space in look-aside buffer if necessary */
- return NULL;
- s = soap->labbuf + soap->labidx; /* space to populate */
- k = soap->lablen - soap->labidx; /* number of bytes available */
- soap->labidx = soap->lablen; /* claim this space */
-#else
- register size_t k = SOAP_BLKLEN;
- if (!(s = (char*)soap_push_block(soap, k)))
- return NULL;
-#endif
- for (i = 0; i < k; i++)
- { if (m > 0)
- { *s++ = *t++; /* copy multibyte characters */
- m--;
- continue;
- }
- c = soap_getchar(soap);
- if ((int)c == EOF)
- goto end;
- if (c >= 0x80 && !(soap->mode & SOAP_ENC_LATIN))
- { soap_unget(soap, c);
- c = soap_getutf8(soap);
- if (soap->mode & SOAP_C_UTFSTRING)
- { if ((c & 0x80000000) && c >= -0x7FFFFF80 && c < SOAP_AP)
- { c &= 0x7FFFFFFF;
- t = buf;
- if (c < 0x0800)
- *t++ = (char)(0xC0 | ((c >> 6) & 0x1F));
- else
- { if (c < 0x010000)
- *t++ = (char)(0xE0 | ((c >> 12) & 0x0F));
- else
- { if (c < 0x200000)
- *t++ = (char)(0xF0 | ((c >> 18) & 0x07));
- else
- { if (c < 0x04000000)
- *t++ = (char)(0xF8 | ((c >> 24) & 0x03));
- else
- { *t++ = (char)(0xFC | ((c >> 30) & 0x01));
- *t++ = (char)(0x80 | ((c >> 24) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 18) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 12) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 6) & 0x3F));
- }
- *t++ = (char)(0x80 | (c & 0x3F));
- m = (int)(t - buf) - 1;
- t = buf;
- *s++ = *t++;
- continue;
- }
- }
- }
- switch (state)
- { case 1:
- if (c == ']')
- state = 4;
- *s++ = c;
- continue;
- case 2:
- if (c == '-')
- state = 6;
- *s++ = c;
- continue;
- case 3:
- if (c == '?')
- state = 8;
- *s++ = c;
- continue;
- /* CDATA */
- case 4:
- if (c == ']')
- state = 5;
- else
- state = 1;
- *s++ = c;
- continue;
- case 5:
- if (c == '>')
- state = 0;
- else
- state = 1;
- *s++ = c;
- continue;
- /* comment */
- case 6:
- if (c == '-')
- state = 7;
- else
- state = 2;
- *s++ = c;
- continue;
- case 7:
- if (c == '>')
- state = 0;
- else
- state = 2;
- *s++ = c;
- continue;
- /* PI */
- case 8:
- if (c == '>')
- state = 0;
- else
- state = 3;
- *s++ = c;
- continue;
- }
- switch (c)
- {
- case '/':
- if (n > 0)
- { c = soap_getchar(soap);
- if (c == '>')
- n--;
- soap_unget(soap, c);
- }
- *s++ = '/';
- break;
- case '<':
- c = soap_getchar(soap);
- if (c == '/')
- { if (n == 0)
- { c = SOAP_TT;
- goto end;
- }
- n--;
- }
- else if (c == '!')
- { c = soap_getchar(soap);
- if (c == '[')
- { do c = soap_getchar(soap);
- while ((int)c != EOF && c != '[');
- if ((int)c == EOF)
- goto end;
- t = (char*)"![CDATA[";
- m = 8;
- state = 1;
- }
- else if (c == '-')
- { if ((c = soap_getchar(soap)) == '-')
- state = 2;
- t = (char*)"!-";
- m = 2;
- soap_unget(soap, c);
- }
- else
- { t = (char*)"!";
- m = 1;
- soap_unget(soap, c);
- }
- *s++ = '<';
- break;
- }
- else if (c == '?')
- state = 3;
- else
- n++;
- soap_unget(soap, c);
- *s++ = '<';
- break;
- case '>':
- *s++ = '>';
- break;
- case '"':
- *s++ = '"';
- break;
- default:
-#ifndef WITH_LEANER
-#ifdef HAVE_WCTOMB
- if (soap->mode & SOAP_C_MBSTRING)
- { m = wctomb(buf, c & 0x7FFFFFFF);
- if (m >= 1 && m <= (int)MB_CUR_MAX)
- { t = buf;
- *s++ = *t++;
- m--;
- }
- else
- { *s++ = SOAP_UNKNOWN_CHAR;
- m = 0;
- }
- }
- else
-#endif
-#endif
- *s++ = (char)(c & 0xFF);
- }
- l++;
- if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen));
- soap->error = SOAP_LENGTH;
- return NULL;
- }
- }
- }
- }
-#endif
-#ifdef WITH_FAST
- soap->labidx = 0; /* use look-aside buffer */
-#else
- if (soap_new_block(soap))
- return NULL;
-#endif
- for (;;)
- {
-#ifdef WITH_FAST
- register size_t k;
- if (soap_append_lab(soap, NULL, 0)) /* allocate more space in look-aside buffer if necessary */
- return NULL;
- s = soap->labbuf + soap->labidx; /* space to populate */
- k = soap->lablen - soap->labidx; /* number of bytes available */
- soap->labidx = soap->lablen; /* claim this space */
-#else
- register size_t k = SOAP_BLKLEN;
- if (!(s = (char*)soap_push_block(soap, k)))
- return NULL;
-#endif
- for (i = 0; i < k; i++)
- { if (m > 0)
- { *s++ = *t++; /* copy multibyte characters */
- m--;
- continue;
- }
- if (soap->mode & SOAP_C_UTFSTRING)
- { if (((c = soap_get(soap)) & 0x80000000) && c >= -0x7FFFFF80 && c < SOAP_AP)
- { c &= 0x7FFFFFFF;
- t = buf;
- if (c < 0x0800)
- *t++ = (char)(0xC0 | ((c >> 6) & 0x1F));
- else
- { if (c < 0x010000)
- *t++ = (char)(0xE0 | ((c >> 12) & 0x0F));
- else
- { if (c < 0x200000)
- *t++ = (char)(0xF0 | ((c >> 18) & 0x07));
- else
- { if (c < 0x04000000)
- *t++ = (char)(0xF8 | ((c >> 24) & 0x03));
- else
- { *t++ = (char)(0xFC | ((c >> 30) & 0x01));
- *t++ = (char)(0x80 | ((c >> 24) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 18) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 12) & 0x3F));
- }
- *t++ = (char)(0x80 | ((c >> 6) & 0x3F));
- }
- *t++ = (char)(0x80 | (c & 0x3F));
- m = (int)(t - buf) - 1;
- t = buf;
- *s++ = *t++;
- continue;
- }
- }
- else
- c = soap_getutf8(soap);
- switch (c)
- {
- case SOAP_TT:
- if (n == 0)
- goto end;
- n--;
- *s++ = '<';
- t = (char*)"/";
- m = 1;
- break;
- case SOAP_LT:
- n++;
- *s++ = '<';
- break;
- case SOAP_GT:
- *s++ = '>';
- break;
- case SOAP_QT:
- *s++ = '"';
- break;
- case SOAP_AP:
- *s++ = '\'';
- break;
- case '/':
- if (n > 0)
- { c = soap_get(soap);
- if (c == SOAP_GT)
- n--;
- soap_unget(soap, c);
- }
- *s++ = '/';
- break;
- case '<' | 0x80000000:
- if (flag)
- *s++ = '<';
- else
- { *s++ = '&';
- t = (char*)"lt;";
- m = 3;
- }
- break;
- case '>' | 0x80000000:
- if (flag)
- *s++ = '>';
- else
- { *s++ = '&';
- t = (char*)"gt;";
- m = 3;
- }
- break;
- case '&' | 0x80000000:
- if (flag)
- *s++ = '&';
- else
- { *s++ = '&';
- t = (char*)"amp;";
- m = 4;
- }
- break;
- case '"' | 0x80000000:
- if (flag)
- *s++ = '"';
- else
- { *s++ = '&';
- t = (char*)"quot;";
- m = 5;
- }
- break;
- case '\'' | 0x80000000:
- if (flag)
- *s++ = '\'';
- else
- { *s++ = '&';
- t = (char*)"apos;";
- m = 5;
- }
- break;
- default:
- if ((int)c == EOF)
- goto end;
-#ifndef WITH_LEANER
-#ifdef HAVE_WCTOMB
- if (soap->mode & SOAP_C_MBSTRING)
- { m = wctomb(buf, c & 0x7FFFFFFF);
- if (m >= 1 && m <= (int)MB_CUR_MAX)
- { t = buf;
- *s++ = *t++;
- m--;
- }
- else
- { *s++ = SOAP_UNKNOWN_CHAR;
- m = 0;
- }
- }
- else
-#endif
-#endif
- *s++ = (char)(c & 0xFF);
- }
- l++;
- if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen));
- soap->error = SOAP_LENGTH;
- return NULL;
- }
- }
- }
-end:
- soap_unget(soap, c);
- *s = '\0';
-#ifdef WITH_FAST
- t = soap_strdup(soap, soap->labbuf);
-#else
- soap_size_block(soap, i+1);
- t = soap_save_block(soap, NULL, 0);
-#endif
- if ((soap->mode & SOAP_XML_STRICT) && l < minlen)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too short: %ld chars, minlen=%ld\n", l, minlen));
- soap->error = SOAP_LENGTH;
- return NULL;
- }
- if (flag == 2)
- if (soap_s2TQName(soap, t, &t))
- return NULL;
- if (soap->peeked && *soap->tag)
- { soap->peeked = 0;
- if (soap_element_end_in(soap, NULL))
- return NULL;
- }
- return t;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_wstring_out(struct soap *soap, const wchar_t *s, int flag)
-{ const char *t;
- char tmp;
- register soap_wchar c;
-#ifdef WITH_DOM
- if ((soap->mode & SOAP_XML_DOM) && soap->dom)
- { soap->dom->wide = NULL; /* soap_malloc() ??? */
- return SOAP_OK;
- }
-#endif
- while ((c = *s++))
- { switch (c)
- {
- case 9:
- if (flag)
- t = "&#x9;";
- else
- t = "\t";
- break;
- case 10:
- if (flag || !(soap->mode & SOAP_XML_CANONICAL))
- t = "&#xA;";
- else
- t = "\n";
- break;
- case 13:
- t = "&#xD;";
- break;
- case '&':
- t = "&amp;";
- break;
- case '<':
- t = "&lt;";
- break;
- case '>':
- if (flag)
- t = ">";
- else
- t = "&gt;";
- break;
- case '"':
- if (flag)
- t = "&quot;";
- else
- t = "\"";
- break;
- default:
- if (c > 0 && c < 0x80)
- { tmp = (char)c;
- if (soap_send_raw(soap, &tmp, 1))
- return soap->error;
- }
- else if (soap_pututf8(soap, (unsigned long)c))
- return soap->error;
- continue;
- }
- if (soap_send(soap, t))
- return soap->error;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-wchar_t *
-SOAP_FMAC2
-soap_wstring_in(struct soap *soap, int flag, long minlen, long maxlen)
-{ wchar_t *s;
- register int i, n = 0;
- register long l = 0;
- register soap_wchar c;
- const char *t = NULL;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Reading wide string content\n"));
- if (soap->peeked && *soap->tag)
- { n = 1;
- soap->peeked = 0;
- }
- if (soap_new_block(soap))
- return NULL;
- for (;;)
- { if (!(s = (wchar_t*)soap_push_block(soap, sizeof(wchar_t)*SOAP_BLKLEN)))
- return NULL;
- for (i = 0; i < SOAP_BLKLEN; i++)
- { if (t)
- { *s++ = (wchar_t)*t++;
- if (!*t)
- t = NULL;
- continue;
- }
- c = soap_getutf8(soap);
- switch (c)
- {
- case SOAP_TT:
- if (n == 0)
- goto end;
- n--;
- *s++ = '<';
- soap_unget(soap, '/');
- break;
- case SOAP_LT:
- n++;
- *s++ = '<';
- break;
- case SOAP_GT:
- *s++ = '>';
- break;
- case SOAP_QT:
- *s++ = '"';
- break;
- case SOAP_AP:
- *s++ = '\'';
- break;
- case '/':
- if (n > 0)
- { c = soap_getutf8(soap);
- if (c == SOAP_GT)
- n--;
- soap_unget(soap, c);
- }
- *s++ = '/';
- break;
- case '<':
- if (flag)
- *s++ = (soap_wchar)'<';
- else
- { *s++ = (soap_wchar)'&';
- t = "lt;";
- }
- break;
- case '>':
- if (flag)
- *s++ = (soap_wchar)'>';
- else
- { *s++ = (soap_wchar)'&';
- t = "gt;";
- }
- break;
- case '"':
- if (flag)
- *s++ = (soap_wchar)'"';
- else
- { *s++ = (soap_wchar)'&';
- t = "quot;";
- }
- break;
- default:
- if ((int)c == EOF)
- goto end;
- *s++ = (wchar_t)c & 0x7FFFFFFF;
- }
- l++;
- if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen));
- soap->error = SOAP_LENGTH;
- return NULL;
- }
- }
- }
-end:
- soap_unget(soap, c);
- *s = '\0';
- soap_size_block(soap, sizeof(wchar_t) * (i + 1));
- if ((soap->mode & SOAP_XML_STRICT) && l < minlen)
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too short: %ld chars, minlen=%ld\n", l, minlen));
- soap->error = SOAP_LENGTH;
- return NULL;
- }
- if (soap->peeked && *soap->tag)
- { soap->peeked = 0;
- if (soap_element_end_in(soap, NULL))
- return NULL;
- }
- return (wchar_t*)soap_save_block(soap, NULL, 0);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_int2s(struct soap *soap, int n)
-{ return soap_long2s(soap, (long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outint(struct soap *soap, const char *tag, int id, const int *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2int(struct soap *soap, const char *s, int *p)
-{ if (s)
- { char *r;
- *p = (int)soap_strtol(s, &r, 10);
- if (*r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- )
- soap->error = SOAP_TYPE;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int *
-SOAP_FMAC2
-soap_inint(struct soap *soap, const char *tag, int *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":int")
- && soap_match_tag(soap, soap->type, ":short")
- && soap_match_tag(soap, soap->type, ":byte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (int*)soap_id_enter(soap, soap->id, p, t, sizeof(int), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2int(soap, soap_value(soap), p))
- return NULL;
- }
- p = (int*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(int), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_long2s(struct soap *soap, long n)
-{ sprintf(soap->tmpbuf, "%ld", n);
- return soap->tmpbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outlong(struct soap *soap, const char *tag, int id, const long *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_long2s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2long(struct soap *soap, const char *s, long *p)
-{ if (s)
- { char *r;
- *p = soap_strtol(s, &r, 10);
- if (*r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- )
- soap->error = SOAP_TYPE;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-long *
-SOAP_FMAC2
-soap_inlong(struct soap *soap, const char *tag, long *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":int")
- && soap_match_tag(soap, soap->type, ":short")
- && soap_match_tag(soap, soap->type, ":byte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (long*)soap_id_enter(soap, soap->id, p, t, sizeof(long), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2long(soap, soap_value(soap), p))
- return NULL;
- }
- p = (long*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(long), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_LONG642s(struct soap *soap, LONG64 n)
-{ sprintf(soap->tmpbuf, SOAP_LONG_FORMAT, n);
- return soap->tmpbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outLONG64(struct soap *soap, const char *tag, int id, const LONG64 *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_LONG642s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2LONG64(struct soap *soap, const char *s, LONG64 *p)
-{
-#ifdef HAVE_STRTOLL
- char *r;
- if (s && ((*p = strtoll(s, &r, 10)), *r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- ))
-#else
-# ifdef HAVE_SSCANF
- if (s && sscanf(s, SOAP_LONG_FORMAT, p) != 1)
-# endif
-#endif
- soap->error = SOAP_TYPE;
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-LONG64 *
-SOAP_FMAC2
-soap_inLONG64(struct soap *soap, const char *tag, LONG64 *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":integer")
- && soap_match_tag(soap, soap->type, ":positiveInteger")
- && soap_match_tag(soap, soap->type, ":negativeInteger")
- && soap_match_tag(soap, soap->type, ":nonPositiveInteger")
- && soap_match_tag(soap, soap->type, ":nonNegativeInteger")
- && soap_match_tag(soap, soap->type, ":long")
- && soap_match_tag(soap, soap->type, ":int")
- && soap_match_tag(soap, soap->type, ":short")
- && soap_match_tag(soap, soap->type, ":byte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (LONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(LONG64), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2LONG64(soap, soap_value(soap), p))
- return NULL;
- }
- p = (LONG64*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(LONG64), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_byte2s(struct soap *soap, char n)
-{ return soap_long2s(soap, (long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outbyte(struct soap *soap, const char *tag, int id, const char *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2byte(struct soap *soap, const char *s, char *p)
-{ if (s)
- { long n;
- char *r;
- n = soap_strtol(s, &r, 10);
- if (*r || n < -128 || n > 127)
- soap->error = SOAP_TYPE;
- *p = (char)n;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_inbyte(struct soap *soap, const char *tag, char *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":byte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (char*)soap_id_enter(soap, soap->id, p, t, sizeof(char), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2byte(soap, soap_value(soap), p))
- return NULL;
- }
- p = (char*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(char), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_short2s(struct soap *soap, short n)
-{ return soap_long2s(soap, (long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outshort(struct soap *soap, const char *tag, int id, const short *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2short(struct soap *soap, const char *s, short *p)
-{ if (s)
- { long n;
- char *r;
- n = soap_strtol(s, &r, 10);
- if (*r || n < -32768 || n > 32767)
- soap->error = SOAP_TYPE;
- *p = (short)n;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-short *
-SOAP_FMAC2
-soap_inshort(struct soap *soap, const char *tag, short *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":short")
- && soap_match_tag(soap, soap->type, ":byte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (short*)soap_id_enter(soap, soap->id, p, t, sizeof(short), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2short(soap, soap_value(soap), p))
- return NULL;
- }
- p = (short*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(short), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_float2s(struct soap *soap, float n)
-{ const char *s;
- if (soap_isnan((double)n))
- s = "NaN";
- else if (soap_ispinff(n))
- s = "INF";
- else if (soap_isninff(n))
- s = "-INF";
- else
- { sprintf(soap->tmpbuf, soap->float_format, n);
- s = soap->tmpbuf;
- }
- return s;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outfloat(struct soap *soap, const char *tag, int id, const float *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_float2s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2float(struct soap *soap, const char *s, float *p)
-{ if (s)
- { if (!soap_tag_cmp(s, "INF"))
- *p = FLT_PINFTY;
- else if (!soap_tag_cmp(s, "+INF"))
- *p = FLT_PINFTY;
- else if (!soap_tag_cmp(s, "-INF"))
- *p = FLT_NINFTY;
- else if (!soap_tag_cmp(s, "NaN"))
- *p = FLT_NAN;
- else
- {
-#if defined(HAVE_STRTOF)
- char *r;
- *p = strtof((char*)s, &r);
- if (*r)
-#elif defined(HAVE_STRTOD)
- char *r;
- *p = (float)strtod(s, &r);
- if (*r)
-#endif
-#ifdef HAVE_SSCANF
- if (sscanf(s, "%g", p) != 1)
- soap->error = SOAP_TYPE;
-#else
- soap->error = SOAP_TYPE;
-#endif
- }
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-static int soap_isnumeric(struct soap *soap, const char *type)
-{ if (soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":float")
- && soap_match_tag(soap, soap->type, ":double")
- && soap_match_tag(soap, soap->type, ":decimal")
- && soap_match_tag(soap, soap->type, ":integer")
- && soap_match_tag(soap, soap->type, ":positiveInteger")
- && soap_match_tag(soap, soap->type, ":negativeInteger")
- && soap_match_tag(soap, soap->type, ":nonPositiveInteger")
- && soap_match_tag(soap, soap->type, ":nonNegativeInteger")
- && soap_match_tag(soap, soap->type, ":long")
- && soap_match_tag(soap, soap->type, ":int")
- && soap_match_tag(soap, soap->type, ":short")
- && soap_match_tag(soap, soap->type, ":byte")
- && soap_match_tag(soap, soap->type, ":unsignedLong")
- && soap_match_tag(soap, soap->type, ":unsignedInt")
- && soap_match_tag(soap, soap->type, ":unsignedShort")
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return SOAP_ERR;
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-float *
-SOAP_FMAC2
-soap_infloat(struct soap *soap, const char *tag, float *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type != '\0' && soap_isnumeric(soap, type))
- return NULL;
-#endif
- p = (float*)soap_id_enter(soap, soap->id, p, t, sizeof(float), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2float(soap, soap_value(soap), p))
- return NULL;
- }
- p = (float*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(float), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_double2s(struct soap *soap, double n)
-{ const char *s;
- if (soap_isnan(n))
- s = "NaN";
- else if (soap_ispinfd(n))
- s = "INF";
- else if (soap_isninfd(n))
- s = "-INF";
- else
- { sprintf(soap->tmpbuf, soap->double_format, n);
- s = soap->tmpbuf;
- }
- return s;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outdouble(struct soap *soap, const char *tag, int id, const double *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_double2s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2double(struct soap *soap, const char *s, double *p)
-{ if (s)
- { if (!soap_tag_cmp(s, "INF"))
- *p = DBL_PINFTY;
- else if (!soap_tag_cmp(s, "+INF"))
- *p = DBL_PINFTY;
- else if (!soap_tag_cmp(s, "-INF"))
- *p = DBL_NINFTY;
- else if (!soap_tag_cmp(s, "NaN"))
- *p = DBL_NAN;
- else
- {
-#ifdef HAVE_STRTOD
- char *r;
- *p = strtod(s, &r);
- if (*r)
-#endif
-#ifdef HAVE_SSCANF
- if (sscanf(s, "%lg", p) != 1)
- soap->error = SOAP_TYPE;
-#else
- soap->error = SOAP_TYPE;
-#endif
- }
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-double *
-SOAP_FMAC2
-soap_indouble(struct soap *soap, const char *tag, double *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type != '\0' && soap_isnumeric(soap, type))
- return NULL;
-#endif
- p = (double*)soap_id_enter(soap, soap->id, p, t, sizeof(double), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2double(soap, soap_value(soap), p))
- return NULL;
- }
- p = (double*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(double), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_unsignedByte2s(struct soap *soap, unsigned char n)
-{ return soap_unsignedLong2s(soap, (unsigned long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outunsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2unsignedByte(struct soap *soap, const char *s, unsigned char *p)
-{ if (s)
- { unsigned long n;
- char *r;
- n = soap_strtoul(s, &r, 10);
- if (*r || n > 255)
- soap->error = SOAP_TYPE;
- *p = (unsigned char)n;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-unsigned char *
-SOAP_FMAC2
-soap_inunsignedByte(struct soap *soap, const char *tag, unsigned char *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (unsigned char*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned char), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2unsignedByte(soap, soap_value(soap), p))
- return NULL;
- }
- p = (unsigned char*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned char), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_unsignedShort2s(struct soap *soap, unsigned short n)
-{ return soap_unsignedLong2s(soap, (unsigned long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outunsignedShort(struct soap *soap, const char *tag, int id, const unsigned short *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2unsignedShort(struct soap *soap, const char *s, unsigned short *p)
-{ if (s)
- { unsigned long n;
- char *r;
- n = soap_strtoul(s, &r, 10);
- if (*r || n > 65535)
- soap->error = SOAP_TYPE;
- *p = (unsigned short)n;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-unsigned short *
-SOAP_FMAC2
-soap_inunsignedShort(struct soap *soap, const char *tag, unsigned short *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":unsignedShort")
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (unsigned short*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned short), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2unsignedShort(soap, soap_value(soap), p))
- return NULL;
- }
- p = (unsigned short*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned short), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_unsignedInt2s(struct soap *soap, unsigned int n)
-{ return soap_unsignedLong2s(soap, (unsigned long)n);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outunsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2unsignedInt(struct soap *soap, const char *s, unsigned int *p)
-{ if (s)
- { char *r;
- *p = (unsigned int)soap_strtoul(s, &r, 10);
- if (*r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- )
- soap->error = SOAP_TYPE;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-unsigned int *
-SOAP_FMAC2
-soap_inunsignedInt(struct soap *soap, const char *tag, unsigned int *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":unsignedInt")
- && soap_match_tag(soap, soap->type, ":unsignedShort")
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (unsigned int*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned int), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2unsignedInt(soap, soap_value(soap), p))
- return NULL;
- }
- p = (unsigned int*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned int), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_unsignedLong2s(struct soap *soap, unsigned long n)
-{ sprintf(soap->tmpbuf, "%lu", n);
- return soap->tmpbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outunsignedLong(struct soap *soap, const char *tag, int id, const unsigned long *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_unsignedLong2s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2unsignedLong(struct soap *soap, const char *s, unsigned long *p)
-{ if (s)
- { char *r;
- *p = soap_strtoul(s, &r, 10);
- if (*r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- )
- soap->error = SOAP_TYPE;
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-unsigned long *
-SOAP_FMAC2
-soap_inunsignedLong(struct soap *soap, const char *tag, unsigned long *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
-#ifndef WITH_LEAN
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":unsignedInt")
- && soap_match_tag(soap, soap->type, ":unsignedShort")
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
-#endif
- p = (unsigned long*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned long), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2unsignedLong(soap, soap_value(soap), p))
- return NULL;
- }
- p = (unsigned long*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned long), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_ULONG642s(struct soap *soap, ULONG64 n)
-{ sprintf(soap->tmpbuf, SOAP_ULONG_FORMAT, n);
- return soap->tmpbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outULONG64(struct soap *soap, const char *tag, int id, const ULONG64 *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_ULONG642s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2ULONG64(struct soap *soap, const char *s, ULONG64 *p)
-{
-#ifdef HAVE_STRTOULL
- char *r;
- if (s && (*p = strtoull(s, &r, 10), *r
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- || soap_errno == SOAP_ERANGE
-#endif
-#endif
- ))
-#else
-# ifdef HAVE_SSCANF
- if (s && sscanf(s, SOAP_ULONG_FORMAT, p) != 1)
-# endif
-#endif
- soap->error = SOAP_TYPE;
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-ULONG64 *
-SOAP_FMAC2
-soap_inULONG64(struct soap *soap, const char *tag, ULONG64 *p, const char *type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":positiveInteger")
- && soap_match_tag(soap, soap->type, ":nonNegativeInteger")
- && soap_match_tag(soap, soap->type, ":unsignedLong")
- && soap_match_tag(soap, soap->type, ":unsignedInt")
- && soap_match_tag(soap, soap->type, ":unsignedShort")
- && soap_match_tag(soap, soap->type, ":unsignedByte"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
- p = (ULONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(ULONG64), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2ULONG64(soap, soap_value(soap), p))
- return NULL;
- }
- p = (ULONG64*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(ULONG64), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2string(struct soap *soap, const char *s, char **t)
-{ *t = NULL;
- if (s && !(*t = soap_strdup(soap, s)))
- soap->error = SOAP_EOM;
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2TQName(struct soap *soap, const char *s, char **t)
-{ if (s)
- { struct soap_nlist *np;
- const char *p;
- if (!strncmp(s, "xml:", 4))
- { *t = soap_strdup(soap, s);
- return SOAP_OK;
- }
- np = soap->nlist;
- p = strchr(s, ':');
- if (p)
- { register int n = p - s;
- while (np && (strncmp(np->id, s, n) || np->id[n]))
- np = np->next;
- p++;
- }
- else
- { while (np && *np->id)
- np = np->next;
- p = s;
- }
- if (np)
- { if (np->index >= 0 && soap->local_namespaces)
- { register const char *q = soap->local_namespaces[np->index].id;
- if (q)
- { if ((*t = (char*)soap_malloc(soap, strlen(p) + strlen(q) + 2)))
- sprintf(*t, "%s:%s", q, p);
- return SOAP_OK;
- }
- }
- if (np->ns)
- { if ((*t = (char*)soap_malloc(soap, strlen(p) + strlen(np->ns) + 4)))
- sprintf(*t, "\"%s\":%s", np->ns, p);
- return SOAP_OK;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Namespace prefix of '%s' not defined (index=%d, URI=%s)\n", s, np->index, np->ns?np->ns:""));
- return soap->error = SOAP_NAMESPACE;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Namespace prefix of '%s' not defined, assuming empty namespace\n", s));
- if ((*t = (char*)soap_malloc(soap, strlen(p) + 4)))
- sprintf(*t, "\"\":%s", p);
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_TQName2s(struct soap *soap, const char *s)
-{ struct Namespace *p;
- char *t;
- int n;
- if (!s || *s != '"')
- return s;
- s++;
- if ((p = soap->local_namespaces))
- { for (; p->id; p++)
- { if (p->ns)
- if (!soap_tag_cmp(s, p->ns))
- break;
- if (p->in)
- if (!soap_tag_cmp(s, p->in))
- break;
- }
- if (p && p->id)
- { s = strchr(s, '"');
- if (s)
- { t = (char*)soap_malloc(soap, strlen(p->id) + strlen(s));
- strcpy(t, p->id);
- strcat(t, s + 1);
- return t;
- }
- }
- }
- t = const_cast<char*>(strchr(s, '"'));
- if (t)
- n = t - s;
- else
- n = 0;
- t = soap_strdup(soap, s);
- t[n] = '\0';
- sprintf(soap->tmpbuf, "xmlns:_%lu", soap->idnum++);
- soap_set_attr(soap, soap->tmpbuf, t);
- s = strchr(s, '"');
- if (s)
- { t = (char*)soap_malloc(soap, strlen(soap->tmpbuf) + strlen(s) - 6);
- strcpy(t, soap->tmpbuf + 6);
- strcat(t, s + 1);
- }
- return t;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outstring(struct soap *soap, const char *tag, int id, char *const*p, const char *type, int n)
-{ id = soap_element_id(soap, tag, id, *p, NULL, 0, type, n);
- if (id < 0
- || soap_element_begin_out(soap, tag, id, type)
- || soap_string_out(soap, *p, 0)
- || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char **
-SOAP_FMAC2
-soap_instring(struct soap *soap, const char *tag, char **p, const char *type, int t, int flag, long minlen, long maxlen)
-{ if (soap_element_begin_in(soap, tag, 1))
- { if (!tag || *tag != '-' || soap->error != SOAP_NO_TAG)
- return NULL;
- soap->error = SOAP_OK;
- }
- if (!p)
- if (!(p = (char**)soap_malloc(soap, sizeof(char*))))
- return NULL;
- if (soap->body)
- { *p = soap_string_in(soap, flag, minlen, maxlen);
- if (!*p || !(char*)soap_id_enter(soap, soap->id, *p, t, sizeof(char*), 0, NULL, NULL, NULL))
- return NULL;
- }
- else
- *p = NULL;
- p = (char**)soap_id_lookup(soap, soap->href, (void**)p, t, sizeof(char**), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outwstring(struct soap *soap, const char *tag, int id, wchar_t *const*p, const char *type, int n)
-{ id = soap_element_id(soap, tag, id, *p, NULL, 0, type, n);
- if (id < 0
- || soap_element_begin_out(soap, tag, id, type)
- || soap_wstring_out(soap, *p, 0)
- || soap_element_end_out(soap, tag))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-wchar_t **
-SOAP_FMAC2
-soap_inwstring(struct soap *soap, const char *tag, wchar_t **p, const char *type, int t, long minlen, long maxlen)
-{ if (soap_element_begin_in(soap, tag, 1))
- { if (!tag || *tag != '-' || soap->error != SOAP_NO_TAG)
- return NULL;
- soap->error = SOAP_OK;
- }
- if (!p)
- if (!(p = (wchar_t**)soap_malloc(soap, sizeof(wchar_t*))))
- return NULL;
- if (soap->body)
- { *p = soap_wstring_in(soap, 1, minlen, maxlen);
- if (!*p || !(wchar_t*)soap_id_enter(soap, soap->id, *p, t, sizeof(wchar_t*), 0, NULL, NULL, NULL))
- return NULL;
- }
- else
- *p = NULL;
- p = (wchar_t**)soap_id_lookup(soap, soap->href, (void**)p, t, sizeof(wchar_t**), 0);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-static time_t
-soap_timegm(struct tm *T)
-{
-#if defined(HAVE_TIMEGM)
- return timegm(T);
-#elif defined(HAVE_GETTIMEOFDAY)
- struct timezone t;
- struct timeval tv;
- memset((void*)&t, 0, sizeof(t));
- gettimeofday(&tv, &t);
- T->tm_min -= t.tz_minuteswest - (t.tz_dsttime != 0)*60;
- T->tm_isdst = t.tz_dsttime;
- return mktime(T);
- /* The following define was added for VxWorks*/
-#elif defined(HAVE_MKTIME)
- /* FOR VXWORKS:
- vxWorks does not seem to have any variable representation of time zones, but
- timezone information can be set in INSTALL_DIR/target/h/private/timeP.h header
- file, by setting the ZONEBUFFER define. The ZONEBUFFER define follows this
- format:
- name_of_zone:<(unused)>:time_in_minutes_from_UTC:daylight_start:daylight_end
- To calculate local time, the value of time_in_minutes_from_UTC is subtracted
- from UTC; time_in_minutes_from_UTC must be positive. Daylight information is
- expressed as mmddhh (month-day-hour), for example:
- UTC::0:040102:100102
- */
- return mktime(T);
-#elif defined(HAVE_FTIME)
- struct timeb t;
- memset((void*)&t, 0, sizeof(t));
- t.timezone = 0;
- t.dstflag = -1;
- ftime(&t);
- T->tm_min -= t.timezone - (t.dstflag != 0)*60;
- T->tm_isdst = (t.dstflag != 0);
- return mktime(T);
-#else
-#warning "time_t (de)serialization is not MT safe on this platform"
- time_t t;
- char *tz = getenv("TZ");
- putenv("TZ=UTC");
- tzset();
- t = mktime(T);
- if (tz)
- { char tmp[16];
- strcpy(tmp, "TZ=");
- strncat(tmp, tz, 12);
- tmp[15] = '\0';
- putenv(tmp);
- }
- else
- putenv("TZ=");
- tzset();
- return t;
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_dateTime2s(struct soap *soap, time_t n)
-{ struct tm T, *pT = &T;
-#if defined(HAVE_GMTIME_R)
- if (gmtime_r(&n, pT))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT);
- /* The following defines were added for VxWorks*/
-#elif defined(HAVE_PGMTIME_R)
- if (gmtime_r(&n, pT))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT);
-#elif defined(HAVE_PGMTIME)
- if (gmtime(&n, pT))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT);
-#elif defined(HAVE_GMTIME)
- if ((pT = gmtime(&n)))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT);
-#elif defined(HAVE_GETTIMEOFDAY)
- struct timezone tz;
- memset((void*)&tz, 0, sizeof(tz));
-# if defined(HAVE_LOCALTIME_R)
- if (localtime_r(&n, pT))
- { struct timeval tv;
- gettimeofday(&tv, &tz);
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -tz.tz_minuteswest/60+(pT->tm_isdst!=0), abs(tz.tz_minuteswest)%60);
- }
-# else
- if ((pT = localtime(&n)))
- { struct timeval tv;
- gettimeofday(&tv, &tz);
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -tz.tz_minuteswest/60+(pT->tm_isdst!=0), abs(tz.tz_minuteswest)%60);
- }
-#endif
-#elif defined(HAVE_FTIME)
- struct timeb t;
- memset((void*)&t, 0, sizeof(t));
-# if defined(HAVE_LOCALTIME_R)
- if (localtime_r(&n, pT))
- { ftime(&t);
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -t.timezone/60+(pT->tm_isdst!=0), abs(t.timezone)%60);
- }
- /* The following defines were added for VxWorks*/
-# elif defined(HAVE_PLOCALTIME_R)
- if (localtime_r(&n, pT))
- { strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- sprintf(soap->tmpbuf+strlen(soap->tmpbuf), "%+03d:%02d", t.timezone/60, abs(t.timezone)%60);
- }
-# else
- if ((pT = localtime(&n)))
- { ftime(&t);
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -t.timezone/60+(pT->tm_isdst!=0), abs(t.timezone)%60);
- }
-# endif
-#elif defined(HAVE_LOCALTIME_R)
- if (localtime_r(&n, pT))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
- /* The following defines were added for VxWorks*/
-#elif defined(HAVE_PLOCALTIME_R)
- if (localtime_r(&n, pT))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
-#else
- if ((pT = localtime(&n)))
- strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT);
-#endif
- else
- strcpy(soap->tmpbuf, "1969-12-31T23:59:59Z");
- return soap->tmpbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outdateTime(struct soap *soap, const char *tag, int id, const time_t *p, const char *type, int n)
-{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
- || soap_string_out(soap, soap_dateTime2s(soap, *p), 0))
- return soap->error;
- return soap_element_end_out(soap, tag);
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_s2dateTime(struct soap *soap, const char *s, time_t *p)
-{ if (s)
- { struct tm T;
- char zone[16];
- memset((void*)&T, 0, sizeof(T));
- zone[sizeof(zone)-1] = '\0';
- sscanf(s, "%d-%d-%dT%d:%d:%d%15s", &T.tm_year, &T.tm_mon, &T.tm_mday, &T.tm_hour, &T.tm_min, &T.tm_sec, zone);
- if (T.tm_year == 1)
- T.tm_year = 70;
- else
- T.tm_year -= 1900;
- T.tm_mon--;
- if (*zone)
- { if (*zone == '.')
- { for (s = zone + 1; *s; s++)
- if (*s < '0' || *s > '9')
- break;
- }
- else
- s = zone;
- if (*s == '+' || *s == '-')
- { int h = 0, m = 0;
- if (s[3] == ':')
- { sscanf(s, "%d:%d", &h, &m);
- if (h < 0)
- m = -m;
- }
- else
- { m = (int)atol(s);
- h = m / 100;
- m = m % 100;
- }
- T.tm_hour -= h;
- T.tm_min -= m;
- }
- *p = soap_timegm(&T);
- }
- else
- *p = mktime(&T); /* no time zone: suppose it is localtime? */
- }
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-time_t *
-SOAP_FMAC2
-soap_indateTime(struct soap *soap, const char *tag, time_t *p, const char * type, int t)
-{ if (soap_element_begin_in(soap, tag, 0))
- return NULL;
- if (*soap->type
- && soap_match_tag(soap, soap->type, type)
- && soap_match_tag(soap, soap->type, ":dateTime"))
- { soap->error = SOAP_TYPE;
- soap_revert(soap);
- return NULL;
- }
- p = (time_t*)soap_id_enter(soap, soap->id, p, t, sizeof(time_t), 0, NULL, NULL, NULL);
- if (p)
- { if (soap_s2dateTime(soap, soap_value(soap), p))
- return NULL;
- }
- p = (time_t*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(time_t), 0, NULL);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outliteral(struct soap *soap, const char *tag, char *const*p)
-{ int i;
- const char *t = NULL;
- if (tag && *tag != '-')
- { if (soap->local_namespaces && (t = strchr(tag, ':')))
- { strncpy(soap->tmpbuf, tag, t-tag);
- soap->tmpbuf[t-tag] = '\0';
- for (i = 0; soap->local_namespaces[i].id; i++)
- if (!strcmp(soap->tmpbuf, soap->local_namespaces[i].id))
- break;
- t++;
- sprintf(soap->tmpbuf, "<%s xmlns=\"%s\">", t, soap->local_namespaces[i].ns ? soap->local_namespaces[i].ns : SOAP_STR_EOS);
- }
- else
- { t = tag;
- sprintf(soap->tmpbuf, "<%s>", tag);
- }
- if (soap_send(soap, soap->tmpbuf))
- return soap->error;
- }
- if (p && *p)
- { if (soap_send(soap, *p))
- return soap->error;
- }
- if (t)
- { sprintf(soap->tmpbuf, "</%s>", t);
- return soap_send(soap, soap->tmpbuf);
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-char **
-SOAP_FMAC2
-soap_inliteral(struct soap *soap, const char *tag, char **p)
-{ if (soap_element_begin_in(soap, tag, 1))
- { if (soap->error != SOAP_NO_TAG || soap_unget(soap, soap_get(soap)) == SOAP_TT)
- return NULL;
- soap->error = SOAP_OK;
- }
- if (!p)
- if (!(p = (char**)soap_malloc(soap, sizeof(char*))))
- return NULL;
- if (soap->null)
- *p = NULL;
- else
- *p = soap_string_in(soap, 0, -1, -1);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_outwliteral(struct soap *soap, const char *tag, wchar_t *const*p)
-{ int i;
- const char *t = NULL;
- wchar_t c;
- const wchar_t *s;
- if (tag && *tag != '-')
- { if (soap->local_namespaces && (t = strchr(tag, ':')))
- { strncpy(soap->tmpbuf, tag, t-tag);
- soap->tmpbuf[t-tag] = '\0';
- for (i = 0; soap->local_namespaces[i].id; i++)
- if (!strcmp(soap->tmpbuf, soap->local_namespaces[i].id))
- break;
- t++;
- sprintf(soap->tmpbuf, "<%s xmlns=\"%s\">", t, soap->local_namespaces[i].ns ? soap->local_namespaces[i].ns : SOAP_STR_EOS);
- }
- else
- { t = tag;
- sprintf(soap->tmpbuf, "<%s>", tag);
- }
- if (soap_send(soap, soap->tmpbuf))
- return soap->error;
- }
- if (p)
- { s = *p;
- while ((c = *s++))
- if (soap_pututf8(soap, (unsigned char)c))
- return soap->error;
- }
- if (t)
- { sprintf(soap->tmpbuf, "</%s>", t);
- return soap_send(soap, soap->tmpbuf);
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_2
-SOAP_FMAC1
-wchar_t **
-SOAP_FMAC2
-soap_inwliteral(struct soap *soap, const char *tag, wchar_t **p)
-{ if (soap_element_begin_in(soap, tag, 1))
- { if (soap->error != SOAP_NO_TAG || soap_unget(soap, soap_get(soap)) == SOAP_TT)
- return NULL;
- soap->error = SOAP_OK;
- }
- if (!p)
- if (!(p = (wchar_t**)soap_malloc(soap, sizeof(wchar_t*))))
- return NULL;
- if (soap->null)
- *p = NULL;
- else
- *p = soap_wstring_in(soap, 0, -1, -1);
- if (soap->body && soap_element_end_in(soap, tag))
- return NULL;
- return p;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char *
-SOAP_FMAC2
-soap_token(struct soap *soap)
-{ register size_t i;
- register soap_wchar c = 0;
- register char *s = soap->tmpbuf;
- if (!soap->body)
- return SOAP_STR_EOS;
- do c = soap_get(soap);
- while (soap_blank(c));
- for (i = 0; i < sizeof(soap->tmpbuf) - 1; i++)
- { if (c == SOAP_TT || (int)c == EOF || soap_blank(c))
- break;
- *s++ = (char)c;
- c = soap_get(soap);
- }
- if ((int)c == EOF || c == SOAP_TT)
- soap_unget(soap, c);
- *s = '\0';
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element content value='%s'\n", soap->tmpbuf));
- return soap->tmpbuf; /* return non-null pointer */
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-const char *
-SOAP_FMAC2
-soap_value(struct soap *soap)
-{ register size_t i;
- register soap_wchar c = 0;
- register char *s = soap->tmpbuf;
- if (!soap->body)
- return SOAP_STR_EOS;
- do c = soap_get(soap);
- while (soap_blank(c));
- for (i = 0; i < sizeof(soap->tmpbuf) - 1; i++)
- { if (c == SOAP_TT || (int)c == EOF)
- break;
- *s++ = (char)c;
- c = soap_get(soap);
- }
- for (s--; i > 0; i--, s--)
- if (!soap_blank(*s))
- break;
- s[1] = '\0';
- if ((int)c == EOF || c == SOAP_TT)
- soap_unget(soap, c);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element content value='%s'\n", soap->tmpbuf));
- return soap->tmpbuf; /* return non-null pointer */
-}
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_LEANER) || !defined(WITH_NOHTTP)
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getline(struct soap *soap, char *s, int len)
-{ int i = len;
- soap_wchar c = 0;
- for (;;)
- { while (--i > 0)
- { c = soap_getchar(soap);
- if (c == '\r' || c == '\n')
- break;
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- *s++ = (char)c;
- }
- if (c != '\n')
- c = soap_getchar(soap); /* got \r, now get \n */
- if (c == '\n')
- { *s = '\0';
- if (i+1 == len) /* empty line: end of HTTP/MIME header */
- break;
- c = soap_unget(soap, soap_getchar(soap));
- if (c != ' ' && c != '\t') /* HTTP line continuation? */
- break;
- }
- else if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static size_t
-soap_count_attachments(struct soap *soap)
-{
-#ifndef WITH_LEANER
- register struct soap_multipart *content;
- register size_t count = soap->count;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the message size with attachments, current count=%lu\n", count));
- if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the size of DIME attachments\n"));
- for (content = soap->dime.first; content; content = content->next)
- { count += 12 + ((content->size+3)&(~3));
- if (content->id)
- count += ((strlen(content->id)+3)&(~3));
- if (content->type)
- count += ((strlen(content->type)+3)&(~3));
- if (content->options)
- count += ((((unsigned char)content->options[2] << 8) | ((unsigned char)content->options[3]))+7)&(~3);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Size of DIME attachment content is %lu bytes\n", (unsigned long)content->size));
- }
- }
- if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary)
- { register size_t n = strlen(soap->mime.boundary);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the size of MIME attachments\n"));
- for (content = soap->mime.first; content; content = content->next)
- { register const char *s;
- /* count \r\n--boundary\r\n */
- count += 6 + n;
- /* count Content-Type: ...\r\n */
- if (content->type)
- count += 16 + strlen(content->type);
- /* count Content-Transfer-Encoding: ...\r\n */
- s = soap_str_code(mime_codes, content->encoding);
- if (s)
- count += 29 + strlen(s);
- /* count Content-ID: ...\r\n */
- if (content->id)
- count += 14 + strlen(content->id);
- /* count Content-Location: ...\r\n */
- if (content->location)
- count += 20 + strlen(content->location);
- /* count Content-Description: ...\r\n */
- if (content->description)
- count += 23 + strlen(content->location);
- /* count \r\n...content */
- count += 2 + content->size;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Size of MIME attachment content is %lu bytes\n", (unsigned long)content->size));
- }
- /* count \r\n--boundary-- */
- count += 6 + n;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "New count is %lu bytes\n", (unsigned long)count));
- return count;
-#else
- return soap->count;
-#endif
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static int
-soap_putdimefield(struct soap *soap, const char *s, size_t n)
-{ if (soap_send_raw(soap, s, n))
- return soap->error;
- return soap_send_raw(soap, SOAP_STR_PADDING, -(long)n&3);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_dime_option(struct soap *soap, unsigned short optype, const char *option)
-{ size_t n;
- char *s = NULL;
- if (option)
- { n = strlen(option);
- s = (char*)soap_malloc(soap, n + 5);
- if (s)
- { s[0] = optype >> 8;
- s[1] = optype & 0xFF;
- s[2] = n >> 8;
- s[3] = n & 0xFF;
- strcpy(s + 4, option);
- }
- }
- return s;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putdimehdr(struct soap *soap)
-{ unsigned char tmp[12];
- size_t optlen = 0, idlen = 0, typelen = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Put DIME header id='%s'\n", soap->dime.id?soap->dime.id:""));
- if (soap->dime.options)
- optlen = (((unsigned char)soap->dime.options[2] << 8) | ((unsigned char)soap->dime.options[3])) + 4;
- if (soap->dime.id)
- idlen = strlen(soap->dime.id);
- if (soap->dime.type)
- typelen = strlen(soap->dime.type);
- tmp[0] = SOAP_DIME_VERSION | (soap->dime.flags & 0x7);
- tmp[1] = soap->dime.flags & 0xF0;
- tmp[2] = optlen >> 8;
- tmp[3] = optlen & 0xFF;
- tmp[4] = idlen >> 8;
- tmp[5] = idlen & 0xFF;
- tmp[6] = typelen >> 8;
- tmp[7] = typelen & 0xFF;
- tmp[8] = soap->dime.size >> 24;
- tmp[9] = (soap->dime.size >> 16) & 0xFF;
- tmp[10] = (soap->dime.size >> 8) & 0xFF;
- tmp[11] = soap->dime.size & 0xFF;
- if (soap_send_raw(soap, (char*)tmp, 12)
- || soap_putdimefield(soap, soap->dime.options, optlen)
- || soap_putdimefield(soap, soap->dime.id, idlen)
- || soap_putdimefield(soap, soap->dime.type, typelen))
- return soap->error;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putdime(struct soap *soap)
-{ struct soap_multipart *content;
- if (!(soap->mode & SOAP_ENC_DIME))
- return SOAP_OK;
- for (content = soap->dime.first; content; content = content->next)
- { void *handle;
- soap->dime.size = content->size;
- soap->dime.id = content->id;
- soap->dime.type = content->type;
- soap->dime.options = content->options;
- soap->dime.flags = SOAP_DIME_VERSION | SOAP_DIME_MEDIA;
- if (soap->fdimereadopen && ((handle = soap->fdimereadopen(soap, (void*)content->ptr, content->id, content->type, content->options)) || soap->error))
- { size_t size = content->size;
- if (!handle)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadopen failed\n"));
- return soap->error;
- }
- if (!content->size && ((soap->mode & SOAP_ENC_XML) || (soap->mode & SOAP_IO) == SOAP_IO_CHUNK || (soap->mode & SOAP_IO) == SOAP_IO_STORE))
- { size_t chunksize = sizeof(soap->tmpbuf);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Chunked streaming DIME\n"));
- do
- { size = soap->fdimeread(soap, handle, soap->tmpbuf, chunksize);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimeread returned %lu bytes\n", (unsigned long)size));
- if (size < chunksize)
- { soap->dime.flags &= ~SOAP_DIME_CF;
- if (!content->next)
- soap->dime.flags |= SOAP_DIME_ME;
- }
- else
- soap->dime.flags |= SOAP_DIME_CF;
- soap->dime.size = size;
- if (soap_putdimehdr(soap)
- || soap_putdimefield(soap, soap->tmpbuf, size))
- break;
- if (soap->dime.id)
- { soap->dime.flags &= ~(SOAP_DIME_MB | SOAP_DIME_MEDIA);
- soap->dime.id = NULL;
- soap->dime.type = NULL;
- soap->dime.options = NULL;
- }
- } while (size >= chunksize);
- }
- else
- { if (!content->next)
- soap->dime.flags |= SOAP_DIME_ME;
- if (soap_putdimehdr(soap))
- return soap->error;
- do
- { size_t bufsize;
- if (size < sizeof(soap->tmpbuf))
- bufsize = size;
- else
- bufsize = sizeof(soap->tmpbuf);
- if (!(bufsize = soap->fdimeread(soap, handle, soap->tmpbuf, bufsize)))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimeread failed: insufficient data (%lu bytes remaining from %lu bytes)\n", (unsigned long)size, (unsigned long)soap->dime.size));
- soap->error = SOAP_EOF;
- break;
- }
- if (soap_send_raw(soap, soap->tmpbuf, bufsize))
- break;
- size -= bufsize;
- } while (size);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadclose\n"));
- soap_send_raw(soap, SOAP_STR_PADDING, -(long)soap->dime.size&3);
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadclose\n"));
- if (soap->fdimereadclose)
- soap->fdimereadclose(soap, handle);
- }
- else
- { if (!content->next)
- soap->dime.flags |= SOAP_DIME_ME;
- if (soap_putdimehdr(soap)
- || soap_putdimefield(soap, (char*)content->ptr, content->size))
- return soap->error;
- }
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static char *
-soap_getdimefield(struct soap *soap, size_t n)
-{ register soap_wchar c;
- register int i;
- register char *s;
- char *p = NULL;
- if (n)
- { p = (char*)soap_malloc(soap, n + 1);
- if (p)
- { s = p;
- for (i = n; i > 0; i--)
- { if ((int)(c = soap_get1(soap)) == EOF)
- { soap->error = SOAP_EOF;
- return NULL;
- }
- *s++ = (char)c;
- }
- *s = '\0';
- if ((soap->error = soap_move(soap, -(long)n&3)))
- return NULL;
- }
- else
- soap->error = SOAP_EOM;
- }
- return p;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getdimehdr(struct soap *soap)
-{ register soap_wchar c;
- register char *s;
- register int i;
- unsigned char tmp[12];
- size_t optlen, idlen, typelen;
- if (!(soap->mode & SOAP_ENC_DIME))
- return soap->error = SOAP_DIME_END;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME header\n"));
- if (soap->dime.buflen || soap->dime.chunksize)
- { if (soap_move(soap, (long)(soap->dime.size - soap_tell(soap))))
- return soap->error = SOAP_EOF;
- soap_unget(soap, soap_getchar(soap)); /* skip padding and get hdr */
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "... From chunked\n"));
- return SOAP_OK;
- }
- s = (char*)tmp;
- for (i = 12; i > 0; i--)
- { if ((int)(c = soap_getchar(soap)) == EOF)
- return soap->error = SOAP_EOF;
- *s++ = (char)c;
- }
- if ((tmp[0] & 0xF8) != SOAP_DIME_VERSION)
- return soap->error = SOAP_DIME_MISMATCH;
- soap->dime.flags = (tmp[0] & 0x7) | (tmp[1] & 0xF0);
- optlen = (tmp[2] << 8) | tmp[3];
- idlen = (tmp[4] << 8) | tmp[5];
- typelen = (tmp[6] << 8) | tmp[7];
- soap->dime.size = (tmp[8] << 24) | (tmp[9] << 16) | (tmp[10] << 8) | tmp[11];
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME size=%lu flags=0x%X\n", (unsigned long)soap->dime.size, soap->dime.flags));
- if (!(soap->dime.options = soap_getdimefield(soap, optlen)) && soap->error)
- return soap->error;
- if (!(soap->dime.id = soap_getdimefield(soap, idlen)) && soap->error)
- return soap->error;
- if (!(soap->dime.type = soap_getdimefield(soap, typelen)) && soap->error)
- return soap->error;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME id=%s, type=%s, options=%s\n", soap->dime.id?soap->dime.id:"", soap->dime.type?soap->dime.type:"", soap->dime.options?soap->dime.options+4:""));
- if (soap->dime.flags & SOAP_DIME_ME)
- soap->mode &= ~SOAP_ENC_DIME;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getdime(struct soap *soap)
-{ while (soap->dime.flags & SOAP_DIME_CF)
- { if (soap_getdimehdr(soap))
- return soap->error;
- if (soap_move(soap, soap->dime.size))
- return soap->error = SOAP_EOF;
- }
- if (soap_move(soap, ((soap->dime.size+3)&(~3))-soap_tell(soap)))
- return soap->error = SOAP_EOF;
- for (;;)
- { register struct soap_multipart *content;
- if (soap_getdimehdr(soap))
- break;
- if (soap->fdimewriteopen && ((soap->dime.ptr = (char*)soap->fdimewriteopen(soap, soap->dime.id, soap->dime.type, soap->dime.options)) || soap->error))
- { const char *id, *type, *options;
- size_t size, n;
- if (!soap->dime.ptr)
- return soap->error;
- id = soap->dime.id;
- type = soap->dime.type;
- options = soap->dime.options;
- for (;;)
- { size = soap->dime.size;
- for (;;)
- { n = soap->buflen - soap->bufidx;
- if (size < n)
- n = size;
- if ((soap->error = soap->fdimewrite(soap, (void*)soap->dime.ptr, soap->buf + soap->bufidx, n)))
- break;
- size -= n;
- if (!size)
- { soap->bufidx += n;
- break;
- }
- if (soap_recv(soap))
- { soap->error = SOAP_EOF;
- goto end;
- }
- }
- if (soap_move(soap, -(long)soap->dime.size&3))
- { soap->error = SOAP_EOF;
- break;
- }
- if (!(soap->dime.flags & SOAP_DIME_CF))
- break;
- if (soap_getdimehdr(soap))
- break;
- }
-end:
- if (soap->fdimewriteclose)
- soap->fdimewriteclose(soap, (void*)soap->dime.ptr);
- soap->dime.size = 0;
- soap->dime.id = id;
- soap->dime.type = type;
- soap->dime.options = options;
- }
- else if (soap->dime.flags & SOAP_DIME_CF)
- { const char *id, *type, *options;
- register soap_wchar c;
- register char *s;
- register int i;
- id = soap->dime.id;
- type = soap->dime.type;
- options = soap->dime.options;
- if (soap_new_block(soap))
- return SOAP_EOM;
- for (;;)
- { s = (char*)soap_push_block(soap, soap->dime.size);
- if (!s)
- return soap->error = SOAP_EOM;
- for (i = soap->dime.size; i > 0; i--)
- { if ((int)(c = soap_get1(soap)) == EOF)
- return soap->error = SOAP_EOF;
- *s++ = (char)c;
- }
- if (soap_move(soap, -(long)soap->dime.size&3))
- return soap->error = SOAP_EOF;
- if (!(soap->dime.flags & SOAP_DIME_CF))
- break;
- if (soap_getdimehdr(soap))
- return soap->error;
- }
- soap->dime.size = soap->blist->size++; /* allocate one more for '\0' */
- if (!(soap->dime.ptr = soap_save_block(soap, NULL, 0)))
- return soap->error;
- soap->dime.ptr[soap->dime.size] = '\0'; /* force 0-terminated */
- soap->dime.id = id;
- soap->dime.type = type;
- soap->dime.options = options;
- }
- else
- soap->dime.ptr = soap_getdimefield(soap, soap->dime.size);
- content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, soap->dime.ptr, soap->dime.size);
- if (!content)
- return soap->error = SOAP_EOM;
- content->id = soap->dime.id;
- content->type = soap->dime.type;
- content->options = soap->dime.options;
- soap_resolve_attachment(soap, content);
- if (soap->error)
- return soap->error;
- }
- if (soap->error != SOAP_DIME_END)
- return soap->error;
- return soap->error = SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getmimehdr(struct soap *soap)
-{ struct soap_multipart *content;
- do
- { if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf)))
- return soap->error;
- }
- while (!*soap->msgbuf);
- if (soap->msgbuf[0] == '-' && soap->msgbuf[1] == '-')
- { char *s = soap->msgbuf + strlen(soap->msgbuf) - 1;
- /* remove white space */
- while (soap_blank(*s))
- s--;
- s[1] = '\0';
- if (soap->mime.boundary)
- { if (strcmp(soap->msgbuf + 2, soap->mime.boundary))
- return soap->error = SOAP_MIME_ERROR;
- }
- else
- soap->mime.boundary = soap_strdup(soap, soap->msgbuf + 2);
- if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf)))
- return soap->error;
- }
- if (soap_set_mime_attachment(soap, NULL, 0, SOAP_MIME_NONE, NULL, NULL, NULL, NULL))
- return soap->error = SOAP_EOM;
- content = soap->mime.last;
- for (;;)
- { register char *key = soap->msgbuf;
- register char *val;
- if (!*key)
- break;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "MIME header: %s\n", key));
- val = strchr(soap->msgbuf, ':');
- if (val)
- { *val = '\0';
- do val++;
- while (*val && *val <= 32);
- if (!soap_tag_cmp(key, "Content-ID"))
- content->id = soap_strdup(soap, val);
- else if (!soap_tag_cmp(key, "Content-Location"))
- content->location = soap_strdup(soap, val);
- else if (!soap_tag_cmp(key, "Content-Disposition"))
- content->id = soap_strdup(soap, soap_get_header_attribute(soap, val, "name"));
- else if (!soap_tag_cmp(key, "Content-Type"))
- content->type = soap_strdup(soap, val);
- else if (!soap_tag_cmp(key, "Content-Description"))
- content->description = soap_strdup(soap, val);
- else if (!soap_tag_cmp(key, "Content-Transfer-Encoding"))
- content->encoding = (enum soap_mime_encoding)soap_int_code(mime_codes, val, (long)SOAP_MIME_NONE);
- }
- if (soap_getline(soap, key, sizeof(soap->msgbuf)))
- return soap->error;
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getmime(struct soap *soap)
-{ register soap_wchar c;
- if (!soap->mime.last)
- return SOAP_OK;
- for (;;)
- { register size_t i, m = 0;
- register char *s, *t = NULL;
- struct soap_multipart *content = soap->mime.last;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Parsing MIME content id=%s type=%s\n", content->id?content->id:"", content->type?content->type:""));
- if (soap_new_block(soap))
- return soap->error = SOAP_EOM;
- for (;;)
- { if (!(s = (char*)soap_push_block(soap, SOAP_BLKLEN)))
- return soap->error = SOAP_EOM;
- for (i = 0; i < SOAP_BLKLEN; i++)
- { if (m > 0)
- { *s++ = *t++;
- m--;
- }
- else
- { c = soap_get1(soap);
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- if (c == '\r')
- { t = soap->tmpbuf;
- memset(t, 0, sizeof(soap->tmpbuf));
- strcpy(t, "\n--");
- if (soap->mime.boundary)
- strncat(t, soap->mime.boundary, sizeof(soap->tmpbuf)-4);
- do c = soap_getchar(soap);
- while (c == *t++);
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- if (!*--t)
- goto end;
- *t = (char)c;
- m = t - soap->tmpbuf + 1;
- t = soap->tmpbuf;
- c = '\r';
- }
- *s++ = (char)c;
- }
- }
- }
-end:
- *s = '\0'; /* force 0-terminated */
- content->size = soap_size_block(soap, i+1)-1;
- content->ptr = soap_save_block(soap, NULL, 0);
- soap_resolve_attachment(soap, content);
- if (c == '-' && soap_getchar(soap) == '-')
- break;
- while (c != '\r' && (int)c != EOF && soap_blank(c))
- c = soap_getchar(soap);
- if (c != '\r' || soap_getchar(soap) != '\n')
- return soap->error = SOAP_MIME_ERROR;
- if (soap_getmimehdr(soap))
- return soap->error;
- }
- /*
- do c = soap_getchar(soap);
- while ((int)c != EOF && c != '\r' && c != '\n');
- if ((int)c != '\r' || soap_getchar(soap) != '\n')
- return soap->error = SOAP_MIME_ERROR;
- */
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static int
-soap_match_cid(const char *s, const char *t)
-{ register size_t n;
- if (!s)
- return 1;
- if (!strcmp(s, t))
- return 0;
- if (!strncmp(s, "cid:", 4))
- s += 4;
- n = strlen(t);
- if (*t == '<')
- { t++;
- n -= 2;
- }
- if (!strncmp(s, t, n) && !s[n])
- return 0;
- return 1;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static void
-soap_resolve_attachment(struct soap *soap, struct soap_multipart *content)
-{ if (content->id)
- { register struct soap_xlist **xp = &soap->xlist;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving attachment data for id=%s\n", content->id));
- while (*xp)
- { register struct soap_xlist *xq = *xp;
- if (!soap_match_cid(xq->id, content->id))
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Found matching attachment %s for content id=%s\n", xq->id, content->id));
- *xp = xq->next;
- *xq->ptr = (unsigned char*)content->ptr;
- *xq->size = (int)content->size;
- *xq->type = (char*)content->type;
- if (content->options)
- *xq->options = (char*)content->options;
- else
- *xq->options = (char*)content->description;
- SOAP_FREE(soap, xq);
- }
- else
- xp = &(*xp)->next;
- }
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putmimehdr(struct soap *soap, struct soap_multipart *content)
-{ const char *s;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "MIME attachment type=%s\n", content->type?content->type:""));
- if (soap_send3(soap, "\r\n--", soap->mime.boundary, "\r\n"))
- return soap->error;
- if (content->type && soap_send3(soap, "Content-Type: ", content->type, "\r\n"))
- return soap->error;
- s = soap_str_code(mime_codes, content->encoding);
- if (s && soap_send3(soap, "Content-Transfer-Encoding: ", s, "\r\n"))
- return soap->error;
- if (content->id && soap_send3(soap, "Content-ID: ", content->id, "\r\n"))
- return soap->error;
- if (content->location && soap_send3(soap, "Content-Location: ", content->location, "\r\n"))
- return soap->error;
- if (content->description && soap_send3(soap, "Content-Description: ", content->description, "\r\n"))
- return soap->error;
- return soap_send_raw(soap, "\r\n", 2);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putmime(struct soap *soap)
-{ struct soap_multipart *content;
- if (!(soap->mode & SOAP_ENC_MIME) || !soap->mime.boundary)
- return SOAP_OK;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending MIME attachments\n"));
- for (content = soap->mime.first; content; content = content->next)
- if (soap_putmimehdr(soap, content)
- || soap_send_raw(soap, content->ptr, content->size))
- return soap->error;
- return soap_send3(soap, "\r\n--", soap->mime.boundary, "--");
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_dime(struct soap *soap)
-{ soap->omode |= SOAP_ENC_DIME;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_mime(struct soap *soap, const char *boundary, const char *start)
-{ soap->omode |= SOAP_ENC_MIME;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->mime.boundary = soap_strdup(soap, boundary);
- soap->mime.start = soap_strdup(soap, start);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_clr_dime(struct soap *soap)
-{ soap->omode &= ~SOAP_ENC_DIME;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_clr_mime(struct soap *soap)
-{ soap->omode &= ~SOAP_ENC_MIME;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->mime.boundary = NULL;
- soap->mime.start = NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static struct soap_multipart*
-soap_new_multipart(struct soap *soap, struct soap_multipart **first, struct soap_multipart **last, char *ptr, size_t size)
-{ struct soap_multipart *content;
- content = (struct soap_multipart*)soap_malloc(soap, sizeof(struct soap_multipart));
- if (content)
- { content->next = NULL;
- content->ptr = ptr;
- content->size = size;
- content->id = NULL;
- content->type = NULL;
- content->options = NULL;
- content->encoding = SOAP_MIME_NONE;
- content->location = NULL;
- content->description = NULL;
- if (!*first)
- *first = content;
- if (*last)
- (*last)->next = content;
- *last = content;
- }
- return content;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_dime_attachment(struct soap *soap, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option)
-{ struct soap_multipart *content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, ptr, size);
- if (!content)
- return SOAP_EOM;
- content->id = soap_strdup(soap, id);
- content->type = soap_strdup(soap, type);
- content->options = soap_dime_option(soap, optype, option);
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_mime_attachment(struct soap *soap, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description)
-{ struct soap_multipart *content = soap_new_multipart(soap, &soap->mime.first, &soap->mime.last, ptr, size);
- if (!content)
- return SOAP_EOM;
- content->id = soap_strdup(soap, id);
- content->type = soap_strdup(soap, type);
- content->encoding = encoding;
- content->location = soap_strdup(soap, location);
- content->description = soap_strdup(soap, description);
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-SOAP_FMAC1
-struct soap_multipart*
-SOAP_FMAC2
-soap_next_multipart(struct soap_multipart *content)
-{ if (content)
- return content->next;
- return NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static void
-soap_select_mime_boundary(struct soap *soap)
-{ while (!soap->mime.boundary || soap_valid_mime_boundary(soap))
- { register char *s = soap->mime.boundary;
- register size_t n = 0;
- if (s)
- n = strlen(s);
- if (n < 16)
- { n = 72;
- s = soap->mime.boundary = (char*)soap_malloc(soap, n + 1);
- if (!s)
- return;
- }
- strcpy(s, "<>");
- s += 2;
- n -= 4;
- while (n)
- { *s++ = soap_base64o[soap_random & 0x3F];
- n--;
- }
- strcpy(s, "<>");
- }
- if (!soap->mime.start)
- soap->mime.start = "<SOAP-ENV:Envelope>";
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEANER
-#ifndef PALM_1
-static int
-soap_valid_mime_boundary(struct soap *soap)
-{ register struct soap_multipart *content;
- register size_t k = strlen(soap->mime.boundary);
- for (content = soap->mime.first; content; content = content->next)
- { if (content->ptr && content->size >= k)
- { register const char *p = (const char*)content->ptr;
- register size_t i;
- for (i = 0; i < content->size - k; i++, p++)
- if (!strncmp(p, soap->mime.boundary, k))
- return SOAP_ERR;
- }
- }
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-
-#ifdef WITH_COOKIES
-/******************************************************************************/
-SOAP_FMAC1
-size_t
-SOAP_FMAC2
-soap_encode_cookie(const char *s, char *t, size_t len)
-{ register int c;
- register size_t n = len;
- while ((c = *s++) && --n > 0)
- { if (c > ' ' && c < 128 && !strchr("()<>@,;:\\\"/[]?={}", c))
- *t++ = c;
- else if (n > 2)
- { *t++ = '%';
- *t++ = (c >> 4) + (c > 159 ? '7' : '0');
- c &= 0xF;
- *t++ = c + (c > 9 ? '7' : '0');
- n -= 2;
- }
- else
- break;
- }
- *t = '\0';
- return len - n;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-struct soap_cookie*
-SOAP_FMAC2
-soap_cookie(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- size_t n;
- if (!domain)
- domain = soap->cookie_domain;
- if (!path)
- path = soap->cookie_path;
- if (*path == '/')
- path++;
- n = strlen(path);
- for (p = soap->cookies; p; p = p->next)
- if (!strcmp(p->name, name)
- && domain
- && p->domain
- && !strcmp(p->domain, domain)
- && !strncmp(p->path, path, n))
- break;
- return p;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-struct soap_cookie*
-SOAP_FMAC2
-soap_set_cookie(struct soap *soap, const char *name, const char *value, const char *domain, const char *path)
-{ struct soap_cookie **p, *q;
- int n;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set cookie: %s=%s domain=%s path=%s\n", name, value?value:"", domain?domain:"", path?path:""));
- if (!domain)
- domain = soap->cookie_domain;
- if (!path)
- path = soap->cookie_path;
- if (!path)
- { soap_set_receiver_error(soap, "Cookie path not set", NULL, SOAP_HTTP_ERROR);
- return NULL;
- }
- if (*path == '/')
- path++;
- q = soap_cookie(soap, name, domain, path);
- if (!q)
- { if ((q = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie))))
- { if ((q->name = (char*)SOAP_MALLOC(soap, strlen(name)+1)))
- strcpy(q->name, name);
- q->value = NULL;
- q->domain = NULL;
- q->path = NULL;
- q->expire = -1;
- q->version = 0;
- q->secure = 0;
- q->modified = 0;
- for (p = &soap->cookies, n = soap->cookie_max; *p && n; p = &(*p)->next, n--)
- if (!strcmp((*p)->name, name) && (*p)->path && strcmp((*p)->path, path) < 0)
- break;
- if (n)
- { q->next = *p;
- *p = q;
- }
- else
- { SOAP_FREE(soap, q->name);
- SOAP_FREE(soap, q);
- q = NULL;
- }
- }
- }
- else
- q->modified = 1;
- if (q)
- { if (q->value)
- { SOAP_FREE(soap, q->value);
- q->value = NULL;
- }
- if (q->domain)
- { SOAP_FREE(soap, q->domain);
- q->domain = NULL;
- }
- if (q->path)
- { SOAP_FREE(soap, q->path);
- q->path = NULL;
- }
- if (value && *value && (q->value = (char*)SOAP_MALLOC(soap, strlen(value)+1)))
- strcpy(q->value, value);
- if (domain && *domain && (q->domain = (char*)SOAP_MALLOC(soap, strlen(domain)+1)))
- strcpy(q->domain, domain);
- if (path && *path && (q->path = (char*)SOAP_MALLOC(soap, strlen(path)+1)))
- strcpy(q->path, path);
- q->session = 1;
- q->env = 0;
- }
- return q;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_clr_cookie(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie **p, *q;
- if (!domain)
- domain = soap->cookie_domain;
- if (!domain)
- { soap_set_receiver_error(soap, "Cookie domain not set", NULL, SOAP_HTTP_ERROR);
- return;
- }
- if (!path)
- path = soap->cookie_path;
- if (!path)
- { soap_set_receiver_error(soap, "Cookie path not set", NULL, SOAP_HTTP_ERROR);
- return;
- }
- if (*path == '/')
- path++;
- for (p = &soap->cookies, q = *p; q; q = *p)
- if (!strcmp(q->name, name) && !strcmp(q->domain, domain) && !strncmp(q->path, path, strlen(q->path)))
- { if (q->value)
- SOAP_FREE(soap, q->value);
- if (q->domain)
- SOAP_FREE(soap, q->domain);
- if (q->path)
- SOAP_FREE(soap, q->path);
- *p = q->next;
- SOAP_FREE(soap, q);
- }
- else
- p = &q->next;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_cookie_value(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)))
- return p->value;
- return NULL;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-char *
-SOAP_FMAC2
-soap_env_cookie_value(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)) && p->env)
- return p->value;
- return NULL;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-long
-SOAP_FMAC2
-soap_cookie_expire(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)))
- return p->expire;
- return -1;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_cookie_expire(struct soap *soap, const char *name, long expire, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)))
- { p->expire = expire;
- p->modified = 1;
- return SOAP_OK;
- }
- return SOAP_ERR;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_cookie_session(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)))
- { p->session = 1;
- p->modified = 1;
- return SOAP_OK;
- }
- return SOAP_ERR;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_clr_cookie_session(struct soap *soap, const char *name, const char *domain, const char *path)
-{ struct soap_cookie *p;
- if ((p = soap_cookie(soap, name, domain, path)))
- { p->session = 0;
- p->modified = 1;
- return SOAP_OK;
- }
- return SOAP_ERR;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putsetcookies(struct soap *soap)
-{ struct soap_cookie *p;
- char *s, tmp[4096];
- const char *t;
- for (p = soap->cookies; p; p = p->next)
- { if (p->modified || !p->env)
- { s = tmp;
- if (p->name)
- s += soap_encode_cookie(p->name, s, tmp-s+4064);
- if (p->value && *p->value)
- { *s++ = '=';
- s += soap_encode_cookie(p->value, s, tmp-s+4064);
- }
- if (p->domain && (int)strlen(p->domain) < tmp-s+4064)
- sprintf(s, ";Domain=\"%s\"", p->domain);
- else if (soap->cookie_domain && (int)strlen(soap->cookie_domain) < tmp-s+4064)
- sprintf(s, ";Domain=\"%s\"", soap->cookie_domain);
- strcat(s, ";Path=\"/");
- if (p->path)
- t = p->path;
- else
- t = soap->cookie_path;
- if (t)
- { if (*t == '/')
- t++;
- if ((int)strlen(t) < tmp-s+4064)
- strcat(s, t);
- }
- s += strlen(s);
- *s++ = '"';
- if (p->version > 0)
- sprintf(s, ";Version=%u", p->version);
- if (p->expire >= 0)
- sprintf(s, ";Max-Age=%ld", p->expire);
- if (p->secure)
- strcat(s, ";Secure");
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set-Cookie: %s\n", tmp));
- if ((soap->error = soap->fposthdr(soap, "Set-Cookie", tmp)))
- return soap->error;
- }
- }
- return SOAP_OK;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_putcookies(struct soap *soap, const char *domain, const char *path, int secure)
-{ struct soap_cookie **p, *q;
- unsigned int version = 0;
- time_t now = time(NULL);
- char *s, tmp[4096];
- p = &soap->cookies;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending cookies for domain=%s path=%s\n", domain, path));
- while ((q = *p))
- { if (q->expire && now > q->expire)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Cookie %s expired\n", q->name));
- SOAP_FREE(soap, q->name);
- if (q->value)
- SOAP_FREE(soap, q->value);
- if (q->domain)
- SOAP_FREE(soap, q->domain);
- if (q->path)
- SOAP_FREE(soap, q->path);
- *p = q->next;
- SOAP_FREE(soap, q);
- }
- else
- { size_t domlen = 0;
- if (q->domain)
- { const char *s = strchr(q->domain, ':');
- if (s)
- domlen = s - q->domain;
- else
- domlen = strlen(q->domain);
- }
- if ((!q->domain || !strncmp(q->domain, domain, domlen))
- && (!q->path || !strncmp(q->path, path, strlen(q->path)))
- && (!q->secure || secure))
- { s = tmp;
- if (q->version != version)
- { sprintf(s, "$Version=%u;", q->version);
- version = q->version;
- }
- if (q->name)
- s += soap_encode_cookie(q->name, s, tmp-s+4080);
- if (q->value && *q->value)
- { *s++ = '=';
- s += soap_encode_cookie(q->value, s, tmp-s+4080);
- }
- if (q->path && (int)strlen(q->path) < tmp-s+4080)
- { sprintf(s, ";$Path=\"/%s\"", (*q->path == '/' ? q->path + 1 : q->path));
- s += strlen(s);
- }
- if (q->domain && (int)strlen(q->domain) < tmp-s+4080)
- sprintf(s, ";$Domain=\"%s\"", q->domain);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Cookie: %s\n", tmp));
- if ((soap->error = soap->fposthdr(soap, "Cookie", tmp)))
- return soap->error;
- }
- p = &q->next;
- }
- }
- return SOAP_OK;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_getcookies(struct soap *soap, const char *val)
-{ struct soap_cookie *p = NULL, *q;
- const char *s;
- char *t, tmp[4096]; /* cookie size is up to 4096 bytes [RFC2109] */
- char *domain = NULL;
- char *path = NULL;
- unsigned int version = 0;
- time_t now = time(NULL);
- if (!val)
- return;
- s = val;
- while (*s)
- { s = soap_decode_key(tmp, sizeof(tmp), s);
- if (!soap_tag_cmp(tmp, "$Version"))
- { if ((s = soap_decode_val(tmp, sizeof(tmp), s)))
- { if (p)
- p->version = (int)atol(tmp);
- else
- version = (int)atol(tmp);
- }
- }
- else if (!soap_tag_cmp(tmp, "$Path"))
- { s = soap_decode_val(tmp, sizeof(tmp), s);
- if (*tmp)
- { if ((t = (char*)SOAP_MALLOC(soap, strlen(tmp)+1)))
- strcpy(t, tmp);
- }
- else
- t = NULL;
- if (p)
- { if (p->path)
- SOAP_FREE(soap, p->path);
- p->path = t;
- }
- else
- { if (path)
- SOAP_FREE(soap, path);
- path = t;
- }
- }
- else if (!soap_tag_cmp(tmp, "$Domain"))
- { s = soap_decode_val(tmp, sizeof(tmp), s);
- if (*tmp)
- { if ((t = (char*)SOAP_MALLOC(soap, strlen(tmp)+1)))
- strcpy(t, tmp);
- }
- else
- t = NULL;
- if (p)
- { if (p->domain)
- SOAP_FREE(soap, p->domain);
- p->domain = t;
- }
- else
- { if (domain)
- SOAP_FREE(soap, domain);
- domain = t;
- }
- }
- else if (p && !soap_tag_cmp(tmp, "Path"))
- { if (p->path)
- SOAP_FREE(soap, p->path);
- s = soap_decode_val(tmp, sizeof(tmp), s);
- if (*tmp)
- { if ((p->path = (char*)SOAP_MALLOC(soap, strlen(tmp)+1)))
- strcpy(p->path, tmp);
- }
- else
- p->path = NULL;
- }
- else if (p && !soap_tag_cmp(tmp, "Domain"))
- { if (p->domain)
- SOAP_FREE(soap, p->domain);
- s = soap_decode_val(tmp, sizeof(tmp), s);
- if (*tmp)
- { if ((p->domain = (char*)SOAP_MALLOC(soap, strlen(tmp)+1)))
- strcpy(p->domain, tmp);
- }
- else
- p->domain = NULL;
- }
- else if (p && !soap_tag_cmp(tmp, "Version"))
- { s = soap_decode_val(tmp, sizeof(tmp), s);
- p->version = (unsigned int)atol(tmp);
- }
- else if (p && !soap_tag_cmp(tmp, "Max-Age"))
- { s = soap_decode_val(tmp, sizeof(tmp), s);
- p->expire = now + atol(tmp);
- }
- else if (p && !soap_tag_cmp(tmp, "Expires"))
- { struct tm T;
- char a[3];
- static const char mns[] = "anebarprayunulugepctovec";
- s = soap_decode_val(tmp, sizeof(tmp), s);
- if (strlen(tmp) > 20)
- { memset((void*)&T, 0, sizeof(T));
- a[0] = tmp[4];
- a[1] = tmp[5];
- a[2] = '\0';
- T.tm_mday = (int)atol(a);
- a[0] = tmp[8];
- a[1] = tmp[9];
- T.tm_mon = (strstr(mns, a) - mns) / 2;
- a[0] = tmp[11];
- a[1] = tmp[12];
- T.tm_year = 100 + (int)atol(a);
- a[0] = tmp[13];
- a[1] = tmp[14];
- T.tm_hour = (int)atol(a);
- a[0] = tmp[16];
- a[1] = tmp[17];
- T.tm_min = (int)atol(a);
- a[0] = tmp[19];
- a[1] = tmp[20];
- T.tm_sec = (int)atol(a);
- p->expire = soap_timegm(&T);
- }
- }
- else if (p && !soap_tag_cmp(tmp, "Secure"))
- p->secure = 1;
- else
- { if (p)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Got environment cookie %s=%s domain=%s path=%s expire=%ld secure=%d\n", p->name, p->value?p->value:"", p->domain?p->domain:"", p->path?p->path:"", p->expire, p->secure));
- if ((q = soap_set_cookie(soap, p->name, p->value, p->domain, p->path)))
- { q->version = p->version;
- q->expire = p->expire;
- q->secure = p->secure;
- q->env = 1;
- }
- if (p->name)
- SOAP_FREE(soap, p->name);
- if (p->value)
- SOAP_FREE(soap, p->value);
- if (p->domain)
- SOAP_FREE(soap, p->domain);
- if (p->path)
- SOAP_FREE(soap, p->path);
- SOAP_FREE(soap, p);
- }
- if ((p = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie))))
- { p->name = (char*)SOAP_MALLOC(soap, strlen(tmp)+1);
- strcpy(p->name, tmp);
- s = soap_decode_val(tmp, sizeof(tmp), s);
- if (*tmp)
- { p->value = (char*)SOAP_MALLOC(soap, strlen(tmp)+1);
- strcpy(p->value, tmp);
- }
- else
- p->value = NULL;
- p->domain = domain;
- p->path = path;
- p->expire = 0;
- p->secure = 0;
- p->version = version;
- }
- }
- }
- if (p)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Got environment cookie %s=%s domain=%s path=%s expire=%ld secure=%d\n", p->name, p->value?p->value:"", p->domain?p->domain:"", p->path?p->path:"", p->expire, p->secure));
- if ((q = soap_set_cookie(soap, p->name, p->value, p->domain, p->path)))
- { q->version = p->version;
- q->expire = p->expire;
- q->secure = p->secure;
- q->env = 1;
- }
- if (p->name)
- SOAP_FREE(soap, p->name);
- if (p->value)
- SOAP_FREE(soap, p->value);
- if (p->domain)
- SOAP_FREE(soap, p->domain);
- if (p->path)
- SOAP_FREE(soap, p->path);
- SOAP_FREE(soap, p);
- }
- if (domain)
- SOAP_FREE(soap, domain);
- if (path)
- SOAP_FREE(soap, path);
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_getenv_cookies(struct soap *soap)
-{ struct soap_cookie *p;
- const char *s;
- char key[4096], val[4096]; /* cookie size is up to 4096 bytes [RFC2109] */
- if (!(s = getenv("HTTP_COOKIE")))
- return SOAP_ERR;
- do
- { s = soap_decode_key(key, sizeof(key), s);
- s = soap_decode_val(val, sizeof(val), s);
- p = soap_set_cookie(soap, key, val, NULL, NULL);
- if (p)
- p->env = 1;
- } while (*s);
- return SOAP_OK;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-struct soap_cookie*
-SOAP_FMAC2
-soap_copy_cookies(struct soap *soap)
-{ struct soap_cookie *p, **q, *r;
- q = &r;
- for (p = soap->cookies; p; p = p->next)
- { if (!(*q = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie))))
- return r;
- **q = *p;
- if (p->name)
- { if (((*q)->name = (char*)SOAP_MALLOC(soap, strlen(p->name)+1)))
- strcpy((*q)->name, p->name);
- }
- if (p->value)
- { if (((*q)->value = (char*)SOAP_MALLOC(soap, strlen(p->value)+1)))
- strcpy((*q)->value, p->value);
- }
- if (p->domain)
- { if (((*q)->domain = (char*)SOAP_MALLOC(soap, strlen(p->domain)+1)))
- strcpy((*q)->domain, p->domain);
- }
- if (p->path)
- { if (((*q)->path = (char*)SOAP_MALLOC(soap, strlen(p->path)+1)))
- strcpy((*q)->path, p->path);
- }
- q = &(*q)->next;
- }
- *q = NULL;
- return r;
-}
-
-/******************************************************************************/
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_free_cookies(struct soap *soap)
-{ struct soap_cookie *p;
- for (p = soap->cookies; p; p = soap->cookies)
- { soap->cookies = p->next;
- SOAP_FREE(soap, p->name);
- if (p->value)
- SOAP_FREE(soap, p->value);
- if (p->domain)
- SOAP_FREE(soap, p->domain);
- if (p->path)
- SOAP_FREE(soap, p->path);
- SOAP_FREE(soap, p);
- }
-}
-
-/******************************************************************************/
-#endif /* WITH_COOKIES */
-
-/******************************************************************************/
-#ifdef WITH_GZIP
-#ifndef PALM_1
-static int
-soap_getgziphdr(struct soap *soap)
-{ int i;
- soap_wchar c, f = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get gzip header\n"));
- for (i = 0; i < 9; i++)
- { if ((int)(c = soap_get1(soap) == EOF))
- return soap->error = SOAP_EOF;
- if (i == 2)
- f = c;
- }
- if (f & 0x04) /* FEXTRA */
- { for (i = soap_get1(soap) | (soap_get1(soap) << 8); i; i--)
- if ((int)soap_get1(soap) == EOF)
- return soap->error = SOAP_EOF;
- }
- if (f & 0x08) /* FNAME */
- do
- c = soap_get1(soap);
- while (c && (int)c != EOF);
- if ((int)c != EOF && (f & 0x10)) /* FCOMMENT */
- do
- c = soap_get1(soap);
- while (c && (int)f != EOF);
- if ((int)c != EOF && (f & 0x01)) /* FHCRC */
- { if ((int)(c = soap_get1(soap)) != EOF)
- c = soap_get1(soap);
- }
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_begin_recv(struct soap *soap)
-{ soap_wchar c;
- soap->error = SOAP_OK;
- soap_free(soap);
- soap_set_local_namespaces(soap);
- soap->version = 0; /* don't assume we're parsing SOAP content by default */
-#ifndef WITH_NOIDREF
- soap_free_iht(soap);
-#endif
- if ((soap->imode & SOAP_IO) == SOAP_IO_CHUNK)
- soap->omode |= SOAP_IO_CHUNK;
- soap->imode &= ~SOAP_IO;
- soap->mode = soap->imode;
- if (!soap->keep_alive)
- { soap->buflen = 0;
- soap->bufidx = 0;
- }
- if (!(soap->mode & SOAP_IO_KEEPALIVE))
- soap->keep_alive = 0;
- soap->ahead = 0;
- soap->peeked = 0;
- soap->level = 0;
- soap->part = SOAP_BEGIN;
- soap->alloced = 0;
- soap->count = 0;
- soap->length = 0;
- soap->cdata = 0;
- *soap->endpoint = '\0';
- soap->action = NULL;
-#ifndef WITH_LEANER
- soap->dime.chunksize = 0;
- soap->dime.buflen = 0;
- soap->dime.list = NULL;
- soap->dime.first = NULL;
- soap->dime.last = NULL;
- soap->mime.list = NULL;
- soap->mime.first = NULL;
- soap->mime.last = NULL;
- soap->mime.boundary = NULL;
- soap->mime.start = NULL;
- soap->xlist = NULL;
-#endif
-#ifdef WIN32
-#ifndef UNDER_CE
-#ifndef WITH_FASTCGI
- if (!soap_valid_socket(soap->socket))
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->recvfd, O_BINARY);
-#else
- _setmode((SOAP_SOCKET)soap->recvfd, _O_BINARY);
-#endif
-#endif
-#endif
-#endif
-#ifdef WITH_ZLIB
- soap->mode &= ~SOAP_ENC_ZLIB;
- soap->zlib_in = SOAP_ZLIB_NONE;
- soap->zlib_out = SOAP_ZLIB_NONE;
- soap->d_stream.next_in = Z_NULL;
- soap->d_stream.avail_in = 0;
- soap->d_stream.next_out = (Byte*)soap->buf;
- soap->d_stream.avail_out = SOAP_BUFLEN;
- soap->z_ratio_in = 1.0;
-#endif
-#ifndef WITH_LEANER
- if (soap->fprepareinit)
- soap->fprepareinit(soap);
-#endif
- c = soap_getchar(soap);
-#ifdef WITH_GZIP
- if (c == 0x1F)
- { if (soap_getgziphdr(soap))
- return soap->error;
- if (inflateInit2(&soap->d_stream, -MAX_WBITS) != Z_OK)
- return soap->error = SOAP_ZLIB_ERROR;
- soap->zlib_state = SOAP_ZLIB_INFLATE;
- soap->mode |= SOAP_ENC_ZLIB;
- soap->zlib_in = SOAP_ZLIB_GZIP;
- soap->z_crc = crc32(0L, NULL, 0);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip initialized\n"));
- memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN);
- /* should not chunk over plain transport, so why bother to check? */
- /* if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) */
- /* soap->z_buflen = soap->bufidx; */
- /* else */
- soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx);
- soap->d_stream.avail_in = soap->buflen - soap->bufidx;
- soap->z_buflen = soap->buflen;
- soap->buflen = soap->bufidx;
- c = soap_getchar(soap);
- }
-#endif
-#ifndef WITH_LEANER
- if (c == '-' && soap_get0(soap) == '-')
- soap->mode |= SOAP_ENC_MIME;
- else if ((c & 0xFFFC) == (SOAP_DIME_VERSION | SOAP_DIME_MB) && (soap_get0(soap) & 0xFFF0) == 0x20)
- soap->mode |= SOAP_ENC_DIME;
- else
-#endif
- { while (soap_blank(c))
- c = soap_getchar(soap);
- }
- if ((int)c == EOF)
- return soap->error = SOAP_EOF;
- soap_unget(soap, c);
-#ifndef WITH_NOHTTP
- if (c != '<' && !(soap->mode & (SOAP_ENC_MIME | SOAP_ENC_DIME | SOAP_ENC_ZLIB)))
- { soap->mode &= ~SOAP_IO;
- if ((soap->error = soap->fparse(soap)))
- { soap->keep_alive = 0; /* force close later */
- return soap->error;
- }
- if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK)
- { soap->chunkbuflen = soap->buflen;
- soap->buflen = soap->bufidx;
- soap->chunksize = 0;
- }
-#ifndef WITH_LEANER
- else if (soap->fpreparerecv && soap->buflen != soap->bufidx)
- soap->fpreparerecv(soap, soap->buf + soap->bufidx, soap->buflen - soap->bufidx);
-#endif
-#ifdef WITH_ZLIB
- if (soap->zlib_in)
- { /* fparse should not use soap_unget to push back last char */
-#ifdef WITH_GZIP
- c = soap_get1(soap);
- if (c == 0x1F)
- { if (soap_getgziphdr(soap))
- return soap->error;
- if (inflateInit2(&soap->d_stream, -MAX_WBITS) != Z_OK)
- return soap->error = SOAP_ZLIB_ERROR;
- soap->zlib_state = SOAP_ZLIB_INFLATE;
- soap->z_crc = crc32(0L, NULL, 0);
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip initialized\n"));
- }
- else
- { soap_revget1(soap);
-#else
- {
-#endif
- if (inflateInit(&soap->d_stream) != Z_OK)
- return soap->error = SOAP_ZLIB_ERROR;
- soap->zlib_state = SOAP_ZLIB_INFLATE;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflate initialized\n"));
- }
- soap->mode |= SOAP_ENC_ZLIB;
- memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN);
- soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx);
- soap->d_stream.avail_in = soap->buflen - soap->bufidx;
- soap->z_buflen = soap->buflen;
- soap->buflen = soap->bufidx;
- }
-#endif
- }
-#endif
-#ifndef WITH_LEANER
- if (soap->mode & SOAP_ENC_MIME)
- { if (soap_getmimehdr(soap))
- return soap->error;
- if (soap_get_header_attribute(soap, soap->mime.first->type, "application/dime"))
- soap->mode |= SOAP_ENC_DIME;
- }
- if (soap->mode & SOAP_ENC_DIME)
- { if (soap_getdimehdr(soap))
- return soap->error;
- if (soap->dime.flags & SOAP_DIME_CF)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Chunked DIME SOAP message\n"));
- soap->dime.chunksize = soap->dime.size;
- if (soap->buflen - soap->bufidx >= soap->dime.chunksize)
- { soap->dime.buflen = soap->buflen;
- soap->buflen = soap->bufidx + soap->dime.chunksize;
- }
- else
- soap->dime.chunksize -= soap->buflen - soap->bufidx;
- }
- soap->count = soap->buflen - soap->bufidx;
- }
-#endif
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_parse(struct soap *soap)
-{ char header[SOAP_HDRLEN], *s;
- unsigned short g = 0, k = 0;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Waiting for response...\n"));
- *soap->endpoint = '\0';
- soap->length = 0;
- soap->userid = NULL;
- soap->passwd = NULL;
- soap->action = NULL;
- soap->authrealm = NULL;
- do
- { if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf)))
- return soap->error;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP status: %s\n", soap->msgbuf));
- for (;;)
- { if (soap_getline(soap, header, SOAP_HDRLEN))
- { if (soap->error == SOAP_EOF)
- { soap->error = SOAP_OK;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "EOF in HTTP header, continue anyway\n"));
- break;
- }
- return soap->error;
- }
- if (!*header)
- break;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP header: %s\n", header));
- s = strchr(header, ':');
- if (s)
- { *s = '\0';
- do s++;
- while (*s && *s <= 32);
- if ((soap->error = soap->fparsehdr(soap, header, s)))
- return soap->error;
- }
- }
- if ((s = strchr(soap->msgbuf, ' ')))
- { k = (unsigned short)soap_strtoul(s, &s, 10);
- if (!soap_blank(*s))
- k = 0;
- }
- else
- k = 0;
- } while (k == 100);
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Finished HTTP header parsing\n"));
- s = strstr(soap->msgbuf, "HTTP/");
- if (s && s[7] != '1')
- { if (soap->keep_alive == 1)
- soap->keep_alive = 0;
- if (k == 0 && (soap->omode & SOAP_IO) == SOAP_IO_CHUNK) /* k == 0 for HTTP request */
- { soap->imode |= SOAP_IO_CHUNK;
- soap->omode = (soap->omode & ~SOAP_IO) | SOAP_IO_STORE;
- }
- }
- if (soap->keep_alive < 0)
- soap->keep_alive = 1;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Keep alive connection = %d\n", soap->keep_alive));
- if (s && (((g = !strncmp(soap->msgbuf, "GET ", 4))) || !strncmp(soap->msgbuf, "POST ", 5)))
- { size_t m = strlen(soap->endpoint);
- size_t n = m + (s - soap->msgbuf) - 5 - (!g);
- if (n >= sizeof(soap->endpoint))
- n = sizeof(soap->endpoint) - 1;
- strncpy(soap->path, soap->msgbuf + 4 + (!g), n - m);
- soap->path[n - m] = '\0';
- strcat(soap->endpoint, soap->path);
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Target endpoint='%s'\n", soap->endpoint));
- if (g)
- { soap->error = soap->fget(soap);
- if (soap->error == SOAP_OK)
- soap->error = SOAP_STOP; /* prevents further processing */
- return soap->error;
- }
- return SOAP_OK;
- }
- if (k == 0 || (k >= 200 && k <= 299) || k == 400 || k == 500)
- return SOAP_OK;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP error %d\n", k));
- return soap_set_receiver_error(soap, "HTTP error", soap->msgbuf, k);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_parse_header(struct soap *soap, const char *key, const char *val)
-{ if (!soap_tag_cmp(key, "Host"))
- {
-#ifdef WITH_OPENSSL
- if (soap->imode & SOAP_ENC_SSL)
- strcpy(soap->endpoint, "https://");
- else
-#endif
- strcpy(soap->endpoint, "http://");
- strncat(soap->endpoint, val, sizeof(soap->endpoint) - 8);
- soap->endpoint[sizeof(soap->endpoint) - 1] = '\0';
- }
-#ifndef WITH_LEANER
- else if (!soap_tag_cmp(key, "Content-Type"))
- { if (soap_get_header_attribute(soap, val, "application/dime"))
- soap->mode |= SOAP_ENC_DIME;
- else if (soap_get_header_attribute(soap, val, "multipart/related")
- || soap_get_header_attribute(soap, val, "multipart/form-data"))
- { soap->mime.boundary = soap_strdup(soap, soap_get_header_attribute(soap, val, "boundary"));
- soap->mime.start = soap_strdup(soap, soap_get_header_attribute(soap, val, "start"));
- soap->mode |= SOAP_ENC_MIME;
- }
- }
-#endif
- else if (!soap_tag_cmp(key, "Content-Length"))
- soap->length = soap_strtoul(val, NULL, 10);
- else if (!soap_tag_cmp(key, "Content-Encoding"))
- { if (!soap_tag_cmp(val, "deflate"))
-#ifdef WITH_ZLIB
- soap->zlib_in = SOAP_ZLIB_DEFLATE;
-#else
- return SOAP_ZLIB_ERROR;
-#endif
- else if (!soap_tag_cmp(val, "gzip"))
-#ifdef WITH_GZIP
- soap->zlib_in = SOAP_ZLIB_GZIP;
-#else
- return SOAP_ZLIB_ERROR;
-#endif
- }
-#ifdef WITH_ZLIB
- else if (!soap_tag_cmp(key, "Accept-Encoding"))
- {
-#ifdef WITH_GZIP
- if (strchr(val, '*') || soap_get_header_attribute(soap, val, "gzip"))
- soap->zlib_out = SOAP_ZLIB_GZIP;
- else
-#endif
- if (strchr(val, '*') || soap_get_header_attribute(soap, val, "deflate"))
- soap->zlib_out = SOAP_ZLIB_DEFLATE;
- else
- soap->zlib_out = SOAP_ZLIB_NONE;
- }
-#endif
- else if (!soap_tag_cmp(key, "Transfer-Encoding"))
- { soap->mode &= ~SOAP_IO;
- if (!soap_tag_cmp(val, "chunked"))
- soap->mode |= SOAP_IO_CHUNK;
- }
- else if (!soap_tag_cmp(key, "Connection"))
- { if (!soap_tag_cmp(val, "keep-alive"))
- soap->keep_alive = -soap->keep_alive;
- else if (!soap_tag_cmp(val, "close"))
- soap->keep_alive = 0;
- }
-#ifndef WITH_LEAN
- else if (!soap_tag_cmp(key, "Authorization"))
- { if (!soap_tag_cmp(val, "Basic *"))
- { int n;
- char *s;
- soap_base642s(soap, val + 6, soap->tmpbuf, sizeof(soap->tmpbuf) - 1, &n);
- soap->tmpbuf[n] = '\0';
- if ((s = strchr(soap->tmpbuf, ':')))
- { *s = '\0';
- soap->userid = soap_strdup(soap, soap->tmpbuf);
- soap->passwd = soap_strdup(soap, s + 1);
- }
- }
- }
- else if (!soap_tag_cmp(key, "WWW-Authenticate"))
- soap->authrealm = soap_strdup(soap, soap_get_header_attribute(soap, val + 6, "realm"));
- else if (!soap_tag_cmp(key, "Expect"))
- { if (!soap_tag_cmp(val, "100-continue"))
- { if ((soap->error = soap->fposthdr(soap, "HTTP/1.1 100 Continue", NULL))
- || (soap->error = soap->fposthdr(soap, NULL, NULL)))
- return soap->error;
- }
- }
-#endif
- else if (!soap_tag_cmp(key, "SOAPAction"))
- { if (val[0] && val[1])
- { soap->action = soap_strdup(soap, val + 1);
- soap->action[strlen(soap->action) - 1] = '\0';
- }
- }
- else if (!soap_tag_cmp(key, "Location"))
- { strncpy(soap->endpoint, val, sizeof(soap->endpoint));
- soap->endpoint[sizeof(soap->endpoint) - 1] = '\0';
- }
-#ifdef WITH_COOKIES
- else if (!soap_tag_cmp(key, "Cookie") || !soap_tag_cmp(key, "Set-Cookie"))
- soap_getcookies(soap, val);
-#endif
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER)
-#ifndef PALM_1
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_get_header_attribute(struct soap *soap, const char *line, const char *key)
-{ register const char *s = line;
- if (s)
- { while (*s)
- { register short flag;
- s = soap_decode_key(soap->tmpbuf, sizeof(soap->tmpbuf), s);
- flag = soap_tag_cmp(soap->tmpbuf, key);
- s = soap_decode_val(soap->tmpbuf, sizeof(soap->tmpbuf), s);
- if (!flag)
- return soap->tmpbuf;
- }
- }
- return NULL;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER)
-#ifndef PALM_1
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_decode_key(char *buf, size_t len, const char *val)
-{ return soap_decode(buf, len, val, "=,;");
-}
-#endif
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER)
-#ifndef PALM_1
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_decode_val(char *buf, size_t len, const char *val)
-{ if (*val != '=')
- { *buf = '\0';
- return val;
- }
- return soap_decode(buf, len, val + 1, ",;");
-}
-#endif
-#endif
-
-/******************************************************************************/
-#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER)
-#ifndef PALM_1
-static const char*
-soap_decode(char *buf, size_t len, const char *val, const char *sep)
-{ const char *s;
- char *t = buf;
- for (s = val; *s; s++)
- if (*s != ' ' && *s != '\t' && !strchr(sep, *s))
- break;
- if (*s == '"')
- { s++;
- while (*s && *s != '"' && --len)
- *t++ = *s++;
- }
- else
- { while (soap_notblank(*s) && !strchr(sep, *s) && --len)
- { if (*s == '%')
- { *t++ = ((s[1] >= 'A' ? (s[1] & 0x7) + 9 : s[1] - '0') << 4)
- + (s[2] >= 'A' ? (s[2] & 0x7) + 9 : s[2] - '0');
- s += 3;
- }
- else
- *t++ = *s++;
- }
- }
- *t = '\0';
- while (*s && !strchr(sep, *s))
- s++;
- return s;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_envelope_begin_out(struct soap *soap)
-{
-#ifndef WITH_LEANER
- size_t n = 0;
- if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary && soap->mime.start)
- { const char *s;
- if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM))
- s = "application/dime";
- else if (soap->version == 2)
- s = "application/soap+xml; charset=utf-8";
- else
- s = "text/xml; charset=utf-8";
- sprintf(soap->tmpbuf, "--%s\r\nContent-Type: %s\r\nContent-Transfer-Encoding: binary\r\nContent-ID: %s\r\n\r\n", soap->mime.boundary, s, soap->mime.start);
- n = strlen(soap->tmpbuf);
- if (soap_send_raw(soap, soap->tmpbuf, n))
- return soap->error;
- }
- if (soap->mode & SOAP_IO_LENGTH)
- soap->dime.size = soap->count; /* DIME in MIME correction */
- if (!(soap->mode & SOAP_IO_LENGTH) && (soap->mode & SOAP_ENC_DIME))
- { if (soap_putdimehdr(soap))
- return soap->error;
- }
-#endif
- soap->part = SOAP_IN_ENVELOPE;
- return soap_element_begin_out(soap, "SOAP-ENV:Envelope", 0, NULL);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_envelope_end_out(struct soap *soap)
-{ if (soap_element_end_out(soap, "SOAP-ENV:Envelope"))
- return soap->error;
-#ifndef WITH_LEANER
- if ((soap->mode & SOAP_IO_LENGTH) && (soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM))
- { soap->dime.size = soap->count - soap->dime.size; /* DIME in MIME correction */
- sprintf(soap->id, soap->dime_id_format, 0);
- soap->dime.id = soap->id;
- if (soap->local_namespaces)
- { if (soap->local_namespaces[0].out)
- soap->dime.type = (char*)soap->local_namespaces[0].out;
- else
- soap->dime.type = (char*)soap->local_namespaces[0].ns;
- }
- soap->dime.options = NULL;
- soap->dime.flags = SOAP_DIME_MB | SOAP_DIME_ABSURI;
- if (!soap->dime.first)
- soap->dime.flags |= SOAP_DIME_ME;
- soap->count += 12 + ((strlen(soap->dime.id)+3)&(~3)) + ((strlen(soap->dime.type)+3)&(~3));
- }
- if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM))
- return soap_send_raw(soap, SOAP_STR_PADDING, -(long)soap->dime.size&3);
-#endif
- soap->part = SOAP_END_ENVELOPE;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_envelope_begin_in(struct soap *soap)
-{ register struct Namespace *p;
- soap->part = SOAP_IN_ENVELOPE;
- if (soap_element_begin_in(soap, "SOAP-ENV:Envelope", 0))
- return soap->error = SOAP_VERSIONMISMATCH;
- p = soap->local_namespaces;
- if (p)
- { const char *ns = p[0].out;
- if (!ns)
- ns = p[0].ns;
- if (!strcmp(ns, soap_env1))
- { soap->version = 1; /* make sure we use SOAP 1.1 */
- if (p[1].out)
- SOAP_FREE(soap, p[1].out);
- if ((p[1].out = (char*)SOAP_MALLOC(soap, sizeof(soap_enc1))))
- strcpy(p[1].out, soap_enc1);
- }
- else if (!strcmp(ns, soap_env2))
- { soap->version = 2; /* make sure we use SOAP 1.2 */
- if (p[1].out)
- SOAP_FREE(soap, p[1].out);
- if ((p[1].out = (char*)SOAP_MALLOC(soap, sizeof(soap_enc2))))
- strcpy(p[1].out, soap_enc2);
- }
- }
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_envelope_end_in(struct soap *soap)
-{ if (soap_element_end_in(soap, "SOAP-ENV:Envelope"))
- return soap->error;
- soap->part = SOAP_END_ENVELOPE;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_body_begin_out(struct soap *soap)
-{ soap->part = SOAP_IN_BODY;
- if (soap->version == 1)
- soap->encoding = 1;
- if (soap_element(soap, "SOAP-ENV:Body", 0, NULL))
- return soap->error;
- if ((soap->mode & SOAP_XML_SEC) && soap_attribute(soap, "id", "_0"))
- return soap->error;
- return soap_element_start_end_out(soap, NULL);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_body_end_out(struct soap *soap)
-{ if (soap_element_end_out(soap, "SOAP-ENV:Body"))
- return soap->error;
- soap->part = SOAP_IN_BODY;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_body_begin_in(struct soap *soap)
-{ soap->part = SOAP_IN_BODY;
- if (soap_element_begin_in(soap, "SOAP-ENV:Body", 0))
- return soap->error;
- if (!soap->body)
- soap->part = SOAP_NO_BODY;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_body_end_in(struct soap *soap)
-{ if (soap->part != SOAP_NO_BODY)
- { if (soap_element_end_in(soap, "SOAP-ENV:Body"))
- return soap->error;
- }
- soap->part = SOAP_END_BODY;
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_recv_header(struct soap *soap)
-{ if (soap_getheader(soap) && soap->error == SOAP_TAG_MISMATCH)
- soap->error = SOAP_OK;
- return soap->error;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_endpoint(struct soap *soap, const char *endpoint)
-{ register const char *s;
- register size_t i, n;
- soap->endpoint[0] = '\0';
- soap->host[0] = '\0';
- soap->path[0] = '/';
- soap->path[1] = '\0';
- soap->port = 80;
- if (!endpoint || !*endpoint)
- return;
- if (!strncmp(endpoint, "https:", 6))
- soap->port = 443;
- strncpy(soap->endpoint, endpoint, sizeof(soap->endpoint) - 1);
- s = strchr(endpoint, ':');
- if (s && s[1] == '/' && s[2] == '/')
- s += 3;
- else
- s = endpoint;
- n = strlen(s);
- if (n >= sizeof(soap->host))
- n = sizeof(soap->host) - 1;
-#ifdef WITH_IPV6
- if ('[' == s[0])
- { s++;
- for (i = 0; i < n; i++)
- { soap->host[i] = s[i];
- if (']' == s[i])
- {
- s++;
- break;
- }
- }
- }
- else
- { for (i = 0; i < n; i++)
- { soap->host[i] = s[i];
- if (s[i] == '/' || s[i] == ':')
- break;
- }
- }
-#else
- for (i = 0; i < n; i++)
- { soap->host[i] = s[i];
- if (s[i] == '/' || s[i] == ':')
- break;
- }
-#endif
- soap->host[i] = '\0';
- if (s[i] == ':')
- { soap->port = (int)atol(s + i + 1);
- for (i++; i < n; i++)
- if (s[i] == '/')
- break;
- }
- if (s[i])
- { strncpy(soap->path, s + i, sizeof(soap->path));
- soap->path[sizeof(soap->path) - 1] = '\0';
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_connect(struct soap *soap, const char *endpoint, const char *action)
-{ return soap_connect_command(soap, SOAP_POST, endpoint, action);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_connect_command(struct soap *soap, int http_command, const char *endpoint, const char *action)
-{ char host[sizeof(soap->host)];
- int port;
- size_t count;
- soap->error = SOAP_OK;
- strcpy(host, soap->host); /* save to compare */
- port = soap->port; /* save to compare */
- soap_set_endpoint(soap, endpoint);
-#ifndef WITH_LEANER
- if (soap->fconnect)
- { if ((soap->error = soap->fconnect(soap, endpoint, soap->host, soap->port)))
- return soap->error;
- }
- else
-#endif
- if (soap->fopen && *soap->host)
- { soap->status = http_command;
- if (!soap->keep_alive || !soap_valid_socket(soap->socket) || strcmp(soap->host, host) || soap->port != port || !soap->fpoll || soap->fpoll(soap))
- { soap->keep_alive = 0; /* to force close */
- soap->omode &= ~SOAP_IO_UDP; /* to force close */
- soap_closesock(soap);
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Connect/reconnect to host='%s' path='%s' port=%d\n", soap->host, soap->path, soap->port));
-#ifdef WITH_UDP
- if (!strncmp(endpoint, "soap.udp:", 9))
- soap->omode |= SOAP_IO_UDP;
-#endif
- soap->socket = soap->fopen(soap, endpoint, soap->host, soap->port);
- if (soap->error)
- return soap->error;
- soap->keep_alive = ((soap->omode & SOAP_IO_KEEPALIVE) != 0);
- }
- }
- count = soap_count_attachments(soap);
- if (soap_begin_send(soap))
- return soap->error;
-#ifndef WITH_NOHTTP
- if ((soap->mode & SOAP_IO) != SOAP_IO_STORE && !(soap->mode & SOAP_ENC_XML) && endpoint)
- { unsigned int k = soap->mode;
- soap->mode &= ~(SOAP_IO | SOAP_ENC_ZLIB);
- if ((k & SOAP_IO) != SOAP_IO_FLUSH)
- soap->mode |= SOAP_IO_BUFFER;
- if ((soap->error = soap->fpost(soap, endpoint, soap->host, soap->port, soap->path, action, count)))
- return soap->error;
-#ifndef WITH_LEANER
- if ((k & SOAP_IO) == SOAP_IO_CHUNK)
- { if (soap_flush(soap))
- return soap->error;
- }
-#endif
- soap->mode = k;
- }
- else if (action)
- soap->action = soap_strdup(soap, action);
- if (http_command != SOAP_POST)
- return soap_end_send(soap);
-#endif
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_s2base64(struct soap *soap, const unsigned char *s, char *t, size_t n)
-{ register size_t i;
- register unsigned long m;
- register char *p;
- if (!t)
- t = (char*)soap_malloc(soap, (n + 2) / 3 * 4 + 1);
- if (!t)
- { soap->error = SOAP_EOM;
- return NULL;
- }
- p = t;
- t[0] = '\0';
- if (!s)
- return p;
- for (; n > 2; n -= 3, s += 3)
- { m = s[0];
- m = (m << 8) | s[1];
- m = (m << 8) | s[2];
- for (i = 4; i > 0; m >>= 6)
- t[--i] = soap_base64o[m & 0x3F];
- t += 4;
- }
- t[0] = '\0';
- if (n > 0)
- { m = 0;
- for (i = 0; i < n; i++)
- m = (m << 8) | *s++;
- for (; i < 3; i++)
- m <<= 8;
- for (i++; i > 0; m >>= 6)
- t[--i] = soap_base64o[m & 0x3F];
- for (i = 3; i > n; i--)
- t[i] = '=';
- t[4] = '\0';
- }
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_base642s(struct soap *soap, const char *s, char *t, size_t l, int *n)
-{ register int i, j, c;
- register unsigned long m;
- register const char *p;
- if (!t)
- { l = (strlen(s) + 3) / 4 * 3;
- t = (char*)soap_malloc(soap, l);
- }
- if (!t)
- { soap->error = SOAP_EOM;
- return NULL;
- }
- p = t;
- if (n)
- *n = 0;
- for (;;)
- { for (i = 0; i < SOAP_BLKLEN; i++)
- { m = 0;
- j = 0;
- while (j < 4)
- { c = *s++;
- if (c == '=' || !c)
- { i *= 3;
- switch (j)
- { case 2:
- *t++ = (char)((m >> 4) & 0xFF);
- i++;
- break;
- case 3:
- *t++ = (char)((m >> 10) & 0xFF);
- *t++ = (char)((m >> 2) & 0xFF);
- i += 2;
- }
- if (n)
- *n += i;
- return p;
- }
- c -= '+';
- if (c >= 0 && c <= 79)
- { m = (m << 6) + soap_base64i[c];
- j++;
- }
- }
- *t++ = (char)((m >> 16) & 0xFF);
- *t++ = (char)((m >> 8) & 0xFF);
- *t++ = (char)(m & 0xFF);
- if (l < 3)
- { if (n)
- *n += i;
- return p;
- }
- l -= 3;
- }
- if (n)
- *n += 3 * SOAP_BLKLEN;
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-char*
-SOAP_FMAC2
-soap_s2hex(struct soap *soap, const unsigned char *s, char *t, size_t n)
-{ register char *p;
- if (!t)
- t = (char*)soap_malloc(soap, 2 * n + 1);
- if (!t)
- { soap->error = SOAP_EOM;
- return NULL;
- }
- p = t;
- t[0] = '\0';
- if (s)
- { for (; n > 0; n--)
- { register int m = *s++;
- *t++ = (char)((m >> 4) + (m > 159 ? 'a' - 10 : '0'));
- m &= 0x0F;
- *t++ = (char)(m + (m > 9 ? 'a' - 10 : '0'));
- }
- }
- *t++ = '\0';
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-SOAP_FMAC1
-const char*
-SOAP_FMAC2
-soap_hex2s(struct soap *soap, const char *s, char *t, size_t l, int *n)
-{ register const char *p;
- if (!t)
- { l = strlen(s) / 2;
- t = (char*)soap_malloc(soap, l);
- }
- if (!t)
- { soap->error = SOAP_EOM;
- return NULL;
- }
- p = t;
- while (l > 1)
- { register int d1 = *s++;
- register int d2 = *s++;
- *t++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0');
- l -= 2;
- }
- if (n)
- *n = t - p;
- return p;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_puthttphdr(struct soap *soap, int status, size_t count)
-{ register const char *s;
-#ifndef WITH_LEANER
- register const char *r = NULL;
-#endif
- register int err;
- if (status == SOAP_FILE && soap->http_content)
- s = soap->http_content;
- else if (status == SOAP_HTML)
- s = "text/html; charset=utf-8";
- else if (soap->version == 2)
- s = "application/soap+xml; charset=utf-8";
- else
- s = "text/xml; charset=utf-8";
-#ifndef WITH_LEANER
- if (soap->mode & (SOAP_ENC_DIME | SOAP_ENC_MTOM))
- { if (soap->mode & SOAP_ENC_MTOM)
- { r = s;
- s = "application/xop+xml; charset=utf-8";
- }
- else
- s = "application/dime";
- }
- if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary && soap->status != SOAP_GET)
- { register const char *t = strchr(s, ';');
- sprintf(soap->tmpbuf, "multipart/related; boundary=\"%s\"; type=\"", soap->mime.boundary);
- if (t)
- strncat(soap->tmpbuf, s, t - s);
- else
- strcat(soap->tmpbuf, s);
- if (soap->mime.start)
- { strcat(soap->tmpbuf, "\"; start=\"");
- strcat(soap->tmpbuf, soap->mime.start);
- }
- strcat(soap->tmpbuf, "\"");
- if (r)
- { strcat(soap->tmpbuf, "; start-info=\"");
- strcat(soap->tmpbuf, r);
- strcat(soap->tmpbuf, "\"");
- }
- s = soap->tmpbuf;
- }
-#endif
- if ((err = soap->fposthdr(soap, "Content-Type", s)))
- return err;
-#ifdef WITH_ZLIB
- if (soap->omode & SOAP_ENC_ZLIB)
- {
-#ifdef WITH_GZIP
- err = soap->fposthdr(soap, "Content-Encoding", "gzip");
-#else
- err = soap->fposthdr(soap, "Content-Encoding", "deflate");
-#endif
- if (err)
- return err;
- }
-#endif
-#ifndef WITH_LEANER
- if ((soap->omode & SOAP_IO) == SOAP_IO_CHUNK)
- err = soap->fposthdr(soap, "Transfer-Encoding", "chunked");
- else
-#endif
- if (count > 0)
- { sprintf(soap->tmpbuf, "%lu", (unsigned long)count);
- err = soap->fposthdr(soap, "Content-Length", soap->tmpbuf);
- }
- if (err)
- return err;
- return soap->fposthdr(soap, "Connection", soap->keep_alive ? "keep-alive" : "close");
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_get(struct soap *soap)
-{ return SOAP_GET_METHOD;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_post(struct soap *soap, const char *endpoint, const char *host, int port, const char *path, const char *action, size_t count)
-{ register const char *s;
- register int err;
- if (soap->status == SOAP_GET)
- { s = "GET";
- count = 0;
- }
- else
- s = "POST";
-#ifdef PALM
- if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6)) && strncmp(endpoint, "_beam:", 6) && strncmp(endpoint, "_local:", 7) && strncmp(endpoint, "_btobex:", 8))
-#else
- if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6)))
-#endif
- return SOAP_OK;
- if (soap->proxy_host && strncmp(endpoint, "https:", 6))
- sprintf(soap->tmpbuf, "%s %s HTTP/%s", s, endpoint, soap->http_version);
- else
- sprintf(soap->tmpbuf, "%s /%s HTTP/%s", s, (*path == '/' ? path + 1 : path), soap->http_version);
- if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL)))
- return err;
- if (port != 80)
- sprintf(soap->tmpbuf, "%s:%d", host, port);
- else
- strcpy(soap->tmpbuf, host);
- if ((err = soap->fposthdr(soap, "Host", soap->tmpbuf))
- || (err = soap->fposthdr(soap, "User-Agent", "gSOAP/2.7"))
- || (err = soap_puthttphdr(soap, SOAP_OK, count)))
- return err;
-#ifdef WITH_ZLIB
-#ifdef WITH_GZIP
- if ((err = soap->fposthdr(soap, "Accept-Encoding", "gzip, deflate")))
-#else
- if ((err = soap->fposthdr(soap, "Accept-Encoding", "deflate")))
-#endif
- return err;
-#endif
-#ifndef WITH_LEAN
- if (soap->userid && soap->passwd && strlen(soap->userid) + strlen(soap->passwd) < 761)
- { sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd);
- strcpy(soap->tmpbuf, "Basic ");
- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262));
- if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf)))
- return err;
- }
- if (soap->proxy_userid && soap->proxy_passwd && strlen(soap->proxy_userid) + strlen(soap->proxy_passwd) < 761)
- { sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd);
- strcpy(soap->tmpbuf, "Basic ");
- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262));
- if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf)))
- return err;
- }
-#endif
-#ifdef WITH_COOKIES
-#ifdef WITH_OPENSSL
- if (soap_putcookies(soap, host, path, soap->ssl != NULL))
- return soap->error;
-#else
- if (soap_putcookies(soap, host, path, 0))
- return soap->error;
-#endif
-#endif
- if (action && soap->version == 1)
- { sprintf(soap->tmpbuf, "\"%s\"", action);
- if ((err = soap->fposthdr(soap, "SOAPAction", soap->tmpbuf)))
- return err;
- }
- return soap->fposthdr(soap, NULL, NULL);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_send_header(struct soap *soap, const char *s)
-{ register const char *t;
- do
- { t = strchr(s, '\n'); /* disallow \n in HTTP headers */
- if (!t)
- t = s + strlen(s);
- if (soap_send_raw(soap, s, t - s))
- return soap->error;
- s = t + 1;
- } while (*t);
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_post_header(struct soap *soap, const char *key, const char *val)
-{ if (key)
- { if (http_send_header(soap, key))
- return soap->error;
- if (val && (soap_send_raw(soap, ": ", 2) || http_send_header(soap, val)))
- return soap->error;
- }
- return soap_send_raw(soap, "\r\n", 2);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-static int
-http_response(struct soap *soap, int status, size_t count)
-{ register int err;
-#ifdef WMW_RPM_IO
- if (soap->rpmreqid)
- httpOutputEnable(soap->rpmreqid);
-#endif /* WMW_RPM_IO */
- if (!status || status == SOAP_HTML || status == SOAP_FILE)
- { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "OK 200\n"));
-#ifdef WMW_RPM_IO
- if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */
-#else
- if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application */
-#endif /* WMW_RPM_IO */
- { sprintf(soap->tmpbuf, "HTTP/%s 200 OK", soap->http_version);
- if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL)))
- return err;
- }
- else if ((err = soap->fposthdr(soap, "Status", "200 OK")))
- return err;
- }
- else if (status > 200 && status < 600)
- { sprintf(soap->tmpbuf, "HTTP/%s %d %s", soap->http_version, status, http_error(soap, status));
- if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL)))
- return err;
-#ifndef WITH_LEAN
- if (status == 401)
- { sprintf(soap->tmpbuf, "Basic realm=\"%s\"", soap->authrealm ? soap->authrealm : "gSOAP Web Service");
- if ((err = soap->fposthdr(soap, "WWW-Authenticate", soap->tmpbuf)))
- return err;
- }
- else if ((status >= 301 && status <= 303) || status == 307)
- { if ((err = soap->fposthdr(soap, "Location", soap->endpoint)))
- return err;
- }
-#endif
- }
- else
- { const char *s = *soap_faultcode(soap);
- if (soap->version == 2 && !strcmp(s, "SOAP-ENV:Sender"))
- s = "400 Bad Request";
- else
- s = "500 Internal Server Error";
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Error %s (status=%d)\n", s, status));
-#ifdef WMW_RPM_IO
- if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */
-#else
- if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application */
-#endif /* WMW_RPM_IO */
- { sprintf(soap->tmpbuf, "HTTP/%s %s", soap->http_version, s);
- if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL)))
- return err;
- }
- else if ((err = soap->fposthdr(soap, "Status", s)))
- return err;
- }
- if ((err = soap->fposthdr(soap, "Server", "gSOAP/2.7"))
- || (err = soap_puthttphdr(soap, status, count)))
- return err;
-#ifdef WITH_COOKIES
- if (soap_putsetcookies(soap))
- return soap->error;
-#endif
- return soap->fposthdr(soap, NULL, NULL);
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_response(struct soap *soap, int status)
-{ register size_t count;
- if (!(soap->omode & (SOAP_ENC_XML | SOAP_IO_STORE /* this tests for chunking too */))
- && (status == SOAP_HTML || status == SOAP_FILE))
- { soap->omode &= ~SOAP_IO;
- soap->omode |= SOAP_IO_STORE;
- }
- soap->status = status;
- count = soap_count_attachments(soap);
- if (soap_begin_send(soap))
- return soap->error;
-#ifndef WITH_NOHTTP
- if ((soap->mode & SOAP_IO) != SOAP_IO_STORE && !(soap->mode & SOAP_ENC_XML))
- { register int n = soap->mode;
- soap->mode &= ~(SOAP_IO | SOAP_ENC_ZLIB);
- if ((n & SOAP_IO) != SOAP_IO_FLUSH)
- soap->mode |= SOAP_IO_BUFFER;
- if ((soap->error = soap->fresponse(soap, status, count)))
- return soap->error;
-#ifndef WITH_LEANER
- if ((n & SOAP_IO) == SOAP_IO_CHUNK)
- { if (soap_flush(soap))
- return soap->error;
- }
-#endif
- soap->mode = n;
- }
-#endif
- return SOAP_OK;
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_LEAN
-static const char*
-soap_set_validation_fault(struct soap *soap, const char *s, const char *t)
-{ if (*soap->tag)
- sprintf(soap->msgbuf, "Validation constraint violation: %s%s in element <%s>", s, t?t:SOAP_STR_EOS, soap->tag);
- else
- sprintf(soap->msgbuf, "Validation constraint violation: %s%s", s, t?t:SOAP_STR_EOS);
- return soap->msgbuf;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_set_fault(struct soap *soap)
-{ const char **c = soap_faultcode(soap);
- const char **s = soap_faultstring(soap);
- if (!*c && !*s && soap->fseterror)
- soap->fseterror(soap, c, s);
- if (!*c)
- { if (soap->version == 2)
- *c = "SOAP-ENV:Sender";
- else
- *c = "SOAP-ENV:Client";
- }
- if (*s)
- return;
- switch (soap->error)
- {
-#ifndef WITH_LEAN
- case SOAP_CLI_FAULT:
- *s = "Client fault";
- break;
- case SOAP_SVR_FAULT:
- *s = "Server fault";
- break;
- case SOAP_TAG_MISMATCH:
- *s = soap_set_validation_fault(soap, "tag name or namespace mismatch", NULL);
- break;
- case SOAP_TYPE:
- *s = soap_set_validation_fault(soap, "data type mismatch ", soap->type);
- break;
- case SOAP_SYNTAX_ERROR:
- *s = "Well-formedness violation";
- break;
- case SOAP_NO_TAG:
- *s = "No XML element tag";
- break;
- case SOAP_MUSTUNDERSTAND:
- *c = "SOAP-ENV:MustUnderstand";
- sprintf(soap->msgbuf, "The data in element '%s' must be understood but cannot be handled", soap->tag);
- *s = soap->msgbuf;
- break;
- case SOAP_VERSIONMISMATCH:
- *c = "SOAP-ENV:VersionMismatch";
- *s = "SOAP version mismatch or invalid SOAP message";
- break;
- case SOAP_DATAENCODINGUNKNOWN:
- *c = "SOAP-ENV:DataEncodingUnknown";
- *s = "Unsupported SOAP data encoding";
- break;
- case SOAP_NAMESPACE:
- *s = soap_set_validation_fault(soap, "namespace mismatch", NULL);
- break;
- case SOAP_FATAL_ERROR:
- *s = "Fatal error";
- break;
- case SOAP_NO_METHOD:
- sprintf(soap->msgbuf, "Method '%s' not implemented: method name or namespace not recognized", soap->tag);
- *s = soap->msgbuf;
- break;
- case SOAP_GET_METHOD:
- *s = "HTTP GET method not implemented";
- break;
- case SOAP_EOM:
- *s = "Out of memory";
- break;
- case SOAP_IOB:
- *s = "Array index out of bounds";
- break;
- case SOAP_NULL:
- *s = soap_set_validation_fault(soap, "nil not allowed", NULL);
- break;
- case SOAP_MULTI_ID:
- *s = soap_set_validation_fault(soap, "multiple definitions of id ", soap->id);
- break;
- case SOAP_MISSING_ID:
- *s = soap_set_validation_fault(soap, "missing id for ref ", soap->id);
- break;
- case SOAP_HREF:
- *s = soap_set_validation_fault(soap, "incompatible object ref ", soap->id);
- break;
- case SOAP_FAULT:
- break;
-#ifndef WITH_NOIO
- case SOAP_UDP_ERROR:
- *s = "Message too large for UDP packet";
- break;
- case SOAP_TCP_ERROR:
- *s = tcp_error(soap);
- break;
-#endif
- case SOAP_HTTP_ERROR:
- *s = "HTTP error";
- break;
- case SOAP_SSL_ERROR:
-#ifdef WITH_OPENSSL
- *s = "SSL error";
-#else
- *s = "OpenSSL not installed: recompile with -DWITH_OPENSSL";
-#endif
- break;
- case SOAP_PLUGIN_ERROR:
- *s = "Plugin registry error";
- break;
- case SOAP_DIME_ERROR:
- *s = "DIME format error";
- break;
- case SOAP_DIME_HREF:
- *s = "DIME href to missing attachment";
- break;
- case SOAP_DIME_MISMATCH:
- *s = "DIME version/transmission error";
- break;
- case SOAP_DIME_END:
- *s = "End of DIME error";
- break;
- case SOAP_MIME_ERROR:
- *s = "MIME format error";
- break;
- case SOAP_MIME_HREF:
- *s = "MIME href to missing attachment";
- break;
- case SOAP_MIME_END:
- *s = "End of MIME error";
- break;
- case SOAP_ZLIB_ERROR:
-#ifdef WITH_ZLIB
- sprintf(soap->msgbuf, "Zlib/gzip error: '%s'", soap->d_stream.msg?soap->d_stream.msg:"");
- *s = soap->msgbuf;
-#else
- *s = "Zlib/gzip not installed for (de)compression: recompile with -DWITH_GZIP";
-#endif
- break;
- case SOAP_REQUIRED:
- *s = soap_set_validation_fault(soap, "missing required attribute", NULL);
- break;
- case SOAP_PROHIBITED:
- *s = soap_set_validation_fault(soap, "prohibited attribute present", NULL);
- break;
- case SOAP_OCCURS:
- *s = soap_set_validation_fault(soap, "min/maxOccurs violation", NULL);
- break;
- case SOAP_LENGTH:
- *s = soap_set_validation_fault(soap, "content length violation", NULL);
- break;
- case SOAP_STOP:
- *s = "Stopped: no response sent";
- break;
-#endif
- case SOAP_EOF:
-#ifndef WITH_NOIO
- sprintf(soap->msgbuf, "End of file or no input: '%s'", soap_strerror(soap));
- *s = soap->msgbuf;
- break;
-#else
- *s = "End of file or no input";
- break;
-#endif
- default:
-#ifndef WITH_NOHTTP
-#ifndef WITH_LEAN
- if (soap->error > 200 && soap->error < 600)
- { sprintf(soap->msgbuf, "HTTP Error: %d %s", soap->error, http_error(soap, soap->error));
- *s = soap->msgbuf;
- }
- else
-#endif
-#endif
- { sprintf(soap->msgbuf, "Error %d", soap->error);
- *s = soap->msgbuf;
- }
- }
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send_fault(struct soap *soap)
-{ register int status = soap->error;
- int r = 1;
- if (status == SOAP_STOP)
- return status;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Sending back fault struct for error code %d\n", soap->error));
- soap->keep_alive = 0; /* to terminate connection */
- soap_set_fault(soap);
-#ifndef WITH_NOIO
-#ifndef WITH_LEAN
- if (soap_valid_socket(soap->socket))
- { struct timeval timeout;
- fd_set rfd, sfd;
- timeout.tv_sec = 0;
- timeout.tv_usec = 0;
- FD_ZERO(&rfd);
- FD_ZERO(&sfd);
- FD_SET((SOAP_SOCKET)soap->socket, &rfd);
- FD_SET((SOAP_SOCKET)soap->socket, &sfd);
- r = select((SOAP_SOCKET)(soap->socket + 1), &rfd, &sfd, NULL, &timeout);
- if (r > 0)
- { if (!FD_ISSET((SOAP_SOCKET)soap->socket, &sfd)
- || (FD_ISSET((SOAP_SOCKET)soap->socket, &rfd)
- && recv((SOAP_SOCKET)soap->socket, soap->tmpbuf, 1, MSG_PEEK) < 0))
- r = 0;
- }
- }
-#endif
-#endif
- if ((status != SOAP_EOF || (!soap->recv_timeout && !soap->send_timeout)) && r > 0)
- { soap->error = SOAP_OK;
- soap_serializeheader(soap);
- soap_serializefault(soap);
- soap_begin_count(soap);
- if (soap->mode & SOAP_IO_LENGTH)
- { soap_envelope_begin_out(soap);
- soap_putheader(soap);
- soap_body_begin_out(soap);
- soap_putfault(soap);
- soap_body_end_out(soap);
- soap_envelope_end_out(soap);
- }
- if (soap_response(soap, status)
- || soap_envelope_begin_out(soap)
- || soap_putheader(soap)
- || soap_body_begin_out(soap)
- || soap_putfault(soap)
- || soap_body_end_out(soap)
- || soap_envelope_end_out(soap))
- return soap_closesock(soap);
- soap_end_send(soap);
- }
- soap->error = status;
- return soap_closesock(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_recv_fault(struct soap *soap)
-{ register int status = soap->error;
- DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Receiving SOAP Fault\n"));
- soap->error = SOAP_OK;
- if (soap_getfault(soap))
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Error: soap_get_soapfault() failed. Is this a SOAP message at all?\n"));
- *soap_faultcode(soap) = (soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client");
- soap->error = status;
- soap_set_fault(soap);
- }
- else
- { register const char *s = *soap_faultcode(soap);
- if (!soap_match_tag(soap, s, "SOAP-ENV:Server") || !soap_match_tag(soap, s, "SOAP-ENV:Receiver"))
- status = SOAP_SVR_FAULT;
- else if (!soap_match_tag(soap, s, "SOAP-ENV:Client") || !soap_match_tag(soap, s, "SOAP-ENV:Sender"))
- status = SOAP_CLI_FAULT;
- else if (!soap_match_tag(soap, s, "SOAP-ENV:MustUnderstand"))
- status = SOAP_MUSTUNDERSTAND;
- else if (!soap_match_tag(soap, s, "SOAP-ENV:VersionMismatch"))
- status = SOAP_VERSIONMISMATCH;
- else
- { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Fault code %s\n", s));
- status = SOAP_FAULT;
- }
- if (soap_body_end_in(soap)
- || soap_envelope_end_in(soap)
- || soap_end_recv(soap))
- return soap_closesock(soap);
- soap->error = status;
- }
- return soap_closesock(soap);
-}
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_send_empty_response(struct soap *soap)
-{ soap->count = 0;
- if (soap_response(soap, SOAP_OK) || soap_end_send(soap))
- return soap_closesock(soap);
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOHTTP
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_recv_empty_response(struct soap *soap)
-{ if (soap_begin_recv(soap) || soap_end_recv(soap))
- return soap_closesock(soap);
- return SOAP_OK;
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef WITH_NOIO
-#ifndef PALM_1
-static const char*
-soap_strerror(struct soap *soap)
-{ register int err = soap->errnum;
- if (err)
- {
-#ifndef WIN32
- return strerror(err);
-#else
- FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS, NULL, err, 0, (LPTSTR)&soap->errorstr, sizeof(soap->errorstr), NULL);
- return soap->errorstr;
-#endif
- }
- return "Operation interrupted or timed out";
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-static int
-soap_set_error(struct soap *soap, const char *faultcode, const char *faultstring, const char *faultdetail, int soaperror)
-{ *soap_faultcode(soap) = faultcode;
- *soap_faultstring(soap) = faultstring;
- if (faultdetail && *faultdetail)
- { register const char **s = soap_faultdetail(soap);
- if (s)
- *s = faultdetail;
- }
- return soap->error = soaperror;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_sender_error(struct soap *soap, const char *faultstring, const char *faultdetail, int soaperror)
-{ return soap_set_error(soap, soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client", faultstring, faultdetail, soaperror);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_set_receiver_error(struct soap *soap, const char *faultstring, const char *faultdetail, int soaperror)
-{ return soap_set_error(soap, soap->version == 2 ? "SOAP-ENV:Receiver" : "SOAP-ENV:Server", faultstring, faultdetail, soaperror);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-static int
-soap_copy_fault(struct soap *soap, const char *faultcode, const char *faultstring, const char *faultdetail)
-{ char *s = NULL, *t = NULL;
- if (faultstring)
- s = soap_strdup(soap, faultstring);
- if (faultdetail)
- t = soap_strdup(soap, faultdetail);
- return soap_set_error(soap, faultcode, s, t, SOAP_FAULT);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_sender_fault(struct soap *soap, const char *faultstring, const char *faultdetail)
-{ return soap_copy_fault(soap, soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client", faultstring, faultdetail);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_receiver_fault(struct soap *soap, const char *faultstring, const char *faultdetail)
-{ return soap_copy_fault(soap, soap->version == 2 ? "SOAP-ENV:Receiver" : "SOAP-ENV:Server", faultstring, faultdetail);
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-#ifndef WITH_NOSTDLIB
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_print_fault(struct soap *soap, FILE *fd)
-{ if (soap->error)
- { const char **s;
- if (!*soap_faultcode(soap))
- soap_set_fault(soap);
- fprintf(fd, "SOAP FAULT: %s\n\"%s\"\n", *soap_faultcode(soap), *soap_faultstring(soap));
- s = soap_faultdetail(soap);
- if (s && *s)
- fprintf(fd, "Detail: %s\n", *s);
- }
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-#ifndef WITH_NOSTDLIB
-SOAP_FMAC1
-void
-SOAP_FMAC2
-soap_print_fault_location(struct soap *soap, FILE *fd)
-{
-#ifndef WITH_LEAN
- int i, j, c1, c2;
- if (soap->error && soap->buflen > 0)
- { i = (int)soap->bufidx - 1;
- if (i <= 0)
- i = 0;
- c1 = soap->buf[i];
- soap->buf[i] = '\0';
- if ((int)soap->buflen >= i + 1024)
- j = i + 1023;
- else
- j = (int)soap->buflen - 1;
- c2 = soap->buf[j];
- soap->buf[j] = '\0';
- fprintf(fd, "%s%c\n** HERE **\n", soap->buf, c1);
- if (soap->bufidx < soap->buflen)
- fprintf(fd, "%s\n", soap->buf + soap->bufidx);
- soap->buf[i] = c1;
- soap->buf[j] = c2;
- }
-#endif
-}
-#endif
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-SOAP_FMAC1
-int
-SOAP_FMAC2
-soap_register_plugin_arg(struct soap *soap, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void *arg)
-{ register struct soap_plugin *p;
- register int r;
- if (!(p = (struct soap_plugin*)SOAP_MALLOC(soap, sizeof(struct soap_plugin))))
- return soap->error = SOAP_EOM;
- p->id = NULL;
- p->data = NULL;
- p->fcopy = NULL;
- p->fdelete = NULL;
- r = fcreate(soap, p, arg);
- if (!r && p->fdelete)
- { p->next = soap->plugins;
- soap->plugins = p;
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Registered '%s' plugin\n", p->id));
- return SOAP_OK;
- }
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not register plugin '%s': plugin returned error %d (or fdelete callback not set)\n", p->id?p->id:"?", r));
- SOAP_FREE(soap, p);
- return r;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_1
-static void *
-fplugin(struct soap *soap, const char *id)
-{ register struct soap_plugin *p;
- for (p = soap->plugins; p; p = p->next)
- if (p->id == id || !strcmp(p->id, id))
- return p->data;
- return NULL;
-}
-#endif
-
-/******************************************************************************/
-#ifndef PALM_2
-SOAP_FMAC1
-void *
-SOAP_FMAC2
-soap_lookup_plugin(struct soap *soap, const char *id)
-{ return soap->fplugin(soap, id);
-}
-#endif
-
-/******************************************************************************/
-#ifdef __cplusplus
-}
-#endif
-
diff --git a/kresources/groupwise/soap/stdsoap2.h b/kresources/groupwise/soap/stdsoap2.h
deleted file mode 100644
index b68c2407..00000000
--- a/kresources/groupwise/soap/stdsoap2.h
+++ /dev/null
@@ -1,1952 +0,0 @@
-/*
-
-stdsoap2.h 2.7.3
-
-gSOAP runtime environment.
-
-gSOAP XML Web services tools
-Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
-This part of the software is released under one of the following licenses:
-GPL, the gSOAP public license, or Genivia's license for commercial use.
---------------------------------------------------------------------------------
-Contributors:
-
-Wind River Systems, Inc., for the following additions (marked WR[...]) :
- - vxWorks compatible
- - Support for IPv6.
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-A commercial use license is available from Genivia, Inc., contact@genivia.com
---------------------------------------------------------------------------------
-*/
-
-#ifdef WITH_SOAPDEFS_H
-# include "soapdefs.h" /* include user-defined stuff */
-#endif
-
-#ifndef _THREAD_SAFE
-# define _THREAD_SAFE
-#endif
-
-#ifndef OPENSERVER
-# ifndef _REENTRANT
-# define _REENTRANT
-# endif
-#endif
-
-#ifndef SOAP_FMAC1 /* stdsoap2.h declaration macro */
-# define SOAP_FMAC1
-#endif
-
-#ifndef SOAP_FMAC2 /* stdsoap2.h declaration macro */
-# define SOAP_FMAC2
-#endif
-
-#ifndef SOAP_FMAC3 /* (de)serializer declaration macro */
-# define SOAP_FMAC3
-#endif
-
-#ifndef SOAP_FMAC3S /* string converter for (de)serializer declaration macro */
-# define SOAP_FMAC3S SOAP_FMAC3
-#endif
-
-#ifndef SOAP_FMAC4 /* (de)serializer declaration macro */
-# define SOAP_FMAC4
-#endif
-
-#ifndef SOAP_FMAC4S /* string converter for (de)serializer declaration macro */
-# define SOAP_FMAC4S SOAP_FMAC4
-#endif
-
-#ifndef SOAP_FMAC5 /* stub/skeleton declaration macro */
-# define SOAP_FMAC5
-#endif
-
-#ifndef SOAP_FMAC6 /* stub/skeleton declaration macro */
-# define SOAP_FMAC6
-#endif
-
-#ifndef SOAP_CMAC /* class declaration macro */
-# define SOAP_CMAC
-#endif
-
-#ifndef SOAP_NMAC /* namespace table declaration macro */
-# define SOAP_NMAC
-#endif
-
-#ifndef SOAP_SOURCE_STAMP
-# define SOAP_SOURCE_STAMP(str)
-#endif
-
-#ifdef WITH_LEANER
-# ifndef WITH_LEAN
-# define WITH_LEAN
-# endif
-#endif
-
-#ifdef WITH_LEAN
-# ifdef WITH_COOKIES
-# error "Cannot build WITH_LEAN code WITH_COOKIES enabled"
-# endif
-#endif
-
-#ifndef STDSOAP_H
-#define STDSOAP_H
-
-#if defined(__vxworks) || defined(__VXWORKS__)
-# define VXWORKS
-#endif
-
-#ifdef _WIN32
-# ifndef WIN32
-# define WIN32
-# endif
-#endif
-
-#ifdef UNDER_CE
-# ifndef WIN32
-# define WIN32
-# endif
-#endif
-
-#ifdef __BORLANDC__
-# ifdef __WIN32__
-# ifndef WIN32
-# define WIN32
-# endif
-# endif
-#endif
-
-#ifdef __CYGWIN__
-# ifndef CYGWIN
-# define CYGWIN
-# endif
-#endif
-
-#ifdef __SYMBIAN32__
-# define SYMBIAN
-# undef WIN32
-#endif
-
-#if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)
-# ifndef PALM
-# define PALM
-# endif
-#endif
-
-#if defined(__hpux)
-# ifndef HP_UX
-# define HP_UX
-# endif
-#endif
-
-#ifdef __MVS__
-# ifndef OS390
-# define OS390
-# endif
-#endif
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#else
-# if defined(UNDER_CE)
-# define WITH_LEAN
-# define HAVE_SSCANF
-# elif defined(WIN32)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# define SOAP_LONG_FORMAT "%I64d"
-# define SOAP_ULONG_FORMAT "%I64u"
-# elif defined(CYGWIN)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(__APPLE__)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_TIMEGM
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(_AIXVERSION_431)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(HP_UX)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(FREEBSD) || defined(__FreeBSD__)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_STRTOLL
-# define HAVE_STRTOULL
-# define HAVE_GETTIMEOFDAY
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# define SOAP_LONG_FORMAT "%qd"
-# define SOAP_ULONG_FORMAT "%qu"
-# elif defined(__VMS)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(__GLIBC__) || defined(__GNU__)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_STRTOLL
-# define HAVE_STRTOULL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_TIMEGM
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# define HAVE_ISNAN
-# elif defined(__osf__)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_STRTOLL
-# define HAVE_STRTOULL
-# define HAVE_GETTIMEOFDAY
-# define HAVE_SYS_TIMEB_H
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define __USE_STD_IOSTREAM
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# define SOAP_LONG_FORMAT "%ld"
-# define SOAP_ULONG_FORMAT "%lu"
-# elif defined(MAC_CARBON)
-# define WITH_NOIO
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GETHOSTBYNAME_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# elif defined(PALM)
-# define WITH_LEAN
-# define HAVE_STRTOD /* strtod() is defined in palmFunctions.h */
-# include <stdlib.h> /* Needs to be included before unix headers */
-# include <sys_types.h>
-# define IGNORE_STDIO_STUBS
-# include <StdIOPalm.h>
-# define O_NONBLOCK FNONBIO
-# include <sys_socket.h>
-# include "palmFunctions.h"
-# elif defined(SYMBIAN)
-# define WITH_LEAN
-# define WITH_NONAMESPACES
-# define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */
-# include <e32def.h>
-# include <sys/ioctl.h>
-# elif defined(VXWORKS)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_RAND_R
-# define HAVE_PGMTIME_R
-# define HAVE_PLOCALTIME_R
-# define HAVE_MKTIME
-# elif defined(OS390)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MB
-# else
-/* Default asumptions on supported functions */
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_SYS_TIMEB_H
-# define HAVE_FTIME
-# define HAVE_RAND_R
-# define HAVE_GETHOSTBYNAME_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# endif
-#endif
-
-/* TQNX does not have a working version of strtof */
-#if defined(__TQNX__) || defined(TQNX)
-# undef HAVE_STRTOF
-#endif
-
-#ifndef SOAP_LONG_FORMAT
-# define SOAP_LONG_FORMAT "%lld" /* printf format for 64 bit ints */
-#endif
-
-#ifndef SOAP_ULONG_FORMAT
-# define SOAP_ULONG_FORMAT "%llu" /* printf format for unsigned 64 bit ints */
-#endif
-
-#ifndef WITH_NOSTDLIB
-# include <stdlib.h>
-# ifndef PALM
-# include <stdio.h>
-# include <string.h>
-# endif
-# include <ctype.h>
-# include <limits.h>
-#endif
-
-#if defined(__cplusplus) && !defined(WITH_LEAN)
-# include <string>
-# include <iostream>
-#endif
-
-#ifdef WITH_NOHTTP
-# ifndef WITH_NOIO
-# define WITH_NOIO
-# undef WITH_COOKIES
-# endif
-#endif
-
-#ifndef UNDER_CE
-# ifndef PALM
-# ifndef WITH_NOIO
-# include <errno.h>
-# include <sys/types.h>
-# endif
-# ifndef WITH_LEAN
-# ifdef HAVE_SYS_TIMEB_H
-# include <sys/timeb.h> /* for ftime() */
-# endif
-# include <time.h>
-# endif
-# endif
-#endif
-
-#ifdef OPENSERVER
-# include <sys/socket.h>
-# include <sys/stream.h>
-# include <sys/protosw.h>
- extern int h_errno;
-#endif
-
-#ifndef WITH_NOIO
-# ifndef WIN32
-# ifndef PALM
-# include <sys/socket.h>
-# ifdef VXWORKS
-# include <sockLib.h>
-# endif
-# ifndef VXWORKS
-# ifndef SYMBIAN
-# include <strings.h>
-# endif
-# endif
-# ifdef SUN_OS
-# include <sys/stream.h> /* SUN */
-# include <sys/socketvar.h> /* SUN < 2.8 (?) */
-# endif
-# ifdef VXWORKS
-# include <sys/times.h>
-# else
-# include <sys/time.h>
-# endif
-# include <netinet/in.h>
-# ifdef OS390
-# include <netinet/tcp_var.h>
-# else
-# include <netinet/tcp.h> /* TCP_NODELAY */
-# endif
-# include <arpa/inet.h>
-# endif
-# endif
-#endif
-
-#ifdef WITH_FASTCGI
-# include <fcgi_stdio.h>
-#endif
-
-#ifdef WITH_OPENSSL
-# define OPENSSL_NO_KRB5
-# include <openssl/ssl.h>
-# include <openssl/err.h>
-# include <openssl/rand.h>
-# ifndef ALLOW_OLD_VERSIONS
-# if (OPENSSL_VERSION_NUMBER < 0x00905100L)
-# error "Must use OpenSSL 0.9.6 or later"
-# endif
-# endif
-#endif
-
-#ifdef WITH_GZIP
-# ifndef WITH_ZLIB
-# define WITH_ZLIB
-# endif
-#endif
-
-#ifdef WITH_CASEINSENSITIVETAGS
-# define SOAP_STRCMP soap_tag_cmp /* case insensitve XML element/attribute names */
-#else
-# define SOAP_STRCMP strcmp /* case sensitive XML element/attribute names */
-#endif
-
-#ifdef WITH_ZLIB
-# include <zlib.h>
-#endif
-
-#ifndef WITH_NOSTDLIB
-# ifndef PALM
-# include <math.h> /* for isnan() */
-# endif
-#endif
-
-#ifdef I_KNOW_WHAT_IM_DOING
-#define DEBUG /* Uncomment to debug sending (in file SENT.log) receiving (in file RECV.log) and messages (in file TEST.log) */
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef WIN32
-# ifndef UNDER_CE
-# include <io.h>
-# include <fcntl.h>
-# endif
-# include <winsock.h>
-/* # include <winsock2.h> */ /* Alternative: use winsock2 (not available with eVC) */
-/* WR[ */
-# ifdef WITH_IPV6
-# include <ws2tcpip.h>
-# include <wspiapi.h>
-# endif
-#else
-# ifdef VXWORKS
-# include <hostLib.h>
-# include <ioctl.h>
-# include <ioLib.h>
-# endif
-/* ]WR */
-# ifndef WITH_NOIO
-# ifndef PALM
-# include <netdb.h>
-# include <netinet/in.h>
-# include <unistd.h>
-# include <fcntl.h>
-# endif
-# endif
-#endif
-
-/* Portability: define SOAP_SOCKLEN_T */
-#if defined(SOCKLEN_T)
-# define SOAP_SOCKLEN_T SOCKLEN_T
-#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__TQNX__) || defined(TQNX) || defined(_AIX) || defined(__NetBSD__) || defined(__DragonFly__)
-# define SOAP_SOCKLEN_T socklen_t
-#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(__osf__) || defined(VXWORKS)
-# define SOAP_SOCKLEN_T int
-#else
-# define SOAP_SOCKLEN_T size_t
-#endif
-
-#ifdef WIN32
-# define SOAP_SOCKET SOCKET
-#else
-# define SOAP_SOCKET int
-# define closesocket(n) close(n)
-#endif
-
-#define SOAP_INVALID_SOCKET (-1)
-#define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET)
-
-#if defined(SYMBIAN)
-# define LONG64 long
-# define ULONG64 unsigned LONG64
-#elif !defined(WIN32) || defined(__GLIBC__) || defined(__GNU__)
-# ifndef LONG64
-# define LONG64 long long
-# define ULONG64 unsigned LONG64
-# endif
-#elif defined(UNDER_CE)
-# define LONG64 __int64
-# define ULONG64 unsigned LONG64
-#elif defined(__BORLANDC__)
-# define LONG64 __int64
-# define ULONG64 unsigned LONG64
-#endif
-
-#if defined(WIN32)
-# define soap_int32 __int32
-#elif defined(SYMBIAN)
-# define soap_int32 long
-#elif defined(PALM)
-# define soap_int32 Int32
-#else
-# define soap_int32 int32_t
-#endif
-
-#ifdef WIN32
-# define SOAP_ERANGE ERANGE
-# define SOAP_EINTR WSAEINTR
-# define SOAP_EAGAIN WSAEWOULDBLOCK
-# define SOAP_EWOULDBLOCK WSAEWOULDBLOCK
-# define SOAP_EINPROGRESS WSAEINPROGRESS
-#else
-# define SOAP_ERANGE ERANGE
-# define SOAP_EINTR EINTR
-# define SOAP_EAGAIN EAGAIN
-# ifdef SYMBIAN
-# define SOAP_EWOULDBLOCK 9898
-# define SOAP_EINPROGRESS 9899
-# else
-# define SOAP_EWOULDBLOCK EWOULDBLOCK
-# define SOAP_EINPROGRESS EINPROGRESS
-# endif
-#endif
-
-#ifdef WIN32
-# ifdef UNDER_CE
-# define soap_errno GetLastError()
-# define soap_socket_errno GetLastError()
-# else
-# define soap_errno GetLastError()
-# define soap_socket_errno WSAGetLastError()
-# endif
-#else
-# ifndef WITH_NOIO
-# define soap_errno errno
-# define soap_socket_errno errno
-# else
-# define soap_errno 0
-# define soap_socket_errno 0
-# endif
-#endif
-
-#ifndef SOAP_BUFLEN
-# ifdef WITH_UDP
-# define SOAP_BUFLEN (65536) /* max UDP packet size */
-# else
-# ifndef WITH_LEAN
-# define SOAP_BUFLEN (65536) /* buffer length for socket packets, also used by gethostbyname_r so don't make this too small */
-# else
-# define SOAP_BUFLEN (2048)
-# endif
-# endif
-#endif
-#ifndef SOAP_LABLEN
-# ifndef WITH_LEAN
-# define SOAP_LABLEN (256) /* initial look-aside buffer length */
-# else
-# define SOAP_LABLEN (32)
-# endif
-#endif
-#ifndef SOAP_PTRHASH
-# ifndef WITH_LEAN
-# define SOAP_PTRHASH (1024) /* size of pointer analysis hash table (must be power of 2) */
-# else
-# define SOAP_PTRHASH (16)
-# endif
-#endif
-#ifndef SOAP_IDHASH
-# ifndef WITH_LEAN
-# define SOAP_IDHASH (1999) /* prime size of hash table for parsed id/ref */
-# else
-# define SOAP_IDHASH (19) /* 19, 199 */
-# endif
-#endif
-#ifndef SOAP_BLKLEN
-# ifndef WITH_LEAN
-# define SOAP_BLKLEN (256) /* size of blocks to collect long strings and XML attributes */
-# else
-# define SOAP_BLKLEN (32)
-# endif
-#endif
-#ifndef SOAP_TAGLEN
-# ifndef WITH_LEAN
-# define SOAP_TAGLEN (256) /* maximum length of XML element tag/attribute name or host/path name + 1 */
-# else
-# define SOAP_TAGLEN (64)
-# endif
-#endif
-#ifndef SOAP_HDRLEN
-# ifndef WITH_LEAN
-# define SOAP_HDRLEN (8192) /* maximum length of HTTP header line (must be >4096 to read cookies) */
-# else
-# define SOAP_HDRLEN (1024)
-# endif
-#endif
-#ifndef SOAP_MAXDIMS
-# ifndef WITH_LEAN
-# define SOAP_MAXDIMS (16) /* maximum array dimensions (array nestings) must be less than 64 to protect soap->tmpbuf */
-# else
-# define SOAP_MAXDIMS (4)
-# endif
-#endif
-
-#ifndef SOAP_MAXLOGS
-# define SOAP_MAXLOGS (3) /* max number of debug logs per struct soap environment */
-# define SOAP_INDEX_RECV (0)
-# define SOAP_INDEX_SENT (1)
-# define SOAP_INDEX_TEST (2)
-#endif
-
-#ifndef SOAP_MAXKEEPALIVE
-# define SOAP_MAXKEEPALIVE (100) /* max iterations to keep server connection alive */
-#endif
-
-#ifndef SOAP_MAXARRAYSIZE
-# define SOAP_MAXARRAYSIZE (100000) /* "trusted" max size of inbound SOAP array for compound array allocation */
-#endif
-
-#ifdef VXWORKS
-# ifdef __INCmathh
-# include <private/mathP.h>
-# ifndef HAVE_ISNAN
-# define HAVE_ISNAN
-# endif
-# define soap_isnan(num) isNan(num)
-# endif
-#endif
-
-#ifdef WIN32
-# include <float.h>
-# ifndef HAVE_ISNAN
-# define HAVE_ISNAN
-# endif
-# define soap_isnan(num) _isnan(num)
-#endif
-
-#ifdef SUN_OS
-# define soap_isnan(n) isnan(n)
-#endif
-
-#if !defined(HAVE_ISNAN) && (defined(_MATH_H) || defined(_MATH_INCLUDED))
-# define HAVE_ISNAN
-#endif
-
-#ifndef soap_isnan
-# ifdef HAVE_ISNAN
-# define soap_isnan(n) isnan(n)
-# else
-# define soap_isnan(_) (0)
-# endif
-#endif
-
-extern const struct soap_double_nan { unsigned int n1, n2; } soap_double_nan;
-
-#ifdef VXWORKS
-# ifndef FLT_MAX
-# define FLT_MAX _ARCH_FLT_MAX
-# endif
-# ifndef DBL_MAX
-# define DBL_MAX _ARCH_DBL_MAX
-# endif
-#endif
-
-#ifndef FLT_NAN
-# ifdef HAVE_ISNAN
-# define FLT_NAN (*(float*)&soap_double_nan)
-# else
-# define FLT_NAN (0.0)
-# endif
-#endif
-
-#ifndef FLT_PINFTY
-# ifdef FLT_MAX
-# define FLT_PINFTY FLT_MAX
-# else
-# ifdef HUGE_VAL
-# define FLT_PINFTY (float)HUGE_VAL
-# else
-# ifdef FLOAT_MAX
-# define FLT_PINFTY FLOAT_MAX
-# else
-# define FLT_PINFTY (3.40282347e+38F)
-# endif
-# endif
-# endif
-#endif
-
-#ifndef FLT_NINFTY
-# define FLT_NINFTY (-FLT_PINFTY)
-#endif
-
-#ifndef DBL_NAN
-# ifdef HAVE_ISNAN
-# define DBL_NAN (*(double*)&soap_double_nan)
-# else
-# define DBL_NAN (0.0)
-# endif
-#endif
-
-#ifndef DBL_PINFTY
-# ifdef DBL_MAX
-# define DBL_PINFTY DBL_MAX
-# else
-# ifdef HUGE_VAL
-# define DBL_PINFTY (double)HUGE_VAL
-# else
-# ifdef DOUBLE_MAX
-# define DBL_PINFTY DOUBLE_MAX
-# else
-# define DBL_PINFTY (1.7976931348623157e+308)
-# endif
-# endif
-# endif
-#endif
-
-#ifndef DBL_NINFTY
-# define DBL_NINFTY (-DBL_PINFTY)
-#endif
-
-#define soap_ispinfd(n) ((n) >= DBL_PINFTY)
-#define soap_ispinff(n) ((n) >= FLT_PINFTY)
-#define soap_isninfd(n) ((n) <= DBL_NINFTY)
-#define soap_isninff(n) ((n) <= FLT_NINFTY)
-
-/* gSOAP error codes */
-
-#define SOAP_EOF EOF
-#define SOAP_ERR EOF
-#define SOAP_OK 0
-#define SOAP_CLI_FAULT 1
-#define SOAP_SVR_FAULT 2
-#define SOAP_TAG_MISMATCH 3
-#define SOAP_TYPE 4
-#define SOAP_SYNTAX_ERROR 5
-#define SOAP_NO_TAG 6
-#define SOAP_IOB 7
-#define SOAP_MUSTUNDERSTAND 8
-#define SOAP_NAMESPACE 9
-/* #define SOAP_OBJ_MISMATCH 10 obsolete */
-#define SOAP_FATAL_ERROR 11
-#define SOAP_FAULT 12
-#define SOAP_NO_METHOD 13
-#define SOAP_GET_METHOD 14
-#define SOAP_EOM 15
-#define SOAP_NULL 16
-#define SOAP_MULTI_ID 17
-#define SOAP_MISSING_ID 18
-#define SOAP_HREF 19
-#define SOAP_UDP_ERROR 20
-#define SOAP_TCP_ERROR 21
-#define SOAP_HTTP_ERROR 22
-#define SOAP_SSL_ERROR 23
-#define SOAP_ZLIB_ERROR 24
-#define SOAP_DIME_ERROR 25
-#define SOAP_DIME_HREF 26
-#define SOAP_DIME_MISMATCH 27
-#define SOAP_DIME_END 28
-#define SOAP_MIME_ERROR 29
-#define SOAP_MIME_HREF 30
-#define SOAP_MIME_END 31
-#define SOAP_VERSIONMISMATCH 32
-#define SOAP_PLUGIN_ERROR 33
-#define SOAP_DATAENCODINGUNKNOWN 34
-#define SOAP_REQUIRED 35
-#define SOAP_PROHIBITED 36
-#define SOAP_OCCURS 37
-#define SOAP_LENGTH 38
-
-#define soap_xml_error_check(e) ((e) == SOAP_TAG_MISMATCH || (e) == SOAP_TAG_END || (e) == SOAP_SYNTAX_ERROR || (e) == SOAP_NAMESPACE || (e) == SOAP_MULTI_ID || (e) == SOAP_MISSING_ID || (e) == SOAP_REQUIRED || (e) == SOAP_PROHIBITED || (e) == SOAP_OCCURS || (e) == SOAP_LENGTH || (e) == SOAP_NULL || (e) == SOAP_HREF)
-#define soap_soap_error_check(e) ((e) == SOAP_CLI_FAULT || (e) == SOAP_SVR_FAULT || (e) == SOAP_VERSIONMISMATCH || (e) == SOAP_MUSTUNDERSTAND || (e) == SOAP_FAULT || (e) == SOAP_NO_METHOD)
-#define soap_tcp_error_check(e) ((e) == SOAP_EOF || (e) == SOAP_TCP_ERROR)
-#define soap_ssl_error_check(e) ((e) == SOAP_SSL_ERROR)
-#define soap_zlib_error_check(e) ((e) == SOAP_ZLIB_ERROR)
-#define soap_http_error_check(e) ((e) == SOAP_HTTP_ERROR || (e) == SOAP_GET_METHOD || ((e) >= 100 && (e) < 600))
-
-/* gSOAP HTTP response status codes 100 to 599 are reserved */
-
-/* Codes 600 to 999 are user definable */
-
-/* Exceptional gSOAP HTTP response status codes >= 1000 */
-
-#define SOAP_STOP 1000 /* No HTTP response */
-#define SOAP_HTML 1001 /* Custom HTML response */
-#define SOAP_FILE 1002 /* Custom file-based response */
-
-/* gSOAP HTTP request status codes */
-
-#define SOAP_POST 1003
-#define SOAP_GET 1104
-
-/* gSOAP DIME */
-
-#define SOAP_DIME_CF 0x01
-#define SOAP_DIME_ME 0x02
-#define SOAP_DIME_MB 0x04
-#define SOAP_DIME_VERSION 0x08 /* DIME version 1 */
-#define SOAP_DIME_MEDIA 0x10
-#define SOAP_DIME_ABSURI 0x20
-
-/* gSOAP ZLIB */
-
-#define SOAP_ZLIB_NONE 0x00
-#define SOAP_ZLIB_DEFLATE 0x01
-#define SOAP_ZLIB_INFLATE 0x02
-#define SOAP_ZLIB_GZIP 0x02
-
-/* gSOAP transport, connection, and content encoding modes */
-
-typedef soap_int32 soap_mode;
-
-#define SOAP_IO 0x00000003 /* IO mask */
-#define SOAP_IO_FLUSH 0x00000000 /* flush output immediately, no buffering */
-#define SOAP_IO_BUFFER 0x00000001 /* buffer output in packets of size SOAP_BUFLEN */
-#define SOAP_IO_STORE 0x00000002 /* store entire output to determine length for transport */
-#define SOAP_IO_CHUNK 0x00000003 /* use HTTP chunked transfer AND buffer packets */
-
-#define SOAP_IO_UDP 0x00000004
-#define SOAP_IO_LENGTH 0x00000008
-#define SOAP_IO_KEEPALIVE 0x00000010
-
-#define SOAP_ENC_LATIN 0x00800020 /* iso-8859-1 encoding */
-#define SOAP_ENC_XML 0x00000040 /* plain XML encoding, no HTTP header */
-#define SOAP_ENC_DIME 0x00000080
-#define SOAP_ENC_MIME 0x00000100
-#define SOAP_ENC_MTOM 0x00000200
-#define SOAP_ENC_ZLIB 0x00000400
-#define SOAP_ENC_SSL 0x00000800
-
-#define SOAP_ENC 0x00000FFF /* IO and ENC mask */
-
-#define SOAP_XML_STRICT 0x00001000 /* strict validation */
-#define SOAP_XML_CANONICAL 0x00002000 /* C14N canonical XML */
-#define SOAP_XML_TREE 0x00004000
-#define SOAP_XML_GRAPH 0x00008000
-#define SOAP_XML_NIL 0x00010000
-#define SOAP_XML_DOM 0x00020000
-#define SOAP_XML_SEC 0x00040000 /* reserved for WS security */
-
-#define SOAP_C_NOIOB 0x00100000
-#define SOAP_C_UTFSTRING 0x00200000
-#define SOAP_C_MBSTRING 0x00400000
-
-#define SOAP_DOM_TREE 0x01000000
-#define SOAP_DOM_NODE 0x02000000
-
-#define SOAP_IO_DEFAULT SOAP_IO_FLUSH
-
-/* SSL client/server authentication settings */
-
-#define SOAP_SSL_NO_AUTHENTICATION 0x00 /* for testing purposes */
-#define SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION 0x01 /* client requires server to authenticate */
-#define SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION 0x02 /* server requires client to authenticate */
-
-#define SOAP_SSL_DEFAULT SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION
-
-/* */
-
-#define SOAP_BEGIN 0
-#define SOAP_IN_ENVELOPE 2
-#define SOAP_IN_HEADER 3
-#define SOAP_END_HEADER 4
-#define SOAP_NO_BODY 5
-#define SOAP_IN_BODY 6
-#define SOAP_END_BODY 7
-#define SOAP_END_ENVELOPE 8
-#define SOAP_END 9
-
-/* DEBUG macros */
-
-#ifndef WITH_LEAN
-# ifdef DEBUG
-# ifndef SOAP_DEBUG
-# define SOAP_DEBUG
-# endif
-# endif
-#endif
-
-#ifdef SOAP_DEBUG
-# define SOAP_MALLOC(soap, size) soap_track_malloc(soap, __FILE__, __LINE__, size)
-# define SOAP_FREE(soap, ptr) soap_track_free(soap, __FILE__, __LINE__, ptr)
-#endif
-
-#ifndef SOAP_MALLOC /* use libc malloc */
-# define SOAP_MALLOC(soap, size) malloc(size)
-#endif
-
-#ifndef SOAP_FREE /* use libc free */
-# define SOAP_FREE(soap, ptr) free(ptr)
-#endif
-
-#ifdef SOAP_DEBUG
-# ifndef SOAP_MESSAGE
-# define SOAP_MESSAGE fprintf
-# endif
-# ifndef DBGLOG
-# define DBGLOG(DBGFILE, CMD) \
-{ if (soap)\
- { if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
- soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\
- if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
- { FILE *fdebug = soap->fdebug[SOAP_INDEX_##DBGFILE];\
- CMD;\
- fflush(fdebug);\
- }\
- }\
-}
-# endif
-# ifndef DBGMSG
-# define DBGMSG(DBGFILE, MSG, LEN) \
-{ if (soap)\
- { if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
- soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\
- if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
- { fwrite((MSG), 1, (LEN), soap->fdebug[SOAP_INDEX_##DBGFILE]);\
- fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\
- }\
- }\
-}
-# endif
-#else
-# define DBGLOG(DBGFILE, CMD)
-# define DBGMSG(DBGFILE, MSG, LEN)
-#endif
-
-/* UCS-4 requires 32 bits (0-7FFFFFFF, the sign bit is used by gSOAP to distinguish XML entities) */
-typedef soap_int32 soap_wchar;
-
-struct Namespace
-{ const char *id;
- const char *ns;
- const char *in;
- char *out;
-};
-
-struct soap_nlist
-{ struct soap_nlist *next;
- unsigned int level;
- short index; /* corresponding entry in ns mapping table */
- char *ns; /* only set when parsed ns URI is not in the ns mapping table */
- char id[1]; /* the actual string value flows into the allocated region below this struct */
-};
-
-struct soap_blist
-{ struct soap_blist *next;
- char *ptr;
- size_t size;
-};
-
-struct soap_array
-{ void *__ptr;
- int __size;
-};
-
-/* pointer serialization management */
-struct soap_plist
-{ struct soap_plist *next;
- const void *ptr;
- const struct soap_array *array;
- int type;
- int id;
- char mark1;
- char mark2;
-};
-
-#ifdef SOAP_DEBUG
-struct soap_mlist
-{ struct soap_mlist *next;
- const void *ptr;
- const char *file;
- int line;
- short live;
-};
-#endif
-
-/* class allocation list */
-struct soap_clist
-{ struct soap_clist *next;
- void *ptr;
- int type;
- int size;
- void (*fdelete)(struct soap_clist*);
-};
-
-struct soap_attribute
-{ struct soap_attribute *next;
- char *value;
- size_t size;
- char *ns;
- short visible;
- char name[1]; /* the actual name string flows into the allocated region below this struct */
-};
-
-struct soap_cookie
-{ struct soap_cookie *next;
- char *name;
- char *value;
- char *domain;
- char *path;
- long expire; /* client-side: local time to expire; server-side: seconds to expire */
- unsigned int version;
- short secure;
- short session; /* server-side */
- short env; /* server-side: got cookie from client and should not be (re)send */
- short modified; /* server-side: client cookie was modified and should be send */
-};
-
-#ifdef __cplusplus
-SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*);
-
-class soap_multipart_iterator
-{ public:
- struct soap_multipart *content;
- bool operator==(const soap_multipart_iterator& iter) const
- { return content == iter.content; }
- bool operator!=(const soap_multipart_iterator& iter) const
- { return content != iter.content; }
- struct soap_multipart &operator*() const
- { return *content; }
- soap_multipart_iterator &operator++()
- { content = soap_next_multipart(content); return *this; }
- soap_multipart_iterator() : content(NULL)
- { }
- soap_multipart_iterator(struct soap_multipart *p) : content(p)
- { }
-};
-#endif
-
-#ifndef WITH_LEANER
-struct soap_dime
-{ size_t count;
- size_t size;
- size_t chunksize;
- size_t buflen;
- char flags;
- char *ptr;
- const char *id;
- const char *type;
- const char *options;
- struct soap_multipart *list; /* list of DIME attachments received */
- struct soap_multipart *first, *last; /* temporary in/out queue */
-#ifdef __cplusplus
- soap_multipart_iterator begin()
- { soap_multipart_iterator iter(list); return iter; };
- soap_multipart_iterator end()
- { soap_multipart_iterator iter(NULL); return iter; };
-#endif
-};
-#endif
-
-#ifndef WITH_LEANER
-struct soap_mime
-{ char *boundary; /* MIME boundary */
- const char *start; /* MIME start ID */
- struct soap_multipart *list; /* list of MIME attachments received */
- struct soap_multipart *first, *last; /* temporary in/out queue */
-#ifdef __cplusplus
- soap_multipart_iterator begin()
- { soap_multipart_iterator iter(list); return iter; };
- soap_multipart_iterator end()
- { soap_multipart_iterator iter(NULL); return iter; };
-#endif
-};
-#endif
-
-#ifndef WITH_LEANER
-/* RFC2045 MIME content transfer encodings */
-enum soap_mime_encoding
-{ SOAP_MIME_NONE,
- SOAP_MIME_7BIT,
- SOAP_MIME_8BIT,
- SOAP_MIME_BINARY,
- SOAP_MIME_QUOTED_PRINTABLE,
- SOAP_MIME_BASE64,
- SOAP_MIME_IETF_TOKEN,
- SOAP_MIME_X_TOKEN
-};
-#endif
-
-#ifndef WITH_LEANER
-/* DIME/MIME multipart list */
-struct soap_multipart
-{ struct soap_multipart *next;
- char *ptr; /* points to raw data content */
- size_t size; /* size of data content */
- const char *id; /* DIME/MIME content ID or form data name */
- const char *type; /* DIME/MIME type (MIME type format) */
- const char *options; /* DIME options */
- enum soap_mime_encoding encoding; /* MIME Content-Transfer-Encoding */
- const char *location; /* MIME Content-Location (optional) */
- const char *description; /* MIME Content-Description (optional) */
-#ifdef __cplusplus
- typedef soap_multipart_iterator iterator;
-#endif
-};
-#endif
-
-#ifndef WITH_LEANER
-/* attachment DIME and MTOM XOP forwarding */
-struct soap_xlist
-{ struct soap_xlist *next;
- unsigned char **ptr;
- int *size;
- char *id;
- char **type;
- char **options;
-};
-#endif
-
-#ifndef WITH_LEANER
-struct soap_dom_attribute
-{ struct soap_dom_attribute *next;
- const char *nstr;
- char *name;
- char *data;
- wchar_t *wide;
- struct soap *soap;
-#ifdef __cplusplus
- struct soap_dom_attribute &set(const char *nstr, const char *name); /* set namespace and name */
- struct soap_dom_attribute &set(const char *data); /* set data */
- void unlink();
- soap_dom_attribute();
- soap_dom_attribute(struct soap *soap);
- soap_dom_attribute(struct soap *soap, const char *nstr, const char *name, const char *data);
- ~soap_dom_attribute();
-#endif
-};
-#endif
-
-#ifndef WITH_LEANER
-#ifdef __cplusplus
-class soap_dom_iterator
-{ public:
- struct soap_dom_element *elt;
- const char *nstr;
- const char *name;
- int type;
- bool operator==(const soap_dom_iterator&) const;
- bool operator!=(const soap_dom_iterator&) const;
- struct soap_dom_element &operator*() const;
- soap_dom_iterator &operator++();
- soap_dom_iterator();
- soap_dom_iterator(struct soap_dom_element*);
- ~soap_dom_iterator();
-};
-#endif
-#endif
-
-#ifndef WITH_LEANER
-struct soap_dom_element
-{ struct soap_dom_element *next; /* next sibling */
- struct soap_dom_element *prnt; /* parent */
- struct soap_dom_element *elts; /* first child element */
- struct soap_dom_attribute *atts; /* first child attribute */
- const char *nstr; /* namespace string */
- char *name; /* element tag name */
- char *data; /* element content data (with SOAP_C_UTFSTRING flag set) */
- wchar_t *wide; /* element content data */
- int type; /* optional: serialized C/C++ data type */
- void *node; /* optional: pointer to serialized C/C++ data */
- struct soap *soap;
-#ifdef __cplusplus
- typedef soap_dom_iterator iterator;
- struct soap_dom_element &set(const char *nstr, const char *name);
- struct soap_dom_element &set(const char *data);
- struct soap_dom_element &set(void *node, int type);
- struct soap_dom_element &add(struct soap_dom_element*);
- struct soap_dom_element &add(struct soap_dom_element&);
- struct soap_dom_element &add(struct soap_dom_attribute*);
- struct soap_dom_element &add(struct soap_dom_attribute&);
- soap_dom_iterator begin();
- soap_dom_iterator end();
- soap_dom_iterator find(const char *nstr, const char *name);
- soap_dom_iterator find(int type);
- void unlink();
- soap_dom_element();
- soap_dom_element(struct soap *soap);
- soap_dom_element(struct soap *soap, const char *nstr, const char *name);
- soap_dom_element(struct soap *soap, const char *nstr, const char *name, const char *data);
- soap_dom_element(struct soap *soap, const char *nstr, const char *name, void *node, int type);
- ~soap_dom_element();
-#endif
-};
-#endif
-
-#if defined(__cplusplus) && !defined(WITH_LEAN)
-}
-extern std::ostream &operator<<(std::ostream&, const struct soap_dom_element&);
-extern std::istream &operator>>(std::istream&, struct soap_dom_element&);
-extern "C" {
-#endif
-
-struct soap
-{ short version; /* 1 = SOAP1.1 and 2 = SOAP1.2 (set automatically from namespace URI in nsmap table) */
- short copy; /* 1 = copy of another soap struct */
- soap_mode mode;
- soap_mode imode;
- soap_mode omode;
- const char *float_format; /* points to user-definable format string for floats (<1024 chars) */
- const char *double_format; /* points to user-definable format string for doubles (<1024 chars) */
- const char *dime_id_format; /* points to user-definable format string for integer DIME id (<SOAP_TAGLEN chars) */
- const char *http_version; /* HTTP version used "1.0" or "1.1" */
- const char *http_content; /* optional custom response content type (with SOAP_FILE) */
- const char *encodingStyle; /* default = NULL which means that SOAP encoding is used */
- const char *actor;
- int recv_timeout; /* when > 0, gives socket recv timeout in seconds, < 0 in usec */
- int send_timeout; /* when > 0, gives socket send timeout in seconds, < 0 in usec */
- int connect_timeout; /* when > 0, gives socket connect() timeout in seconds, < 0 in usec */
- int accept_timeout; /* when > 0, gives socket accept() timeout in seconds, < 0 in usec */
- int socket_flags; /* socket recv() and send() flags, e.g. set to MSG_NOTQT_SIGNAL to disable sigpipe */
- int connect_flags; /* connect() SOL_SOCKET sockopt flags, e.g. set to SO_DEBUG to debug socket */
- int bind_flags; /* bind() SOL_SOCKET sockopt flags, e.g. set to SO_REUSEADDR to enable reuse */
- int accept_flags; /* accept() SOL_SOCKET sockopt flags */
- const struct Namespace *namespaces; /* Pointer to global namespace mapping table */
- struct Namespace *local_namespaces; /* Local namespace mapping table */
- struct soap_nlist *nlist; /* namespace stack */
- struct soap_blist *blist; /* block allocation stack */
- struct soap_clist *clist; /* class instance allocation list */
- void *alist; /* memory allocation list */
- struct soap_ilist *iht[SOAP_IDHASH];
- struct soap_plist *pht[SOAP_PTRHASH];
- struct SOAP_ENV__Header *header;
- struct SOAP_ENV__Fault *fault;
- void *user; /* to pass user-defined data */
- struct soap_plugin *plugins; /* linked list of plug-in data */
- char *userid; /* HTTP Basic authorization userid */
- char *passwd; /* HTTP Basic authorization passwd */
- int (*fpost)(struct soap*, const char*, const char*, int, const char*, const char*, size_t);
- int (*fget)(struct soap*);
- int (*fposthdr)(struct soap*, const char*, const char*);
- int (*fresponse)(struct soap*, int, size_t);
- int (*fparse)(struct soap*);
- int (*fparsehdr)(struct soap*, const char*, const char*);
- int (*fresolve)(struct soap*, const char*, struct in_addr* inaddr);
- int (*fconnect)(struct soap*, const char*, const char*, int);
- int (*fdisconnect)(struct soap*);
- int (*fclosesocket)(struct soap*, SOAP_SOCKET);
- int (*fshutdownsocket)(struct soap*, SOAP_SOCKET, int);
- int (*fopen)(struct soap*, const char*, const char*, int);
- int (*faccept)(struct soap*, int, struct sockaddr*, int *n);
- int (*fclose)(struct soap*);
- int (*fsend)(struct soap*, const char*, size_t);
- size_t (*frecv)(struct soap*, char*, size_t);
- int (*fpoll)(struct soap*);
- void (*fseterror)(struct soap*, const char **c, const char **s);
- int (*fignore)(struct soap*, const char*);
- int (*fserveloop)(struct soap*);
- void *(*fplugin)(struct soap*, const char*);
-#ifndef WITH_LEANER
- int (*fprepareinit)(struct soap*);
- int (*fpreparesend)(struct soap*, const char*, size_t);
- int (*fpreparerecv)(struct soap*, const char*, size_t);
- void *(*fdimereadopen)(struct soap*, void*, const char*, const char*, const char*);
- void *(*fdimewriteopen)(struct soap*, const char*, const char*, const char*);
- void (*fdimereadclose)(struct soap*, void*);
- void (*fdimewriteclose)(struct soap*, void*);
- size_t (*fdimeread)(struct soap*, void*, char*, size_t);
- int (*fdimewrite)(struct soap*, void*, const char*, size_t);
-#endif
- int master;
- int socket;
-#if defined(__cplusplus) && !defined(WITH_LEAN)
- std::ostream *os;
- std::istream *is;
-#else
- void *os; /* preserve alignment */
- void *is; /* preserve alignment */
-#endif
-#ifndef UNDER_CE
- int sendfd;
- int recvfd;
-#else
- FILE *sendfd;
- FILE *recvfd;
-#endif
-#ifdef WIN32
- char errorstr[256]; /* buf for FormatMessage() */
-#endif
- size_t bufidx; /* index in soap.buf[] */
- size_t buflen; /* length of soap.buf[] content */
- soap_wchar ahead; /* parser lookahead */
- short cdata; /* CDATA parser state */
- short body;
- unsigned int level; /* XML nesting level */
- size_t count; /* message length counter */
- size_t length; /* message length as set by HTTP header */
-#ifdef WITH_FAST
- char *labbuf; /* look-aside buffer */
- size_t lablen; /* look-aside buffer allocated length */
- size_t labidx; /* look-aside buffer index to available part */
-#endif
- char buf[SOAP_BUFLEN];/* send and receive buffer */
- char tmpbuf[1024]; /* in/output buffer for HTTP headers, simpleType values, attribute names, and DIME >=1024 bytes */
- char msgbuf[1024]; /* output buffer for (error) messages <=1024 bytes */
- char tag[SOAP_TAGLEN];
- char id[SOAP_TAGLEN];
- char href[SOAP_TAGLEN];
- char type[SOAP_TAGLEN];
- char arrayType[SOAP_TAGLEN];
- char arraySize[SOAP_TAGLEN];
- char arrayOffset[SOAP_TAGLEN];
- short other;
- short root;
- short position;
- int positions[SOAP_MAXDIMS];
- struct soap_attribute *attributes; /* attribute list */
- short encoding;
- short mustUnderstand;
- short null;
- short ns;
- short part;
- short alloced;
- short peeked;
- short keep_alive;
- size_t chunksize;
- size_t chunkbuflen;
- char endpoint[SOAP_TAGLEN];
- char path[SOAP_TAGLEN];
- char host[SOAP_TAGLEN];
- char *action;
- char *authrealm; /* HTTP authentication realm */
- char *prolog; /* XML declaration prolog */
- unsigned long ip; /* IP number */
- int port; /* port number */
- unsigned int max_keep_alive;
- const char *proxy_host; /* Proxy Server host name */
- int proxy_port; /* Proxy Server port (default = 8080) */
- const char *proxy_userid; /* Proxy Authorization user name */
- const char *proxy_passwd; /* Proxy Authorization password */
- int status; /* -1 when request, else error code to be returned by server */
- int error;
- int errmode;
- int errnum;
- unsigned long idnum;
-#ifndef WITH_LEANER
- struct soap_dom_element *dom;
- struct soap_dime dime;
- struct soap_mime mime;
- struct soap_xlist *xlist;
-#endif
-#if !defined(WITH_LEAN) || defined(SOAP_DEBUG)
- const char *logfile[SOAP_MAXLOGS];
- FILE *fdebug[SOAP_MAXLOGS];
- struct soap_mlist *mht[SOAP_PTRHASH];
-#endif
-#ifndef WITH_LEAN
- struct soap_cookie *cookies;
- const char *cookie_domain;
- const char *cookie_path;
- int cookie_max;
-#endif
-#ifndef WITH_NOIO
-#ifdef WITH_IPV6
- struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */
-#else
- struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */
-#endif
- size_t peerlen;
-#endif
-#ifdef WITH_OPENSSL
- int (*fsslauth)(struct soap*);
- int (*fsslverify)(int, X509_STORE_CTX*);
- BIO *bio;
- SSL *ssl;
- SSL_CTX *ctx;
- short require_server_auth;
- short require_client_auth;
- short rsa; /* when set, use RSA instead of DH */
- const char *keyfile;
- const char *password;
- const char *dhfile;
- const char *cafile;
- const char *capath;
- const char *randfile;
- SSL_SESSION *session;
- char session_host[SOAP_TAGLEN];
- int session_port;
-#endif
-#ifdef WITH_ZLIB
- short zlib_state; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_INFLATE */
- short zlib_in; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
- short zlib_out; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
- z_stream d_stream; /* decompression stream */
- char z_buf[SOAP_BUFLEN]; /* buffer */
- size_t z_buflen;
- unsigned short z_level; /* compression level to be used (0=none, 1=fast to 9=best) */
- uLong z_crc; /* internal gzip crc */
- float z_ratio_in; /* detected compression ratio compressed_length/length of inbound message */
- float z_ratio_out; /* detected compression ratio compressed_length/length of outbound message */
-#endif
-/* WR[ */
-#ifdef WMW_RPM_IO
- void *rpmreqid;
-#endif /* WMW_RPM_IO */
-/* ]WR */
-};
-
-struct soap_code_map
-{ long code;
- const char *string;
-};
-
-/* forwarding list */
-struct soap_flist
-{ struct soap_flist *next;
- int type;
- void *ptr;
- unsigned int level;
- void (*fcopy)(struct soap*, int, int, void*, const void*, size_t);
-};
-
-/* id-ref forwarding list */
-struct soap_ilist
-{ struct soap_ilist *next;
- int type;
- size_t size;
- void *link;
- void *copy;
- struct soap_flist *flist;
- void *ptr;
- unsigned int level;
- char id[1]; /* the actual id string value flows into the allocated region below this struct */
-};
-
-struct soap_plugin
-{ struct soap_plugin *next;
- const char *id;
- void *data;
- int (*fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src);
- void (*fdelete)(struct soap *soap, struct soap_plugin *p); /* should delete fields of plugin only and not free(p) */
-};
-
-#ifndef WITH_NONAMESPACES
-extern SOAP_NMAC struct Namespace namespaces[];
-#endif
-
-#ifndef WITH_LEAN
-# define soap_get0(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx])
-# define soap_get1(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx++])
-#else
-soap_wchar soap_get0(struct soap*);
-soap_wchar soap_get1(struct soap*);
-#endif
-
-#define soap_revget1(soap) ((soap)->bufidx--)
-#define soap_unget(soap, c) ((soap)->ahead = c)
-#define soap_register_plugin(soap, plugin) soap_register_plugin_arg(soap, plugin, NULL)
-#define soap_imode(soap, n) ((soap)->mode = (soap)->imode = (n))
-#define soap_set_imode(soap, n) ((soap)->mode = (soap)->imode |= (n))
-#define soap_clr_imode(soap, n) ((soap)->mode = (soap)->imode &= ~(n))
-#define soap_omode(soap, n) ((soap)->mode = (soap)->omode = (n))
-#define soap_set_omode(soap, n) ((soap)->mode = (soap)->omode |= (n))
-#define soap_clr_omode(soap, n) ((soap)->mode = (soap)->omode &= ~(n))
-#define soap_set_mode(soap, n) ((soap)->mode = ((soap)->imode |= (n), (soap)->omode |= (n)))
-#define soap_clr_mode(soap, n) ((soap)->mode = ((soap)->imode &= ~(n), (soap)->omode &= ~(n)))
-#define soap_destroy(soap) soap_delete((soap), NULL)
-
-#ifdef HAVE_STRRCHR
-# define soap_strrchr(s, t) strrchr(s, t)
-#else
- SOAP_FMAC1 char* SOAP_FMAC2 soap_strrchr(const char *s, int t);
-#endif
-
-#ifdef HAVE_STRTOL
-# define soap_strtol(s, t, b) strtol(s, t, b)
-#else
- SOAP_FMAC1 long SOAP_FMAC2 soap_strtol(const char *s, char **t, int b);
-#endif
-
-#ifdef HAVE_STRTOUL
-# define soap_strtoul(s, t, b) strtoul(s, t, b)
-#else
- SOAP_FMAC1 unsigned long SOAP_FMAC2 soap_strtoul(const char *s, char **t, int b);
-#endif
-
-#ifdef HAVE_RANDOM
-# define soap_random (int)random()
-#else
-# define soap_random rand()
-#endif
-
-#ifdef WITH_NOIDREF
-# define soap_embedded(s, p, t) (0)
-# define soap_id_lookup(s, i, p, t, n, k) (p)
-# define soap_id_forward(s, h, p, st, tt, n, k, fc) (p)
-# define soap_reference(s, a, t) (1)
-# define soap_array_reference(s, p, a, n, t) (1)
-# define soap_embed(s, p, a, n, t, pp) (0)
-# define soap_embedded_id(s, i, p, t) (i)
-# define soap_is_embedded(s, p) (0)
-# define soap_is_single(s, p) (1)
-# define soap_lookup_type(s, i) (0)
-# define soap_getindependent(s) (0)
-# define soap_putindependent(s) (0)
-# define soap_getelement(s, n) (n)
-# define soap_putelement(s, p, t, i, n) (0)
-# define soap_markelement(s, p, n) (0)
-#endif
-
-SOAP_FMAC1 void SOAP_FMAC2 soap_fault(struct soap*);
-SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultcode(struct soap*);
-SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultstring(struct soap*);
-SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultdetail(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_serializeheader(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putheader(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getheader(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_serializefault(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putfault(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getfault(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_poll(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_connect_command(struct soap*, int, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_connect(struct soap*, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_bind(struct soap*, const char*, int, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_accept(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_accept(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_server_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_client_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_puthttphdr(struct soap*, int status, size_t count);
-
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_get_header_attribute(struct soap*, const char*, const char*);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_key(char*, size_t, const char*);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_val(char*, size_t, const char*);
-
-SOAP_FMAC1 size_t SOAP_FMAC2 soap_hash(const char*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_endpoint(struct soap*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_flush_raw(struct soap*, const char*, size_t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_flush(struct soap*);
-SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_get(struct soap*);
-SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getchar(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_tag_cmp(const char*, const char*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_fault(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault(struct soap*, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault(struct soap*, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_sender_error(struct soap*, const char*, const char*, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_receiver_error(struct soap*, const char*, const char*, int);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_send_raw(struct soap*, const char*, size_t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_recv_raw(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_recv(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_send(struct soap*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_send2(struct soap*, const char*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_send3(struct soap*, const char*, const char*, const char*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_pututf8(struct soap*, unsigned long);
-SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getutf8(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_putbase64(struct soap*, const unsigned char*, int);
-SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_getbase64(struct soap*, int*, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_puthex(struct soap*, const unsigned char*, int);
-SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_gethex(struct soap*, int*);
-
-#ifndef WITH_LEANER
-SOAP_FMAC1 int SOAP_FMAC2 soap_xop_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_dime_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
-#endif
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup_id(struct soap*, void *p, int t, struct soap_plist**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup(struct soap*, const void *p, int t, struct soap_plist**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_enter(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_lookup(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type);
-SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_lookup(struct soap*, const char*);
-SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_enter(struct soap*, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_resolve(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_embedded(struct soap*, const void *p, int t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_reference(struct soap*, const void *p, int t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, const struct soap_array *a, int n, int t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_embedded_id(struct soap*, int id, const void *p, int t);
-SOAP_FMAC1 int SOAP_FMAC2 soap_is_embedded(struct soap*, struct soap_plist*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_is_single(struct soap*, struct soap_plist*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_embedded(struct soap*, struct soap_plist*);
-#endif
-
-SOAP_FMAC1 void SOAP_FMAC2 soap_begin_count(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_begin_send(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_end_send(struct soap*);
-
-SOAP_FMAC1 const struct soap_code_map* SOAP_FMAC2 soap_code(const struct soap_code_map*, const char *str);
-SOAP_FMAC1 long SOAP_FMAC2 soap_int_code(const struct soap_code_map*, const char *str, long other);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_str_code(const struct soap_code_map*, long code);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_getline(struct soap*, char*, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_begin_recv(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*);
-
-SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t);
-SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void*);
-SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_link(struct soap*, void*, int, int, void (*fdelete)(struct soap_clist*));
-SOAP_FMAC1 void SOAP_FMAC2 soap_unlink(struct soap*, const void*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_free(struct soap*);
-
-SOAP_FMAC1 void* SOAP_FMAC2 soap_track_malloc(struct soap*, const char*, int, size_t);
-SOAP_FMAC1 void SOAP_FMAC2 soap_track_free(struct soap*, const char*, int, void*);
-
-#ifndef WITH_NOIDREF
-SOAP_FMAC1 int SOAP_FMAC2 soap_lookup_type(struct soap*, const char *id);
-SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
-SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, const void*, size_t));
-#endif
-SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
-SOAP_FMAC1 void SOAP_FMAC2 soap_fcopy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_size(const int *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getoffsets(const char *, const int *, int *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getsize(const char *, const char *, int *);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getsizes(const char *, int *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getposition(const char *, int *);
-
-SOAP_FMAC1 char* SOAP_FMAC2 soap_putsize(struct soap*, const char *, int);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizesoffsets(struct soap*, const char *, const int *, const int *, int);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizes(struct soap*, const char *, const int *, int);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffset(struct soap*, int);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffsets(struct soap*, const int *, int);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_closesock(struct soap*);
-
-SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new(void);
-SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new1(soap_mode);
-SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new2(soap_mode, soap_mode);
-SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy(struct soap*);
-SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy_context(struct soap*,struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_init(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_init1(struct soap*, soap_mode);
-SOAP_FMAC1 void SOAP_FMAC2 soap_init2(struct soap*, soap_mode, soap_mode);
-SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_cleanup(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*);
-
-#ifdef SOAP_DEBUG
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_recv_logfile(struct soap*, const char*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_sent_logfile(struct soap*, const char*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_test_logfile(struct soap*, const char*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_close_logfiles(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_open_logfile(struct soap*, int);
-#endif
-
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_token(struct soap*);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_value(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_match_tag(struct soap*, const char*, const char *);
-SOAP_FMAC1 int SOAP_FMAC2 soap_match_array(struct soap*, const char*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_element(struct soap*, const char*, int, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_out(struct soap*, const char *tag, int id, const char *type);
-SOAP_FMAC1 int SOAP_FMAC2 soap_array_begin_out(struct soap*, const char *tag, int id, const char *type, const char *offset);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_ref(struct soap*, const char *tag, int id, int href);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_href(struct soap*, const char *tag, int id, const char *ref, const char *val);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_null(struct soap*, const char *tag, int id, const char *type);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_result(struct soap*, const char *tag);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_out(struct soap*, const char *tag);
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_start_end_out(struct soap*, const char *tag);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_attribute(struct soap*, const char*, const char*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_in(struct soap*, const char *tag, int nillable);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_in(struct soap*, const char *tag);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_peek_element(struct soap*);
-
-SOAP_FMAC1 void SOAP_FMAC2 soap_retry(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_revert(struct soap*);
-
-SOAP_FMAC1 char* SOAP_FMAC2 soap_strdup(struct soap*, const char*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_string_out(struct soap*, const char *s, int flag);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_string_in(struct soap*, int, long, long);
-
-#ifndef WITH_LEANER
-SOAP_FMAC1 int SOAP_FMAC2 soap_wstring_out(struct soap*, const wchar_t *s, int flag);
-SOAP_FMAC1 wchar_t* SOAP_FMAC2 soap_wstring_in(struct soap*, int, long, long);
-#endif
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_match_namespace(struct soap*, const char *, const char*, int n1, int n2);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_namespaces(struct soap*, struct Namespace*);
-
-SOAP_FMAC1 void SOAP_FMAC2 soap_pop_namespace(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_push_namespace(struct soap*, const char *,const char *);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_new_block(struct soap*);
-SOAP_FMAC1 void* SOAP_FMAC2 soap_push_block(struct soap*, size_t);
-SOAP_FMAC1 void SOAP_FMAC2 soap_pop_block(struct soap*);
-SOAP_FMAC1 size_t SOAP_FMAC2 soap_size_block(struct soap*, size_t);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_first_block(struct soap*);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_next_block(struct soap*);
-SOAP_FMAC1 size_t SOAP_FMAC2 soap_block_size(struct soap*);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_save_block(struct soap*, char*, int);
-SOAP_FMAC1 void SOAP_FMAC2 soap_end_block(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_out(struct soap*);
-SOAP_FMAC1 int soap_envelope_end_out(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_in(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_end_in(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_out(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_out(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_in(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_in(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_recv_header(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_response(struct soap*, int);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_send_empty_response(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_recv_empty_response(struct soap*);
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_send_fault(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_recv_fault(struct soap*);
-
-#ifndef WITH_NOSTDLIB
-SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault(struct soap*, FILE*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault_location(struct soap*, FILE*);
-#endif
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2byte(struct soap*, const char*, char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2short(struct soap*, const char*, short*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2int(struct soap*, const char*, int*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2long(struct soap*, const char*, long*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2LONG64(struct soap*, const char*, LONG64*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2float(struct soap*, const char*, float*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2double(struct soap*, const char*, double*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedByte(struct soap*, const char*, unsigned char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedShort(struct soap*, const char*, unsigned short*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedInt(struct soap*, const char*, unsigned int*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedLong(struct soap*, const char*, unsigned long*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2ULONG64(struct soap*, const char*, ULONG64*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2string(struct soap*, const char*, char**);
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2TQName(struct soap*, const char*, char**);
-
-#ifndef WITH_LEAN
-SOAP_FMAC1 int SOAP_FMAC2 soap_s2dateTime(struct soap*, const char*, time_t*);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_s2base64(struct soap*, const unsigned char*, char*, size_t);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_s2hex(struct soap*, const unsigned char*, char*, size_t);
-#endif
-
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_byte2s(struct soap*, char);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_short2s(struct soap*, short);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_int2s(struct soap*, int);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_long2s(struct soap*, long);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_LONG642s(struct soap*, LONG64);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_float2s(struct soap*, float);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_double2s(struct soap*, double);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedByte2s(struct soap*, unsigned char);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedShort2s(struct soap*, unsigned short);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedInt2s(struct soap*, unsigned int);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedLong2s(struct soap*, unsigned long);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_ULONG642s(struct soap*, ULONG64);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_TQName2s(struct soap*, const char*);
-
-#ifndef WITH_LEAN
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_dateTime2s(struct soap*, time_t);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_base642s(struct soap*, const char*, char*, size_t, int*);
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_hex2s(struct soap*, const char*, char*, size_t, int*);
-#endif
-
-
-SOAP_FMAC1 int* SOAP_FMAC2 soap_inint(struct soap*, const char *tag, int *p, const char *, int);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_inbyte(struct soap*, const char *tag, char *p, const char *, int);
-SOAP_FMAC1 long* SOAP_FMAC2 soap_inlong(struct soap*, const char *tag, long *p, const char *, int);
-SOAP_FMAC1 LONG64* SOAP_FMAC2 soap_inLONG64(struct soap*, const char *tag, LONG64 *p, const char *, int);
-SOAP_FMAC1 short* SOAP_FMAC2 soap_inshort(struct soap*, const char *tag, short *p, const char *, int);
-SOAP_FMAC1 float* SOAP_FMAC2 soap_infloat(struct soap*, const char *tag, float *p, const char *, int);
-SOAP_FMAC1 double* SOAP_FMAC2 soap_indouble(struct soap*, const char *tag, double *p, const char *, int);
-SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_inunsignedByte(struct soap*, const char *tag, unsigned char *p, const char *, int);
-SOAP_FMAC1 unsigned short* SOAP_FMAC2 soap_inunsignedShort(struct soap*, const char *tag, unsigned short *p, const char *, int);
-SOAP_FMAC1 unsigned int* SOAP_FMAC2 soap_inunsignedInt(struct soap*, const char *tag, unsigned int *p, const char *, int);
-SOAP_FMAC1 unsigned long* SOAP_FMAC2 soap_inunsignedLong(struct soap*, const char *tag, unsigned long *p, const char *, int);
-SOAP_FMAC1 ULONG64* SOAP_FMAC2 soap_inULONG64(struct soap*, const char *tag, ULONG64 *p, const char *, int);
-SOAP_FMAC1 char** SOAP_FMAC2 soap_instring(struct soap*, const char *tag, char **p, const char *, int, int, long, long);
-SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char **p);
-
-#ifndef WITH_LEAN
-SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int);
-#endif
-
-#ifndef WITH_LEANER
-SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int, long, long);
-SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p);
-#endif
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_outbyte(struct soap*, const char *tag, int id, const char *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outshort(struct soap*, const char *tag, int id, const short *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outint(struct soap*, const char *tag, int id, const int *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outlong(struct soap*, const char *tag, int id, const long *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outLONG64(struct soap*, const char *tag, int id, const LONG64 *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outfloat(struct soap*, const char *tag, int id, const float *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outdouble(struct soap*, const char *tag, int id, const double *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedByte(struct soap*, const char *tag, int id, const unsigned char *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedShort(struct soap*, const char *tag, int id, const unsigned short *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedInt(struct soap*, const char *tag, int id, const unsigned int *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedLong(struct soap*, const char *tag, int id, const unsigned long *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outULONG64(struct soap*, const char *tag, int id, const ULONG64 *p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outstring(struct soap*, const char *tag, int id, char *const*p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outliteral(struct soap*, const char *tag, char *const*p);
-
-#ifndef WITH_LEAN
-SOAP_FMAC1 int SOAP_FMAC2 soap_outdateTime(struct soap*, const char *tag, int id, const time_t *p, const char *, int);
-#endif
-
-#ifndef WITH_LEANER
-SOAP_FMAC1 int SOAP_FMAC2 soap_outwstring(struct soap*, const char *tag, int id, wchar_t *const*p, const char *, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_outwliteral(struct soap*, const char *tag, wchar_t *const*p);
-#endif
-
-#ifndef WITH_LEANER
-SOAP_FMAC1 int SOAP_FMAC2 soap_attachment(struct soap *, const char*, int, const void*, const struct soap_array*, const char*, const char*, const char*, int, const char*, int);
-SOAP_FMAC1 int SOAP_FMAC2 soap_move(struct soap*, long);
-SOAP_FMAC1 size_t SOAP_FMAC2 soap_tell(struct soap*);
-SOAP_FMAC1 char* SOAP_FMAC2 soap_dime_option(struct soap*, unsigned short, const char*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getdimehdr(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getdime(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putdimehdr(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putdime(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getmimehdr(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_getmime(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putmimehdr(struct soap*, struct soap_multipart*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_putmime(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_dime(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_set_mime(struct soap*, const char *boundary, const char *start);
-SOAP_FMAC1 void SOAP_FMAC2 soap_clr_dime(struct soap*);
-SOAP_FMAC1 void SOAP_FMAC2 soap_clr_mime(struct soap*);
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_dime_attachment(struct soap*, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option);
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_mime_attachment(struct soap*, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description);
-SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*);
-#endif
-
-SOAP_FMAC1 int SOAP_FMAC2 soap_register_plugin_arg(struct soap*, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void*);
-SOAP_FMAC1 void* SOAP_FMAC2 soap_lookup_plugin(struct soap*, const char*);
-
-SOAP_FMAC1 const char* SOAP_FMAC2 soap_attr_value(struct soap *soap, const char *name, int flag);
-SOAP_FMAC1 int SOAP_FMAC2 soap_set_attr(struct soap *soap, const char *name, const char *value);
-SOAP_FMAC1 void SOAP_FMAC2 soap_clr_attr(struct soap *soap);
-
-#ifdef WITH_COOKIES
-SOAP_FMAC1 size_t SOAP_FMAC2 soap_encode_cookie(const char*, char*, size_t);
-SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_set_cookie(struct soap*, const char*, const char*, const char*, const char*);
-SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_cookie(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern char* SOAP_FMAC2 soap_cookie_value(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern char* SOAP_FMAC2 soap_env_cookie_value(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern long SOAP_FMAC2 soap_cookie_expire(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(struct soap*, const char*, long, const char*, const char*);
-SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_session(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern int SOAP_FMAC2 soap_clr_cookie_session(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern void SOAP_FMAC2 soap_clr_cookie(struct soap*, const char*, const char*, const char*);
-SOAP_FMAC1 extern int SOAP_FMAC2 soap_getenv_cookies(struct soap*);
-SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_copy_cookies(struct soap*);
-SOAP_FMAC1 extern void SOAP_FMAC2 soap_free_cookies(struct soap*);
-#endif
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif
-
diff --git a/kresources/groupwise/soap/stl.h b/kresources/groupwise/soap/stl.h
deleted file mode 100644
index 691dfa8c..00000000
--- a/kresources/groupwise/soap/stl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-
-gSOAP XML Web services tools
-Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
-
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-*/
-
-#import "stldeque.h"
-#import "stllist.h"
-#import "stlvector.h"
-#import "stlset.h"
diff --git a/kresources/groupwise/soap/stldeque.h b/kresources/groupwise/soap/stldeque.h
deleted file mode 100644
index 82419977..00000000
--- a/kresources/groupwise/soap/stldeque.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
-gSOAP XML Web services tools
-Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
-
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-*/
-
-#include <deque>
-template <class T> class std::deque;
diff --git a/kresources/groupwise/soap/stllist.h b/kresources/groupwise/soap/stllist.h
deleted file mode 100644
index 281584cc..00000000
--- a/kresources/groupwise/soap/stllist.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
-gSOAP XML Web services tools
-Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
-
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-*/
-
-#include <list>
-template <class T> class std::list;
diff --git a/kresources/groupwise/soap/stlset.h b/kresources/groupwise/soap/stlset.h
deleted file mode 100644
index 719c40a3..00000000
--- a/kresources/groupwise/soap/stlset.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
-gSOAP XML Web services tools
-Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
-
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-*/
-
-#include <set>
-template <class T> class std::set;
diff --git a/kresources/groupwise/soap/stlvector.h b/kresources/groupwise/soap/stlvector.h
deleted file mode 100644
index 229dda50..00000000
--- a/kresources/groupwise/soap/stlvector.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
-gSOAP XML Web services tools
-Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
-
---------------------------------------------------------------------------------
-gSOAP public license.
-
-The contents of this file are subject to the gSOAP Public License Version 1.3
-(the "License"); you may not use this file except in compliance with the
-License. You may obtain a copy of the License at
-http://www.cs.fsu.edu/~engelen/soaplicense.html
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the License.
-
-The Initial Developer of the Original Code is Robert A. van Engelen.
-Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
---------------------------------------------------------------------------------
-GPL license.
-
-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 of the License, 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 02110-1301 USA
-
-Author contact information:
-engelen@genivia.com / engelen@acm.org
---------------------------------------------------------------------------------
-*/
-
-#include <vector>
-template <class T> class std::vector;
diff --git a/kresources/groupwise/soap/typemap.dat b/kresources/groupwise/soap/typemap.dat
deleted file mode 100644
index aaeb094f..00000000
--- a/kresources/groupwise/soap/typemap.dat
+++ /dev/null
@@ -1,143 +0,0 @@
-# typemap.dat
-#
-# Use this file to define namespace prefix and type bindings for
-# the generated header files by the 'wsdl2h' tool. typemap.dat is the
-# default file processed by 'wsdl2h' to customize its output. You can use
-# wsdl2h option -t to specify an alternate file.
-#
-# XML namespace prefix bindings can be provided to override the default
-# choice of the ns1, ns2, ... prefixes generated by wsdl2h. It is highly
-# recommended to provide namespace prefixes for your project's XML
-# namespaces. In this way, changes to the WSDL (or newer releases of
-# wsdl2h) will have a minimal impact on coding.
-# Bindings for namespace prefixes are of the form:
-# prefix = "URI"
-# For example, to bind the 'wsse' prefix to the WS-Security extensions:
-# wsse = "http://schemas.xmlsoap.org/ws/2002/04/secext"
-#
-# Type bindings can by provided to bind XML schema types to C/C++ types
-# for your project.
-# Type bindings are of the form:
-# prefix__type = declaration | use | ptr-use
-# where 'declaration' introduces the type in the header file, 'use'
-# specifies how the type is used directly, 'ptr-use' specifies how the
-# type is used as a pointer type.
-# For example:
-# xsd__string = | char* | char*
-# After enabling this line, all XSD strings will be mapped to char*. Note
-# that the 'declaration' part is empty in this case.
-#
-# Member data and functions can be provided to extend a generated struct
-# or class.
-# Class and struct extensions are of the form:
-# prefix__type = $ member-declaration
-# For example, to add a constructor and destructor to class myns__record:
-# myns__record = $ myns__record();
-# myns__record = $ ~myns__record();
-#
-# Any other material to be included in the generated header file can be
-# provided by enclosing the text within brackets [ and ]. Brackets MUST
-# appear at the start of a new line.
-# For example, to include a note:
-#[
-#// TODO: Don't forget to bind the namespace prefixes!
-#]
-# This comment appears as the first line in the generated header file.
-#
-#-------------------------------------------------------------------------------
-#gSOAP XML Web services tools
-#Copyright (C) 2004-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
-#This software is released under one of the following two licenses:
-#GPL or Genivia's license for commercial use.
-#-------------------------------------------------------------------------------
-#GPL license.
-#
-#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 of the License, 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 02110-1301 USA
-#
-#Author contact information:
-#engelen@genivia.com / engelen@acm.org
-#-------------------------------------------------------------------------------
-#A commercial use license is available from Genivia, Inc., contact@genivia.com
-#-------------------------------------------------------------------------------
-
-[
-// Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
-]
-
-# For WhiteMesa interoperability testing round 2:
-
-i = "http://www.soapinterop.org/"
-s = "http://www.soapinterop.org/xsd"
-
-# Amazon Web Services:
-
-aws = "urn:PI/DevCentral/SoapService"
-
-# MTOM xop and xmime
-
-xop = <http://www.w3.org/2004/08/xop/include>
-xmime = <http://www.w3.org/2004/06/xmlmime>
-xmlmime = <http://www.w3.org/2004/11/xmlmime>
-
-xmime__contentType = | char* | char*
-xmlmime__contentType = | char* | char*
-
-# WS-Addressing
-
-wsa = <http://schemas.xmlsoap.org/ws/2004/08/addressing>
-
-# Bindings for WS-* protocols:
-
-dsig = "http://www.w3.org/2000/09/xmldsig#"
-xenc = "http://www.w3.org/2001/04/xmlenc#"
-wsrp = "http://schemas.xmlsoap.org/rp/"
-wsse = "http://schemas.xmlsoap.org/ws/2002/04/secext"
-wsa3 = "http://schemas.xmlsoap.org/ws/2003/03/addressing"
-wsp = "http://schemas.xmlsoap.org/ws/2004/09/policy"
-wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
-
-# Remember: type bindings are given on a single line.
-# Example XML schema and C/C++ type bindings:
-
-xsd__int = | int
-
-# Novell GroupWise
-ngw = "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl"
-ngwt = "http://schemas.novell.com/2005/01/GroupWise/types"
-ngwm = "http://schemas.novell.com/2005/01/GroupWise/methods"
-ngwe = "http://schemas.novell.com/2005/01/GroupWise/events"
-xsd__dateTime = | char* | char*
-
-# With SOAP encoded arrays, the SOAP-ENC:arrayType attribute is defined
-# but we really don't need it because we never use it
-
-SOAP_ENC__arrayType = | char* | char*
-
-# To use regular char* strings instead of std::string, use:
-
-# xsd__string = | char* | char*
-
-# WS-Policy imports wsu:Id
-
-wsu__Id = typedef char *wsu__Id; | wsu__Id | wsu__Id
-
-# To use regular char* strings serialized with xsi:type attributes, use:
-
-# xsd__string = typedef char *xsd__string; | xsd__string | xsd__string
-
-# More examples:
-
-# xsd__boolean = enum xsd__boolean { false_, true_ }; | enum xsd__boolean
-
-# xsd__base64Binary = class xsd__base64Binary { unsigned char *__ptr; int __size; }; | xsd__base64Binary | xsd__base64Binary
diff --git a/kresources/groupwise/soap/types.xsd b/kresources/groupwise/soap/types.xsd
deleted file mode 100644
index d0416f8e..00000000
--- a/kresources/groupwise/soap/types.xsd
+++ /dev/null
@@ -1,1782 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--
-================================================================================
-File: types.xsd
-
-Copyright (c) 2005-2006 Novell, Inc. All Rights Reserved.
-
-Use and redistribution of this work is subject to the developer license
-agreement through which this work is made available. Pursuant to that license
-agreement, Novell hereby grants You a royalty-free, non-exclusive license to
-include Novell's sample code in Your product(s) that interoperate with the
-applicable Novell product, and worldwide distribution rights to market,
-distribute, or sell Novell's sample code as a component of Your product.
-
-THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NOVELL OR THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
-OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
-
-
-Alternatively, the contents of this file may be used under the terms of
-GNU General Public License Version 2 (the "GPL") as explained below.
-If you wish to allow use of your version of this file only under the terms
-of the GPL, and not to allow others to use your version of this file under
-the provisions appearing above, indicate your decision by deleting the
-provisions above and replace them with the notice and other provisions required
-by the GPL. If you do not delete the provisions above, a recipient may use
-your version of this file under the above provisions of the GPL.
-
-
-This file is free software; you can redistribute it and/or modify it under the
-terms of version 2 of the GNU General Public License as published by the
-Free Software Foundation. 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, contact Novell, Inc. To contact Novell about this
-file by physical or electronic mail, you may find current contact information at www.novell.com.
-================================================================================
---><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.novell.com/2005/01/GroupWise/types" elementFormDefault="qualified" xmlns:tns="http://schemas.novell.com/2005/01/GroupWise/types">
- <xs:element name="acceptLevel" type="tns:AcceptLevel"/>
- <xs:element name="code" type="xs:int"/>
- <xs:element name="description" type="xs:string"/>
- <xs:element name="displayName" type="xs:string"/>
- <xs:element name="email" type="xs:string"/>
- <xs:element name="endDate" type="xs:dateTime"/>
- <xs:element name="gwTrace" type="xs:boolean"/>
- <xs:element name="id" type="tns:uid"/>
- <xs:element name="modified" type="xs:dateTime"/>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="recurrenceKey" type="xs:unsignedInt"/>
- <xs:element name="rights" type="tns:Rights"/>
- <xs:element name="sequence" type="xs:unsignedInt"/>
- <xs:element name="session" type="xs:string"/>
- <xs:element name="startDate" type="xs:dateTime"/>
- <xs:element name="subject" type="xs:string"/>
- <xs:element name="uuid" type="tns:UUID"/>
- <xs:element name="version" type="xs:unsignedInt"/>
- <xs:simpleType name="AcceptLevel">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Free"/>
- <xs:enumeration value="Tentative"/>
- <xs:enumeration value="Busy"/>
- <xs:enumeration value="OutOfOffice"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="AccessControlListEntry">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element ref="tns:rights"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AccessControlList">
- <xs:sequence>
- <xs:element name="entry" type="tns:AccessControlListEntry" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AccessMiscRight">
- <xs:sequence>
- <xs:element name="alarms" type="xs:boolean" minOccurs="0"/>
- <xs:element name="notify" type="xs:boolean" minOccurs="0"/>
- <xs:element name="readHidden" type="xs:boolean" minOccurs="0"/>
- <xs:element name="setup" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AccessRight">
- <xs:sequence>
- <xs:element name="read" type="xs:boolean" minOccurs="0"/>
- <xs:element name="write" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AccessRightChanges">
- <xs:sequence>
- <xs:element name="add" type="tns:AccessRightEntry" minOccurs="0" maxOccurs="1"/>
- <xs:element name="delete" type="tns:AccessRightEntry" minOccurs="0" maxOccurs="1"/>
- <xs:element name="update" type="tns:AccessRightEntry" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AccessRightEntry">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element ref="tns:id" minOccurs="0"/>
- <xs:element name="appointment" type="tns:AccessRight" minOccurs="0"/>
- <xs:element name="mail" type="tns:AccessRight" minOccurs="0"/>
- <xs:element name="misc" type="tns:AccessMiscRight" minOccurs="0"/>
- <xs:element name="note" type="tns:AccessRight" minOccurs="0"/>
- <xs:element name="task" type="tns:AccessRight" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AccessRightList">
- <xs:sequence>
- <xs:element name="entry" type="tns:AccessRightEntry" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AddressBook">
- <xs:complexContent>
- <xs:extension base="tns:Item">
- <xs:sequence>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="isPersonal" type="xs:boolean" minOccurs="0"/>
- <xs:element name="isFrequentContacts" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AddressBookItem">
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element ref="tns:uuid" minOccurs="0"/>
- <xs:element name="comment" type="xs:string" minOccurs="0"/>
- <xs:element name="sync" type="tns:DeltaSyncType" minOccurs="0"/>
- <xs:element name="domain" type="xs:string" minOccurs="0"/>
- <xs:element name="postOffice" type="xs:string" minOccurs="0"/>
- <xs:element name="distinguishedName" type="xs:string" minOccurs="0"/>
- <xs:element name="userid" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AddressBookList">
- <xs:sequence>
- <xs:element name="book" type="tns:AddressBook" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="AgeAction">
- <xs:restriction base="xs:string">
- <xs:enumeration value="archive"/>
- <xs:enumeration value="delete"/>
- <xs:enumeration value="retain"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Alarm">
- <xs:simpleContent>
- <xs:extension base="xs:int">
- <xs:attribute name="enabled" type="xs:boolean"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="Appointment">
- <xs:complexContent>
- <xs:extension base="tns:CalendarItem">
- <xs:sequence>
- <xs:element ref="tns:startDate" minOccurs="0"/>
- <xs:element ref="tns:endDate" minOccurs="0"/>
- <xs:element name="startDay" type="xs:date" minOccurs="0"/>
- <xs:element name="endDay" type="xs:date" minOccurs="0"/>
- <xs:element ref="tns:acceptLevel" minOccurs="0"/>
- <xs:element name="alarm" type="tns:Alarm" minOccurs="0"/>
- <xs:element name="allDayEvent" type="xs:boolean" minOccurs="0"/>
- <xs:element name="place" type="xs:string" minOccurs="0"/>
- <xs:element name="timezone" type="tns:Timezone" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="AppointmentConflict">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Yes"/>
- <xs:enumeration value="No"/>
- <xs:enumeration value="Ignore"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="AttachmentID">
- <xs:simpleContent>
- <xs:extension base="tns:uid">
- <xs:attribute name="itemReference" type="xs:boolean"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="AttachmentInfo">
- <xs:sequence>
- <xs:element name="attachment" type="tns:AttachmentItemInfo" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="AttachmentItemInfo">
- <xs:sequence>
- <xs:element name="id" type="tns:AttachmentID" minOccurs="0"/>
- <xs:element ref="tns:name" minOccurs="0"/>
- <xs:element name="contentId" type="xs:string" minOccurs="0"/>
- <xs:element name="contentType" type="xs:string" minOccurs="0"/>
- <xs:element name="size" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="date" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="data" type="xs:base64Binary" minOccurs="0"/>
- <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Authentication"/>
- <xs:complexType name="BoxEntry">
- <xs:annotation>
- <xs:documentation>
- Return the sent items id if this returnSentItemsId is true. The returnSentItemsId will be the first
- id returned in the list. This is the id of the item that is created in the sent items
- (a.k.a. outbox, itemSource=sent) folder.
- </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element name="status" type="tns:ItemStatus" minOccurs="0"/>
- <xs:element name="thread" type="xs:string" minOccurs="0"/>
- <xs:element name="msgId" type="xs:string" minOccurs="0"/>
- <xs:element name="messageId" type="xs:string" minOccurs="0"/>
- <xs:element name="source" type="tns:ItemSource" minOccurs="0"/>
- <xs:element name="returnSentItemsId" type="xs:boolean" minOccurs="0"/>
- <xs:element name="delivered" type="xs:dateTime"/>
- <xs:element name="class" type="tns:ItemClass" minOccurs="0"/>
- <xs:element name="security" type="tns:ItemSecurity" minOccurs="0"/>
- <xs:element name="comment" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="CalendarFolderAttribute">
- <xs:sequence>
- <xs:element name="flags" type="tns:CalendarFolderFlags" minOccurs="0" maxOccurs="2"/>
- <xs:element name="color" type="xs:unsignedInt" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="CalendarFolderFlags">
- <xs:restriction base="xs:string">
- <xs:enumeration value="ShowInList"/>
- <xs:enumeration value="DontIncludeContent"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="CalendarItem">
- <xs:complexContent>
- <xs:extension base="tns:Mail">
- <xs:sequence>
- <xs:element name="rdate" type="tns:RecurrenceDateType" minOccurs="0"/>
- <xs:element name="rrule" type="tns:RecurrenceRule" minOccurs="0"/>
- <xs:element name="exdate" type="tns:RecurrenceDateType" minOccurs="0"/>
- <xs:element ref="tns:recurrenceKey" minOccurs="0"/>
- <xs:element name="iCalId" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Category">
- <xs:complexContent>
- <xs:extension base="tns:Item">
- <xs:sequence>
- <xs:element name="type" type="tns:CategoryType" minOccurs="0"/>
- <xs:element name="color" type="xs:unsignedInt" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="CategoryList">
- <xs:sequence>
- <xs:element name="category" type="tns:Category" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="CategoryRefList">
- <xs:sequence>
- <xs:element name="category" type="tns:uid" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="primary" type="tns:uid"/>
- </xs:complexType>
- <xs:simpleType name="CategoryType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Normal"/>
- <xs:enumeration value="Personal"/>
- <xs:enumeration value="FollowUp"/>
- <xs:enumeration value="Urgent"/>
- <xs:enumeration value="LowPriority"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="CommentStatus">
- <xs:simpleContent>
- <xs:extension base="xs:dateTime">
- <xs:attribute name="comment" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="Contact">
- <xs:complexContent>
- <xs:extension base="tns:AddressBookItem">
- <xs:sequence>
- <xs:element name="fullName" type="tns:FullName" minOccurs="0"/>
- <xs:element name="emailList" type="tns:EmailAddressList" minOccurs="0"/>
- <xs:element name="imList" type="tns:ImAddressList" minOccurs="0"/>
- <xs:element name="phoneList" type="tns:PhoneList" minOccurs="0"/>
- <xs:element name="addressList" type="tns:PostalAddressList" minOccurs="0"/>
- <xs:element name="officeInfo" type="tns:OfficeInfo" minOccurs="0"/>
- <xs:element name="personalInfo" type="tns:PersonalInfo" minOccurs="0"/>
- <xs:element name="referenceInfo" type="tns:ReferenceInfo" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ContactFolder">
- <xs:complexContent>
- <xs:extension base="tns:SystemFolder">
- <xs:sequence>
- <xs:element name="addressBook" type="tns:uid" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="ContactType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Contact"/>
- <xs:enumeration value="Group"/>
- <xs:enumeration value="Resource"/>
- <xs:enumeration value="Organization"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ContainerItem">
- <xs:complexContent>
- <xs:extension base="tns:Item">
- <xs:sequence>
- <xs:element name="container" type="tns:ContainerRef" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="categories" type="tns:CategoryRefList" minOccurs="0"/>
- <xs:element name="created" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="customs" type="tns:CustomList" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ContainerRef">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="deleted" type="xs:dateTime"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="CursorSeek">
- <xs:restriction base="xs:string">
- <xs:enumeration value="current"/>
- <xs:enumeration value="start"/>
- <xs:enumeration value="end"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Custom">
- <xs:sequence>
- <xs:element name="field" type="xs:string"/>
- <xs:element name="value" type="xs:string" minOccurs="0"/>
- <xs:element name="locked" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" type="tns:CustomType" use="optional"/>
- </xs:complexType>
- <xs:complexType name="CustomList">
- <xs:sequence>
- <xs:element name="custom" type="tns:Custom" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="CustomType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="String"/>
- <xs:enumeration value="Numeric"/>
- <xs:enumeration value="Date"/>
- <xs:enumeration value="Binary"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="Day">
- <xs:restriction base="xs:unsignedByte">
- <xs:maxInclusive value="30"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="DayOfMonth">
- <xs:restriction base="xs:byte">
- <xs:minInclusive value="-30"/>
- <xs:maxInclusive value="30"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="DayOfMonthList">
- <xs:sequence>
- <xs:element name="day" type="tns:DayOfMonth" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DayOfWeek">
- <xs:simpleContent>
- <xs:extension base="tns:WeekDay">
- <xs:attribute name="occurrence" type="tns:OccurrenceType"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="DayOfYear">
- <xs:restriction base="xs:short">
- <xs:minInclusive value="-365"/>
- <xs:maxInclusive value="365"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="DayOfYearList">
- <xs:sequence>
- <xs:element name="day" type="tns:DayOfYear" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DayOfYearWeek">
- <xs:simpleContent>
- <xs:extension base="tns:WeekDay">
- <xs:attribute name="occurrence" type="tns:WeekOfYear"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="DayOfYearWeekList">
- <xs:sequence>
- <xs:element name="day" type="tns:DayOfYearWeek" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DelegatedStatus">
- <xs:simpleContent>
- <xs:extension base="tns:CommentStatus">
- <xs:attribute name="userid" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="DelegateeStatus">
- <xs:complexContent>
- <xs:extension base="tns:RecipientStatus">
- <xs:attribute name="userid" type="xs:string"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="DeltaInfo">
- <xs:sequence>
- <xs:annotation>
- <xs:documentation>
- The deltaInfo structure contains pointers or sequence numbers into a dynamic list.
- count:
- Input: The desired number of items to be returned in one read.
- A count of "-1" means to return all the items in the list.
- If omitted, all the items are returned.
- Output: The actual number of items returned.
- firstSequence:
- Input: The sequence or position to start the read.
- Output: The first valid sequence in the list.
- lastSequence:
- Input: N/A
- Output: The last sequence number successfully read.
- lastTimePORebuild:
- The last time the administrator rebuilt the post office. A post office rebuild
- resets all the sequence numbers. If a rebuild occurs, a resync is required before
- new deltas can be applied to a local list.
- </xs:documentation>
- </xs:annotation>
- <xs:element name="count" type="xs:int" minOccurs="0"/>
- <xs:element name="firstSequence" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="lastSequence" type="xs:unsignedInt" minOccurs="0" nillable="1"/>
- <xs:element name="lastTimePORebuild" type="xs:unsignedInt"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="DeltaSyncType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="add"/>
- <xs:enumeration value="delete"/>
- <xs:enumeration value="update"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Distribution">
- <xs:sequence>
- <xs:element name="from" type="tns:From" minOccurs="0"/>
- <xs:element name="to" type="xs:string" minOccurs="0"/>
- <xs:element name="cc" type="xs:string" minOccurs="0"/>
- <xs:element name="bc" type="xs:string" minOccurs="0"/>
- <xs:element name="recipients" type="tns:RecipientList" minOccurs="0"/>
- <xs:element name="sendoptions" type="tns:SendOptions" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="DistributionType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="TO"/>
- <xs:enumeration value="CC"/>
- <xs:enumeration value="BC"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Document">
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element ref="tns:subject" minOccurs="0"/>
- <xs:element name="library" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="documentNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="documentTypeName" type="xs:string" minOccurs="0"/>
- <xs:element name="author" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="creator" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="officialVersion" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="currentVersion" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="current" type="tns:AccessControlList" minOccurs="0"/>
- <xs:element name="official" type="tns:AccessControlList" minOccurs="0"/>
- <xs:element name="other" type="tns:AccessControlList" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="DocumentRef">
- <xs:complexContent>
- <xs:extension base="tns:Mail">
- <xs:sequence>
- <xs:element name="library" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="documentNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="filename" type="xs:string" minOccurs="0"/>
- <xs:element name="documentTypeName" type="xs:string" minOccurs="0"/>
- <xs:element name="author" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="creator" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="officialVersion" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="currentVersion" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="versionNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="versionDescription" type="xs:string" minOccurs="0"/>
- <xs:element name="fileSize" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="acl" type="tns:AccessControlList" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="DocumentType">
- <xs:sequence>
- <xs:element ref="tns:name"/>
- <xs:element name="life" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="maximumVersions" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="ageAction" type="tns:AgeAction" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DocumentTypeList">
- <xs:sequence>
- <xs:element name="item" type="tns:DocumentType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="EmailAddressList">
- <xs:sequence>
- <xs:element ref="tns:email" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="primary" type="xs:string"/>
- </xs:complexType>
- <xs:simpleType name="Execution">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Startup"/>
- <xs:enumeration value="Exit"/>
- <xs:enumeration value="New"/>
- <xs:enumeration value="FolderOpen"/>
- <xs:enumeration value="FolderClose"/>
- <xs:enumeration value="FolderNew"/>
- <xs:enumeration value="User"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Filter">
- <xs:sequence>
- <xs:element name="element" type="tns:FilterElement" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="FilterDate">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Today"/>
- <xs:enumeration value="Tomorrow"/>
- <xs:enumeration value="ThisMonth"/>
- <xs:enumeration value="ThisWeek"/>
- <xs:enumeration value="ThisYear"/>
- <xs:enumeration value="Yesterday"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="FilterElement">
- <xs:sequence>
- <xs:element name="op" type="tns:FilterOp"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FilterEntry">
- <xs:complexContent>
- <xs:extension base="tns:FilterElement">
- <xs:sequence>
- <xs:element name="field" type="xs:string" minOccurs="0"/>
- <xs:element name="custom" type="tns:Custom" minOccurs="0"/>
- <xs:element name="value" type="xs:string" minOccurs="0"/>
- <xs:element name="date" type="tns:FilterDate" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FilterGroup">
- <xs:annotation>
- <xs:documentation>
- FilterGroup comprises FilterOp "and", "or" or "not"
- </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="tns:FilterElement">
- <xs:sequence>
- <xs:element name="element" type="tns:FilterElement" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="FilterOp">
- <xs:restriction base="xs:string">
- <xs:enumeration value="and"/>
- <xs:enumeration value="or"/>
- <xs:enumeration value="not"/>
- <xs:enumeration value="eq"/>
- <xs:enumeration value="ne"/>
- <xs:enumeration value="gt"/>
- <xs:enumeration value="lt"/>
- <xs:enumeration value="gte"/>
- <xs:enumeration value="lte"/>
- <xs:enumeration value="contains"/>
- <xs:enumeration value="containsWord"/>
- <xs:enumeration value="begins"/>
- <xs:enumeration value="exists"/>
- <xs:enumeration value="notExist"/>
- <xs:enumeration value="isOf"/>
- <xs:enumeration value="isNotOf"/>
- <xs:enumeration value="fieldEqual"/>
- <xs:enumeration value="fieldGTE"/>
- <xs:enumeration value="fieldGT"/>
- <xs:enumeration value="fieldLTE"/>
- <xs:enumeration value="fieldLT"/>
- <xs:enumeration value="fieldNE"/>
- <xs:enumeration value="fieldDateEqual"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Folder">
- <xs:complexContent>
- <xs:extension base="tns:Item">
- <xs:sequence>
- <xs:element name="parent" type="tns:uid"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="count" type="xs:int" minOccurs="0"/>
- <xs:element name="hasUnread" type="xs:boolean" minOccurs="0"/>
- <xs:element name="unreadCount" type="xs:int" minOccurs="0"/>
- <xs:element ref="tns:sequence" minOccurs="0"/>
- <xs:element name="settings" type="tns:uid" minOccurs="0"/>
- <xs:element name="calendarAttribute" type="tns:CalendarFolderAttribute" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FolderACL">
- <xs:sequence>
- <xs:element name="entry" type="tns:FolderACLEntry" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FolderACLEntry">
- <xs:complexContent>
- <xs:extension base="tns:AccessControlListEntry">
- <xs:sequence>
- <xs:element name="status" type="tns:FolderACLStatus" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="FolderACLStatus">
- <xs:restriction base="xs:string">
- <xs:enumeration value="pending"/>
- <xs:enumeration value="accepted"/>
- <xs:enumeration value="deleted"/>
- <xs:enumeration value="opened"/>
- <xs:enumeration value="owner"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="FolderList">
- <xs:sequence>
- <xs:element name="folder" type="tns:Folder" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="FolderType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Mailbox"/>
- <xs:enumeration value="SentItems"/>
- <xs:enumeration value="Draft"/>
- <xs:enumeration value="Trash"/>
- <xs:enumeration value="Calendar"/>
- <xs:enumeration value="Contacts"/>
- <xs:enumeration value="Documents"/>
- <xs:enumeration value="Checklist"/>
- <xs:enumeration value="Cabinet"/>
- <xs:enumeration value="Normal"/>
- <xs:enumeration value="NNTPServer"/>
- <xs:enumeration value="NNTPNewsGroup"/>
- <xs:enumeration value="IMAP"/>
- <xs:enumeration value="Query"/>
- <xs:enumeration value="Root"/>
- <xs:enumeration value="JunkMail"/>
- <xs:enumeration value="Notes"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="FreeBusyBlockList">
- <xs:sequence>
- <xs:element name="block" type="tns:FreeBusyBlock" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FreeBusyBlock">
- <xs:sequence>
- <xs:element ref="tns:startDate"/>
- <xs:element ref="tns:endDate"/>
- <xs:element ref="tns:acceptLevel" minOccurs="0"/>
- <xs:element ref="tns:subject" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FreeBusyInfo">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element name="blocks" type="tns:FreeBusyBlockList"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FreeBusyUserList">
- <xs:sequence>
- <xs:element name="user" type="tns:NameAndEmail" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FreeBusyInfoList">
- <xs:sequence>
- <xs:element name="user" type="tns:FreeBusyInfo" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="FreeBusyStats">
- <xs:sequence>
- <xs:element name="responded" type="xs:int"/>
- <xs:element name="outstanding" type="xs:int"/>
- <xs:element name="total" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="Frequency">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Daily"/>
- <xs:enumeration value="Weekly"/>
- <xs:enumeration value="Monthly"/>
- <xs:enumeration value="Yearly"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="From">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element name="replyTo" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FullName">
- <xs:sequence>
- <xs:element ref="tns:displayName" minOccurs="0"/>
- <xs:element name="namePrefix" type="xs:string" minOccurs="0"/>
- <xs:element name="firstName" type="xs:string" minOccurs="0"/>
- <xs:element name="middleName" type="xs:string" minOccurs="0"/>
- <xs:element name="lastName" type="xs:string" minOccurs="0"/>
- <xs:element name="nameSuffix" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="GMTOffset">
- <xs:annotation>
- <xs:documentation>
- The number of seconds from GMT (UTC)
- </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:int">
- <xs:minExclusive value="-86400"/>
- <xs:maxExclusive value="86400"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Group">
- <xs:complexContent>
- <xs:extension base="tns:AddressBookItem">
- <xs:sequence>
- <xs:element name="members" type="tns:GroupMemberList" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="GroupMember">
- <xs:sequence>
- <xs:element ref="tns:id"/>
- <xs:element ref="tns:name" minOccurs="0"/>
- <xs:element ref="tns:email"/>
- <xs:element name="distType" type="tns:DistributionType" minOccurs="0" default="TO"/>
- <xs:element name="itemType" type="tns:ContactType" minOccurs="0" default="Contact"/>
- <xs:element name="members" type="tns:GroupMemberList" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="GroupMemberList">
- <xs:sequence>
- <xs:element name="member" type="tns:GroupMember" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Host">
- <xs:sequence>
- <xs:element name="ipAddress" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="port" type="xs:unsignedInt" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="Hour">
- <xs:restriction base="xs:unsignedByte">
- <xs:maxInclusive value="23"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ImAddress">
- <xs:sequence>
- <xs:element name="service" type="xs:string" minOccurs="0"/>
- <xs:element name="address" type="xs:string" minOccurs="0"/>
- <!-- type = work, home, etc. -->
- <xs:element name="type" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ImAddressList">
- <xs:sequence>
- <xs:element name="im" type="tns:ImAddress" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Item">
- <xs:sequence>
- <xs:element ref="tns:id" minOccurs="0"/>
- <xs:element ref="tns:name" minOccurs="0"/>
- <xs:element ref="tns:version" minOccurs="0"/>
- <xs:element ref="tns:modified" minOccurs="0"/>
- <xs:element name="changes" type="tns:ItemChanges" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ItemChanges">
- <xs:sequence>
- <xs:element name="add" type="tns:Item" minOccurs="0" maxOccurs="1"/>
- <xs:element name="delete" type="tns:Item" minOccurs="0" maxOccurs="1"/>
- <xs:element name="update" type="tns:Item" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="ItemClass">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Public"/>
- <xs:enumeration value="Private"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ItemList">
- <xs:sequence>
- <xs:element name="item" type="tns:Item" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="offset" type="xs:int"/>
- <xs:attribute name="count" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="ItemOptions">
- <xs:sequence>
- <xs:element name="priority" type="tns:ItemOptionsPriority" minOccurs="0" default="Standard"/>
- <xs:element name="expires" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="delayDeliveryUntil" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="concealSubject" type="xs:boolean" minOccurs="0"/>
- <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="ItemOptionsPriority">
- <xs:restriction base="xs:string">
- <xs:enumeration value="High"/>
- <xs:enumeration value="Standard"/>
- <xs:enumeration value="Low"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ItemRef">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="uid" type="tns:uid" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="ItemRefList">
- <xs:sequence>
- <xs:element name="item" type="tns:uid" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Items">
- <xs:sequence>
- <xs:element name="item" type="tns:Item" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="ItemSecurity">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Normal"/>
- <xs:enumeration value="Proprietary"/>
- <xs:enumeration value="Confidential"/>
- <xs:enumeration value="Secret"/>
- <xs:enumeration value="TopSecret"/>
- <xs:enumeration value="ForYourEyesOnly"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ItemSource">
- <xs:restriction base="xs:string">
- <xs:enumeration value="received"/>
- <xs:enumeration value="sent"/>
- <xs:enumeration value="draft"/>
- <xs:enumeration value="personal"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ItemSourceList">
- <xs:list itemType="tns:ItemSource"/>
- </xs:simpleType>
- <xs:complexType name="ItemStatus">
- <xs:sequence>
- <xs:element name="accepted" type="xs:boolean" minOccurs="0"/>
- <xs:element name="completed" type="xs:boolean" minOccurs="0"/>
- <xs:element name="delegated" type="xs:boolean" minOccurs="0"/>
- <xs:element name="deleted" type="xs:boolean" minOccurs="0"/>
- <xs:element name="forwarded" type="xs:boolean" minOccurs="0"/>
- <xs:element name="private" type="xs:boolean" minOccurs="0"/>
- <xs:element name="opened" type="xs:boolean" minOccurs="0"/>
- <xs:element name="read" type="xs:boolean" minOccurs="0"/>
- <xs:element name="replied" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="JunkEntry">
- <xs:sequence>
- <xs:element name="id" type="tns:uid" minOccurs="0"/>
- <xs:element name="match" type="xs:string"/>
- <xs:element name="matchType" type="tns:JunkMatchType"/>
- <xs:element name="listType" type="tns:JunkHandlingListType" minOccurs="0"/>
- <xs:element name="useCount" type="xs:int" minOccurs="0"/>
- <xs:element name="lastUsed" type="xs:dateTime" nillable="1" minOccurs="0"/>
- <xs:element ref="tns:version" minOccurs="0"/>
- <xs:element ref="tns:modified" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="JunkHandlingList">
- <xs:sequence>
- <xs:element name="entry" type="tns:JunkEntry" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="JunkHandlingListType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="junk"/>
- <xs:enumeration value="block"/>
- <xs:enumeration value="trust"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="JunkMatchType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="email"/>
- <xs:enumeration value="domain"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Library">
- <xs:complexContent>
- <xs:extension base="tns:Item">
- <xs:sequence>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="domain" type="xs:string" minOccurs="0"/>
- <xs:element name="postOffice" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="LibraryList">
- <xs:sequence>
- <xs:element name="library" type="tns:Library" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LinkInfo">
- <xs:sequence>
- <xs:element name="id" type="xs:string"/>
- <xs:element name="type" type="tns:LinkType"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="LinkType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="forward"/>
- <xs:enumeration value="reply"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Mail">
- <xs:complexContent>
- <xs:extension base="tns:BoxEntry">
- <xs:sequence>
- <xs:element ref="tns:subject" minOccurs="0"/>
- <xs:element name="originalSubject" type="xs:string" minOccurs="0"/>
- <xs:element name="subjectPrefix" type="xs:string" minOccurs="0"/>
- <xs:element name="distribution" type="tns:Distribution" minOccurs="0"/>
- <xs:element name="message" type="tns:MessageBody" minOccurs="0"/>
- <xs:element name="attachments" type="tns:AttachmentInfo" minOccurs="0"/>
- <xs:element name="options" type="tns:ItemOptions" minOccurs="0"/>
- <xs:element name="link" type="tns:LinkInfo" minOccurs="0"/>
- <xs:element name="hasAttachment" type="xs:boolean" default="0" minOccurs="0"/>
- <xs:element name="size" type="xs:int" minOccurs="0" default="0"/>
- <xs:element name="subType" type="xs:string" minOccurs="0"/>
- <xs:element name="nntpOrImap" type="xs:boolean" minOccurs="0"/>
- <xs:element name="smimeType" type="tns:SMimeOperation" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:annotation>
- <xs:documentation>
- Currently there is only one MessageBody part. The MessageBody part is
- the text plain message body. The HTML message body will be an
- attachment with a name "text.htm". The HTML message body can have
- related part attachments. They are related if they come immediatelly
- after the "text.htm" attachment and they have a "contentId" element.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType name="MessageBody">
- <xs:sequence>
- <xs:element name="part" type="tns:MessagePart" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="MessageList">
- <xs:restriction base="xs:string">
- <xs:enumeration value="All"/>
- <xs:enumeration value="Modified"/>
- <xs:enumeration value="New"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="MessagePart">
- <xs:simpleContent>
- <xs:extension base="xs:base64Binary">
- <xs:attribute name="id" type="tns:uid" use="optional"/>
- <xs:attribute name="contentId" type="xs:string" default=""/>
- <xs:attribute name="contentType" type="xs:string" default="text/plain" use="optional"/>
- <xs:attribute name="length" type="xs:int" default="0" use="optional"/>
- <xs:attribute name="offset" type="xs:int" default="0" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="MessageType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Appointment"/>
- <xs:enumeration value="CalendarItem"/>
- <xs:enumeration value="DocumentReference"/>
- <xs:enumeration value="Mail"/>
- <xs:enumeration value="Note"/>
- <xs:enumeration value="PhoneMessage"/>
- <xs:enumeration value="Task"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="MessageTypeList">
- <xs:list itemType="tns:MessageType"/>
- </xs:simpleType>
- <xs:simpleType name="Minute">
- <xs:restriction base="xs:unsignedByte">
- <xs:maxInclusive value="59"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ModifyItem">
- <xs:sequence>
- <xs:element name="id" type="tns:uid"/>
- <xs:element name="notification" type="tns:SharedFolderNotification" minOccurs="0"/>
- <xs:element name="updates" type="tns:ItemChanges"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="Month">
- <xs:restriction base="xs:unsignedByte">
- <xs:maxInclusive value="11"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="MonthList">
- <xs:sequence>
- <xs:element name="month" type="tns:Month" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="NameAndEmail">
- <xs:sequence>
- <xs:element ref="tns:displayName" minOccurs="0"/>
- <xs:element ref="tns:email" minOccurs="0"/>
- <xs:element ref="tns:uuid" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Note">
- <xs:complexContent>
- <xs:extension base="tns:CalendarItem">
- <xs:sequence>
- <xs:element name="startDate" type="xs:date" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NotificationType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="SharedAddressBook"/>
- <xs:enumeration value="SharedFolder"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="OccurrenceType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="First"/>
- <xs:enumeration value="Second"/>
- <xs:enumeration value="Third"/>
- <xs:enumeration value="Fourth"/>
- <xs:enumeration value="Fifth"/>
- <xs:enumeration value="Last"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="OfficeInfo">
- <xs:sequence>
- <xs:element name="organization" type="tns:ItemRef" minOccurs="0"/>
- <xs:element name="department" type="xs:string" minOccurs="0"/>
- <xs:element name="title" type="xs:string" minOccurs="0"/>
- <xs:element name="website" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Organization">
- <xs:complexContent>
- <xs:extension base="tns:AddressBookItem">
- <xs:sequence>
- <xs:element name="contact" type="tns:ItemRef" minOccurs="0"/>
- <xs:element name="phone" type="xs:string" minOccurs="0"/>
- <xs:element name="fax" type="xs:string" minOccurs="0"/>
- <xs:element name="address" type="tns:PostalAddress" minOccurs="0"/>
- <xs:element name="website" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="PersonalInfo">
- <xs:sequence>
- <xs:element name="birthday" type="xs:date" nillable="1" minOccurs="0"/>
- <xs:element name="website" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="PhoneFlags">
- <xs:sequence>
- <xs:element name="called" type="xs:boolean" minOccurs="0"/>
- <xs:element name="pleaseCall" type="xs:boolean" minOccurs="0"/>
- <xs:element name="willCall" type="xs:boolean" minOccurs="0"/>
- <xs:element name="returnedYourCall" type="xs:boolean" minOccurs="0"/>
- <xs:element name="wantsToSeeYou" type="xs:boolean" minOccurs="0"/>
- <xs:element name="cameToSeeYou" type="xs:boolean" minOccurs="0"/>
- <xs:element name="urgent" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="PhoneList">
- <xs:sequence>
- <xs:element name="phone" type="tns:PhoneNumber" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="default" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="PhoneMessage">
- <xs:complexContent>
- <xs:extension base="tns:Mail">
- <xs:sequence>
- <xs:element name="caller" type="xs:string" minOccurs="0"/>
- <xs:element name="company" type="xs:string" minOccurs="0"/>
- <xs:element name="phone" type="xs:string" minOccurs="0"/>
- <xs:element name="flags" type="tns:PhoneFlags" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="PhoneNumber">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="type" type="tns:PhoneNumberType" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="PhoneNumberType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Fax"/>
- <xs:enumeration value="Home"/>
- <xs:enumeration value="Mobile"/>
- <xs:enumeration value="Office"/>
- <xs:enumeration value="Pager"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="PlainText">
- <xs:complexContent>
- <xs:extension base="tns:Authentication">
- <xs:sequence>
- <xs:element name="username" type="xs:string"/>
- <xs:element name="password" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="PostalAddress">
- <xs:sequence>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="streetAddress" type="xs:string" minOccurs="0"/>
- <xs:element name="location" type="xs:string" minOccurs="0"/>
- <xs:element name="city" type="xs:string" minOccurs="0"/>
- <xs:element name="state" type="xs:string" minOccurs="0"/>
- <xs:element name="postalCode" type="xs:string" minOccurs="0"/>
- <xs:element name="country" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" type="tns:PostalAddressType" use="required"/>
- </xs:complexType>
- <xs:complexType name="PostalAddressList">
- <xs:sequence>
- <xs:element name="address" type="tns:PostalAddress" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="PostalAddressType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Home"/>
- <xs:enumeration value="Office"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ProblemEntry">
- <xs:sequence>
- <xs:element name="element" type="xs:string" minOccurs="0"/>
- <xs:element ref="tns:code" minOccurs="0"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProblemList">
- <xs:sequence>
- <xs:element name="entry" type="tns:ProblemEntry" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Proxy">
- <xs:complexContent>
- <xs:extension base="tns:Authentication">
- <xs:sequence>
- <xs:element name="username" type="xs:string"/>
- <xs:element name="password" type="xs:string" minOccurs="0"/>
- <xs:element name="proxy" type="xs:string"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ProxyUser">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element ref="tns:id" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ProxyList">
- <xs:sequence>
- <xs:element name="proxy" type="tns:ProxyUser" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Query">
- <xs:sequence>
- <xs:element name="target" type="tns:QueryTarget"/>
- <xs:element name="filter" type="tns:Filter"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="QueryFolder">
- <xs:complexContent>
- <xs:extension base="tns:Folder">
- <xs:sequence>
- <xs:element name="folderType" type="tns:FolderType" minOccurs="0"/>
- <xs:element name="query" type="tns:Query" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="QueryTarget">
- <xs:sequence>
- <xs:element name="source" type="tns:uid" minOccurs="0" maxOccurs="1"/>
- <xs:element name="container" type="tns:uid" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Recipient">
- <xs:complexContent>
- <xs:extension base="tns:NameAndEmail">
- <xs:sequence>
- <xs:element name="distType" type="tns:DistributionType" minOccurs="0" default="TO"/>
- <xs:element name="recipType" type="tns:RecipientType" minOccurs="0" default="User"/>
- <xs:element name="recipientStatus" type="tns:RecipientStatus" minOccurs="0" maxOccurs="1"/>
- <xs:element ref="tns:acceptLevel" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RecipientList">
- <xs:sequence>
- <xs:element name="recipient" type="tns:Recipient" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="RecipientStatus">
- <xs:sequence>
- <xs:element name="delivered" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="undeliverable" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="transferred" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="transferDelayed" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="transferFailed" type="tns:TransferFailedStatus" minOccurs="0"/>
- <xs:element name="downloaded" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="downloadedByThirdParty" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="retractRequested" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="retracted" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="opened" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="deleted" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="undeleted" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="purged" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="accepted" type="tns:CommentStatus" minOccurs="0"/>
- <xs:element name="declined" type="tns:CommentStatus" minOccurs="0"/>
- <xs:element name="replied" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="forwarded" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="shared" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="started" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="completed" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="incomplete" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="delegated" type="tns:DelegatedStatus" minOccurs="0"/>
- <xs:element name="delegateeStatus" type="tns:DelegateeStatus" minOccurs="0" maxOccurs="unbounded"/>
- <!-- USERID property specifies delegatee -->
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="RecipientType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="User"/>
- <xs:enumeration value="Resource"/>
- <xs:enumeration value="PersonalGroup"/>
- <xs:enumeration value="SystemGroup"/>
- <xs:enumeration value="PersonalGroupMember"/>
- <xs:enumeration value="SystemGroupMember"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="RecurrenceDateType">
- <xs:sequence>
- <xs:element name="date" type="xs:date" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="RecurrenceRule">
- <xs:annotation>
- <xs:documentation>
- This is the same logic as iCalendar (RFC 2445).
- </xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="frequency" type="tns:Frequency" minOccurs="0"/>
- <!--
- <xs:choice>
--->
- <xs:element name="count" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="until" type="xs:date" minOccurs="0"/>
- <!--
- </xs:choice>
--->
- <xs:element name="interval" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="byDay" type="tns:DayOfYearWeekList" minOccurs="0"/>
- <xs:element name="byMonthDay" type="tns:DayOfMonthList" minOccurs="0"/>
- <xs:element name="byYearDay" type="tns:DayOfYearList" minOccurs="0"/>
- <xs:element name="byMonth" type="tns:MonthList" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ReferenceInfo">
- <xs:sequence>
- <xs:element name="lastReferenceDate" type="xs:dateTime" nillable="1" minOccurs="0"/>
- <xs:element name="referenceCount" type="xs:int" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Resource">
- <xs:complexContent>
- <xs:extension base="tns:AddressBookItem">
- <xs:sequence>
- <xs:element name="phone" type="xs:string" minOccurs="0"/>
- <xs:element name="resourceType" type="xs:string" minOccurs="0"/>
- <xs:element ref="tns:email" minOccurs="0"/>
- <xs:element name="owner" type="tns:ItemRef" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="RetractType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="myMailbox"/>
- <xs:enumeration value="recipientMailboxes"/>
- <xs:enumeration value="allMailboxes"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="ReturnNotification">
- <xs:annotation>
- <xs:documentation>
- A calendar item will have opened, accepted and decliened (not deleted)
- A box entry item will have opened and deleted
- </xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="opened" type="tns:ReturnNotificationOptions" minOccurs="0"/>
- <xs:element name="deleted" type="tns:ReturnNotificationOptions" minOccurs="0"/>
- <xs:element name="accepted" type="tns:ReturnNotificationOptions" minOccurs="0"/>
- <xs:element name="declined" type="tns:ReturnNotificationOptions" minOccurs="0"/>
- <xs:element name="completed" type="tns:ReturnNotificationOptions" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ReturnNotificationOptions">
- <xs:sequence>
- <xs:element name="mail" type="xs:boolean" default="0" minOccurs="0"/>
- <xs:element name="notify" type="xs:boolean" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Rights">
- <xs:all>
- <xs:element name="read" type="xs:boolean" minOccurs="0"/>
- <xs:element name="add" type="xs:boolean" minOccurs="0"/>
- <xs:element name="edit" type="xs:boolean" minOccurs="0"/>
- <xs:element name="delete" type="xs:boolean" minOccurs="0"/>
- <xs:element name="share" type="xs:boolean" minOccurs="0"/>
- <xs:element name="manage" type="xs:boolean" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="Rule">
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element name="execution" type="tns:Execution" minOccurs="0"/>
- <xs:element ref="tns:sequence"/>
- <xs:element name="enabled" type="xs:boolean" minOccurs="0" default="0"/>
- <xs:element name="types" type="tns:MessageTypeList" minOccurs="0"/>
- <xs:element name="source" type="tns:ItemSourceList" minOccurs="0"/>
- <xs:element name="conflict" type="tns:AppointmentConflict" minOccurs="0" default="Ignore"/>
- <xs:element name="filter" type="tns:Filter" minOccurs="0"/>
- <xs:element name="actions" type="tns:RuleActionList" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RuleAction">
- <xs:sequence>
- <xs:element name="type" type="tns:RuleActionType"/>
- <xs:element name="container" type="tns:uid" minOccurs="0"/>
- <xs:element name="item" type="tns:Mail" minOccurs="0"/>
- <xs:element name="message" type="xs:string" minOccurs="0"/>
- <xs:element ref="tns:acceptLevel" minOccurs="0"/>
- <xs:element name="categories" type="tns:CategoryRefList" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="RuleActionList">
- <xs:sequence>
- <xs:element name="action" type="tns:RuleAction" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="RuleActionType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Accept"/>
- <xs:enumeration value="Archive"/>
- <xs:enumeration value="Category"/>
- <xs:enumeration value="Delegate"/>
- <xs:enumeration value="Delete"/>
- <xs:enumeration value="Forward"/>
- <xs:enumeration value="Link"/>
- <xs:enumeration value="MarkPrivate"/>
- <xs:enumeration value="MarkRead"/>
- <xs:enumeration value="MarkUnread"/>
- <xs:enumeration value="Move"/>
- <xs:enumeration value="Purge"/>
- <xs:enumeration value="Reply"/>
- <xs:enumeration value="Send"/>
- <xs:enumeration value="StopRules"/>
- <xs:enumeration value="Unknown"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="RuleList">
- <xs:sequence>
- <xs:element name="rule" type="tns:Rule" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SendOptionsRequestReply">
- <xs:sequence>
- <xs:element name="whenConvenient" type="xs:boolean" minOccurs="0"/>
- <xs:element name="byDate" type="xs:dateTime" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SendOptions">
- <xs:sequence>
- <xs:element name="requestReply" type="tns:SendOptionsRequestReply" minOccurs="0"/>
- <xs:element name="mimeEncoding" type="xs:string" minOccurs="0"/>
- <xs:element name="statusTracking" type="tns:StatusTracking" minOccurs="0"/>
- <xs:element name="notification" type="tns:ReturnNotification" minOccurs="0"/>
- <xs:element name="updateFrequentContacts" type="xs:boolean" minOccurs="0" default="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Settings">
- <xs:sequence>
- <xs:element name="group" type="tns:SettingsGroup" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="setting" type="tns:Custom" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SettingsGroup">
- <xs:sequence>
- <xs:element name="setting" type="tns:Custom" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="type" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="SettingsList">
- <xs:sequence>
- <xs:element name="setting" type="tns:Custom" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SharedFolder">
- <xs:complexContent>
- <xs:extension base="tns:Folder">
- <xs:sequence>
- <xs:element ref="tns:rights" minOccurs="0"/>
- <xs:element name="acl" type="tns:FolderACL" minOccurs="0"/>
- <xs:element name="owner" type="tns:UUID" minOccurs="0"/>
- <xs:element name="isSharedByMe" type="xs:boolean" minOccurs="0"/>
- <xs:element name="isSharedToMe" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="SharedFolderNotification">
- <xs:sequence>
- <xs:element ref="tns:subject" minOccurs="0"/>
- <xs:element name="message" type="xs:string" minOccurs="0"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SharedNotification">
- <xs:complexContent>
- <xs:extension base="tns:Mail">
- <xs:sequence>
- <xs:element name="notification" type="tns:NotificationType" minOccurs="1"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element ref="tns:rights" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Signature">
- <xs:sequence>
- <xs:element name="id" type="tns:uid" minOccurs="0"/>
- <xs:element ref="tns:name" minOccurs="0"/>
- <xs:element name="default" type="xs:boolean" default="0" minOccurs="0"/>
- <xs:element name="part" type="tns:SignatureData" minOccurs="0"/>
- <xs:element name="global" type="xs:boolean" default="0" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Signatures">
- <xs:sequence>
- <xs:element name="signature" type="tns:Signature" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SignatureData">
- <xs:sequence>
- <xs:element name="size" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="data" type="xs:base64Binary" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SMimeOperation">
- <xs:sequence>
- <xs:element name="signed" type="xs:boolean" minOccurs="0"/>
- <xs:element name="encrypted" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Status">
- <xs:sequence>
- <xs:element ref="tns:code"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="info" type="xs:string" minOccurs="0"/>
- <xs:element name="problems" type="tns:ProblemList" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="StatusTracking">
- <xs:simpleContent>
- <xs:extension base="tns:StatusTrackingOptions">
- <xs:attribute name="autoDelete" type="xs:boolean" default="0"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="StatusTrackingOptions">
- <xs:restriction base="xs:string">
- <xs:enumeration value="None"/>
- <xs:enumeration value="Delivered"/>
- <xs:enumeration value="DeliveredAndOpened"/>
- <xs:enumeration value="All"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="SystemFolder">
- <xs:complexContent>
- <xs:extension base="tns:Folder">
- <xs:sequence>
- <xs:element name="isSystemFolder" type="xs:boolean" minOccurs="0"/>
- <xs:element name="folderType" minOccurs="0" type="tns:FolderType"/>
- <xs:element name="acl" type="tns:FolderACL" minOccurs="0"/>
- <xs:element name="isSharedByMe" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Task">
- <xs:complexContent>
- <xs:extension base="tns:CalendarItem">
- <xs:sequence>
- <xs:element name="startDate" type="xs:date" minOccurs="0"/>
- <xs:element name="dueDate" type="xs:date" minOccurs="0"/>
- <xs:element name="assignedDate" type="xs:date" minOccurs="0"/>
- <xs:element name="taskPriority" type="xs:string" minOccurs="0"/>
- <xs:element name="completed" type="xs:boolean" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Timezone">
- <xs:sequence>
- <xs:element name="id" type="xs:string" minOccurs="0"/>
- <xs:element ref="tns:description" minOccurs="0"/>
- <xs:element name="daylight" type="tns:TimezoneComponent" minOccurs="0" maxOccurs="1"/>
- <xs:element name="standard" type="tns:TimezoneComponent" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="TimezoneComponent">
- <xs:sequence>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="month" type="tns:Month" minOccurs="0"/>
- <!--
- <xs:choice>
--->
- <xs:element name="day" type="tns:Day" minOccurs="0"/>
- <xs:element name="dayOfWeek" type="tns:DayOfWeek" minOccurs="0"/>
- <!--
- </xs:choice>
--->
- <xs:element name="hour" type="tns:Hour" minOccurs="0"/>
- <xs:element name="minute" type="tns:Minute" minOccurs="0"/>
- <xs:element name="offset" type="tns:GMTOffset"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="TimezoneList">
- <xs:sequence>
- <xs:element name="timezone" type="tns:Timezone" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="TransferFailedStatus">
- <xs:complexContent>
- <xs:extension base="tns:RecipientStatus">
- <xs:attribute name="FailureReason" type="xs:string"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="TrustedApplication">
- <xs:complexContent>
- <xs:extension base="tns:Authentication">
- <xs:sequence>
- <xs:element name="username" type="xs:string"/>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="key" type="xs:string"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="uid">
- <xs:annotation>
- <xs:documentation>
- The unique identifier is a application defined
- string to uniquely identify an item. The string
- can optionally consist of two parts. The first
- part identifies a unique existence of an item.
- The second part of the string optionally specifies
- instance information. The first and second part of
- the ID are separated by an '@'. For this reason
- neither the first nor second part can contain an
- '@' symbol.
-
- To determine whether or not two items are the
- same item, the consumer of this API should
- compare the first part of the ids of the two
- items (i.e. all of the id up to the @ symbol).
- </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:pattern value="[^@]+(@*)?"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="UserInfo">
- <xs:sequence>
- <xs:element ref="tns:name"/>
- <xs:element ref="tns:email" minOccurs="0"/>
- <xs:element ref="tns:uuid" minOccurs="0"/>
- <xs:element name="userid" type="xs:string" minOccurs="0"/>
- <xs:element name="recipType" type="tns:RecipientType" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="UserList">
- <xs:sequence>
- <xs:element name="user" type="tns:UserInfo" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="UUID">
- <xs:annotation>
- <xs:documentation>
- The UUID is the unique user ID on a given
- email system. This is used in various
- places to indicate that a sender or recipient
- is an user internal to the collaboration
- system instead of an external user (i.e.
- internet address).
- </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- <xs:complexType name="Version">
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element name="library" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="documentNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="versionCreator" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="retrievedBy" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="retrievedDate" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="versionNumber" type="xs:unsignedInt"/>
- <xs:element name="versionDescription" type="xs:string" minOccurs="0"/>
- <xs:element name="versionStatus" type="tns:VersionStatus" minOccurs="0"/>
- <xs:element name="life" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="ageAction" type="tns:AgeAction" minOccurs="0"/>
- <xs:element name="fileSize" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="filename" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="VersionEvent">
- <xs:complexContent>
- <xs:extension base="tns:ContainerItem">
- <xs:sequence>
- <xs:element name="library" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="documentNumber" type="xs:unsignedInt"/>
- <xs:element name="versionNumber" type="xs:unsignedInt"/>
- <xs:element name="creator" type="tns:NameAndEmail" minOccurs="0"/>
- <xs:element name="event" type="tns:VersionEventType"/>
- <xs:element name="eventNumber" type="xs:unsignedInt" minOccurs="0"/>
- <xs:element name="filename" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="VersionEventType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="archive"/>
- <xs:enumeration value="checkIn"/>
- <xs:enumeration value="checkOut"/>
- <xs:enumeration value="copyIn"/>
- <xs:enumeration value="copyOut"/>
- <xs:enumeration value="copyVersion"/>
- <xs:enumeration value="created"/>
- <xs:enumeration value="deleteVersion"/>
- <xs:enumeration value="endAccess"/>
- <xs:enumeration value="resetStatus"/>
- <xs:enumeration value="restore"/>
- <xs:enumeration value="retrieve"/>
- <xs:enumeration value="securityModified"/>
- <xs:enumeration value="versionDownloaded"/>
- <xs:enumeration value="viewed"/>
- <xs:enumeration value="unknown"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="VersionStatus">
- <xs:restriction base="xs:string">
- <xs:enumeration value="available"/>
- <xs:enumeration value="checkedOut"/>
- <xs:enumeration value="inUse"/>
- <xs:enumeration value="deleted"/>
- <xs:enumeration value="archived"/>
- <xs:enumeration value="massInUse"/>
- <xs:enumeration value="unavailable"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="View">
- <xs:list itemType="xs:string"/>
- </xs:simpleType>
- <xs:simpleType name="WeekDay">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Sunday"/>
- <xs:enumeration value="Monday"/>
- <xs:enumeration value="Tuesday"/>
- <xs:enumeration value="Wednesday"/>
- <xs:enumeration value="Thursday"/>
- <xs:enumeration value="Friday"/>
- <xs:enumeration value="Saturday"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="WeekOfYear">
- <xs:restriction base="xs:short">
- <xs:minInclusive value="-53"/>
- <xs:maxInclusive value="53"/>
- </xs:restriction>
- </xs:simpleType>
-</xs:schema>
diff --git a/kresources/kolab/CMakeLists.txt b/kresources/kolab/CMakeLists.txt
deleted file mode 100644
index 01acd397..00000000
--- a/kresources/kolab/CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-add_subdirectory( shared )
-add_subdirectory( kabc )
-add_subdirectory( knotes )
-add_subdirectory( kcal )
-
-install( FILES kolab-resource.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
-install( PROGRAMS upgrade-resourcetype.pl DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
diff --git a/kresources/kolab/Makefile.am b/kresources/kolab/Makefile.am
deleted file mode 100644
index 0f144e05..00000000
--- a/kresources/kolab/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-SUBDIRS = shared kabc knotes kcal
-
-updatedir = $(kde_datadir)/kconf_update
-update_DATA = kolab-resource.upd
-update_SCRIPTS = upgrade-resourcetype.pl
-
-messages: rc.cpp
- $(XGETTEXT) */*.cpp -o $(podir)/kres_kolab.pot
diff --git a/kresources/kolab/kabc/CMakeLists.txt b/kresources/kolab/kabc/CMakeLists.txt
deleted file mode 100644
index e1d3bd40..00000000
--- a/kresources/kolab/kabc/CMakeLists.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../shared
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES kolab.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-install(
- FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc
- RENAME imap.desktop )
-
-
-##### kabc_kolab (module) #######################
-
-tde_add_kpart( kabc_kolab AUTOMOC
- SOURCES resourcekolab_plugin.cpp
- LINK kabckolab-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabckolab (shared) ########################
-
-tde_add_library( kabckolab SHARED AUTOMOC
- SOURCES resourcekolab.cpp contact.cpp
- VERSION 0.0.0
- LINK resourcekolabshared-static kgroupwarebase-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/kolab/kabc/Makefile.am b/kresources/kolab/kabc/Makefile.am
deleted file mode 100644
index 2a906a45..00000000
--- a/kresources/kolab/kabc/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/kolab/shared -I$(top_srcdir) $(all_includes)
-
-# The kolab wizard links to this library too
-lib_LTLIBRARIES = libkabckolab.la
-
-libkabckolab_la_SOURCES = resourcekolab.cpp contact.cpp
-libkabckolab_la_LDFLAGS = $(all_libraries) -no-undefined
-libkabckolab_la_LIBADD = \
- $(top_builddir)/kresources/kolab/shared/libresourcekolabshared.la \
- -lkresources -lkabc
-
-kde_module_LTLIBRARIES = kabc_kolab.la
-
-noinst_HEADERS = resourcekolab.h contact.h
-
-kabc_kolab_la_SOURCES = resourcekolab_plugin.cpp
-kabc_kolab_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-kabc_kolab_la_LIBADD = libkabckolab.la
-
-servicedir = $(kde_servicesdir)/kresources/kabc
-service_DATA = kolab.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop
diff --git a/kresources/kolab/kabc/contact.cpp b/kresources/kolab/kabc/contact.cpp
deleted file mode 100644
index ff8f869b..00000000
--- a/kresources/kolab/kabc/contact.cpp
+++ /dev/null
@@ -1,1326 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "contact.h"
-#include "resourcekolab.h"
-
-#include <kabc/addressee.h>
-#include <kabc/stdaddressbook.h>
-#include <libkcal/freebusyurlstore.h>
-#include <libtdepim/distributionlist.h>
-#include <kio/netaccess.h>
-#include <kdebug.h>
-#include <tqfile.h>
-#include <float.h>
-
-using namespace Kolab;
-
-static const char* s_pictureAttachmentName = "kolab-picture.png";
-static const char* s_logoAttachmentName = "kolab-logo.png";
-static const char* s_soundAttachmentName = "sound";
-static const char* s_unhandledTagAppName = "KOLABUNHANDLED"; // no hyphens in appnames!
-
-// saving (addressee->xml)
-Contact::Contact( const KABC::Addressee* addr )
- : mHasGeo( false )
-{
- setFields( addr );
-}
-
-// loading (xml->addressee)
-Contact::Contact( const TQString& xml, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum )
- : mHasGeo( false )
-{
- load( xml );
- if ( !mPictureAttachmentName.isEmpty() )
- mPicture = loadPictureFromKMail( mPictureAttachmentName, resource, subResource, sernum );
- if ( !mLogoAttachmentName.isEmpty() )
- mLogo = loadPictureFromKMail( mLogoAttachmentName, resource, subResource, sernum );
- if ( !mSoundAttachmentName.isEmpty() )
- mSound = loadDataFromKMail( mSound, resource, subResource, sernum );
-}
-
-Contact::~Contact()
-{
-}
-
-void Contact::setGivenName( const TQString& name )
-{
- mGivenName = name;
-}
-
-TQString Contact::givenName() const
-{
- return mGivenName;
-}
-
-void Contact::setMiddleNames( const TQString& names )
-{
- mMiddleNames = names;
-}
-
-TQString Contact::middleNames() const
-{
- return mMiddleNames;
-}
-
-void Contact::setLastName( const TQString& name )
-{
- mLastName = name;
-}
-
-TQString Contact::lastName() const
-{
- return mLastName;
-}
-
-void Contact::setFullName( const TQString& name )
-{
- mFullName = name;
-}
-
-TQString Contact::fullName() const
-{
- return mFullName;
-}
-
-void Contact::setInitials( const TQString& initials )
-{
- mInitials = initials;
-}
-
-TQString Contact::initials() const
-{
- return mInitials;
-}
-
-void Contact::setPrefix( const TQString& prefix )
-{
- mPrefix = prefix;
-}
-
-TQString Contact::prefix() const
-{
- return mPrefix;
-}
-
-void Contact::setSuffix( const TQString& suffix )
-{
- mSuffix = suffix;
-}
-
-TQString Contact::suffix() const
-{
- return mSuffix;
-}
-
-void Contact::setRole( const TQString& role )
-{
- mRole = role;
-}
-
-TQString Contact::role() const
-{
- return mRole;
-}
-
-void Contact::setFreeBusyUrl( const TQString& fbUrl )
-{
- mFreeBusyUrl = fbUrl;
-}
-
-TQString Contact::freeBusyUrl() const
-{
- return mFreeBusyUrl;
-}
-
-void Contact::setOrganization( const TQString& organization )
-{
- mOrganization = organization;
-}
-
-TQString Contact::organization() const
-{
- return mOrganization;
-}
-
-void Contact::setWebPage( const TQString& url )
-{
- mWebPage = url;
-}
-
-TQString Contact::webPage() const
-{
- return mWebPage;
-}
-
-void Contact::setIMAddress( const TQString& imAddress )
-{
- mIMAddress = imAddress;
-}
-
-TQString Contact::imAddress() const
-{
- return mIMAddress;
-}
-
-void Contact::setDepartment( const TQString& department )
-{
- mDepartment = department;
-}
-
-TQString Contact::department() const
-{
- return mDepartment;
-}
-
-void Contact::setOfficeLocation( const TQString& location )
-{
- mOfficeLocation = location;
-}
-
-TQString Contact::officeLocation() const
-{
- return mOfficeLocation;
-}
-
-void Contact::setProfession( const TQString& profession )
-{
- mProfession = profession;
-}
-
-TQString Contact::profession() const
-{
- return mProfession;
-}
-
-void Contact::setJobTitle( const TQString& title )
-{
- mJobTitle = title;
-}
-
-TQString Contact::jobTitle() const
-{
- return mJobTitle;
-}
-
-void Contact::setManagerName( const TQString& name )
-{
- mManagerName = name;
-}
-
-TQString Contact::managerName() const
-{
- return mManagerName;
-}
-
-void Contact::setAssistant( const TQString& name )
-{
- mAssistant = name;
-}
-
-TQString Contact::assistant() const
-{
- return mAssistant;
-}
-
-void Contact::setNickName( const TQString& name )
-{
- mNickName = name;
-}
-
-TQString Contact::nickName() const
-{
- return mNickName;
-}
-
-void Contact::setSpouseName( const TQString& name )
-{
- mSpouseName = name;
-}
-
-TQString Contact::spouseName() const
-{
- return mSpouseName;
-}
-
-void Contact::setBirthday( const TQDate& date )
-{
- mBirthday = date;
-}
-
-TQDate Contact::birthday() const
-{
- return mBirthday;
-}
-
-void Contact::setAnniversary( const TQDate& date )
-{
- mAnniversary = date;
-}
-
-TQDate Contact::anniversary() const
-{
- return mAnniversary;
-}
-
-void Contact::setChildren( const TQString& children )
-{
- mChildren = children;
-}
-
-TQString Contact::children() const
-{
- return mChildren;
-}
-
-void Contact::setGender( const TQString& gender )
-{
- mGender = gender;
-}
-
-TQString Contact::gender() const
-{
- return mGender;
-}
-
-void Contact::setLanguage( const TQString& language )
-{
- mLanguage = language;
-}
-
-TQString Contact::language() const
-{
- return mLanguage;
-}
-
-void Contact::addPhoneNumber( const PhoneNumber& number )
-{
- mPhoneNumbers.append( number );
-}
-
-TQValueList<Contact::PhoneNumber>& Contact::phoneNumbers()
-{
- return mPhoneNumbers;
-}
-
-const TQValueList<Contact::PhoneNumber>& Contact::phoneNumbers() const
-{
- return mPhoneNumbers;
-}
-
-void Contact::addEmail( const Email& email )
-{
- mEmails.append( email );
-}
-
-TQValueList<Contact::Email>& Contact::emails()
-{
- return mEmails;
-}
-
-const TQValueList<Contact::Email>& Contact::emails() const
-{
- return mEmails;
-}
-
-void Contact::addAddress( const Contact::Address& address )
-{
- mAddresses.append( address );
-}
-
-TQValueList<Contact::Address>& Contact::addresses()
-{
- return mAddresses;
-}
-
-const TQValueList<Contact::Address>& Contact::addresses() const
-{
- return mAddresses;
-}
-
-void Contact::setPreferredAddress( const TQString& address )
-{
- mPreferredAddress = address;
-}
-
-TQString Contact::preferredAddress() const
-{
- return mPreferredAddress;
-}
-
-bool Contact::loadNameAttribute( TQDomElement& element )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "given-name" )
- setGivenName( e.text() );
- else if ( tagName == "middle-names" )
- setMiddleNames( e.text() );
- else if ( tagName == "last-name" )
- setLastName( e.text() );
- else if ( tagName == "full-name" )
- setFullName( e.text() );
- else if ( tagName == "initials" )
- setInitials( e.text() );
- else if ( tagName == "prefix" )
- setPrefix( e.text() );
- else if ( tagName == "suffix" )
- setSuffix( e.text() );
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-void Contact::saveNameAttribute( TQDomElement& element ) const
-{
- TQDomElement e = element.ownerDocument().createElement( "name" );
- element.appendChild( e );
-
- writeString( e, "given-name", givenName() );
- writeString( e, "middle-names", middleNames() );
- writeString( e, "last-name", lastName() );
- writeString( e, "full-name", fullName() );
- writeString( e, "initials", initials() );
- writeString( e, "prefix", prefix() );
- writeString( e, "suffix", suffix() );
-}
-
-bool Contact::loadPhoneAttribute( TQDomElement& element )
-{
- PhoneNumber number;
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "type" )
- number.type = e.text();
- else if ( tagName == "number" )
- number.number = e.text();
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- addPhoneNumber( number );
- return true;
-}
-
-void Contact::savePhoneAttributes( TQDomElement& element ) const
-{
- TQValueList<PhoneNumber>::ConstIterator it = mPhoneNumbers.begin();
- for ( ; it != mPhoneNumbers.end(); ++it ) {
- TQDomElement e = element.ownerDocument().createElement( "phone" );
- element.appendChild( e );
- const PhoneNumber& p = *it;
- writeString( e, "type", p.type );
- writeString( e, "number", p.number );
- }
-}
-
-void Contact::saveEmailAttributes( TQDomElement& element ) const
-{
- TQValueList<Email>::ConstIterator it = mEmails.begin();
- for ( ; it != mEmails.end(); ++it )
- saveEmailAttribute( element, *it );
-}
-
-void Contact::loadCustomAttributes( TQDomElement& element )
-{
- Custom custom;
- custom.app = element.attribute( "app" );
- custom.name = element.attribute( "name" );
- custom.value = element.attribute( "value" );
- mCustomList.append( custom );
-}
-
-void Contact::saveCustomAttributes( TQDomElement& element ) const
-{
- TQValueList<Custom>::ConstIterator it = mCustomList.begin();
- for ( ; it != mCustomList.end(); ++it ) {
- Q_ASSERT( !(*it).name.isEmpty() );
- if ( (*it).app == s_unhandledTagAppName ) {
- writeString( element, (*it).name, (*it).value );
- } else {
- // skip writing the freebusyurl as it is a hack we need to remove eventually
- if ( (*it).name == TQString::fromLatin1( "FreeBusyURL" ) ) {
- continue;
- }
-
- // Let's use attributes so that other tag-preserving-code doesn't need sub-elements
- TQDomElement e = element.ownerDocument().createElement( "x-custom" );
- element.appendChild( e );
- e.setAttribute( "app", (*it).app );
- e.setAttribute( "name", (*it).name );
- e.setAttribute( "value", (*it).value );
- }
- }
-}
-
-bool Contact::loadAddressAttribute( TQDomElement& element )
-{
- Address address;
-
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "type" )
- address.type = e.text();
- else if ( tagName == "x-kde-type" )
- address.kdeAddressType = e.text().toInt();
- else if ( tagName == "street" )
- address.street = e.text();
- else if ( tagName == "pobox" )
- address.pobox = e.text();
- else if ( tagName == "locality" )
- address.locality = e.text();
- else if ( tagName == "region" )
- address.region = e.text();
- else if ( tagName == "postal-code" )
- address.postalCode = e.text();
- else if ( tagName == "country" )
- address.country = e.text();
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- addAddress( address );
- return true;
-}
-
-void Contact::saveAddressAttributes( TQDomElement& element ) const
-{
- TQValueList<Address>::ConstIterator it = mAddresses.begin();
- for ( ; it != mAddresses.end(); ++it ) {
- TQDomElement e = element.ownerDocument().createElement( "address" );
- element.appendChild( e );
- const Address& a = *it;
- writeString( e, "type", a.type );
- writeString( e, "x-kde-type", TQString::number( a.kdeAddressType ) );
- if ( !a.street.isEmpty() )
- writeString( e, "street", a.street );
- if ( !a.pobox.isEmpty() )
- writeString( e, "pobox", a.pobox );
- if ( !a.locality.isEmpty() )
- writeString( e, "locality", a.locality );
- if ( !a.region.isEmpty() )
- writeString( e, "region", a.region );
- if ( !a.postalCode.isEmpty() )
- writeString( e, "postal-code", a.postalCode );
- if ( !a.country.isEmpty() )
- writeString( e, "country", a.country );
- }
-}
-
-
-void Kolab::Contact::loadDistrListMember( const TQDomElement& element )
-{
- Member member;
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
- if ( tagName == "display-name" )
- member.displayName = e.text();
- else if ( tagName == "smtp-address" )
- member.email = e.text();
- }
- }
- mDistrListMembers.append( member );
-}
-
-void Contact::saveDistrListMembers( TQDomElement& element ) const
-{
- TQValueList<Member>::ConstIterator it = mDistrListMembers.begin();
- for( ; it != mDistrListMembers.end(); ++it ) {
- TQDomElement e = element.ownerDocument().createElement( "member" );
- element.appendChild( e );
- const Member& m = *it;
- writeString( e, "display-name", m.displayName );
- writeString( e, "smtp-address", m.email );
- }
-}
-
-bool Contact::loadAttribute( TQDomElement& element )
-{
- const TQString tagName = element.tagName();
- switch ( tagName[0].latin1() ) {
- case 'a':
- if ( tagName == "address" )
- return loadAddressAttribute( element );
- if ( tagName == "assistant" ) {
- setAssistant( element.text() );
- return true;
- }
- if ( tagName == "anniversary" ) {
- if ( !element.text().isEmpty() )
- setAnniversary( stringToDate( element.text() ) );
- return true;
- }
- break;
- case 'b':
- if ( tagName == "birthday" ) {
- if ( !element.text().isEmpty() )
- setBirthday( stringToDate( element.text() ) );
- return true;
- }
- break;
- case 'c':
- if ( tagName == "children" ) {
- setChildren( element.text() );
- return true;
- }
- break;
- case 'd':
- if ( tagName == "department" ) {
- setDepartment( element.text() );
- return true;
- }
- if ( mIsDistributionList && tagName == "display-name" ) {
- setFullName( element.text() );
- return true;
- }
- break;
- case 'e':
- if ( tagName == "email" ) {
- Email email;
- if ( loadEmailAttribute( element, email ) ) {
- addEmail( email );
- return true;
- } else
- return false;
- }
- break;
- case 'f':
- if ( tagName == "free-busy-url" ) {
- setFreeBusyUrl( element.text() );
- return true;
- }
- break;
- case 'g':
- if ( tagName == "gender" ) {
- setGender( element.text() );
- return true;
- }
- break;
- case 'i':
- if ( tagName == "im-address" ) {
- setIMAddress( element.text() );
- return true;
- }
- break;
- case 'j':
- if ( tagName == "job-title" ) {
- // see saveAttributes: <job-title> is mapped to the Role field
- setJobTitle( element.text() );
- return true;
- }
- break;
- case 'l':
- if ( tagName == "language" ) {
- setLanguage( element.text() );
- return true;
- }
- if ( tagName == "latitude" ) {
- setLatitude( element.text().toFloat() );
- mHasGeo = true;
- return true;
- }
- if ( tagName == "longitude" ) {
- setLongitude( element.text().toFloat() );
- mHasGeo = true;
- }
- break;
- case 'm':
- if ( tagName == "manager-name" ) {
- setManagerName( element.text() );
- return true;
- }
- if ( mIsDistributionList && tagName == "member" ) {
- loadDistrListMember( element );
- return true;
- }
- break;
- case 'n':
- if ( tagName == "name" )
- return loadNameAttribute( element );
- if ( tagName == "nick-name" ) {
- setNickName( element.text() );
- return true;
- }
- break;
- case 'o':
- if ( tagName == "organization" ) {
- setOrganization( element.text() );
- return true;
- }
- if ( tagName == "office-location" ) {
- setOfficeLocation( element.text() );
- return true;
- }
- break;
- case 'p':
- if ( tagName == "profession" ) {
- setProfession( element.text() );
- return true;
- }
- if ( tagName == "picture" ) {
- mPictureAttachmentName = element.text();
- return true;
- }
- if ( tagName == "phone" ) {
- return loadPhoneAttribute( element );
- return true;
- }
- if ( tagName == "preferred-address" ) {
- setPreferredAddress( element.text() );
- return true;
- }
- break;
- case 'r':
- if ( tagName == "role" ) {
- setRole( element.text() );
- return true;
- }
- break;
- case 's':
- if ( tagName == "spouse-name" ) {
- setSpouseName( element.text() );
- return true;
- }
- break;
- case 'x':
- if ( tagName == "x-logo" ) {
- mLogoAttachmentName = element.text();
- return true;
- }
- if ( tagName == "x-sound" ) {
- mSoundAttachmentName = element.text();
- return true;
- }
- if ( tagName == "x-custom" ) {
- loadCustomAttributes( element );
- return true;
- }
- break;
- case 'w':
- if ( tagName == "web-page" ) {
- setWebPage( element.text() );
- return true;
- }
- break;
- default:
- break;
- }
- return KolabBase::loadAttribute( element );
-}
-
-bool Contact::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- KolabBase::saveAttributes( element );
- if ( mIsDistributionList ) {
- writeString( element, "display-name", fullName() );
- saveDistrListMembers( element );
- } else {
- saveNameAttribute( element );
- writeString( element, "free-busy-url", freeBusyUrl() );
- writeString( element, "organization", organization() );
- writeString( element, "web-page", webPage() );
- writeString( element, "im-address", imAddress() );
- writeString( element, "department", department() );
- writeString( element, "office-location", officeLocation() );
- writeString( element, "profession", profession() );
- writeString( element, "role", role() );
- writeString( element, "job-title", jobTitle() );
- writeString( element, "manager-name", managerName() );
- writeString( element, "assistant", assistant() );
- writeString( element, "nick-name", nickName() );
- writeString( element, "spouse-name", spouseName() );
- writeString( element, "birthday", dateToString( birthday() ) );
- writeString( element, "anniversary", dateToString( anniversary() ) );
- if ( !picture().isNull() )
- writeString( element, "picture", mPictureAttachmentName );
- if ( !logo().isNull() )
- writeString( element, "x-logo", mLogoAttachmentName );
- if ( !sound().isNull() )
- writeString( element, "x-sound", mSoundAttachmentName );
- writeString( element, "children", children() );
- writeString( element, "gender", gender() );
- writeString( element, "language", language() );
- savePhoneAttributes( element );
- saveEmailAttributes( element );
- saveAddressAttributes( element );
- writeString( element, "preferred-address", preferredAddress() );
- if ( mHasGeo ) {
- writeString( element, "latitude", TQString::number( latitude(), 'g', DBL_DIG ) );
- writeString( element, "longitude", TQString::number( longitude(), 'g', DBL_DIG ) );
- }
- }
- saveCustomAttributes( element );
-
- return true;
-}
-
-bool Contact::loadXML( const TQDomDocument& document )
-{
- TQDomElement top = document.documentElement();
-
- mIsDistributionList = top.tagName() == "distribution-list";
- if ( top.tagName() != "contact" && !mIsDistributionList ) {
- tqWarning( "XML error: Top tag was %s instead of the expected contact or distribution-list",
- top.tagName().ascii() );
- return false;
- }
-
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- if ( !loadAttribute( e ) ) {
- // Unhandled tag - save for later storage
- //kdDebug() << "Saving unhandled tag " << e.tagName() << endl;
- Custom c;
- c.app = s_unhandledTagAppName;
- c.name = e.tagName();
- c.value = e.text();
- mCustomList.append( c );
- }
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-TQString Contact::saveXML() const
-{
- TQDomDocument document = domTree();
- TQDomElement element = document.createElement(
- mIsDistributionList ? "distribution-list" : "contact" );
- element.setAttribute( "version", "1.0" );
- saveAttributes( element );
- document.appendChild( element );
- return document.toString();
-}
-
-static TQString addressTypeToString( int /*KABC::Address::Type*/ type )
-{
- if ( type & KABC::Address::Home )
- return "home";
- if ( type & KABC::Address::Work )
- return "business";
- return "other";
-}
-
-static int addressTypeFromString( const TQString& type )
-{
- if ( type == "home" )
- return KABC::Address::Home;
- if ( type == "business" )
- return KABC::Address::Work;
- // well, this shows "other" in the editor, which is what we want...
- return KABC::Address::Dom | KABC::Address::Intl | KABC::Address::Postal | KABC::Address::Parcel;
-}
-
-static TQStringList phoneTypeToString( int /*KABC::PhoneNumber::Types*/ type )
-{
- // KABC has a bitfield, i.e. the same phone number can be used for work and home
- // and fax and cellphone etc. etc.
- // So when saving we need to create as many tags as bits that were set.
- TQStringList types;
- if ( type & KABC::PhoneNumber::Fax ) {
- if ( type & KABC::PhoneNumber::Home )
- types << "homefax";
- else // assume work -- if ( type & KABC::PhoneNumber::Work )
- types << "businessfax";
- type = type & ~KABC::PhoneNumber::Home;
- type = type & ~KABC::PhoneNumber::Work;
- }
-
- // To support both "home1" and "home2", map Home+Pref to home2
- if ( ( type & KABC::PhoneNumber::Home ) && ( type & KABC::PhoneNumber::Pref ) )
- {
- types << "home2";
- type = type & ~KABC::PhoneNumber::Home;
- type = type & ~KABC::PhoneNumber::Pref;
- }
- // To support both "business1" and "business2", map Work+Pref to business2
- if ( ( type & KABC::PhoneNumber::Work ) && ( type & KABC::PhoneNumber::Pref ) )
- {
- types << "business2";
- type = type & ~KABC::PhoneNumber::Work;
- type = type & ~KABC::PhoneNumber::Pref;
- }
-
-
- if ( type & KABC::PhoneNumber::Home )
- types << "home1";
- if ( type & KABC::PhoneNumber::Msg ) // Msg==messaging
- types << "company";
- if ( type & KABC::PhoneNumber::Work )
- types << "business1";
- if ( type & KABC::PhoneNumber::Pref )
- types << "primary";
- if ( type & KABC::PhoneNumber::Voice )
- types << "callback"; // ##
- if ( type & KABC::PhoneNumber::Cell )
- types << "mobile";
- if ( type & KABC::PhoneNumber::Video )
- types << "radio"; // ##
- if ( type & KABC::PhoneNumber::Bbs )
- types << "ttytdd";
- if ( type & KABC::PhoneNumber::Modem )
- types << "telex"; // #
- if ( type & KABC::PhoneNumber::Car )
- types << "car";
- if ( type & KABC::PhoneNumber::Isdn )
- types << "isdn";
- if ( type & KABC::PhoneNumber::Pcs )
- types << "assistant"; // ## Assistant is e.g. secretary
- if ( type & KABC::PhoneNumber::Pager )
- types << "pager";
- return types;
-}
-
-static int /*KABC::PhoneNumber::Types*/ phoneTypeFromString( const TQString& type )
-{
- if ( type == "homefax" )
- return KABC::PhoneNumber::Home | KABC::PhoneNumber::Fax;
- if ( type == "businessfax" )
- return KABC::PhoneNumber::Work | KABC::PhoneNumber::Fax;
- if ( type == "business2" )
- return KABC::PhoneNumber::Work | KABC::PhoneNumber::Pref;
- if ( type == "business1" )
- return KABC::PhoneNumber::Work;
- if ( type == "home2" )
- return KABC::PhoneNumber::Home | KABC::PhoneNumber::Pref;
- if ( type == "home1" )
- return KABC::PhoneNumber::Home;
- if ( type == "company" )
- return KABC::PhoneNumber::Msg;
- if ( type == "primary" )
- return KABC::PhoneNumber::Pref;
- if ( type == "callback" )
- return KABC::PhoneNumber::Voice;
- if ( type == "mobile" )
- return KABC::PhoneNumber::Cell;
- if ( type == "radio" )
- return KABC::PhoneNumber::Video;
- if ( type == "ttytdd" )
- return KABC::PhoneNumber::Bbs;
- if ( type == "telex" )
- return KABC::PhoneNumber::Modem;
- if ( type == "car" )
- return KABC::PhoneNumber::Car;
- if ( type == "isdn" )
- return KABC::PhoneNumber::Isdn;
- if ( type == "assistant" )
- return KABC::PhoneNumber::Pcs;
- if ( type == "pager" )
- return KABC::PhoneNumber::Pager;
- return KABC::PhoneNumber::Home; // whatever
-}
-
-static const char* s_knownCustomFields[] = {
- "X-IMAddress",
- "X-Department",
- "X-Office",
- "X-Profession",
- "X-ManagersName",
- "X-AssistantsName",
- "X-SpousesName",
- "X-Anniversary",
- "DistributionList",
- 0
-};
-
-// The saving is addressee -> Contact -> xml, this is the first part
-void Contact::setFields( const KABC::Addressee* addressee )
-{
- KolabBase::setFields( addressee );
-
- mIsDistributionList = KPIM::DistributionList::isDistributionList( *addressee );
- if ( mIsDistributionList ) {
- // Hopefully all resources are available during saving, so we can look up
- // in the addressbook to get name+email from the UID.
- KPIM::DistributionList distrList( *addressee );
- const KPIM::DistributionList::Entry::List entries = distrList.entries( KABC::StdAddressBook::self() );
- KPIM::DistributionList::Entry::List::ConstIterator it = entries.begin();
- for ( ; it != entries.end() ; ++it ) {
- Member m;
- m.displayName = (*it).addressee.formattedName();
- m.email = (*it).email;
- if ( m.email.isEmpty() )
- m.email = (*it).addressee.preferredEmail();
- mDistrListMembers.append( m );
- }
- }
-
- setGivenName( addressee->givenName() );
- setMiddleNames( addressee->additionalName() );
- setLastName( addressee->familyName() );
- setFullName( addressee->formattedName() );
- setPrefix( addressee->prefix() );
- setSuffix( addressee->suffix() );
- setOrganization( addressee->organization() );
- setWebPage( addressee->url().url() );
- setIMAddress( addressee->custom( "KADDRESSBOOK", "X-IMAddress" ) );
-#if KDE_IS_VERSION(3,5,8)
- setDepartment( addressee->department());
-#else
- setDepartment( addressee->custom( "KADDRESSBOOK", "X-Department" ) );
-#endif
- setOfficeLocation( addressee->custom( "KADDRESSBOOK", "X-Office" ) );
- setProfession( addressee->custom( "KADDRESSBOOK", "X-Profession" ) );
- setRole( addressee->role() );
- setJobTitle( addressee->title() );
- setManagerName( addressee->custom( "KADDRESSBOOK", "X-ManagersName" ) );
- setAssistant( addressee->custom( "KADDRESSBOOK", "X-AssistantsName" ) );
- setNickName( addressee->nickName() );
- setSpouseName( addressee->custom( "KADDRESSBOOK", "X-SpousesName" ) );
- if ( !addressee->birthday().isNull() )
- setBirthday( addressee->birthday().date() );
- const TQString& anniversary = addressee->custom( "KADDRESSBOOK", "X-Anniversary" );
- if ( !anniversary.isEmpty() )
- setAnniversary( stringToDate( anniversary ) );
-
- const TQStringList emails = addressee->emails();
- // Conversion problem here:
- // KABC::Addressee has only one full name and N addresses, but the XML format
- // has N times (fullname+address). So we just copy the fullname over and ignore it on loading.
- for ( TQStringList::ConstIterator it = emails.begin(); it != emails.end(); ++it ) {
- Email email;
- email.displayName = fullName();
- email.smtpAddress = *it;
- addEmail( email );
- }
-
- // Now the real-world addresses
- TQString preferredAddress = "home";
- const KABC::Address::List addresses = addressee->addresses();
- for ( KABC::Address::List::ConstIterator it = addresses.begin() ; it != addresses.end(); ++it ) {
- Address address;
- address.kdeAddressType = (*it).type();
- address.type = addressTypeToString( address.kdeAddressType );
- address.street = (*it).street();
- address.pobox = (*it).postOfficeBox();
- address.locality = (*it).locality();
- address.region = (*it).region();
- address.postalCode = (*it).postalCode();
- address.country = (*it).country();
- // ## TODO not in the XML format: extended address info.
- // ## KDE-specific tags? Or hiding those fields? Or adding a warning?
- addAddress( address );
- if ( address.kdeAddressType & KABC::Address::Pref ) {
- preferredAddress = address.type; // home, business or other
- }
- }
- setPreferredAddress( preferredAddress );
-
- const KABC::PhoneNumber::List phones = addressee->phoneNumbers();
- for ( KABC::PhoneNumber::List::ConstIterator it = phones.begin(); it != phones.end(); ++it ) {
- // Create a tag per phone type set in the bitfield
- TQStringList types = phoneTypeToString( (*it).type() );
- for( TQStringList::Iterator typit = types.begin(); typit != types.end(); ++typit ) {
- PhoneNumber phoneNumber;
- phoneNumber.type = *typit;
- phoneNumber.number = (*it).number();
- addPhoneNumber( phoneNumber );
- }
- }
-
- setPicture( loadPictureFromAddressee( addressee->photo() ) );
- mPictureAttachmentName = addressee->custom( "KOLAB", "PictureAttachmentName" );
- if ( mPictureAttachmentName.isEmpty() )
- mPictureAttachmentName = s_pictureAttachmentName;
-
- setLogo( loadPictureFromAddressee( addressee->logo() ) );
- mLogoAttachmentName = addressee->custom( "KOLAB", "LogoAttachmentName" );
- if ( mLogoAttachmentName.isEmpty() )
- mLogoAttachmentName = s_logoAttachmentName;
-
- setSound( loadSoundFromAddressee( addressee->sound() ) );
- mSoundAttachmentName = addressee->custom( "KOLAB", "SoundAttachmentName" );
- if ( mSoundAttachmentName.isEmpty() )
- mSoundAttachmentName = s_soundAttachmentName;
-
- if ( addressee->geo().isValid() ) {
- setLatitude( addressee->geo().latitude() );
- setLongitude( addressee->geo().longitude() );
- mHasGeo = true;
- }
-
- // Other KADDRESSBOOK custom fields than those already handled
- // (includes e.g. crypto settings, and extra im addresses)
- TQStringList knownCustoms;
- for ( const char** p = s_knownCustomFields; *p; ++p )
- knownCustoms << TQString::fromLatin1( *p );
- TQStringList customs = addressee->customs();
- for( TQStringList::Iterator it = customs.begin(); it != customs.end(); ++it ) {
- // KABC::Addressee doesn't offer a real way to iterate over customs, other than splitting strings ourselves
- // The format is "app-name:value".
- int pos = (*it).find( '-' );
- if ( pos == -1 ) continue;
- TQString app = (*it).left( pos );
- if ( app == "KOLAB" ) continue;
- TQString name = (*it).mid( pos + 1 );
- pos = name.find( ':' );
- if ( pos == -1 ) continue;
- TQString value = name.mid( pos + 1 );
- name = name.left( pos );
- if ( !knownCustoms.contains( name ) ) {
- //kdDebug() << k_funcinfo << "app=" << app << " name=" << name << " value=" << value << endl;
- Custom c;
- if ( app != "KADDRESSBOOK" ) // that's the default
- c.app = app;
- c.name = name;
- c.value = value;
- mCustomList.append( c );
- }
- }
-
- TQString url = KCal::FreeBusyUrlStore::self()->readUrl( addressee->preferredEmail() );
- if ( !url.isEmpty() ) {
- setFreeBusyUrl( url );
- }
-
- // Those fields, although defined in Addressee, are not used in KDE
- // (e.g. not visible in kaddressbook/addresseeeditorwidget.cpp)
- // So it doesn't matter much if we don't have them in the XML.
- // mailer, timezone, productId, sortString, agent, rfc2426 name()
-
- // Things KAddressBook can't handle, so they are saved as unhandled tags:
- // initials, children, gender, language
-}
-
-// The loading is: xml -> Contact -> addressee, this is the second part
-void Contact::saveTo( KABC::Addressee* addressee )
-{
- // TODO: This needs the same set of TODOs as the setFields method
- KolabBase::saveTo( addressee );
-
- if ( mIsDistributionList ) {
- KPIM::DistributionList distrList( *addressee );
- distrList.setName( fullName() );
- TQValueList<Member>::ConstIterator mit = mDistrListMembers.begin();
- for ( ; mit != mDistrListMembers.end(); ++mit ) {
- TQString displayName = (*mit).displayName;
- // fixup the display name DistributionList::assumes neither ',' nor ';' is present
- displayName.replace( ',', ' ' );
- displayName.replace( ';', ' ' );
- distrList.insertEntry( displayName, (*mit).email );
- }
- addressee->insertCustom( "KADDRESSBOOK", "DistributionList", distrList.custom( "KADDRESSBOOK", "DistributionList" ) );
- Q_ASSERT( KPIM::DistributionList::isDistributionList( *addressee ) );
- }
-
- addressee->setGivenName( givenName() );
- addressee->setAdditionalName( middleNames() );
- addressee->setFamilyName( lastName() );
- addressee->setFormattedName( fullName() );
- if ( mIsDistributionList )
- addressee->setName( fullName() );
- addressee->setPrefix( prefix() );
- addressee->setSuffix( suffix() );
- addressee->setOrganization( organization() );
- addressee->setUrl( webPage() );
- addressee->insertCustom( "KADDRESSBOOK", "X-IMAddress", imAddress() );
-#if KDE_IS_VERSION(3,5,8)
- addressee->setDepartment( department() );
-#else
- addressee->insertCustom( "KADDRESSBOOK", "X-Department", department() );
-#endif
- addressee->insertCustom( "KADDRESSBOOK", "X-Office", officeLocation() );
- addressee->insertCustom( "KADDRESSBOOK", "X-Profession", profession() );
- addressee->setRole( role() );
- addressee->setTitle( jobTitle() );
- addressee->insertCustom( "KADDRESSBOOK", "X-ManagersName", managerName() );
- addressee->insertCustom( "KADDRESSBOOK", "X-AssistantsName", assistant() );
- addressee->setNickName( nickName() );
- addressee->insertCustom( "KADDRESSBOOK", "X-SpousesName", spouseName() );
- if ( birthday().isValid() )
- addressee->setBirthday( TQDateTime( birthday() ) );
-
- if ( anniversary().isValid() )
- addressee->insertCustom( "KADDRESSBOOK", "X-Anniversary",
- dateToString( anniversary() ) );
- else
- addressee->removeCustom( "KADDRESSBOOK", "X-Anniversary" );
-
- // We need to store both the original attachment name and the picture data into the addressee.
- // This is important, otherwise we would save the image under another attachment name w/o deleting the original one!
- if ( !mPicture.isNull() )
- addressee->setPhoto( KABC::Picture( mPicture ) );
- // Note that we must save the filename in all cases, so that removing the picture
- // actually deletes the attachment.
- addressee->insertCustom( "KOLAB", "PictureAttachmentName", mPictureAttachmentName );
- if ( !mLogo.isNull() )
- addressee->setLogo( KABC::Picture( mLogo ) );
- addressee->insertCustom( "KOLAB", "LogoAttachmentName", mLogoAttachmentName );
- if ( !mSound.isNull() )
- addressee->setSound( KABC::Sound( mSound ) );
- addressee->insertCustom( "KOLAB", "SoundAttachmentName", mSoundAttachmentName );
-
- if ( mHasGeo )
- addressee->setGeo( KABC::Geo( mLatitude, mLongitude ) );
-
- TQStringList emailAddresses;
- for ( TQValueList<Email>::ConstIterator it = mEmails.begin(); it != mEmails.end(); ++it ) {
- // we can't do anything with (*it).displayName
- emailAddresses.append( (*it).smtpAddress );
- }
- addressee->setEmails( emailAddresses );
-
- for ( TQValueList<Address>::ConstIterator it = mAddresses.begin(); it != mAddresses.end(); ++it ) {
- KABC::Address address;
- int type = (*it).kdeAddressType;
- if ( type == -1 ) { // no kde-specific type available
- type = addressTypeFromString( (*it).type );
- if ( (*it).type == mPreferredAddress )
- type |= KABC::Address::Pref;
- }
- address.setType( type );
- address.setStreet( (*it).street );
- address.setPostOfficeBox( (*it).pobox );
- address.setLocality( (*it).locality );
- address.setRegion( (*it).region );
- address.setPostalCode( (*it).postalCode );
- address.setCountry( (*it).country );
- addressee->insertAddress( address );
- }
-
- for ( TQValueList<PhoneNumber>::ConstIterator it = mPhoneNumbers.begin(); it != mPhoneNumbers.end(); ++it ) {
- KABC::PhoneNumber number;
- number.setType( phoneTypeFromString( (*it).type ) );
- number.setNumber( (*it).number );
- addressee->insertPhoneNumber( number );
- }
-
- for( TQValueList<Custom>::ConstIterator it = mCustomList.begin(); it != mCustomList.end(); ++it ) {
- TQString app = (*it).app.isEmpty() ? TQString::fromLatin1( "KADDRESSBOOK" ) : (*it).app;
- addressee->insertCustom( app, (*it).name, (*it).value );
- }
- //kdDebug(5006) << addressee->customs() << endl;
-}
-
-TQImage Contact::loadPictureFromKMail( const TQString& attachmentName, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum )
-{
- TQImage img;
- KURL url;
- if ( resource->kmailGetAttachment( url, subResource, sernum, attachmentName ) && !url.isEmpty() ) {
- const TQString path = url.path();
- img.load( path );
- TQFile::remove(path);
- }
- return img;
-}
-
-TQImage Contact::loadPictureFromAddressee( const KABC::Picture& picture )
-{
- TQImage img;
- if ( !picture.isIntern() && !picture.url().isEmpty() ) {
- TQString tmpFile;
- if ( TDEIO::NetAccess::download( picture.url(), tmpFile, 0 /*no widget known*/ ) ) {
- img.load( tmpFile );
- TDEIO::NetAccess::removeTempFile( tmpFile );
- }
- } else
- img = picture.data();
- return img;
-}
-
-TQByteArray Kolab::Contact::loadDataFromKMail( const TQString& attachmentName, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum )
-{
- TQByteArray data;
- KURL url;
- if ( resource->kmailGetAttachment( url, subResource, sernum, attachmentName ) && !url.isEmpty() ) {
- TQFile f( url.path() );
- if ( f.open( IO_ReadOnly ) ) {
- data = f.readAll();
- f.close();
- }
- f.remove();
- }
- return data;
-}
-
-TQByteArray Kolab::Contact::loadSoundFromAddressee( const KABC::Sound& sound )
-{
- TQByteArray data;
- if ( !sound.isIntern() && !sound.url().isEmpty() ) {
- TQString tmpFile;
- if ( TDEIO::NetAccess::download( sound.url(), tmpFile, 0 /*no widget known*/ ) ) {
- TQFile f( tmpFile );
- if ( f.open( IO_ReadOnly ) ) {
- data = f.readAll();
- f.close();
- }
- TDEIO::NetAccess::removeTempFile( tmpFile );
- }
- } else
- data = sound.data();
- return data;
-}
-
-TQString Kolab::Contact::productID() const
-{
- // TODO: When KAB has the version number in a header file, don't hardcode (Bo)
- // Or we could use Addressee::productID? (David)
- return "KAddressBook 3.3, Kolab resource";
-}
diff --git a/kresources/kolab/kabc/contact.h b/kresources/kolab/kabc/contact.h
deleted file mode 100644
index 6e0de80b..00000000
--- a/kresources/kolab/kabc/contact.h
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLABCONTACT_H
-#define KOLABCONTACT_H
-
-#include <kolabbase.h>
-#include <tqimage.h>
-
-namespace KABC {
- class Addressee;
- class ResourceKolab;
- class Picture;
- class Sound;
-}
-
-namespace Kolab {
-
-class Contact : public KolabBase {
-public:
- struct PhoneNumber {
- public:
- TQString type;
- TQString number;
- };
-
- struct Address {
- public:
- Address() : kdeAddressType( -1 )
- {
- }
- int kdeAddressType; // KABC::Address::Type
- TQString type; // kolab-compliant address type: home, work or other
- TQString street;
- TQString pobox;
- TQString locality;
- TQString region;
- TQString postalCode;
- TQString country;
- };
-
- explicit Contact( const KABC::Addressee* address );
- Contact( const TQString& xml, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum );
- ~Contact();
-
- void saveTo( KABC::Addressee* address );
-
- TQString type() const { return "Contact"; }
-
- void setGivenName( const TQString& name );
- TQString givenName() const;
-
- void setMiddleNames( const TQString& names );
- TQString middleNames() const;
-
- void setLastName( const TQString& name );
- TQString lastName() const;
-
- void setFullName( const TQString& name );
- TQString fullName() const;
-
- void setInitials( const TQString& initials );
- TQString initials() const;
-
- void setPrefix( const TQString& prefix );
- TQString prefix() const;
-
- void setSuffix( const TQString& suffix );
- TQString suffix() const;
-
- void setRole( const TQString& role );
- TQString role() const;
-
- void setFreeBusyUrl( const TQString& fbUrl );
- TQString freeBusyUrl() const;
-
- void setOrganization( const TQString& organization );
- TQString organization() const;
-
- void setWebPage( const TQString& url );
- TQString webPage() const;
-
- void setIMAddress( const TQString& imAddress );
- TQString imAddress() const;
-
- void setDepartment( const TQString& department );
- TQString department() const;
-
- void setOfficeLocation( const TQString& location );
- TQString officeLocation() const;
-
- void setProfession( const TQString& profession );
- TQString profession() const;
-
- void setJobTitle( const TQString& title );
- TQString jobTitle() const;
-
- void setManagerName( const TQString& name );
- TQString managerName() const;
-
- void setAssistant( const TQString& name );
- TQString assistant() const;
-
- void setNickName( const TQString& name );
- TQString nickName() const;
-
- void setSpouseName( const TQString& name );
- TQString spouseName() const;
-
- void setBirthday( const TQDate& date );
- TQDate birthday() const;
-
- void setAnniversary( const TQDate& date );
- TQDate anniversary() const;
-
- void setPicture( const TQImage& image) { mPicture = image; }
- TQString pictureAttachmentName() const { return mPictureAttachmentName; }
- TQImage picture() const { return mPicture; }
-
- void setLogo( const TQImage& image ) { mLogo = image; }
- TQString logoAttachmentName() const { return mLogoAttachmentName; }
- TQImage logo() const { return mLogo; }
-
- void setSound( const TQByteArray& sound ) { mSound = sound; }
- TQString soundAttachmentName() const { return mSoundAttachmentName; }
- TQByteArray sound() const { return mSound; }
-
- void setChildren( const TQString& children );
- TQString children() const;
-
- void setGender( const TQString& gender );
- TQString gender() const;
-
- void setLanguage( const TQString& language );
- TQString language() const;
-
- void addPhoneNumber( const PhoneNumber& number );
- TQValueList<PhoneNumber>& phoneNumbers();
- const TQValueList<PhoneNumber>& phoneNumbers() const;
-
- void addEmail( const Email& email );
- TQValueList<Email>& emails();
- const TQValueList<Email>& emails() const;
-
- void addAddress( const Address& address );
- TQValueList<Address>& addresses();
- const TQValueList<Address>& addresses() const;
-
- // which address is preferred: home or business or other
- void setPreferredAddress( const TQString& address );
- TQString preferredAddress() const;
-
- float latitude() const { return mLatitude; }
- void setLatitude( float latitude ) { mLatitude = latitude; }
-
- float longitude() const { return mLongitude; }
- void setLongitude( float longitude ) { mLongitude = longitude; }
-
- // Load the attributes of this class
- bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- bool saveAttributes( TQDomElement& ) const;
-
- // Load this note by reading the XML file
- bool loadXML( const TQDomDocument& xml );
-
- // Serialize this note to an XML string
- TQString saveXML() const;
-
- // Return true if this contact is a distr list
- bool isDistributionList() const { return mIsDistributionList; }
-
-protected:
- void setFields( const KABC::Addressee* );
-
-private:
- bool loadNameAttribute( TQDomElement& element );
- void saveNameAttribute( TQDomElement& element ) const;
-
- bool loadPhoneAttribute( TQDomElement& element );
- void savePhoneAttributes( TQDomElement& element ) const;
-
- void saveEmailAttributes( TQDomElement& element ) const;
-
- bool loadAddressAttribute( TQDomElement& element );
- void saveAddressAttributes( TQDomElement& element ) const;
-
- void loadCustomAttributes( TQDomElement& element );
- void saveCustomAttributes( TQDomElement& element ) const;
-
- void loadDistrListMember( const TQDomElement& element );
- void saveDistrListMembers( TQDomElement& element ) const;
-
- TQImage loadPictureFromKMail( const TQString& attachmentName, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum );
- TQImage loadPictureFromAddressee( const KABC::Picture& picture );
-
- TQByteArray loadDataFromKMail( const TQString& attachmentName, KABC::ResourceKolab* resource, const TQString& subResource, TQ_UINT32 sernum );
- TQByteArray loadSoundFromAddressee( const KABC::Sound& sound );
-
- TQString productID() const;
-
- TQString mGivenName;
- TQString mMiddleNames;
- TQString mLastName;
- TQString mFullName;
- TQString mInitials;
- TQString mPrefix;
- TQString mSuffix;
- TQString mRole;
- TQString mFreeBusyUrl;
- TQString mOrganization;
- TQString mWebPage;
- TQString mIMAddress;
- TQString mDepartment;
- TQString mOfficeLocation;
- TQString mProfession;
- TQString mJobTitle;
- TQString mManagerName;
- TQString mAssistant;
- TQString mNickName;
- TQString mSpouseName;
- TQDate mBirthday;
- TQDate mAnniversary;
- TQImage mPicture;
- TQImage mLogo;
- TQByteArray mSound;
- TQString mPictureAttachmentName;
- TQString mLogoAttachmentName;
- TQString mSoundAttachmentName;
- TQString mChildren;
- TQString mGender;
- TQString mLanguage;
- TQValueList<PhoneNumber> mPhoneNumbers;
- TQValueList<Email> mEmails;
- TQValueList<Address> mAddresses;
- TQString mPreferredAddress;
- float mLatitude;
- float mLongitude;
- bool mHasGeo;
- bool mIsDistributionList;
- struct Custom {
- TQString app;
- TQString name;
- TQString value;
- };
- TQValueList<Custom> mCustomList;
- struct Member {
- TQString displayName;
- TQString email;
- };
- TQValueList<Member> mDistrListMembers;
-};
-
-}
-
-#endif // KOLABCONTACT_H
diff --git a/kresources/kolab/kabc/kolab.desktop b/kresources/kolab/kabc/kolab.desktop
deleted file mode 100644
index e0a478c0..00000000
--- a/kresources/kolab/kabc/kolab.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=Addressbook on IMAP Server via KMail
-Name[af]=Adresboek op IMAP bediener via KMail
-Name[bg]=Адресник на сървър IMAP през KMail
-Name[br]=Karned chomlec'hioù war ur servijer IMAP gant KMail
-Name[ca]=Llibreta d'adreces sobre servidor IMAP mitjançant KMail
-Name[cs]=Kniha adres na IMAP serveru přes KMail
-Name[da]=Adressebog på IMAP-server via KMail
-Name[de]=Adressbuch auf einem IMAP-Server via KMail
-Name[el]=Ημερολόγιο σε εξυπηρετητή IMAP μέσω του KMail
-Name[es]=Libreta de direcciones en servidor IMAP por medio de KMail
-Name[et]=Aadressiraamat IMAP-serveris (KMaili vahendusel)
-Name[eu]=Helbide-liburua IMAP zerbitzarian KMail-en bidez
-Name[fa]=کتاب نشانی روی کارساز IMAP از طریق KMail
-Name[fi]=Osoitekirja IMAP-palvelimella KMailin avulla
-Name[fr]=Carnet d'adresse sur serveur IMAP (via KMail)
-Name[fy]=Adresboek op IMAP-tsjinner fia KMail
-Name[ga]=Leabhar Seoltaí ar Fhreastalaí IMAP via KMail
-Name[gl]=Caderno de enderezos nun servidor IMAP mediante KMail
-Name[hu]=IMAP-kiszolgálón tárolt címjegyzék a KMailen keresztül
-Name[is]=Vistfangaskrá á IMAP þjóni gegnum KMail
-Name[it]=Rubrica indirizzi su server IMAP via KMail
-Name[ja]=KMail 経由 IMAP サーバのアドレス帳
-Name[kk]=KMail арқылы IMAP серверіндегі адрестік кітапша
-Name[km]=សៀវភៅ​អាសយដ្ឋាន​លើ​ម៉ាស៊ីន​បម្រើ IMAP តាម​រយៈ KMail
-Name[lt]=Adresų knygelė IMAP serveryje per KMail
-Name[mk]=Адресар на IMAP-сервер преку КПошта
-Name[ms]=Buku alamat pada pelayan IMAP melalui KMail
-Name[nb]=Adressebok på IMAP-tjener via KMail
-Name[nds]=Adressbook op IMAP-Server över KMail
-Name[ne]=केडीई मेल मार्फत IMAP सर्भरमा ठेगाना पुस्तिका
-Name[nl]=Adresboek op IMAP-server via KMail
-Name[nn]=Adressebok på IMAP-tenar via KMail
-Name[pl]=Książka adresowa na serwerze IMAP za pośrednictwem KMail
-Name[pt]=Livro de Endereços em Servidor IMAP via KMail
-Name[pt_BR]=Livro de Endereços em servidor IMAP via KMail
-Name[ru]=Адресная книга на сервере IMAP через KMail
-Name[sk]=Adresár na IMAP-serveri pomocou KMail
-Name[sl]=Adresar na strežniku IMAP preko KMaila
-Name[sr]=Адресар на IMAP серверу преко KMail-а
-Name[sr@Latn]=Adresar na IMAP serveru preko KMail-a
-Name[sv]=Adressbok på IMAP-server via Kmail
-Name[ta]=IMAP சேவகன் மூலம் கேஅஞ்சல் முகவரிப்புத்தகம்
-Name[tr]=KMail Aracılığı ile IMAP Sunucusunda Adres Defteri
-Name[uk]=Адресна книга на сервері IMAP через KMail
-Name[zh_CN]=通过 KMail 访问 IMAP 服务器上的地址簿
-Name[zh_TW]=透過 KMail 取得 IMAP 伺服器上的通訊錄
-X-TDE-Library=kabc_kolab
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=imap
diff --git a/kresources/kolab/kabc/resourcekolab.cpp b/kresources/kolab/kabc/resourcekolab.cpp
deleted file mode 100644
index ce7c18c4..00000000
--- a/kresources/kolab/kabc/resourcekolab.cpp
+++ /dev/null
@@ -1,694 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-#include "contact.h"
-
-#include <kdebug.h>
-#include <kglobal.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <ktempfile.h>
-#include <kio/observer.h>
-#include <kio/uiserver_stub.h>
-#include <kabc/vcardconverter.h>
-#include <kmainwindow.h>
-#include <kapplication.h>
-#include <dcopclient.h>
-
-#include <tqobject.h>
-#include <tqtimer.h>
-#include <tqstring.h>
-#include <tqfile.h>
-#include <tqapplication.h>
-
-#include <assert.h>
-
-using namespace Kolab;
-
-class KolabFactory : public KRES::PluginFactoryBase
-{
- public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KABC::ResourceKolab( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kabc_kolab,KolabFactory)
-
-static const char* s_kmailContentsType = "Contact";
-static const char* s_attachmentMimeTypeContact = "application/x-vnd.kolab.contact";
-static const char* s_attachmentMimeTypeDistList = "application/x-vnd.kolab.contact.distlist";
-static const char* s_inlineMimeType = "text/x-vcard";
-
-KABC::ResourceKolab::ResourceKolab( const TDEConfig *config )
- : KPIM::ResourceABC( config ),
- Kolab::ResourceKolabBase( "ResourceKolab-KABC" ),
- mCachedSubresource( TQString() ), mCachedSubresourceNotFound( false ), mLocked( false )
-{
- setType( "imap" );
- if ( !config ) {
- setResourceName( i18n( "Kolab Server" ) );
- }
-}
-
-KABC::ResourceKolab::~ResourceKolab()
-{
- // The resource is deleted on exit (StdAddressBook's KStaticDeleter),
- // and it wasn't closed before that, so close here to save the config.
- if ( isOpen() ) {
- close();
- }
-}
-
-void KABC::ResourceKolab::loadSubResourceConfig( TDEConfig& config,
- const TQString& name,
- const TQString& label,
- bool writable )
-{
- TDEConfigGroup group( &config, name );
- bool active = group.readBoolEntry( "Active", true );
- int completionWeight = group.readNumEntry( "CompletionWeight", 80 );
- mSubResources.insert( name, Kolab::SubResource( active, writable, label,
- completionWeight ) );
-}
-
-bool KABC::ResourceKolab::doOpen()
-{
- TDEConfig config( configFile() );
-
- // Read the calendar entries
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, s_kmailContentsType ) )
- return false;
- mSubResources.clear();
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- for ( it = subResources.begin(); it != subResources.end(); ++it ) {
- loadSubResourceConfig( config, (*it).location, (*it).label, (*it).writable );
- }
-
- return true;
-}
-
-void KABC::ResourceKolab::doClose()
-{
- writeConfig();
-}
-
-KABC::Ticket * KABC::ResourceKolab::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdError() << "no addressbook" << endl;
- return 0;
- }
- mLocked = true;
-
- return createTicket( this );
-}
-
-void KABC::ResourceKolab::releaseSaveTicket( Ticket* ticket )
-{
- mLocked = false;
- mCachedSubresource = TQString();
- mCachedSubresourceNotFound = false;
- delete ticket;
-}
-
-TQString KABC::ResourceKolab::loadContact( const TQString& contactData,
- const TQString& subResource,
- TQ_UINT32 sernum,
- KMailICalIface::StorageFormat format )
-{
- KABC::Addressee addr;
- if ( format == KMailICalIface::StorageXML ) {
- Contact contact( contactData, this, subResource, sernum ); // load
- contact.saveTo( &addr );
- } else {
- KABC::VCardConverter converter;
-#if defined(KABC_VCARD_ENCODING_FIX)
- addr = converter.parseVCardRaw( contactData.utf8() );
-#else
- addr = converter.parseVCard( contactData );
-#endif
- }
-
- addr.setResource( this );
- addr.setChanged( false );
- KABC::Resource::insertAddressee( addr ); // same as mAddrMap.insert( addr.uid(), addr );
- mUidMap[ addr.uid() ] = StorageReference( subResource, sernum );
- kdDebug(5650) << "Loaded contact uid=" << addr.uid() << " sernum=" << sernum << " fullName=" << addr.name() << endl;
- return addr.uid();
-}
-
-static const struct { const char* mimetype; KMailICalIface::StorageFormat format; } s_formats[] =
-{
- { s_attachmentMimeTypeContact, KMailICalIface::StorageXML },
- { s_attachmentMimeTypeDistList, KMailICalIface::StorageXML },
- { s_inlineMimeType, KMailICalIface::StorageIcalVcard }
-};
-
-bool KABC::ResourceKolab::loadSubResource( const TQString& subResource )
-{
- int count = 0;
- if ( !kmailIncidencesCount( count, TQString(), subResource ) ) {
- kdError() << "Communication problem in KABC::ResourceKolab::loadSubResource()\n";
- return false;
- }
- if ( !count )
- return true;
-
- // Read that many contacts at a time.
- // If this number is too small we lose time in kmail.
- // If it's too big the progressbar is jumpy.
- const int nbMessages = 200;
-
- (void)Observer::self(); // ensure kio_uiserver is running
- UIServer_stub uiserver( "kio_uiserver", "UIServer" );
- int progressId = 0;
- if ( count > 200 ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
- uiserver.totalFiles( progressId, count );
- uiserver.infoMessage( progressId, i18n( "Loading contacts..." ) );
- uiserver.transferring( progressId, "Contacts" );
- }
-
- for ( int startIndex = 0; startIndex < count; startIndex += nbMessages ) {
-
- // TODO it would be faster to pass the s_formats array to kmail and let it load
- // all events - to avoid loading each mail 3 times. But then we need to extend the returned
- // TQMap to also tell us the StorageFormat of each found contact...
- for ( int indexFormat = 0; indexFormat < 3; ++indexFormat ) {
- const char* mimetype = s_formats[indexFormat].mimetype;
- KMailICalIface::StorageFormat format = s_formats[indexFormat].format;
- TQMap<TQ_UINT32, TQString> lst;
- if ( !kmailIncidences( lst, mimetype, subResource, startIndex, nbMessages ) ) {
- kdError() << "Communication problem in KABC::ResourceKolab::loadSubResource()\n";
- if ( progressId )
- uiserver.jobFinished( progressId );
- return false;
- }
-
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
- loadContact( it.data(), subResource, it.key(), format );
- }
-
- }
- if ( progressId ) {
- uiserver.processedFiles( progressId, startIndex );
- uiserver.percent( progressId, 100 * startIndex / count );
- }
-
-// if ( progress.wasCanceled() ) {
-// uiserver.jobFinished( progressId );
-// return false;
-// }
-
- }
-
- kdDebug(5650) << "Contacts kolab resource: got " << count << " contacts in " << subResource << endl;
-
- if ( progressId )
- uiserver.jobFinished( progressId );
- return true;
-}
-
-bool KABC::ResourceKolab::load()
-{
- mUidMap.clear();
- mAddrMap.clear();
-
- bool rc = true;
- Kolab::ResourceMap::ConstIterator itR;
- for ( itR = mSubResources.begin(); itR != mSubResources.end(); ++itR ) {
- if ( !itR.data().active() )
- // This resource is disabled
- continue;
-
- rc &= loadSubResource( itR.key() );
- }
-
- return rc;
-}
-
-bool KABC::ResourceKolab::save( Ticket* )
-{
- bool rc = true;
-
- for( ConstIterator it = begin(); it != end(); ++it )
- if( (*it).changed() ) {
- rc &= kmailUpdateAddressee( *it );
- }
-
- if ( !rc )
- kdDebug(5650) << k_funcinfo << " failed." << endl;
- return rc;
-}
-
-namespace Kolab {
-struct AttachmentList {
- TQStringList attachmentURLs;
- TQStringList attachmentNames;
- TQStringList attachmentMimeTypes;
- TQStringList deletedAttachments;
- TQValueList<KTempFile *> tempFiles;
-
- void addAttachment( const TQString& url, const TQString& name, const TQString& mimetype ) {
- attachmentURLs.append( url );
- attachmentNames.append( name );
- attachmentMimeTypes.append( mimetype );
- }
-
- void updatePictureAttachment( const TQImage& image, const TQString& name );
- void updateAttachment( const TQByteArray& data, const TQString& name, const char* mimetype );
-};
-} // namespace
-
-void AttachmentList::updatePictureAttachment( const TQImage& image, const TQString& name )
-{
- assert( !name.isEmpty() );
- if ( !image.isNull() ) {
- KTempFile tempFile;
- image.save( tempFile.file(), "PNG" );
- tempFile.close();
- KURL url;
- url.setPath( tempFile.name() );
- kdDebug(5650) << "picture saved to " << url.path() << endl;
- addAttachment( url.url(), name, "image/png" );
- } else {
- deletedAttachments.append( name );
- }
-}
-
-void AttachmentList::updateAttachment( const TQByteArray& data, const TQString& name, const char* mimetype )
-{
- assert( !name.isEmpty() );
- if ( !data.isNull() ) {
- KTempFile tempFile;
- tempFile.file()->writeBlock( data );
- tempFile.close();
- KURL url;
- url.setPath( tempFile.name() );
- kdDebug(5650) << "data saved to " << url.path() << endl;
- addAttachment( url.url(), name, mimetype );
- } else {
- deletedAttachments.append( name );
- }
-}
-
-bool KABC::ResourceKolab::kmailUpdateAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- TQString subResource;
- TQ_UINT32 sernum;
- if ( mUidMap.find( uid ) != mUidMap.end() ) {
- subResource = mUidMap[ uid ].resource();
- if ( !subresourceWritable( subResource ) ) {
- kdWarning() << "Wow! Something tried to update a non-writable addressee! Fix this caller: " << kdBacktrace() << endl;
- return false;
- }
- sernum = mUidMap[ uid ].serialNumber();
- } else {
- if ( !mCachedSubresource.isNull() || mCachedSubresourceNotFound ) {
- subResource = mCachedSubresource;
- } else {
- subResource = findWritableResource( Kolab::Contacts, mSubResources );
- // We were locked, remember the subresource we are working with until
- // we are unlocked
- if ( mLocked ) {
- mCachedSubresource = subResource;
-
- // If the subresource is empty here, it means findWritableResource() failed, for example
- // because the user cancelled the resource selection dialog. Remember that, so we avoid
- // asking multiple times when locked.
- mCachedSubresourceNotFound = subResource.isEmpty();
- }
- }
- if ( subResource.isEmpty() )
- return false;
- sernum = 0;
- }
- TQString data;
- TQString mimetype;
- AttachmentList att;
- bool isXMLStorageFormat = kmailStorageFormat( subResource ) == KMailICalIface::StorageXML;
- TQString subject = uid; // as per kolab2 spec
- if ( isXMLStorageFormat ) {
- Contact contact( &addr );
- // The addressee is converted to: 1) the xml 2) the optional picture 3) the optional logo 4) the optional sound
- data = contact.saveXML();
- att.updatePictureAttachment( contact.picture(), contact.pictureAttachmentName() );
- att.updatePictureAttachment( contact.logo(), contact.logoAttachmentName() );
- // no way to know the mimetype. The addressee editor allows to attach _any_ kind of file,
- // and the sound system sorts it out.
- att.updateAttachment( contact.sound(), contact.soundAttachmentName(), "audio/unknown" );
- mimetype = contact.isDistributionList() ?
- s_attachmentMimeTypeDistList : s_attachmentMimeTypeContact;
- } else {
- mimetype = s_inlineMimeType;
- KABC::VCardConverter converter;
-#if defined(KABC_VCARD_ENCODING_FIX)
- data = TQString::fromUtf8( converter.createVCardRaw( addr ) );
-#else
- data = converter.createVCard( addr );
-#endif
- subject.prepend( "vCard " ); // as per kolab1 spec
- }
- bool rc = kmailUpdate( subResource, sernum, data, mimetype, subject,
- CustomHeaderMap(),
- att.attachmentURLs, att.attachmentMimeTypes, att.attachmentNames,
- att.deletedAttachments );
- if ( !rc )
- kdDebug(5650) << "kmailUpdate returned false!" << endl;
- if ( rc ) {
- kdDebug(5650) << "kmailUpdate returned, now sernum=" << sernum << " for uid=" << uid << endl;
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- // This is ugly, but it's faster than doing
- // mAddrMap.find(addr.uid()), which would give the same :-(
- // Reason for this: The Changed attribute of Addressee should
- // be mutable
- const_cast<Addressee&>(addr).setChanged( false );
- }
-
- for( TQValueList<KTempFile *>::Iterator it = att.tempFiles.begin(); it != att.tempFiles.end(); ++it ) {
- (*it)->setAutoDelete( true );
- delete (*it);
- }
- return rc;
-}
-
-void KABC::ResourceKolab::insertAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- //kdDebug(5650) << k_funcinfo << uid << endl;
- bool ok = false;
- if ( mUidMap.contains( uid ) ) {
- mUidsPendingUpdate.append( uid );
- } else {
- mUidsPendingAdding.append( uid );
- }
-
- ok = kmailUpdateAddressee( addr );
-
- if ( ok )
- Resource::insertAddressee( addr );
-}
-
-void KABC::ResourceKolab::removeAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- if ( mUidMap.find( uid ) == mUidMap.end() ) return;
- //kdDebug(5650) << k_funcinfo << uid << endl;
- const TQString resource = mUidMap[ uid ].resource();
- if ( !subresourceWritable( resource ) ) {
- kdWarning() << "Wow! Something tried to delete a non-writable addressee! Fix this caller: " << kdBacktrace() << endl;
- return;
- }
- /* The user told us to delete, tell KMail */
- kmailDeleteIncidence( resource,
- mUidMap[ uid ].serialNumber() );
- mUidsPendingDeletion.append( uid );
- mUidMap.remove( uid );
-
- Resource::removeAddressee( addr );
-}
-
-/*
- * These are the DCOP slots that KMail call to notify when something
- * changed.
- */
-bool KABC::ResourceKolab::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int format,
- const TQString& contactXML )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType || !subresourceActive( subResource ) )
- return false;
-
- // Load contact to find the UID
- const TQString uid = loadContact( contactXML, subResource, sernum,
- ( KMailICalIface::StorageFormat )format );
-
- //kdDebug(5650) << k_funcinfo << uid << endl;
-
- // Emit "addressbook changed" if this comes from kmail and not from the GUI
- if ( !mUidsPendingAdding.contains( uid )
- && !mUidsPendingUpdate.contains( uid ) ) {
- addressBook()->emitAddressBookChanged();
- } else {
- mUidsPendingAdding.remove( uid );
- mUidsPendingUpdate.remove( uid );
- }
-
- return true;
-}
-
-void KABC::ResourceKolab::fromKMailDelIncidence( const TQString& type,
- const TQString& subResource,
- const TQString& uid )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType || !subresourceActive( subResource ) )
- return;
-
- //kdDebug(5650) << k_funcinfo << uid << endl;
-
- // Can't be in both, by contract
- if ( mUidsPendingDeletion.contains( uid ) ) {
- mUidsPendingDeletion.remove( uid );
- } else if ( mUidsPendingUpdate.contains( uid ) ) {
- // It's good to know if was deleted, but we are waiting on a new one to
- // replace it, so let's just sit tight.
- } else {
- // We didn't trigger this, so KMail did, remove the reference to the uid
- mAddrMap.remove( uid );
- mUidMap.remove( uid );
- addressBook()->emitAddressBookChanged();
- }
-}
-
-void KABC::ResourceKolab::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType ) return;
-
- //kdDebug(5650) << k_funcinfo << endl;
-
- load(); // ### should call loadSubResource(subResource) probably
- addressBook()->emitAddressBookChanged();
-}
-
-void KABC::ResourceKolab::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& label,
- bool writable,
- bool )
-{
- if( type != s_kmailContentsType ) return;
-
- if ( mSubResources.contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( "Contact" );
- loadSubResourceConfig( config, subResource, label, writable );
- loadSubResource( subResource );
- addressBook()->emitAddressBookChanged();
- emit signalSubresourceAdded( this, type, subResource );
-}
-
-void KABC::ResourceKolab::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- if( type != s_kmailContentsType ) return;
-
- if ( !mSubResources.contains( subResource ) )
- // Not registered
- return;
-
- // Ok, it's our job, and we have it here
- mSubResources.erase( subResource );
-
- TDEConfig config( configFile() );
- config.deleteGroup( subResource );
- config.sync();
-
- // Make a list of all uids to remove
- Kolab::UidMap::ConstIterator mapIt;
- TQStringList uids;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- if ( mapIt.data().resource() == subResource )
- // We have a match
- uids << mapIt.key();
-
- // Finally delete all the incidences
- if ( !uids.isEmpty() ) {
- TQStringList::ConstIterator it;
- for ( it = uids.begin(); it != uids.end(); ++it ) {
- mAddrMap.remove( *it );
- mUidMap.remove( *it );
- }
-
- addressBook()->emitAddressBookChanged();
- }
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-
-
-void KABC::ResourceKolab::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& /* type */,
- const TQString& folder )
-{
- // FIXME
- KMailICalIface::StorageFormat format = KMailICalIface::StorageXML;
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.begin(); it != map.end(); ++it ) {
- loadContact( it.data(), folder, it.key(), format );
- }
- if ( !addressBook() ){
- kdDebug(5650) << "asyncLoadResult() : addressBook() returning NULL pointer.\n";
- }else
- addressBook()->emitAddressBookChanged();
-}
-
-TQStringList KABC::ResourceKolab::subresources() const
-{
- return mSubResources.keys();
-}
-
-bool KABC::ResourceKolab::subresourceActive( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].active();
- }
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << subresource << " ): Safe bet\n";
-
- return true;
-}
-
-bool KABC::ResourceKolab::subresourceWritable( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].writable();
- }
- return false; //better a safe default
-}
-
-int KABC::ResourceKolab::subresourceCompletionWeight( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].completionWeight();
- }
-
- kdDebug(5650) << "subresourceCompletionWeight( " << subresource << " ): not found, using default\n";
-
- return 80;
-}
-
-TQString KABC::ResourceKolab::subresourceLabel( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].label();
- }
-
- kdDebug(5650) << "subresourceLabel( " << subresource << " ): not found!\n";
- return TQString();
-}
-
-void KABC::ResourceKolab::setSubresourceCompletionWeight( const TQString& subresource, int completionWeight )
-{
- if ( mSubResources.contains( subresource ) ) {
- mSubResources[ subresource ].setCompletionWeight( completionWeight );
- } else {
- kdDebug(5650) << "setSubresourceCompletionWeight: subresource " << subresource << " not found" << endl;
- }
-}
-
-TQMap<TQString, TQString> KABC::ResourceKolab::uidToResourceMap() const
-{
- // TODO: Couldn't this be made simpler?
- TQMap<TQString, TQString> map;
- Kolab::UidMap::ConstIterator mapIt;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- map[ mapIt.key() ] = mapIt.data().resource();
- return map;
-}
-
-void KABC::ResourceKolab::setSubresourceActive( const TQString &subresource, bool active )
-{
- if ( mSubResources.contains( subresource ) ) {
- mSubResources[ subresource ].setActive( active );
- load();
- } else {
- kdDebug(5650) << "setSubresourceCompletionWeight: subresource " << subresource << " not found" << endl;
- }
- writeConfig();
-}
-
-
-/*virtual*/
-bool KABC::ResourceKolab::addSubresource( const TQString& label, const TQString& parent )
-{
- return kmailAddSubresource( label, parent, s_kmailContentsType );
-}
-
-/*virtual*/
-bool KABC::ResourceKolab::removeSubresource( const TQString& id )
-{
- return kmailRemoveSubresource( id );
-}
-
-void KABC::ResourceKolab::writeConfig()
-{
- TDEConfig config( configFile() );
-
- Kolab::ResourceMap::ConstIterator it;
- for ( it = mSubResources.constBegin(); it != mSubResources.constEnd(); ++it ) {
- config.setGroup( it.key() );
- config.writeEntry( "Active", it.data().active() );
- config.writeEntry( "CompletionWeight", it.data().completionWeight() );
- }
-}
-
-#include "resourcekolab.moc"
diff --git a/kresources/kolab/kabc/resourcekolab.h b/kresources/kolab/kabc/resourcekolab.h
deleted file mode 100644
index 3a142b20..00000000
--- a/kresources/kolab/kabc/resourcekolab.h
+++ /dev/null
@@ -1,179 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KABC_RESOURCEKOLAB_H
-#define KABC_RESOURCEKOLAB_H
-
-#include <libtdepim/resourceabc.h>
-#include <dcopobject.h>
-#include "../shared/resourcekolabbase.h"
-#include "../shared/subresource.h"
-#include <kmail/kmailicalIface.h>
-#include <tdepimmacros.h>
-
-namespace KABC {
-
- class FormatPlugin;
-
-/**
- * This class implements a KAddressBook resource that keeps its
- * addresses in an Kolab folder in KMail (or other conforming email
- * clients).
- */
-class KDE_EXPORT ResourceKolab : public KPIM::ResourceABC,
- public Kolab::ResourceKolabBase
-{
- Q_OBJECT
-
-
-public:
- /**
- * Constructor
- */
- ResourceKolab( const TDEConfig* );
-
- /**
- * Destructor.
- */
- virtual ~ResourceKolab();
-
- /**
- * Open the contacts list
- */
- virtual bool doOpen();
-
- /**
- * Request a ticket, you have to pass through save() to
- * allow locking.
- */
- virtual Ticket *requestSaveTicket();
-
- /**
- Releases the ticket previousely requested with requestSaveTicket().
- The resource has to remove its locks in this function.
- */
- virtual void releaseSaveTicket( Ticket* );
-
- /**
- * Load all addressees to the addressbook
- */
- virtual bool load();
-
- /**
- * Save all addressees to the addressbook.
- *
- * @param ticket The ticket you get by requestSaveTicket()
- */
- virtual bool save( Ticket *ticket );
-
- /**
- Insert an addressee into the resource.
- */
- virtual void insertAddressee( const Addressee& );
-
- /**
- * Removes a addressee from resource. This method is mainly
- * used by record-based resources like LDAP or SQL.
- */
- virtual void removeAddressee( const Addressee& addr );
-
- // Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& id,
- const TQString& label, bool writable,
- bool alarmRelevant );
- void fromKMailDelSubresource( const TQString& type, const TQString& id );
-
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& contact );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& contact );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /// Return the list of subresources.
- TQStringList subresources() const;
-
- /// Is this subresource active?
- bool subresourceActive( const TQString& ) const;
- /// Is this subresource writable?
- virtual bool subresourceWritable( const TQString& ) const;
-
- virtual void setSubresourceActive( const TQString &, bool );
-
- virtual bool addSubresource( const TQString&, const TQString& );
-
- virtual bool removeSubresource( const TQString& );
-
- virtual bool canHaveSubresources() const { return true; }
-
- /// Completion weight for a given subresource
- virtual int subresourceCompletionWeight( const TQString& ) const;
-
- /// Label for a given subresource
- virtual TQString subresourceLabel( const TQString& ) const;
-
- /// Set completion weight for a given subresource
- virtual void setSubresourceCompletionWeight( const TQString&, int );
-
- /// Give the uidmap. Used for ordered searching
- TQMap<TQString, TQString> uidToResourceMap() const;
-
-protected:
- bool kmailUpdateAddressee( const Addressee& );
-
- void doClose();
-
- void loadSubResourceConfig( TDEConfig& config, const TQString& name,
- const TQString& label, bool writable );
- bool loadSubResource( const TQString& subResource );
- TQString loadContact( const TQString& contactData, const TQString& subResource,
- TQ_UINT32 sernum, const KMailICalIface::StorageFormat format );
-
- TQString configFile() const {
- return Kolab::ResourceKolabBase::configFile( "kabc" );
- }
-
- void writeConfig();
-
- // The list of subresources
- Kolab::ResourceMap mSubResources;
- TQString mCachedSubresource;
- bool mCachedSubresourceNotFound;
- bool mLocked;
-};
-
-}
-
-#endif // KABC_RESOURCEKOLAB_H
diff --git a/kresources/kolab/kabc/resourcekolab_plugin.cpp b/kresources/kolab/kabc/resourcekolab_plugin.cpp
deleted file mode 100644
index 55ac6420..00000000
--- a/kresources/kolab/kabc/resourcekolab_plugin.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-
-using namespace Kolab;
-
-class KolabFactory : public KRES::PluginFactoryBase
-{
- public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KABC::ResourceKolab( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kabc_kolab,KolabFactory)
-
diff --git a/kresources/kolab/kcal/CMakeLists.txt b/kresources/kolab/kcal/CMakeLists.txt
deleted file mode 100644
index 70750ed1..00000000
--- a/kresources/kolab/kcal/CMakeLists.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../shared
- ${CMAKE_CURRENT_SOURCE_DIR}/../kcal
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES kolab.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-install(
- FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal
- RENAME imap.desktop)
-
-
-##### kcal_kolab (module) #######################
-
-tde_add_kpart( kcal_kolab AUTOMOC
- SOURCES
- resourcekolab_plugin.cpp
- LINK kcalkolab-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcalkolab (shared) ########################
-
-tde_add_library( kcalkolab SHARED AUTOMOC
- SOURCES
- incidence.cpp event.cpp task.cpp journal.cpp resourcekolab.cpp
- VERSION 0.0.0
- LINK resourcekolabshared-static kgroupwarebase-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/kolab/kcal/Makefile.am b/kresources/kolab/kcal/Makefile.am
deleted file mode 100644
index 4b0193ba..00000000
--- a/kresources/kolab/kcal/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/kolab/shared -I$(top_srcdir) \
- -I$(top_builddir)/libtdepim $(all_includes)
-
-# The kolab wizard links to this library too
-lib_LTLIBRARIES = libkcalkolab.la
-
-libkcalkolab_la_SOURCES = incidence.cpp event.cpp task.cpp journal.cpp resourcekolab.cpp
-libkcalkolab_la_LDFLAGS = $(all_libraries) -no-undefined
-libkcalkolab_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/kresources/kolab/shared/libresourcekolabshared.la \
- -lkresources
-
-kde_module_LTLIBRARIES = kcal_kolab.la
-
-kcal_kolab_la_SOURCES = resourcekolab_plugin.cpp
-kcal_kolab_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-kcal_kolab_la_LIBADD = libkcalkolab.la
-
-servicedir = $(kde_servicesdir)/kresources/kcal
-service_DATA = kolab.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop
-
diff --git a/kresources/kolab/kcal/event.cpp b/kresources/kolab/kcal/event.cpp
deleted file mode 100644
index c15c567d..00000000
--- a/kresources/kolab/kcal/event.cpp
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "event.h"
-
-#include <libkcal/event.h>
-#include <kdebug.h>
-
-using namespace Kolab;
-
-
-KCal::Event* Event::xmlToEvent( const TQString& xml, const TQString& tz, KCal::ResourceKolab* res,
- const TQString& subResource, TQ_UINT32 sernum )
-{
- Event event( res, subResource, sernum, tz );
- event.load( xml );
- KCal::Event* kcalEvent = new KCal::Event();
- event.saveTo( kcalEvent );
- return kcalEvent;
-}
-
-TQString Event::eventToXML( KCal::Event* kcalEvent, const TQString& tz )
-{
- Event event( 0, TQString(), 0, tz, kcalEvent );
- return event.saveXML();
-}
-
-Event::Event( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum,
- const TQString& tz, KCal::Event* event )
- : Incidence( res, subResource, sernum, tz ),
- mShowTimeAs( KCal::Event::Opaque ), mHasEndDate( false )
-{
- if ( event )
- setFields( event );
-}
-
-Event::~Event()
-{
-}
-
-void Event::setTransparency( KCal::Event::Transparency transparency )
-{
- mShowTimeAs = transparency;
-}
-
-KCal::Event::Transparency Event::transparency() const
-{
- return mShowTimeAs;
-}
-
-void Event::setEndDate( const TQDateTime& date )
-{
- mEndDate = date;
- mHasEndDate = true;
- if ( mFloatingStatus == AllDay )
- kdDebug() << "ERROR: Time on end date but no time on the event\n";
- mFloatingStatus = HasTime;
-}
-
-void Event::setEndDate( const TQDate& date )
-{
- mEndDate = date;
- mHasEndDate = true;
- if ( mFloatingStatus == HasTime )
- kdDebug() << "ERROR: No time on end date but time on the event\n";
- mFloatingStatus = AllDay;
-}
-
-void Event::setEndDate( const TQString& endDate )
-{
- if ( endDate.length() > 10 )
- // This is a date + time
- setEndDate( stringToDateTime( endDate ) );
- else
- // This is only a date
- setEndDate( stringToDate( endDate ) );
-}
-
-TQDateTime Event::endDate() const
-{
- return mEndDate;
-}
-
-bool Event::loadAttribute( TQDomElement& element )
-{
- // This method doesn't handle the color-label tag yet
- TQString tagName = element.tagName();
-
- if ( tagName == "show-time-as" ) {
- // TODO: Support tentative and outofoffice
- if ( element.text() == "free" )
- setTransparency( KCal::Event::Transparent );
- else
- setTransparency( KCal::Event::Opaque );
- } else if ( tagName == "end-date" )
- setEndDate( element.text() );
- else
- return Incidence::loadAttribute( element );
-
- // We handled this
- return true;
-}
-
-bool Event::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- Incidence::saveAttributes( element );
-
- // TODO: Support tentative and outofoffice
- if ( transparency() == KCal::Event::Transparent )
- writeString( element, "show-time-as", "free" );
- else
- writeString( element, "show-time-as", "busy" );
- if ( mHasEndDate ) {
- if ( mFloatingStatus == HasTime )
- writeString( element, "end-date", dateTimeToString( endDate() ) );
- else
- writeString( element, "end-date", dateToString( endDate().date() ) );
- }
-
- return true;
-}
-
-
-bool Event::loadXML( const TQDomDocument& document )
-{
- TQDomElement top = document.documentElement();
-
- if ( top.tagName() != "event" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected event",
- top.tagName().ascii() );
- return false;
- }
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- loadAttribute( e );
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- loadAttachments();
- return true;
-}
-
-TQString Event::saveXML() const
-{
- TQDomDocument document = domTree();
- TQDomElement element = document.createElement( "event" );
- element.setAttribute( "version", "1.0" );
- saveAttributes( element );
- document.appendChild( element );
- return document.toString();
-}
-
-void Event::setFields( const KCal::Event* event )
-{
- Incidence::setFields( event );
-
- // note: if hasEndDate() is false and hasDuration() is true
- // dtEnd() returns start+duration
- if ( event->hasEndDate() || event->hasDuration() ) {
- if ( event->doesFloat() ) {
- // This is a floating event. Don't timezone move this one
- mFloatingStatus = AllDay;
- setEndDate( event->dtEnd().date() );
- } else {
- mFloatingStatus = HasTime;
- setEndDate( localToUTC( event->dtEnd() ) );
- }
- } else {
- mHasEndDate = false;
- }
- setTransparency( event->transparency() );
-}
-
-void Event::saveTo( KCal::Event* event )
-{
- Incidence::saveTo( event );
-
- event->setHasEndDate( mHasEndDate );
- if ( mHasEndDate ) {
- if ( mFloatingStatus == AllDay )
- // This is a floating event. Don't timezone move this one
- event->setDtEnd( endDate() );
- else
- event->setDtEnd( utcToLocal( endDate() ) );
- }
- event->setTransparency( transparency() );
-}
diff --git a/kresources/kolab/kcal/event.h b/kresources/kolab/kcal/event.h
deleted file mode 100644
index 57aa3358..00000000
--- a/kresources/kolab/kcal/event.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLAB_EVENT_H
-#define KOLAB_EVENT_H
-
-#include "incidence.h"
-
-#include <libkcal/event.h>
-
-class TQDomElement;
-
-
-namespace Kolab {
-
-/**
- * This class represents an event, and knows how to load/save it
- * from/to XML, and from/to a KCal::Event.
- * The instances of this class are temporary, only used to convert
- * one to the other.
- */
-class Event : public Incidence {
-public:
- /// Use this to parse an xml string to a event entry
- /// The caller is responsible for deleting the returned event
- static KCal::Event* xmlToEvent( const TQString& xml, const TQString& tz, KCal::ResourceKolab* res = 0,
- const TQString& subResource = TQString(), TQ_UINT32 sernum = 0 );
-
- /// Use this to get an xml string describing this event entry
- static TQString eventToXML( KCal::Event*, const TQString& tz );
-
- /// Create a event object and
- explicit Event( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum,
- const TQString& tz, KCal::Event* event = 0 );
- virtual ~Event();
-
- void saveTo( KCal::Event* event );
-
- virtual TQString type() const { return "Event"; }
-
- virtual void setTransparency( KCal::Event::Transparency transparency );
- virtual KCal::Event::Transparency transparency() const;
-
- virtual void setEndDate( const TQDateTime& date );
- virtual void setEndDate( const TQDate& date );
- virtual void setEndDate( const TQString& date );
- virtual TQDateTime endDate() const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Load this event by reading the XML file
- virtual bool loadXML( const TQDomDocument& xml );
-
- // Serialize this event to an XML string
- virtual TQString saveXML() const;
-
-protected:
- // Read all known fields from this ical incidence
- void setFields( const KCal::Event* );
-
- KCal::Event::Transparency mShowTimeAs;
- TQDateTime mEndDate;
- bool mHasEndDate;
-};
-
-}
-
-#endif // KOLAB_EVENT_H
diff --git a/kresources/kolab/kcal/incidence.cpp b/kresources/kolab/kcal/incidence.cpp
deleted file mode 100644
index ddc31491..00000000
--- a/kresources/kolab/kcal/incidence.cpp
+++ /dev/null
@@ -1,1039 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "incidence.h"
-#include "resourcekolab.h"
-
-#include <tqfile.h>
-#include <tqvaluelist.h>
-
-#include <libkcal/journal.h>
-#include <korganizer/version.h>
-#include <libemailfunctions/email.h>
-
-#include <kdebug.h>
-#include <kmdcodec.h>
-#include <kurl.h>
-#include <kio/netaccess.h>
-
-using namespace Kolab;
-
-
-Incidence::Incidence( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum,
- const TQString& tz )
- : KolabBase( tz ), mFloatingStatus( Unset ), mHasAlarm( false ),
- mResource( res ),
- mSubResource( subResource ),
- mSernum( sernum )
-{
-}
-
-Incidence::~Incidence()
-{
-}
-
-void Incidence::setSummary( const TQString& summary )
-{
- mSummary = summary;
-}
-
-TQString Incidence::summary() const
-{
- return mSummary;
-}
-
-void Incidence::setLocation( const TQString& location )
-{
- mLocation = location;
-}
-
-TQString Incidence::location() const
-{
- return mLocation;
-}
-
-void Incidence::setOrganizer( const Email& organizer )
-{
- mOrganizer = organizer;
-}
-
-KolabBase::Email Incidence::organizer() const
-{
- return mOrganizer;
-}
-
-void Incidence::setStartDate( const TQDateTime& startDate )
-{
- mStartDate = startDate;
- if ( mFloatingStatus == AllDay )
- kdDebug() << "ERROR: Time on start date but no time on the event\n";
- mFloatingStatus = HasTime;
-}
-
-void Incidence::setStartDate( const TQDate& startDate )
-{
- mStartDate = startDate;
- if ( mFloatingStatus == HasTime )
- kdDebug() << "ERROR: No time on start date but time on the event\n";
- mFloatingStatus = AllDay;
-}
-
-void Incidence::setStartDate( const TQString& startDate )
-{
- if ( startDate.length() > 10 )
- // This is a date + time
- setStartDate( stringToDateTime( startDate ) );
- else
- // This is only a date
- setStartDate( stringToDate( startDate ) );
-}
-
-TQDateTime Incidence::startDate() const
-{
- return mStartDate;
-}
-
-void Incidence::setAlarm( float alarm )
-{
- mAlarm = alarm;
- mHasAlarm = true;
-}
-
-float Incidence::alarm() const
-{
- return mAlarm;
-}
-
-Incidence::Recurrence Incidence::recurrence() const
-{
- return mRecurrence;
-}
-
-void Incidence::addAttendee( const Attendee& attendee )
-{
- mAttendees.append( attendee );
-}
-
-TQValueList<Incidence::Attendee>& Incidence::attendees()
-{
- return mAttendees;
-}
-
-const TQValueList<Incidence::Attendee>& Incidence::attendees() const
-{
- return mAttendees;
-}
-
-void Incidence::setInternalUID( const TQString& iuid )
-{
- mInternalUID = iuid;
-}
-
-TQString Incidence::internalUID() const
-{
- return mInternalUID;
-}
-
-bool Incidence::loadAttendeeAttribute( TQDomElement& element,
- Attendee& attendee )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "display-name" ) {
- // Quote the text in case it contains commas or other quotable chars.
- TQString tusername = KPIM::quoteNameIfNecessary( e.text() );
-
- TQString tname, temail;
- // ignore the return value because it will always be false since
- // tusername does not contain "@domain".
- KPIM::getNameAndMail( tusername, tname, temail );
- attendee.displayName = tname;
- }
- else if ( tagName == "smtp-address" )
- attendee.smtpAddress = e.text();
- else if ( tagName == "status" )
- attendee.status = e.text();
- else if ( tagName == "request-response" )
- // This sets reqResp to false, if the text is "false". Otherwise it
- // sets it to true. This means the default setting is true.
- attendee.requestResponse = ( e.text().lower() != "false" );
- else if ( tagName == "invitation-sent" )
- // Like above, only this defaults to false
- attendee.invitationSent = ( e.text().lower() != "true" );
- else if ( tagName == "role" )
- attendee.role = e.text();
- else if ( tagName == "delegated-to" )
- attendee.delegate = e.text();
- else if ( tagName == "delegated-from" )
- attendee.delegator = e.text();
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-void Incidence::saveAttendeeAttribute( TQDomElement& element,
- const Attendee& attendee ) const
-{
- TQDomElement e = element.ownerDocument().createElement( "attendee" );
- element.appendChild( e );
- writeString( e, "display-name", attendee.displayName );
- writeString( e, "smtp-address", attendee.smtpAddress );
- writeString( e, "status", attendee.status );
- writeString( e, "request-response",
- ( attendee.requestResponse ? "true" : "false" ) );
- writeString( e, "invitation-sent",
- ( attendee.invitationSent ? "true" : "false" ) );
- writeString( e, "role", attendee.role );
- writeString( e, "delegated-to", attendee.delegate );
- writeString( e, "delegated-from", attendee.delegator );
-}
-
-void Incidence::saveAttendees( TQDomElement& element ) const
-{
- TQValueList<Attendee>::ConstIterator it = mAttendees.begin();
- for ( ; it != mAttendees.end(); ++it )
- saveAttendeeAttribute( element, *it );
-}
-
-void Incidence::saveAttachments( TQDomElement& element ) const
-{
- KCal::Attachment::List::ConstIterator it = mAttachments.begin();
- for ( ; it != mAttachments.end(); ++it ) {
- KCal::Attachment *a = (*it);
- if ( a->isUri() ) {
- writeString( element, "link-attachment", a->uri() );
- } else if ( a->isBinary() ) {
- writeString( element, "inline-attachment", a->label() );
- }
- }
-}
-
-void Incidence::saveAlarms( TQDomElement& element ) const
-{
- if ( mAlarms.isEmpty() ) return;
-
- TQDomElement list = element.ownerDocument().createElement( "advanced-alarms" );
- element.appendChild( list );
- for ( KCal::Alarm::List::ConstIterator it = mAlarms.constBegin(); it != mAlarms.constEnd(); ++it ) {
- KCal::Alarm* a = *it;
- TQDomElement e = list.ownerDocument().createElement( "alarm" );
- list.appendChild( e );
-
- writeString( e, "enabled", a->enabled() ? "1" : "0" );
- if ( a->hasStartOffset() ) {
- writeString( e, "start-offset", TQString::number( a->startOffset().asSeconds()/60 ) );
- }
- if ( a->hasEndOffset() ) {
- writeString( e, "end-offset", TQString::number( a->endOffset().asSeconds()/60 ) );
- }
- if ( a->repeatCount() ) {
- writeString( e, "repeat-count", TQString::number( a->repeatCount() ) );
- writeString( e, "repeat-interval", TQString::number( a->snoozeTime() ) );
- }
-
- switch ( a->type() ) {
- case KCal::Alarm::Invalid:
- break;
- case KCal::Alarm::Display:
- e.setAttribute( "type", "display" );
- writeString( e, "text", a->text() );
- break;
- case KCal::Alarm::Procedure:
- e.setAttribute( "type", "procedure" );
- writeString( e, "program", a->programFile() );
- writeString( e, "arguments", a->programArguments() );
- break;
- case KCal::Alarm::Email:
- {
- e.setAttribute( "type", "email" );
- TQDomElement addresses = e.ownerDocument().createElement( "addresses" );
- e.appendChild( addresses );
- for ( TQValueList<KCal::Person>::ConstIterator it = a->mailAddresses().constBegin(); it != a->mailAddresses().constEnd(); ++it ) {
- writeString( addresses, "address", (*it).fullName() );
- }
- writeString( e, "subject", a->mailSubject() );
- writeString( e, "mail-text", a->mailText() );
- TQDomElement attachments = e.ownerDocument().createElement( "attachments" );
- e.appendChild( attachments );
- for ( TQStringList::ConstIterator it = a->mailAttachments().constBegin(); it != a->mailAttachments().constEnd(); ++it ) {
- writeString( attachments, "attachment", *it );
- }
- break;
- }
- case KCal::Alarm::Audio:
- e.setAttribute( "type", "audio" );
- writeString( e, "file", a->audioFile() );
- break;
- default:
- kdWarning() << "Unhandled alarm type:" << a->type() << endl;
- break;
- }
- }
-}
-
-void Incidence::saveRecurrence( TQDomElement& element ) const
-{
- TQDomElement e = element.ownerDocument().createElement( "recurrence" );
- element.appendChild( e );
- e.setAttribute( "cycle", mRecurrence.cycle );
- if ( !mRecurrence.type.isEmpty() )
- e.setAttribute( "type", mRecurrence.type );
- writeString( e, "interval", TQString::number( mRecurrence.interval ) );
- for( TQStringList::ConstIterator it = mRecurrence.days.begin(); it != mRecurrence.days.end(); ++it ) {
- writeString( e, "day", *it );
- }
- if ( !mRecurrence.dayNumber.isEmpty() )
- writeString( e, "daynumber", mRecurrence.dayNumber );
- if ( !mRecurrence.month.isEmpty() )
- writeString( e, "month", mRecurrence.month );
- if ( !mRecurrence.rangeType.isEmpty() ) {
- TQDomElement range = element.ownerDocument().createElement( "range" );
- e.appendChild( range );
- range.setAttribute( "type", mRecurrence.rangeType );
- TQDomText t = element.ownerDocument().createTextNode( mRecurrence.range );
- range.appendChild( t );
- }
- for( TQValueList<TQDate>::ConstIterator it = mRecurrence.exclusions.begin();
- it != mRecurrence.exclusions.end(); ++it ) {
- writeString( e, "exclusion", dateToString( *it ) );
- }
-}
-
-void Incidence::loadRecurrence( const TQDomElement& element )
-{
- mRecurrence.interval = 0;
- mRecurrence.cycle = element.attribute( "cycle" );
- mRecurrence.type = element.attribute( "type" );
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "interval" ) {
- //kolab/issue4229, sometimes the interval value can be empty
- if ( e.text().isEmpty() || e.text().toInt() <= 0 ) {
- mRecurrence.interval = 1;
- } else {
- mRecurrence.interval = e.text().toInt();
- }
- }
- else if ( tagName == "day" ) // can be present multiple times
- mRecurrence.days.append( e.text() );
- else if ( tagName == "daynumber" )
- mRecurrence.dayNumber = e.text();
- else if ( tagName == "month" )
- mRecurrence.month = e.text();
- else if ( tagName == "range" ) {
- mRecurrence.rangeType = e.attribute( "type" );
- mRecurrence.range = e.text();
- } else if ( tagName == "exclusion" ) {
- mRecurrence.exclusions.append( stringToDate( e.text() ) );
- } else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- }
- }
-}
-
-static void loadAddressesHelper( const TQDomElement& element, KCal::Alarm* a )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "address" ) {
- a->addMailAddress( KCal::Person( e.text() ) );
- } else {
- kdWarning() << "Unhandled tag" << tagName << endl;
- }
- }
- }
-}
-
-static void loadAttachmentsHelper( const TQDomElement& element, KCal::Alarm* a )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "attachment" ) {
- a->addMailAttachment( e.text() );
- } else {
- kdWarning() << "Unhandled tag" << tagName << endl;
- }
- }
- }
-}
-
-static void loadAlarmHelper( const TQDomElement& element, KCal::Alarm* a )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "start-offset" ) {
- a->setStartOffset( e.text().toInt()*60 );
- } else if ( tagName == "end-offset" ) {
- a->setEndOffset( e.text().toInt()*60 );
- } else if ( tagName == "repeat-count" ) {
- a->setRepeatCount( e.text().toInt() );
- } else if ( tagName == "repeat-interval" ) {
- a->setSnoozeTime( e.text().toInt() );
- } else if ( tagName == "text" ) {
- a->setText( e.text() );
- } else if ( tagName == "program" ) {
- a->setProgramFile( e.text() );
- } else if ( tagName == "arguments" ) {
- a->setProgramArguments( e.text() );
- } else if ( tagName == "addresses" ) {
- loadAddressesHelper( e, a );
- } else if ( tagName == "subject" ) {
- a->setMailSubject( e.text() );
- } else if ( tagName == "mail-text" ) {
- a->setMailText( e.text() );
- } else if ( tagName == "attachments" ) {
- loadAttachmentsHelper( e, a );
- } else if ( tagName == "file" ) {
- a->setAudioFile( e.text() );
- } else if ( tagName == "enabled" ) {
- a->setEnabled( e.text().toInt() != 0 );
- } else {
- kdWarning() << "Unhandled tag" << tagName << endl;
- }
- }
- }
-}
-
-void Incidence::loadAlarms( const TQDomElement& element )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "alarm" ) {
- KCal::Alarm *a = new KCal::Alarm( 0 );
- a->setEnabled( true ); // default to enabled, unless some XML attribute says otherwise.
- TQString type = e.attribute( "type" );
- if ( type == "display" ) {
- a->setType( KCal::Alarm::Display );
- } else if ( type == "procedure" ) {
- a->setType( KCal::Alarm::Procedure );
- } else if ( type == "email" ) {
- a->setType( KCal::Alarm::Email );
- } else if ( type == "audio" ) {
- a->setType( KCal::Alarm::Audio );
- } else {
- kdWarning() << "Unhandled alarm type:" << type << endl;
- }
-
- loadAlarmHelper( e, a );
- mAlarms << a;
- } else {
- kdWarning() << "Unhandled tag" << tagName << endl;
- }
- }
- }
-}
-
-bool Incidence::loadAttribute( TQDomElement& element )
-{
- TQString tagName = element.tagName();
-
- if ( tagName == "summary" )
- setSummary( element.text() );
- else if ( tagName == "location" )
- setLocation( element.text() );
- else if ( tagName == "organizer" ) {
- Email email;
- if ( loadEmailAttribute( element, email ) ) {
- setOrganizer( email );
- return true;
- } else
- return false;
- } else if ( tagName == "start-date" )
- setStartDate( element.text() );
- else if ( tagName == "recurrence" )
- loadRecurrence( element );
- else if ( tagName == "attendee" ) {
- Attendee attendee;
- if ( loadAttendeeAttribute( element, attendee ) ) {
- addAttendee( attendee );
- return true;
- } else
- return false;
- } else if ( tagName == "link-attachment" ) {
- mAttachments.push_back( new KCal::Attachment( element.text() ) );
- } else if ( tagName == "alarm" )
- // Alarms should be minutes before. Libkcal uses event time + alarm time
- setAlarm( - element.text().toInt() );
- else if ( tagName == "advanced-alarms" )
- loadAlarms( element );
- else if ( tagName == "x-kde-internaluid" )
- setInternalUID( element.text() );
- else if ( tagName == "x-custom" )
- loadCustomAttributes( element );
- else {
- bool ok = KolabBase::loadAttribute( element );
- if ( !ok ) {
- // Unhandled tag - save for later storage
- //kdDebug() << "Saving unhandled tag " << element.tagName() << endl;
- Custom c;
- c.key = TQCString( "X-TDE-KolabUnhandled-" ) + element.tagName().latin1();
- c.value = element.text();
- mCustomList.append( c );
- }
- }
- // We handled this
- return true;
-}
-
-bool Incidence::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- KolabBase::saveAttributes( element );
-
- if ( mFloatingStatus == HasTime )
- writeString( element, "start-date", dateTimeToString( startDate() ) );
- else
- writeString( element, "start-date", dateToString( startDate().date() ) );
- writeString( element, "summary", summary() );
- writeString( element, "location", location() );
- saveEmailAttribute( element, organizer(), "organizer" );
- if ( !mRecurrence.cycle.isEmpty() )
- saveRecurrence( element );
- saveAttendees( element );
- saveAttachments( element );
- if ( mHasAlarm ) {
- // Alarms should be minutes before. Libkcal uses event time + alarm time
- int alarmTime = tqRound( -alarm() );
- writeString( element, "alarm", TQString::number( alarmTime ) );
- }
- saveAlarms( element );
- writeString( element, "x-kde-internaluid", internalUID() );
- saveCustomAttributes( element );
- return true;
-}
-
-void Incidence::saveCustomAttributes( TQDomElement& element ) const
-{
- TQValueList<Custom>::ConstIterator it = mCustomList.begin();
- for ( ; it != mCustomList.end(); ++it ) {
- TQString key = (*it).key;
- Q_ASSERT( !key.isEmpty() );
- if ( key.startsWith( "X-TDE-KolabUnhandled-" ) ) {
- key = key.mid( strlen( "X-TDE-KolabUnhandled-" ) );
- writeString( element, key, (*it).value );
- } else {
- // Let's use attributes so that other tag-preserving-code doesn't need sub-elements
- TQDomElement e = element.ownerDocument().createElement( "x-custom" );
- element.appendChild( e );
- e.setAttribute( "key", key );
- e.setAttribute( "value", (*it).value );
- }
- }
-}
-
-void Incidence::loadCustomAttributes( TQDomElement& element )
-{
- Custom custom;
- custom.key = element.attribute( "key" ).latin1();
- custom.value = element.attribute( "value" );
- mCustomList.append( custom );
-}
-
-static KCal::Attendee::PartStat attendeeStringToStatus( const TQString& s )
-{
- if ( s == "none" )
- return KCal::Attendee::NeedsAction;
- if ( s == "tentative" )
- return KCal::Attendee::Tentative;
- if ( s == "accepted" )
- return KCal::Attendee::Accepted;
- if ( s == "declined" )
- return KCal::Attendee::Declined;
- if ( s == "delegated" )
- return KCal::Attendee::Delegated;
-
- // Default:
- return KCal::Attendee::None;
-}
-
-static TQString attendeeStatusToString( KCal::Attendee::PartStat status )
-{
- switch( status ) {
- case KCal::Attendee::NeedsAction:
- return "none";
- case KCal::Attendee::Accepted:
- return "accepted";
- case KCal::Attendee::Declined:
- return "declined";
- case KCal::Attendee::Tentative:
- return "tentative";
- case KCal::Attendee::Delegated:
- return "delegated";
- case KCal::Attendee::Completed:
- case KCal::Attendee::InProcess:
- // These don't have any meaning in the Kolab format, so just use:
- return "accepted";
- }
-
- // Default for the case that there are more added later:
- return "accepted";
-}
-
-static KCal::Attendee::Role attendeeStringToRole( const TQString& s )
-{
- if ( s == "optional" )
- return KCal::Attendee::OptParticipant;
- if ( s == "resource" )
- return KCal::Attendee::NonParticipant;
- return KCal::Attendee::ReqParticipant;
-}
-
-static TQString attendeeRoleToString( KCal::Attendee::Role role )
-{
- switch( role ) {
- case KCal::Attendee::ReqParticipant:
- return "required";
- case KCal::Attendee::OptParticipant:
- return "optional";
- case KCal::Attendee::Chair:
- // We don't have the notion of chair, so use
- return "required";
- case KCal::Attendee::NonParticipant:
- // In Kolab, a non-participant is a resource
- return "resource";
- }
-
- // Default for the case that there are more added later:
- return "required";
-}
-
-static const char *s_weekDayName[] =
-{
- "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"
-};
-
-static const char *s_monthName[] =
-{
- "january", "february", "march", "april", "may", "june", "july",
- "august", "september", "october", "november", "december"
-};
-
-void Incidence::setRecurrence( KCal::Recurrence* recur )
-{
- mRecurrence.interval = recur->frequency();
- switch ( recur->recurrenceType() ) {
- case KCal::Recurrence::rMinutely: // Not handled by the kolab XML
- mRecurrence.cycle = "minutely";
- break;
- case KCal::Recurrence::rHourly: // Not handled by the kolab XML
- mRecurrence.cycle = "hourly";
- break;
- case KCal::Recurrence::rDaily:
- mRecurrence.cycle = "daily";
- break;
- case KCal::Recurrence::rWeekly: // every X weeks
- mRecurrence.cycle = "weekly";
- {
- TQBitArray arr = recur->days();
- for ( uint idx = 0 ; idx < 7 ; ++idx )
- if ( arr.testBit( idx ) )
- mRecurrence.days.append( s_weekDayName[idx] );
- }
- break;
- case KCal::Recurrence::rMonthlyPos: {
- mRecurrence.cycle = "monthly";
- mRecurrence.type = "weekday";
- TQValueList<KCal::RecurrenceRule::WDayPos> monthPositions = recur->monthPositions();
- if ( !monthPositions.isEmpty() ) {
- KCal::RecurrenceRule::WDayPos monthPos = monthPositions.first();
- // TODO: Handle multiple days in the same week
- mRecurrence.dayNumber = TQString::number( monthPos.pos() );
- mRecurrence.days.append( s_weekDayName[ monthPos.day()-1 ] );
- // Not (properly) handled(?): monthPos.negative (nth days before end of month)
- }
- break;
- }
- case KCal::Recurrence::rMonthlyDay: {
- mRecurrence.cycle = "monthly";
- mRecurrence.type = "daynumber";
- TQValueList<int> monthDays = recur->monthDays();
- // ####### Kolab XML limitation: only the first month day is used
- if ( !monthDays.isEmpty() )
- mRecurrence.dayNumber = TQString::number( monthDays.first() );
- break;
- }
- case KCal::Recurrence::rYearlyMonth: // (day n of Month Y)
- {
- mRecurrence.cycle = "yearly";
- mRecurrence.type = "monthday";
- TQValueList<int> rmd = recur->yearDates();
- int day = !rmd.isEmpty() ? rmd.first() : recur->startDate().day();
- mRecurrence.dayNumber = TQString::number( day );
- TQValueList<int> months = recur->yearMonths();
- if ( !months.isEmpty() )
- mRecurrence.month = s_monthName[ months.first() - 1 ]; // #### Kolab XML limitation: only one month specified
- break;
- }
- case KCal::Recurrence::rYearlyDay: // YearlyDay (day N of the year). Not supported by Outlook
- mRecurrence.cycle = "yearly";
- mRecurrence.type = "yearday";
- mRecurrence.dayNumber = TQString::number( recur->yearDays().first() );
- break;
- case KCal::Recurrence::rYearlyPos: // (weekday X of week N of month Y)
- mRecurrence.cycle = "yearly";
- mRecurrence.type = "weekday";
- TQValueList<int> months = recur->yearMonths();
- if ( !months.isEmpty() )
- mRecurrence.month = s_monthName[ months.first() - 1 ]; // #### Kolab XML limitation: only one month specified
- TQValueList<KCal::RecurrenceRule::WDayPos> monthPositions = recur->yearPositions();
- if ( !monthPositions.isEmpty() ) {
- KCal::RecurrenceRule::WDayPos monthPos = monthPositions.first();
- // TODO: Handle multiple days in the same week
- mRecurrence.dayNumber = TQString::number( monthPos.pos() );
- mRecurrence.days.append( s_weekDayName[ monthPos.day()-1 ] );
-
- //mRecurrence.dayNumber = TQString::number( *recur->yearNums().getFirst() );
- // Not handled: monthPos.negative (nth days before end of month)
- }
- break;
- }
- int howMany = recur->duration();
- if ( howMany > 0 ) {
- mRecurrence.rangeType = "number";
- mRecurrence.range = TQString::number( howMany );
- } else if ( howMany == 0 ) {
- mRecurrence.rangeType = "date";
- mRecurrence.range = dateToString( recur->endDate() );
- } else {
- mRecurrence.rangeType = "none";
- }
-}
-
-void Incidence::setFields( const KCal::Incidence* incidence )
-{
- KolabBase::setFields( incidence );
-
- if ( incidence->doesFloat() ) {
- // This is a floating event. Don't timezone move this one
- mFloatingStatus = AllDay;
- setStartDate( incidence->dtStart().date() );
- } else {
- mFloatingStatus = HasTime;
- setStartDate( localToUTC( incidence->dtStart() ) );
- }
-
- setSummary( incidence->summary() );
- setLocation( incidence->location() );
-
- // Alarm
- mHasAlarm = false; // Will be set to true, if we actually have one
- if ( incidence->isAlarmEnabled() ) {
- const KCal::Alarm::List& alarms = incidence->alarms();
- if ( !alarms.isEmpty() ) {
- const KCal::Alarm* alarm = alarms.first();
- if ( alarm->hasStartOffset() ) {
- int dur = alarm->startOffset().asSeconds();
- setAlarm( (float)dur / 60.0 );
- }
- }
- }
-
- Email org( incidence->organizer().name(), incidence->organizer().email() );
- setOrganizer( org );
-
- // Attendees:
- KCal::Attendee::List attendees = incidence->attendees();
- KCal::Attendee::List::ConstIterator it;
- for ( it = attendees.begin(); it != attendees.end(); ++it ) {
- KCal::Attendee* kcalAttendee = *it;
- Attendee attendee;
-
- attendee.displayName = kcalAttendee->name();
- attendee.smtpAddress = kcalAttendee->email();
- attendee.status = attendeeStatusToString( kcalAttendee->status() );
- attendee.requestResponse = kcalAttendee->RSVP();
- // TODO: KCal::Attendee::mFlag is not accessible
- // attendee.invitationSent = kcalAttendee->mFlag;
- // DF: Hmm? mFlag is set to true and never used at all.... Did you mean another field?
- attendee.role = attendeeRoleToString( kcalAttendee->role() );
- attendee.delegate = kcalAttendee->delegate();
- attendee.delegator = kcalAttendee->delegator();
-
- addAttendee( attendee );
- }
-
- mAttachments.clear();
-
- // Attachments
- KCal::Attachment::List attachments = incidence->attachments();
- KCal::Attachment::List::ConstIterator it2;
- for ( it2 = attachments.begin(); it2 != attachments.end(); ++it2 ) {
- KCal::Attachment *a = *it2;
- mAttachments.push_back( a );
- }
-
- mAlarms.clear();
-
- // Alarms
- const KCal::Alarm::List alarms = incidence->alarms();
- for ( KCal::Alarm::List::ConstIterator it = alarms.begin(); it != alarms.end(); ++it ) {
- mAlarms.push_back( *it );
- }
-
- if ( incidence->doesRecur() ) {
- setRecurrence( incidence->recurrence() );
- mRecurrence.exclusions = incidence->recurrence()->exDates();
- }
-
- // Handle the scheduling ID
- if ( incidence->schedulingID() == incidence->uid() ) {
- // There is no scheduling ID
- setInternalUID( TQString() );
- } else {
- // We've internally been using a different uid, so save that as the
- // temporary (internal) uid and restore the original uid, the one that
- // is used in the folder and the outside world
- setUid( incidence->schedulingID() );
- setInternalUID( incidence->uid() );
- }
-
- if ( incidence->pilotId() != 0 )
- setPilotSyncId( incidence->pilotId() );
-
- setPilotSyncStatus( incidence->syncStatus() );
-
- // Unhandled tags and other custom properties (see libkcal/customproperties.h)
- const TQMap<TQCString, TQString> map = incidence->customProperties();
- TQMap<TQCString, TQString>::ConstIterator cit = map.begin();
- for ( ; cit != map.end() ; ++cit ) {
- Custom c;
- c.key = cit.key();
- c.value = cit.data();
- mCustomList.append( c );
- }
-}
-
-static TQBitArray daysListToBitArray( const TQStringList& days )
-{
- TQBitArray arr( 7 );
- arr.fill( false );
- for( TQStringList::ConstIterator it = days.begin(); it != days.end(); ++it ) {
- for ( uint i = 0; i < 7 ; ++i )
- if ( *it == s_weekDayName[i] )
- arr.setBit( i, true );
- }
- return arr;
-}
-
-
-void Incidence::saveTo( KCal::Incidence* incidence )
-{
- KolabBase::saveTo( incidence );
-
- if ( mFloatingStatus == AllDay ) {
- // This is a floating event. Don't timezone move this one
- incidence->setDtStart( startDate() );
- incidence->setFloats( true );
- } else {
- incidence->setDtStart( utcToLocal( startDate() ) );
- incidence->setFloats( false );
- }
-
- incidence->setSummary( summary() );
- incidence->setLocation( location() );
-
- if ( mHasAlarm && mAlarms.isEmpty() ) {
- KCal::Alarm* alarm = incidence->newAlarm();
- alarm->setStartOffset( tqRound( mAlarm * 60.0 ) );
- alarm->setEnabled( true );
- alarm->setType( KCal::Alarm::Display );
- } else if ( !mAlarms.isEmpty() ) {
- for ( KCal::Alarm::List::ConstIterator it = mAlarms.constBegin(); it != mAlarms.constEnd(); ++it ) {
- KCal::Alarm *alarm = *it;
- alarm->setParent( incidence );
- incidence->addAlarm( alarm );
- }
- }
-
- if ( organizer().displayName.isEmpty() )
- incidence->setOrganizer( organizer().smtpAddress );
- else
- incidence->setOrganizer( organizer().displayName + "<"
- + organizer().smtpAddress + ">" );
-
- incidence->clearAttendees();
- TQValueList<Attendee>::ConstIterator it;
- for ( it = mAttendees.begin(); it != mAttendees.end(); ++it ) {
- KCal::Attendee::PartStat status = attendeeStringToStatus( (*it).status );
- KCal::Attendee::Role role = attendeeStringToRole( (*it).role );
- KCal::Attendee* attendee = new KCal::Attendee( (*it).displayName,
- (*it).smtpAddress,
- (*it).requestResponse,
- status, role );
- attendee->setDelegate( (*it).delegate );
- attendee->setDelegator( (*it).delegator );
- incidence->addAttendee( attendee );
- }
-
- incidence->clearAttachments();
- KCal::Attachment::List::ConstIterator it2;
- for ( it2 = mAttachments.begin(); it2 != mAttachments.end(); ++it2 ) {
- KCal::Attachment *a = (*it2);
- // TODO should we copy?
- incidence->addAttachment( a );
- }
-
- if ( !mRecurrence.cycle.isEmpty() ) {
- KCal::Recurrence* recur = incidence->recurrence(); // yeah, this creates it
- // done below recur->setFrequency( mRecurrence.interval );
- if ( mRecurrence.cycle == "minutely" ) {
- recur->setMinutely( mRecurrence.interval );
- } else if ( mRecurrence.cycle == "hourly" ) {
- recur->setHourly( mRecurrence.interval );
- } else if ( mRecurrence.cycle == "daily" ) {
- recur->setDaily( mRecurrence.interval );
- } else if ( mRecurrence.cycle == "weekly" ) {
- TQBitArray rDays = daysListToBitArray( mRecurrence.days );
- recur->setWeekly( mRecurrence.interval, rDays );
- } else if ( mRecurrence.cycle == "monthly" ) {
- recur->setMonthly( mRecurrence.interval );
- if ( mRecurrence.type == "weekday" ) {
- recur->addMonthlyPos( mRecurrence.dayNumber.toInt(), daysListToBitArray( mRecurrence.days ) );
- } else if ( mRecurrence.type == "daynumber" ) {
- recur->addMonthlyDate( mRecurrence.dayNumber.toInt() );
- } else kdWarning() << "Unhandled monthly recurrence type " << mRecurrence.type << endl;
- } else if ( mRecurrence.cycle == "yearly" ) {
- recur->setYearly( mRecurrence.interval );
- if ( mRecurrence.type == "monthday" ) {
- recur->addYearlyDate( mRecurrence.dayNumber.toInt() );
- for ( int i = 0; i < 12; ++i )
- if ( s_monthName[ i ] == mRecurrence.month )
- recur->addYearlyMonth( i+1 );
- } else if ( mRecurrence.type == "yearday" ) {
- recur->addYearlyDay( mRecurrence.dayNumber.toInt() );
- } else if ( mRecurrence.type == "weekday" ) {
- for ( int i = 0; i < 12; ++i )
- if ( s_monthName[ i ] == mRecurrence.month )
- recur->addYearlyMonth( i+1 );
- recur->addYearlyPos( mRecurrence.dayNumber.toInt(), daysListToBitArray( mRecurrence.days ) );
- } else kdWarning() << "Unhandled yearly recurrence type " << mRecurrence.type << endl;
- } else kdWarning() << "Unhandled recurrence cycle " << mRecurrence.cycle << endl;
-
- if ( mRecurrence.rangeType == "number" ) {
- recur->setDuration( mRecurrence.range.toInt() );
- } else if ( mRecurrence.rangeType == "date" ) {
- recur->setEndDate( stringToDate( mRecurrence.range ) );
- } // "none" is default since tje set*ly methods set infinite recurrence
-
- incidence->recurrence()->setExDates( mRecurrence.exclusions );
-
- }
- /* If we've stored a uid to be used internally instead of the real one
- * (to deal with duplicates of events in different folders) before, then
- * restore it, so it does not change. Keep the original uid around for
- * scheduling purposes. */
- if ( !internalUID().isEmpty() ) {
- incidence->setUid( internalUID() );
- incidence->setSchedulingID( uid() );
- }
- if ( hasPilotSyncId() )
- incidence->setPilotId( pilotSyncId() );
- if ( hasPilotSyncStatus() )
- incidence->setSyncStatus( pilotSyncStatus() );
-
- for( TQValueList<Custom>::ConstIterator it = mCustomList.constBegin(); it != mCustomList.constEnd(); ++it ) {
- incidence->setNonKDECustomProperty( (*it).key, (*it).value );
- }
-
-}
-
-void Incidence::loadAttachments()
-{
- TQStringList attachments;
- if ( mResource->kmailListAttachments( attachments, mSubResource, mSernum ) ) {
- for ( TQStringList::ConstIterator it = attachments.constBegin(); it != attachments.constEnd(); ++it ) {
- TQByteArray data;
- KURL url;
- if ( mResource->kmailGetAttachment( url, mSubResource, mSernum, *it ) && !url.isEmpty() ) {
- TQFile f( url.path() );
- if ( f.open( IO_ReadOnly ) ) {
- data = f.readAll();
- TQString mimeType;
- if ( !mResource->kmailAttachmentMimetype( mimeType, mSubResource, mSernum, *it ) )
- mimeType = "application/octet-stream";
- KCal::Attachment *a = new KCal::Attachment( KCodecs::base64Encode( data ).data(), mimeType );
- a->setLabel( *it );
- mAttachments.append( a );
- f.close();
- }
- f.remove();
- }
- }
- }
-}
-
-TQString Incidence::productID() const
-{
- return TQString( "KOrganizer %1, Kolab resource" ).arg( korgVersion );
-}
-
-// Unhandled KCal::Incidence fields:
-// revision, status (unused), priority (done in tasks), attendee.uid,
-// mComments, mReadOnly
-
diff --git a/kresources/kolab/kcal/incidence.h b/kresources/kolab/kcal/incidence.h
deleted file mode 100644
index 926ec1e4..00000000
--- a/kresources/kolab/kcal/incidence.h
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLAB_INCIDENCE_H
-#define KOLAB_INCIDENCE_H
-
-#include <kolabbase.h>
-
-class TQDomElement;
-
-namespace KCal {
- class Incidence;
- class Recurrence;
- class Alarm;
- class Attachment;
- class ResourceKolab;
-}
-
-namespace Kolab {
-
-/**
- * This abstract class represents an incidence which has the shared
- * fields, of events and tasks and knows how to load/save these
- * from/to XML, and from/to a KCal::Incidence.
- */
-class Incidence : public KolabBase {
-public:
- struct Recurrence {
- TQString cycle;
- TQString type;
- int interval;
- TQStringList days; // list of days-of-the-week
- TQString dayNumber;
- TQString month;
- TQString rangeType;
- TQString range; // date or number or nothing
- TQValueList<TQDate> exclusions;
- };
-
- struct Attendee : Email {
- Attendee() : requestResponse( true ), invitationSent( false ) {}
- TQString status;
- bool requestResponse;
- bool invitationSent;
- TQString role;
- TQString delegate;
- TQString delegator;
- };
-
- explicit Incidence( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum,
- const TQString& tz );
- virtual ~Incidence();
-
- void saveTo( KCal::Incidence* incidence );
-
- virtual void setSummary( const TQString& summary );
- virtual TQString summary() const;
-
- virtual void setLocation( const TQString& location );
- virtual TQString location() const;
-
- virtual void setOrganizer( const Email& organizer );
- virtual Email organizer() const;
-
- virtual void setStartDate( const TQDateTime& startDate );
- virtual void setStartDate( const TQDate& startDate );
- virtual void setStartDate( const TQString& startDate );
- virtual TQDateTime startDate() const;
-
- virtual void setAlarm( float alarm );
- virtual float alarm() const;
-
- virtual void setRecurrence( KCal::Recurrence* recur );
- virtual Recurrence recurrence() const;
-
- virtual void addAttendee( const Attendee& attendee );
- TQValueList<Attendee>& attendees();
- const TQValueList<Attendee>& attendees() const;
-
- /**
- * The internal uid is used as the uid inside KOrganizer whenever
- * two or more events with the same uid appear, which KOrganizer
- * can't handle. To avoid keep that interal uid from changing all the
- * time, it is persisted in the XML between a save and the next load.
- */
- void setInternalUID( const TQString& iuid );
- TQString internalUID() const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
-protected:
- enum FloatingStatus { Unset, AllDay, HasTime };
-
- // Read all known fields from this ical incidence
- void setFields( const KCal::Incidence* );
-
- bool loadAttendeeAttribute( TQDomElement&, Attendee& );
- void saveAttendeeAttribute( TQDomElement& element,
- const Attendee& attendee ) const;
- void saveAttendees( TQDomElement& element ) const;
- void saveAttachments( TQDomElement& element ) const;
-
- void loadAlarms( const TQDomElement& element );
- void saveAlarms( TQDomElement& element ) const;
-
- void loadRecurrence( const TQDomElement& element );
- void saveRecurrence( TQDomElement& element ) const;
- void saveCustomAttributes( TQDomElement& element ) const;
- void loadCustomAttributes( TQDomElement& element );
-
- void loadAttachments();
-
- TQString productID() const;
-
- TQString mSummary;
- TQString mLocation;
- Email mOrganizer;
- TQDateTime mStartDate;
- FloatingStatus mFloatingStatus;
- float mAlarm;
- bool mHasAlarm;
- Recurrence mRecurrence;
- TQValueList<Attendee> mAttendees;
- TQValueList<KCal::Alarm*> mAlarms;
- TQValueList<KCal::Attachment*> mAttachments;
- TQString mInternalUID;
-
- struct Custom {
- TQCString key;
- TQString value;
- };
- TQValueList<Custom> mCustomList;
-
- KCal::ResourceKolab *mResource;
- TQString mSubResource;
- TQ_UINT32 mSernum;
-};
-
-}
-
-#endif // KOLAB_INCIDENCE_H
diff --git a/kresources/kolab/kcal/journal.cpp b/kresources/kolab/kcal/journal.cpp
deleted file mode 100644
index acfc4e71..00000000
--- a/kresources/kolab/kcal/journal.cpp
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "journal.h"
-
-#include <libkcal/journal.h>
-#include <korganizer/version.h>
-#include <kdebug.h>
-
-using namespace Kolab;
-
-
-KCal::Journal* Journal::xmlToJournal( const TQString& xml, const TQString& tz )
-{
- Journal journal( tz );
- journal.load( xml );
- KCal::Journal* kcalJournal = new KCal::Journal();
- journal.saveTo( kcalJournal );
- return kcalJournal;
-}
-
-TQString Journal::journalToXML( KCal::Journal* kcalJournal, const TQString& tz )
-{
- Journal journal( tz, kcalJournal );
- return journal.saveXML();
-}
-
-Journal::Journal( const TQString& tz, KCal::Journal* journal )
- : KolabBase( tz )
-{
- if ( journal )
- setFields( journal );
-}
-
-Journal::~Journal()
-{
-}
-
-void Journal::setSummary( const TQString& summary )
-{
- mSummary = summary;
-}
-
-TQString Journal::summary() const
-{
- return mSummary;
-}
-
-void Journal::setStartDate( const TQDateTime& startDate )
-{
- mStartDate = startDate;
-}
-
-TQDateTime Journal::startDate() const
-{
- return mStartDate;
-}
-
-void Journal::setEndDate( const TQDateTime& endDate )
-{
- mEndDate = endDate;
-}
-
-TQDateTime Journal::endDate() const
-{
- return mEndDate;
-}
-
-bool Journal::loadAttribute( TQDomElement& element )
-{
- TQString tagName = element.tagName();
-
- if ( tagName == "summary" )
- setSummary( element.text() );
- else if ( tagName == "start-date" )
- setStartDate( stringToDateTime( element.text() ) );
- else
- // Not handled here
- return KolabBase::loadAttribute( element );
-
- // We handled this
- return true;
-}
-
-bool Journal::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- KolabBase::saveAttributes( element );
-
- writeString( element, "summary", summary() );
- writeString( element, "start-date", dateTimeToString( startDate() ) );
-
- return true;
-}
-
-
-bool Journal::loadXML( const TQDomDocument& document )
-{
- TQDomElement top = document.documentElement();
-
- if ( top.tagName() != "journal" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected Journal",
- top.tagName().ascii() );
- return false;
- }
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- if ( !loadAttribute( e ) ) {
- // Unhandled tag - save for later storage
- //tqDebug( "Unhandled tag: %s", e.toCString().data() );
- }
- } else
- tqDebug( "Node is not a comment or an element???" );
- }
-
- return true;
-}
-
-TQString Journal::saveXML() const
-{
- TQDomDocument document = domTree();
- TQDomElement element = document.createElement( "journal" );
- element.setAttribute( "version", "1.0" );
- saveAttributes( element );
- document.appendChild( element );
- return document.toString();
-}
-
-void Journal::saveTo( KCal::Journal* journal )
-{
- KolabBase::saveTo( journal );
-
- journal->setSummary( summary() );
- journal->setDtStart( utcToLocal( startDate() ) );
-}
-
-void Journal::setFields( const KCal::Journal* journal )
-{
- // Set baseclass fields
- KolabBase::setFields( journal );
-
- // Set our own fields
- setSummary( journal->summary() );
- setStartDate( localToUTC( journal->dtStart() ) );
-}
-
-TQString Journal::productID() const
-{
- return TQString( "KOrganizer " ) + korgVersion + ", Kolab resource";
-}
diff --git a/kresources/kolab/kcal/journal.h b/kresources/kolab/kcal/journal.h
deleted file mode 100644
index cd583c6c..00000000
--- a/kresources/kolab/kcal/journal.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLAB_JOURNAL_H
-#define KOLAB_JOURNAL_H
-
-#include <kolabbase.h>
-
-class TQDomElement;
-
-namespace KCal {
- class Journal;
-}
-
-namespace Kolab {
-
-/**
- * This class represents a journal entry, and knows how to load/save it
- * from/to XML, and from/to a KCal::Journal.
- * The instances of this class are temporary, only used to convert
- * one to the other.
- */
-class Journal : public KolabBase {
-public:
- /// Use this to parse an xml string to a journal entry
- /// The caller is responsible for deleting the returned journal
- static KCal::Journal* xmlToJournal( const TQString& xml, const TQString& tz );
-
- /// Use this to get an xml string describing this journal entry
- static TQString journalToXML( KCal::Journal*, const TQString& tz );
-
- explicit Journal( const TQString& tz, KCal::Journal* journal = 0 );
- virtual ~Journal();
-
- virtual TQString type() const { return "Journal"; }
-
- void saveTo( KCal::Journal* journal );
-
- virtual void setSummary( const TQString& summary );
- virtual TQString summary() const;
-
- virtual void setStartDate( const TQDateTime& startDate );
- virtual TQDateTime startDate() const;
-
- virtual void setEndDate( const TQDateTime& endDate );
- virtual TQDateTime endDate() const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Load this journal by reading the XML file
- virtual bool loadXML( const TQDomDocument& xml );
-
- // Serialize this journal to an XML string
- virtual TQString saveXML() const;
-
-protected:
- // Read all known fields from this ical journal
- void setFields( const KCal::Journal* );
-
- TQString productID() const;
-
- TQString mSummary;
- TQDateTime mStartDate;
- TQDateTime mEndDate;
-};
-
-}
-
-#endif // KOLAB_JOURNAL_H
diff --git a/kresources/kolab/kcal/kolab.desktop b/kresources/kolab/kcal/kolab.desktop
deleted file mode 100644
index 40bcacb0..00000000
--- a/kresources/kolab/kcal/kolab.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=Calendar on IMAP Server via KMail
-Name[af]=Kalender op IMAP bediener via KMail
-Name[bg]=Календар на сървър IMAP през KMail
-Name[br]=Deiziadur en ur servijer IMAP gant KMail
-Name[ca]=Calendari sobre servidor IMAP mitjançant KMail
-Name[cs]=Kalendář na IMAP serveru přes KMail
-Name[da]=Kalender på IMAP-server via KMail
-Name[de]=Kalender auf einem IMAP-Server via KMail
-Name[el]=Ημερολόγιο σε εξυπηρετητή IMAP μέσω του KMail
-Name[es]=Calendario en servidor IMAP por medio de KMail
-Name[et]=Kalender IMAP-serveris (KMaili vahendusel)
-Name[eu]=Egutegia IMAP zerbitzarian KMail-en bidez
-Name[fa]=تقویم روی کارساز IMAP از طریق KMail
-Name[fi]=Kalenteri IMAP-palvelimella KMailin avulla
-Name[fr]=Agenda sur serveur IMAP (via KMail)
-Name[fy]=Aginda op IMAP-tsjinner fia KMail
-Name[ga]=Féilire ar Fhreastalaí IMAP via KMail
-Name[gl]=Calendario no servidor IMAP mediante KMail
-Name[hu]=IMAP-kiszolgálón tárolt naptár a KMailen keresztül
-Name[is]=Dagatal á IMAP þjóni gegnum KMail
-Name[it]=Calendario su server IMAP via KMail
-Name[ja]=KMail 経由 IMAP サーバのカレンダー
-Name[kk]=KMail арқылы IMAP серверіндегі күнтізбе
-Name[km]=ប្រតិទិន​លើ​ម៉ាស៊ីន​បម្រើ IMAP តាម​រយៈ KMail
-Name[lt]=Kalendorius IMAP serveryje per KMail
-Name[mk]=Календар на IMAP-сервер преку КПошта
-Name[ms]=Kalendar pada pelayan IMAP melalui KMail
-Name[nb]=Kalender på IMAP-tjener via KMail
-Name[nds]=Kalenner op IMAP-Server över KMail
-Name[ne]=केडीई मेल मार्फत IMAP सर्भरमा क्यालेन्डर
-Name[nl]=Agenda op IMAP-server via KMail
-Name[nn]=Kalender på IMAP-tenar via KMail
-Name[pl]=Kalendarz na serwerze IMAP za pośrednictwem KMail
-Name[pt]=Calendário em Servidor IMAP via KMail
-Name[pt_BR]=Calendário em Servidor IMAP via KMail
-Name[ru]=Календарь на сервере IMAP через KMail
-Name[sk]=Kalendár na IMAP serveri pomocou KMail
-Name[sl]=Koledar na strežniku IMAP preko KMaila
-Name[sr]=Календар на IMAP серверу преко KMail-а
-Name[sr@Latn]=Kalendar na IMAP serveru preko KMail-a
-Name[sv]=Kalender på IMAP-server via Kmail
-Name[ta]=IMAP சேவையக வழியாக கேஅஞ்சலில் நாட்காட்டி
-Name[tr]=KMail Aracılığı ile IMAP Sunucusunda Takvim
-Name[uk]=Календар на сервері IMAP через KMail
-Name[zh_CN]=通过 KMail 访问 IMAP 服务器上的日历
-Name[zh_TW]=透過 KMail 取得 IMAP 伺服器上的行事曆
-X-TDE-Library=kcal_kolab
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=imap
diff --git a/kresources/kolab/kcal/resourcekolab.cpp b/kresources/kolab/kcal/resourcekolab.cpp
deleted file mode 100644
index 44c13fd2..00000000
--- a/kresources/kolab/kcal/resourcekolab.cpp
+++ /dev/null
@@ -1,1342 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- 2004 Till Adam <till@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-#include "event.h"
-#include "task.h"
-#include "journal.h"
-
-#include <kio/observer.h>
-#include <kio/uiserver_stub.h>
-#include <kapplication.h>
-#include <dcopclient.h>
-#include <libtdepim/kincidencechooser.h>
-#include <kabc/locknull.h>
-#include <kmainwindow.h>
-#include <klocale.h>
-#include <kinputdialog.h>
-#include <ktempfile.h>
-#include <kmdcodec.h>
-
-#include <tqfile.h>
-#include <tqobject.h>
-#include <tqtimer.h>
-#include <tqapplication.h>
-
-#include <assert.h>
-
-using namespace KCal;
-using namespace Kolab;
-
-static const char* kmailCalendarContentsType = "Calendar";
-static const char* kmailTodoContentsType = "Task";
-static const char* kmailJournalContentsType = "Journal";
-static const char* eventAttachmentMimeType = "application/x-vnd.kolab.event";
-static const char* todoAttachmentMimeType = "application/x-vnd.kolab.task";
-static const char* journalAttachmentMimeType = "application/x-vnd.kolab.journal";
-static const char* incidenceInlineMimeType = "text/calendar";
-
-
-ResourceKolab::ResourceKolab( const TDEConfig *config )
- : ResourceCalendar( config ), ResourceKolabBase( "ResourceKolab-libkcal" ),
- mCalendar( TQString::fromLatin1("UTC") ), mOpen( false ),mResourceChangedTimer( 0,
- "mResourceChangedTimer" ), mBatchAddingInProgress( false )
-{
- if ( !config ) {
- setResourceName( i18n( "Kolab Server" ) );
- }
- setType( "imap" );
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
-}
-
-ResourceKolab::~ResourceKolab()
-{
- // The resource is deleted on exit (StdAddressBook's KStaticDeleter),
- // and it wasn't closed before that, so close here to save the config.
- if ( mOpen ) {
- close();
- }
-}
-
-void ResourceKolab::loadSubResourceConfig( TDEConfig& config,
- const TQString& name,
- const TQString& label,
- bool writable,
- bool alarmRelevant,
- ResourceMap& subResource )
-{
- TDEConfigGroup group( &config, name );
- bool active = group.readBoolEntry( "Active", true );
- subResource.insert( name, Kolab::SubResource( active, writable,
- alarmRelevant, label ) );
-}
-
-bool ResourceKolab::openResource( TDEConfig& config, const char* contentType,
- ResourceMap& map )
-{
- // Read the subresource entries from KMail
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, contentType ) )
- return false;
- map.clear();
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- for ( it = subResources.begin(); it != subResources.end(); ++it )
- loadSubResourceConfig( config, (*it).location, (*it).label, (*it).writable,
- (*it).alarmRelevant, map );
- return true;
-}
-
-bool ResourceKolab::doOpen()
-{
- if ( mOpen )
- // Already open
- return true;
- mOpen = true;
-
- TDEConfig config( configFile() );
- config.setGroup( "General" );
- mProgressDialogIncidenceLimit = config.readNumEntry("ProgressDialogIncidenceLimit", 200);
-
- return openResource( config, kmailCalendarContentsType, mEventSubResources )
- && openResource( config, kmailTodoContentsType, mTodoSubResources )
- && openResource( config, kmailJournalContentsType, mJournalSubResources );
-}
-
-static void writeResourceConfig( TDEConfig& config, ResourceMap& map )
-{
- ResourceMap::ConstIterator it;
- for ( it = map.begin(); it != map.end(); ++it ) {
- config.setGroup( it.key() );
- config.writeEntry( "Active", it.data().active() );
- }
-}
-
-void ResourceKolab::doClose()
-{
- if ( !mOpen )
- // Not open
- return;
- mOpen = false;
-
- writeConfig();
-}
-
-bool ResourceKolab::loadSubResource( const TQString& subResource,
- const char* mimetype )
-{
- int count = 0;
- if ( !kmailIncidencesCount( count, mimetype, subResource ) ) {
- kdError(5650) << "Communication problem in ResourceKolab::load()\n";
- return false;
- }
-
- if ( !count )
- return true;
-
- const int nbMessages = 200; // read 200 mails at a time (see kabc resource)
-
- const TQString labelTxt = !strcmp(mimetype, "application/x-vnd.kolab.task") ? i18n( "Loading tasks..." )
- : !strcmp(mimetype, "application/x-vnd.kolab.journal") ? i18n( "Loading journals..." )
- : i18n( "Loading events..." );
- const bool useProgress = tqApp && tqApp->type() != TQApplication::Tty && count > mProgressDialogIncidenceLimit;
- if ( useProgress )
- (void)::Observer::self(); // ensure kio_uiserver is running
- UIServer_stub uiserver( "kio_uiserver", "UIServer" );
- int progressId = 0;
- if ( useProgress ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
- uiserver.totalFiles( progressId, count );
- uiserver.infoMessage( progressId, labelTxt );
- uiserver.transferring( progressId, labelTxt );
- }
-
- for ( int startIndex = 0; startIndex < count; startIndex += nbMessages ) {
- TQMap<TQ_UINT32, TQString> lst;
- if ( !kmailIncidences( lst, mimetype, subResource, startIndex, nbMessages ) ) {
- kdError(5650) << "Communication problem in ResourceKolab::load()\n";
- if ( progressId )
- uiserver.jobFinished( progressId );
- return false;
- }
-
- { // for RAII scoping below
- TemporarySilencer t( this );
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
- addIncidence( mimetype, it.data(), subResource, it.key() );
- }
- }
- if ( progressId ) {
- uiserver.processedFiles( progressId, startIndex );
- uiserver.percent( progressId, 100 * startIndex / count );
- }
-
-// if ( progress.wasCanceled() ) {
-// uiserver.jobFinished( progressId );
-// return false;
-// }
- }
-
- if ( progressId )
- uiserver.jobFinished( progressId );
- return true;
-}
-
-bool ResourceKolab::doLoad()
-{
- if (!mUidMap.isEmpty() ) {
- emit resourceLoaded( this );
- return true;
- }
- mUidMap.clear();
-
- bool result = loadAllEvents() & loadAllTodos() & loadAllJournals();
- if ( result ) {
- emit resourceLoaded( this );
- } else {
- // FIXME: anyone know if the resource correctly calls loadError()
- // if it has one?
- }
-
- return result;
-}
-
-bool ResourceKolab::doLoadAll( ResourceMap& map, const char* mimetype )
-{
- bool rc = true;
- for ( ResourceMap::ConstIterator it = map.begin(); it != map.end(); ++it ) {
- if ( !it.data().active() )
- // This resource is disabled
- continue;
-
- rc &= loadSubResource( it.key(), mimetype );
- }
- return rc;
-}
-
-bool ResourceKolab::loadAllEvents()
-{
- removeIncidences( "Event" );
- mCalendar.deleteAllEvents();
- bool kolabStyle = doLoadAll( mEventSubResources, eventAttachmentMimeType );
- bool icalStyle = doLoadAll( mEventSubResources, incidenceInlineMimeType );
- return kolabStyle && icalStyle;
-}
-
-bool ResourceKolab::loadAllTodos()
-{
- removeIncidences( "Todo" );
- mCalendar.deleteAllTodos();
- bool kolabStyle = doLoadAll( mTodoSubResources, todoAttachmentMimeType );
- bool icalStyle = doLoadAll( mTodoSubResources, incidenceInlineMimeType );
-
- return kolabStyle && icalStyle;
-}
-
-bool ResourceKolab::loadAllJournals()
-{
- removeIncidences( "Journal" );
- mCalendar.deleteAllJournals();
- bool kolabStyle = doLoadAll( mJournalSubResources, journalAttachmentMimeType );
- bool icalStyle = doLoadAll( mJournalSubResources, incidenceInlineMimeType );
-
- return kolabStyle && icalStyle;
-}
-
-void ResourceKolab::removeIncidences( const TQCString& incidenceType )
-{
- Kolab::UidMap::Iterator mapIt = mUidMap.begin();
- while ( mapIt != mUidMap.end() )
- {
- Kolab::UidMap::Iterator it = mapIt++;
- // Check the type of this uid: event, todo or journal.
- // Need to look up in mCalendar for that. Given the implementation of incidence(uid),
- // better call event(uid), todo(uid) etc. directly.
-
- // A faster but hackish way would probably be to check the type of the resource,
- // like mEventSubResources.find( it.data().resource() ) != mEventSubResources.end() ?
- const TQString& uid = it.key();
- if ( incidenceType == "Event" && mCalendar.event( uid ) )
- mUidMap.remove( it );
- else if ( incidenceType == "Todo" && mCalendar.todo( uid ) )
- mUidMap.remove( it );
- else if ( incidenceType == "Journal" && mCalendar.journal( uid ) )
- mUidMap.remove( it );
- }
-}
-
-bool ResourceKolab::doSave()
-{
- return true;
- /*
- return kmailTriggerSync( kmailCalendarContentsType )
- && kmailTriggerSync( kmailTodoContentsType )
- && kmailTriggerSync( kmailJournalContentsType );
- */
-}
-void ResourceKolab::incidenceUpdatedSilent( KCal::IncidenceBase* incidencebase )
-{
- const TQString uid = incidencebase->uid();
- //kdDebug() << k_funcinfo << uid << endl;
-
- if ( mUidsPendingUpdate.contains( uid ) || mUidsPendingAdding.contains( uid ) ) {
- /* We are currently processing this event ( removing and readding or
- * adding it ). If so, ignore this update. Keep the last of these around
- * and process once we hear back from KMail on this event. */
- mPendingUpdates.remove( uid );
- mPendingUpdates.insert( uid, incidencebase );
- return;
- }
-
- { // start optimization
- /**
- KOrganizer and libkcal like calling two Incidence::updated()
- for only one user change. That's because after a change,
- IncidenceChanger calls incidence->setRevision( rev++ );
- which also calls Incidence::updated().
-
- Lets ignore the first updated() and only send to kmail
- the second. This makes things faster.
- */
-
- //IncidenceBase doesn't have revision(), downcast needed.
- Incidence *i = dynamic_cast<Incidence*>( incidencebase );
-
- if ( i ) {
- bool ignoreThisUpdate = false;
-
- if ( !mLastKnownRevisions.contains( uid ) ) {
- mLastKnownRevisions[uid] = i->revision();
- }
-
- // update the last known revision
- if ( mLastKnownRevisions[uid] < i->revision() ) {
- mLastKnownRevisions[uid] = i->revision();
- } else {
- ignoreThisUpdate = true;
- }
-
- if ( ignoreThisUpdate ) {
- return;
- }
- }
- } // end optimization
-
- TQString subResource;
- TQ_UINT32 sernum = 0;
- if ( mUidMap.contains( uid ) ) {
- subResource = mUidMap[ uid ].resource();
- sernum = mUidMap[ uid ].serialNumber();
- mUidsPendingUpdate.append( uid );
- }
-
- sendKMailUpdate( incidencebase, subResource, sernum );
-}
-void ResourceKolab::incidenceUpdated( KCal::IncidenceBase* incidencebase )
-{
- if ( incidencebase->isReadOnly() ) {
- return;
- }
-
- incidencebase->setSyncStatusSilent( KCal::Event::SYNCMOD );
- incidencebase->setLastModified( TQDateTime::currentDateTime() );
-
- // we should probably update the revision number here,
- // or internally in the Event itself when certain things change.
- // need to verify with ical documentation.
- incidenceUpdatedSilent( incidencebase );
-}
-
-void ResourceKolab::resolveConflict( KCal::Incidence* inc, const TQString& subresource, TQ_UINT32 sernum )
-{
- if ( !inc ) {
- return;
- }
-
- if ( !mResolveConflict ) {
- // we should do no conflict resolution
- delete inc;
- return;
- }
- const TQString origUid = inc->uid();
- Incidence* local = mCalendar.incidence( origUid );
- Incidence* localIncidence = 0;
- Incidence* addedIncidence = 0;
- Incidence* result = 0;
- if ( local ) {
- if ( *local == *inc ) {
- // real duplicate, remove the second one
- result = local;
- } else {
- KIncidenceChooser* ch = new KIncidenceChooser();
- ch->setIncidence( local ,inc );
- if ( KIncidenceChooser::chooseMode == KIncidenceChooser::ask ) {
- connect ( this, TQT_SIGNAL( useGlobalMode() ), ch, TQT_SLOT ( useGlobalMode() ) );
- if ( ch->exec() ) {
- if ( KIncidenceChooser::chooseMode != KIncidenceChooser::ask ) {
- emit useGlobalMode() ;
- }
- }
- }
- result = ch->getIncidence();
- delete ch;
- }
- } else {
- // nothing there locally, just take the new one. Can't Happen (TM)
- result = inc;
- }
- if ( result == local ) {
- delete inc;
- localIncidence = local;
- } else if ( result == inc ) {
- addedIncidence = inc;
- } else if ( result == 0 ) { // take both
- addedIncidence = inc;
- addedIncidence->setSummary( i18n("Copy of: %1").arg( addedIncidence->summary() ) );
- addedIncidence->setUid( CalFormat::createUniqueId() );
- localIncidence = local;
- }
- const bool silent = mSilent;
- mSilent = false;
- if ( !localIncidence ) {
- deleteIncidence( local ); // remove local from kmail
- }
- mUidsPendingDeletion.append( origUid );
- if ( addedIncidence ) {
- sendKMailUpdate( addedIncidence, subresource, sernum );
- } else {
- kmailDeleteIncidence( subresource, sernum );// remove new from kmail
- }
- mSilent = silent;
-}
-void ResourceKolab::addIncidence( const char* mimetype, const TQString& data,
- const TQString& subResource, TQ_UINT32 sernum )
-{
- // This uses pointer comparison, so it only works if we use the static
- // objects defined in the top of the file
- if ( mimetype == eventAttachmentMimeType )
- addEvent( data, subResource, sernum );
- else if ( mimetype == todoAttachmentMimeType )
- addTodo( data, subResource, sernum );
- else if ( mimetype == journalAttachmentMimeType )
- addJournal( data, subResource, sernum );
- else if ( mimetype == incidenceInlineMimeType ) {
- Incidence *inc = mFormat.fromString( data );
- addIncidence( inc, subResource, sernum );
- }
-}
-
-
-bool ResourceKolab::sendKMailUpdate( KCal::IncidenceBase* incidencebase, const TQString& subresource,
- TQ_UINT32 sernum )
-{
- const TQString& type = incidencebase->type();
- const char* mimetype = 0;
- TQString data;
- bool isXMLStorageFormat = kmailStorageFormat( subresource ) == KMailICalIface::StorageXML;
- if ( type == "Event" ) {
- if( isXMLStorageFormat ) {
- mimetype = eventAttachmentMimeType;
- data = Kolab::Event::eventToXML( static_cast<KCal::Event *>(incidencebase),
- mCalendar.timeZoneId() );
- } else {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Event *>(incidencebase),
- Scheduler::Request );
- }
- } else if ( type == "Todo" ) {
- if( isXMLStorageFormat ) {
- mimetype = todoAttachmentMimeType;
- data = Kolab::Task::taskToXML( static_cast<KCal::Todo *>(incidencebase),
- mCalendar.timeZoneId() );
- } else {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Todo *>(incidencebase),
- Scheduler::Request );
- }
- } else if ( type == "Journal" ) {
- if( isXMLStorageFormat ) {
- mimetype = journalAttachmentMimeType;
- data = Kolab::Journal::journalToXML( static_cast<KCal::Journal *>(incidencebase ),
- mCalendar.timeZoneId() );
- } else {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Journal *>(incidencebase),
- Scheduler::Request );
- }
- } else {
- kdWarning(5006) << "Can't happen: unhandled type=" << type << endl;
- }
-
-// kdDebug() << k_funcinfo << "Data string:\n" << data << endl;
-
- KCal::Incidence* incidence = static_cast<KCal::Incidence *>( incidencebase );
-
- KCal::Attachment::List atts = incidence->attachments();
- TQStringList attURLs, attMimeTypes, attNames;
- TQValueList<KTempFile*> tmpFiles;
- for ( KCal::Attachment::List::ConstIterator it = atts.constBegin(); it != atts.constEnd(); ++it ) {
- if ( (*it)->isUri() ) {
- continue;
- }
- KTempFile *tempFile = new KTempFile;
- if ( tempFile->status() == 0 ) { // open ok
- const TQByteArray decoded = (*it)->decodedData() ;
-
- tempFile->file()->writeBlock( decoded.data(), decoded.count() );
- KURL url;
- url.setPath( tempFile->name() );
- attURLs.append( url.url() );
- attMimeTypes.append( (*it)->mimeType() );
- attNames.append( (*it)->label() );
- tempFile->close();
- tmpFiles.append( tempFile );
- } else {
- kdWarning(5006) << "Cannot open temporary file for attachment";
- }
- }
- TQStringList deletedAtts;
- if ( kmailListAttachments( deletedAtts, subresource, sernum ) ) {
- for ( TQStringList::ConstIterator it = attNames.constBegin(); it != attNames.constEnd(); ++it ) {
- deletedAtts.remove( *it );
- }
- }
- CustomHeaderMap customHeaders;
- if ( incidence->schedulingID() != incidence->uid() ) {
- customHeaders.insert( "X-Kolab-SchedulingID", incidence->schedulingID() );
- }
-
- TQString subject = incidencebase->uid();
- if ( !isXMLStorageFormat ) subject.prepend( "iCal " ); // conform to the old style
-
- // behold, sernum is an in-parameter
- const bool rc = kmailUpdate( subresource, sernum, data, mimetype, subject, customHeaders, attURLs, attMimeTypes, attNames, deletedAtts );
- // update the serial number
- if ( mUidMap.contains( incidencebase->uid() ) ) {
- mUidMap[ incidencebase->uid() ].setSerialNumber( sernum );
- }
-
- for( TQValueList<KTempFile *>::Iterator it = tmpFiles.begin(); it != tmpFiles.end(); ++it ) {
- (*it)->setAutoDelete( true );
- delete (*it);
- }
-
- return rc;
-}
-
-bool ResourceKolab::addIncidence( KCal::Incidence* incidence, const TQString& _subresource,
- TQ_UINT32 sernum )
-{
- Q_ASSERT( incidence );
- if ( !incidence ) {
- return false;
- }
-
- kdDebug() << "Resourcekolab, adding incidence "
- << incidence->summary()
- << "; subresource = " << _subresource
- << "; sernum = " << sernum
- << "; mBatchAddingInProgress = " << mBatchAddingInProgress
- << endl;
-
- TQString uid = incidence->uid();
- TQString subResource = _subresource;
-
- Kolab::ResourceMap *map = &mEventSubResources; // don't use a ref here!
-
- const TQString& type = incidence->type();
- if ( type == "Event" ) {
- map = &mEventSubResources;
- } else if ( type == "Todo" ) {
- map = &mTodoSubResources;
- } else if ( type == "Journal" ) {
- map = &mJournalSubResources;
- } else {
- kdWarning() << "unknown type " << type << endl;
- }
-
- if ( !mSilent ) { /* We got this one from the user, tell KMail. */
- // Find out if this event was previously stored in KMail
- bool newIncidence = _subresource.isEmpty();
- if ( newIncidence ) {
- ResourceType type = Incidences;
- // Add a description of the incidence
- TQString text = "<b><font size=\"+1\">";
- if ( incidence->type() == "Event" ) {
- type = Events;
- text += i18n( "Choose the folder where you want to store this event" );
- } else if ( incidence->type() == "Todo" ) {
- type = Tasks;
- text += i18n( "Choose the folder where you want to store this task" );
- } else {
- text += i18n( "Choose the folder where you want to store this incidence" );
- }
- text += "<font></b><br>";
- if ( !incidence->summary().isEmpty() )
- text += i18n( "<b>Summary:</b> %1" ).arg( incidence->summary() ) + "<br>";
- if ( !incidence->location().isEmpty() )
- text += i18n( "<b>Location:</b> %1" ).arg( incidence->location() );
- text += "<br>";
- if ( !incidence->doesFloat() )
- text += i18n( "<b>Start:</b> %1, %2" )
- .arg( incidence->dtStartDateStr(), incidence->dtStartTimeStr() );
- else
- text += i18n( "<b>Start:</b> %1" ).arg( incidence->dtStartDateStr() );
- text += "<br>";
- if ( incidence->type() == "Event" ) {
- Event* event = static_cast<Event*>( incidence );
- if ( event->hasEndDate() ) {
- if ( !event->doesFloat() ) {
- text += i18n( "<b>End:</b> %1, %2" )
- .arg( event->dtEndDateStr(), event->dtEndTimeStr() );
- } else {
- text += i18n( "<b>End:</b> %1" ).arg( event->dtEndDateStr() );
- }
- }
- text += "<br>";
- }
-
- // Lets not warn the user 100 times that there's no writable resource
- // and not ask 100 times which resource to use
- if ( !mBatchAddingInProgress || !mLastUsedResources.contains( type ) ) {
- subResource = findWritableResource( type, *map, text );
- mLastUsedResources[type] = subResource;
- } else {
- subResource = mLastUsedResources[type];
- }
-
- if ( subResource.isEmpty() ) {
- switch( mErrorCode ) {
- case NoWritableFound:
- setException( new ErrorFormat( ErrorFormat::NoWritableFound ) );
- break;
- case UserCancel:
- setException( new ErrorFormat( ErrorFormat::UserCancel ) );
- break;
- case NoError:
- break;
- }
- }
- }
-
- if ( subResource.isEmpty() ) {
- endAddingIncidences(); // cleanup
- kdDebug(5650) << "ResourceKolab: subResource is empty" << endl;
- return false;
- }
-
- mNewIncidencesMap.insert( uid, subResource );
-
- if ( !sendKMailUpdate( incidence, subResource, sernum ) ) {
- kdError(5650) << "Communication problem in ResourceKolab::addIncidence()\n";
- endAddingIncidences(); // cleanup
- return false;
- } else {
- // KMail is doing it's best to add the event now, put a sticker on it,
- // so we know it's one of our transient ones
- mUidsPendingAdding.append( uid );
-
- /* Add to the cache immediately if this is a new event coming from
- * KOrganizer. It relies on the incidence being in the calendar when
- * addIncidence returns. */
- if ( newIncidence || sernum == 0 ) {
- mCalendar.addIncidence( incidence );
- incidence->registerObserver( this );
- }
- }
- } else { /* KMail told us */
- const bool ourOwnUpdate = mUidsPendingUpdate.contains( uid );
- kdDebug( 5650 ) << "addIncidence: ourOwnUpdate " << ourOwnUpdate << endl;
- /* Check if we updated this one, which means kmail deleted and added it.
- * We know the new state, so lets just not do much at all. The old incidence
- * in the calendar remains valid, but the serial number changed, so we need to
- * update that */
- if ( ourOwnUpdate ) {
- mUidsPendingUpdate.remove( uid );
- mUidMap.remove( uid );
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- } else {
- /* This is a real add, from KMail, we didn't trigger this ourselves.
- * If this uid already exists in this folder, do conflict resolution,
- * unless the folder is read-only, in which case the user should not be
- * offered a means of putting mails in a folder she'll later be unable to
- * upload. Skip the incidence, in this case. */
- if ( mUidMap.contains( uid ) ) {
- if ( mUidMap[ uid ].resource() == subResource ) {
- if ( (*map)[ subResource ].writable() ) {
- kdDebug( 5650 ) << "lets resolve the conflict " << endl;
- resolveConflict( incidence, subResource, sernum );
- } else {
- kdWarning( 5650 ) << "Duplicate event in a read-only folder detected! "
- "Please inform the owner of the folder. " << endl;
- }
- return true;
- } else {
- // duplicate uid in a different folder, do the internal-uid tango
- incidence->setSchedulingID( uid );
-
- incidence->setUid( CalFormat::createUniqueId( ) );
- uid = incidence->uid();
-
- /* Will be needed when kmail triggers a delete, so we don't delete the inocent
- * incidence that's sharing the uid with this one */
- mOriginalUID2fakeUID[tqMakePair( incidence->schedulingID(), subResource )] = uid;
- }
- }
- /* Add to the cache if the add didn't come from KOrganizer, in which case
- * we've already added it, and listen to updates from KOrganizer for it. */
- if ( !mUidsPendingAdding.contains( uid ) ) {
- mCalendar.addIncidence( incidence );
- incidence->registerObserver( this );
- }
- if ( !subResource.isEmpty() && sernum != 0 ) {
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- incidence->setReadOnly( !(*map)[ subResource ].writable() );
- }
- }
- /* Check if there are updates for this uid pending and if so process them. */
- if ( KCal::IncidenceBase *update = mPendingUpdates.find( uid ) ) {
- mSilent = false; // we do want to tell KMail
- mPendingUpdates.remove( uid );
- incidenceUpdated( update );
- } else {
- /* If the uid was added by KMail, KOrganizer needs to be told, so
- * schedule emitting of the resourceChanged signal. */
- if ( !mUidsPendingAdding.contains( uid ) ) {
- if ( !ourOwnUpdate ) mResourceChangedTimer.changeInterval( 100 );
- } else {
- mUidsPendingAdding.remove( uid );
- }
- }
-
- mNewIncidencesMap.remove( uid );
- }
- return true;
-}
-
-bool ResourceKolab::addEvent( KCal::Event *event )
-{
- return addEvent( event, TQString() );
-}
-
-bool ResourceKolab::addEvent( KCal::Event *event, const TQString &subResource )
-{
- if ( mUidMap.contains( event->uid() ) ) {
- return true; //noop
- } else {
- return addIncidence( event, subResource, 0 );
- }
-}
-
-void ResourceKolab::addEvent( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum )
-{
- KCal::Event* event = Kolab::Event::xmlToEvent( xml, mCalendar.timeZoneId(), this, subresource, sernum );
- Q_ASSERT( event );
- if ( event ) {
- addIncidence( event, subresource, sernum );
- }
-}
-
-bool ResourceKolab::deleteIncidence( KCal::Incidence* incidence )
-{
- if ( incidence->isReadOnly() ) {
- return false;
- }
-
- const TQString uid = incidence->uid();
- if( !mUidMap.contains( uid ) ) return false; // Odd
- /* The user told us to delete, tell KMail */
- if ( !mSilent ) {
- kmailDeleteIncidence( mUidMap[ uid ].resource(),
- mUidMap[ uid ].serialNumber() );
- mUidsPendingDeletion.append( uid );
- incidence->unRegisterObserver( this );
- mCalendar.deleteIncidence( incidence );
- mUidMap.remove( uid );
- } else {
- assert( false ); // If this still happens, something is very wrong
- }
- return true;
-}
-
-bool ResourceKolab::deleteEvent( KCal::Event* event )
-{
- return deleteIncidence( event );
-}
-
-KCal::Event* ResourceKolab::event( const TQString& uid )
-{
- return mCalendar.event(uid);
-}
-
-KCal::Event::List ResourceKolab::rawEvents( EventSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawEvents( sortField, sortDirection );
-}
-
-KCal::Event::List ResourceKolab::rawEventsForDate( const TQDate& date,
- EventSortField sortField,
- SortDirection sortDirection )
-{
- return mCalendar.rawEventsForDate( date, sortField, sortDirection );
-}
-
-KCal::Event::List ResourceKolab::rawEventsForDate( const TQDateTime& qdt )
-{
- return mCalendar.rawEventsForDate( qdt );
-}
-
-KCal::Event::List ResourceKolab::rawEvents( const TQDate& start,
- const TQDate& end,
- bool inclusive )
-{
- return mCalendar.rawEvents( start, end, inclusive );
-}
-
-bool ResourceKolab::addTodo( KCal::Todo *todo )
-{
- return addTodo( todo, TQString() );
-}
-
-bool ResourceKolab::addTodo( KCal::Todo *todo, const TQString &subResource )
-{
- if ( mUidMap.contains( todo->uid() ) ) {
- return true; //noop
- } else {
- return addIncidence( todo, subResource, 0 );
- }
-}
-
-void ResourceKolab::addTodo( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum )
-{
- KCal::Todo* todo = Kolab::Task::xmlToTask( xml, mCalendar.timeZoneId(), this, subresource, sernum );
- Q_ASSERT( todo );
- if ( todo ) {
- addIncidence( todo, subresource, sernum );
- }
-}
-
-bool ResourceKolab::deleteTodo( KCal::Todo* todo )
-{
- return deleteIncidence( todo );
-}
-
-KCal::Todo* ResourceKolab::todo( const TQString& uid )
-{
- return mCalendar.todo( uid );
-}
-
-KCal::Todo::List ResourceKolab::rawTodos( TodoSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawTodos( sortField, sortDirection );
-}
-
-KCal::Todo::List ResourceKolab::rawTodosForDate( const TQDate& date )
-{
- return mCalendar.rawTodosForDate( date );
-}
-
-bool ResourceKolab::addJournal( KCal::Journal *journal )
-{
- return addJournal( journal, TQString() );
-}
-
-bool ResourceKolab::addJournal( KCal::Journal *journal, const TQString &subResource )
-{
- if ( mUidMap.contains( journal->uid() ) )
- return true; //noop
- else
- return addIncidence( journal, subResource, 0 );
-}
-
-void ResourceKolab::addJournal( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum )
-{
- KCal::Journal* journal =
- Kolab::Journal::xmlToJournal( xml, mCalendar.timeZoneId() );
- Q_ASSERT( journal );
- if( journal ) {
- addIncidence( journal, subresource, sernum );
- }
-}
-
-bool ResourceKolab::deleteJournal( KCal::Journal* journal )
-{
- return deleteIncidence( journal );
-}
-
-KCal::Journal* ResourceKolab::journal( const TQString& uid )
-{
- return mCalendar.journal(uid);
-}
-
-KCal::Journal::List ResourceKolab::rawJournals( JournalSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawJournals( sortField, sortDirection );
-}
-
-KCal::Journal::List ResourceKolab::rawJournalsForDate( const TQDate &date )
-{
- return mCalendar.rawJournalsForDate( date );
-}
-
-KCal::Alarm::List ResourceKolab::relevantAlarms( const KCal::Alarm::List &alarms )
-{
- KCal::Alarm::List relevantAlarms;
- KCal::Alarm::List::ConstIterator it( alarms.begin() );
- while ( it != alarms.end() ) {
- KCal::Alarm *a = (*it);
- ++it;
- const TQString &uid = a->parent()->uid();
- if ( mUidMap.contains( uid ) ) {
- const TQString &sr = mUidMap[ uid ].resource();
- Kolab::SubResource *subResource = 0;
- if ( mEventSubResources.contains( sr ) )
- subResource = &( mEventSubResources[ sr ] );
- else if ( mTodoSubResources.contains( sr ) )
- subResource = &( mTodoSubResources[ sr ] );
- assert( subResource );
- if ( subResource->alarmRelevant() )
- relevantAlarms.append ( a );
- else {
- kdDebug(5650) << "Alarm skipped, not relevant." << endl;
- }
- }
- }
- return relevantAlarms;
-}
-
-
-
-KCal::Alarm::List ResourceKolab::alarms( const TQDateTime& from,
- const TQDateTime& to )
-{
- return relevantAlarms( mCalendar.alarms( from, to ) );
-}
-
-KCal::Alarm::List ResourceKolab::alarmsTo( const TQDateTime& to )
-{
- return relevantAlarms( mCalendar.alarmsTo(to) );
-}
-
-void ResourceKolab::setTimeZoneId( const TQString& tzid )
-{
- mCalendar.setTimeZoneId( tzid );
- mFormat.setTimeZone( mCalendar.timeZoneId(), !mCalendar.isLocalTime() );
-}
-
-bool ResourceKolab::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int format,
- const TQString& data )
-{
- bool rc = true;
- TemporarySilencer t( this ); // RAII
- if ( type != kmailCalendarContentsType && type != kmailTodoContentsType
- && type != kmailJournalContentsType ) {
- // Not ours
- return false;
- }
-
- if ( !subresourceActive( subResource ) ) {
- return true;
- }
-
- if ( format == KMailICalIface::StorageXML ) {
- // If this data file is one of ours, load it here
- if ( type == kmailCalendarContentsType ) {
- addEvent( data, subResource, sernum );
- } else if ( type == kmailTodoContentsType ) {
- addTodo( data, subResource, sernum );
- } else if ( type == kmailJournalContentsType ) {
- addJournal( data, subResource, sernum );
- } else {
- rc = false;
- }
- } else {
- Incidence *inc = mFormat.fromString( data );
- if ( inc ) {
- addIncidence( inc, subResource, sernum );
- } else {
- rc = false;
- }
- }
- return rc;
-}
-
-void ResourceKolab::fromKMailDelIncidence( const TQString& type,
- const TQString& subResource,
- const TQString& uid )
-{
- if ( type != kmailCalendarContentsType && type != kmailTodoContentsType
- && type != kmailJournalContentsType )
- // Not ours
- return;
- if ( !subresourceActive( subResource ) ) return;
-
- // Can't be in both, by contract
- if ( mUidsPendingDeletion.find( uid ) != mUidsPendingDeletion.end() ) {
- mUidsPendingDeletion.remove( mUidsPendingDeletion.find( uid ) );
- } else if ( mUidsPendingUpdate.contains( uid ) ) {
- // It's good to know if was deleted, but we are waiting on a new one to
- // replace it, so let's just sit tight.
- } else {
- TQString uidToUse;
-
- TQPair<TQString, TQString> p( uid, subResource );
- if ( mOriginalUID2fakeUID.contains( p ) ) {
- // Incidence with the same uid in a different folder...
- // use the UID that addIncidence(...) generated
- uidToUse = mOriginalUID2fakeUID[p];
- } else {
- uidToUse = uid;
- }
-
- // We didn't trigger this, so KMail did, remove the reference to the uid
- KCal::Incidence* incidence = mCalendar.incidence( uidToUse );
- if( incidence ) {
- incidence->unRegisterObserver( this );
- mCalendar.deleteIncidence( incidence );
- }
- mUidMap.remove( uidToUse );
- mOriginalUID2fakeUID.remove( p );
- mResourceChangedTimer.changeInterval( 100 );
- }
-}
-
-void ResourceKolab::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- // TODO: Only load the specified subResource
- if ( type == "Calendar" )
- loadAllEvents();
- else if ( type == "Task" )
- loadAllTodos();
- else if ( type == "Journal" )
- loadAllJournals();
- else
- kdWarning(5006) << "KCal Kolab resource: fromKMailRefresh: unknown type " << type << endl;
- mResourceChangedTimer.changeInterval( 100 );
-}
-
-void ResourceKolab::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& label,
- bool writable, bool alarmRelevant )
-{
- ResourceMap* map = 0;
- const char* mimetype = 0;
- if ( type == kmailCalendarContentsType ) {
- map = &mEventSubResources;
- mimetype = eventAttachmentMimeType;
- } else if ( type == kmailTodoContentsType ) {
- map = &mTodoSubResources;
- mimetype = todoAttachmentMimeType;
- } else if ( type == kmailJournalContentsType ) {
- map = &mJournalSubResources;
- mimetype = journalAttachmentMimeType;
- } else
- // Not ours
- return;
-
- if ( map->contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( subResource );
-
- bool active = config.readBoolEntry( subResource, true );
- (*map)[ subResource ] = Kolab::SubResource( active, writable,
- alarmRelevant, label );
- loadSubResource( subResource, mimetype );
- emit signalSubresourceAdded( this, type, subResource, label );
-}
-
-void ResourceKolab::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- ResourceMap* map = subResourceMap( type );
- if ( !map ) // not ours
- return;
- if ( map->contains( subResource ) )
- map->erase( subResource );
- else
- // Not registered
- return;
-
- // Delete from the config file
- TDEConfig config( configFile() );
- config.deleteGroup( subResource );
- config.sync();
-
- unloadSubResource( subResource );
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-TQStringList ResourceKolab::subresources() const
-{
- // Workaround: The ResourceView in KOrganizer wants to know this
- // before it opens the resource :-( Make sure we are open
- const_cast<ResourceKolab*>( this )->doOpen();
- return ( mEventSubResources.keys()
- + mTodoSubResources.keys()
- + mJournalSubResources.keys() );
-}
-
-const TQString
-ResourceKolab::labelForSubresource( const TQString& subresource ) const
-{
- if ( mEventSubResources.contains( subresource ) )
- return mEventSubResources[ subresource ].label();
- if ( mTodoSubResources.contains( subresource ) )
- return mTodoSubResources[ subresource ].label();
- if ( mJournalSubResources.contains( subresource ) )
- return mJournalSubResources[ subresource ].label();
- return subresource;
-}
-
-void ResourceKolab::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- TemporarySilencer t( this );
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.begin(); it != map.end(); ++it )
- addIncidence( type.latin1(), it.data(), folder, it.key() );
-}
-
-bool ResourceKolab::subresourceActive( const TQString& subresource ) const
-{
- // Workaround: The ResourceView in KOrganizer wants to know this
- // before it opens the resource :-( Make sure we are open
- const_cast<ResourceKolab*>( this )->doOpen();
-
- if ( mEventSubResources.contains( subresource ) )
- return mEventSubResources[ subresource ].active();
- if ( mTodoSubResources.contains( subresource ) )
- return mTodoSubResources[ subresource ].active();
- if ( mJournalSubResources.contains( subresource ) )
- return mJournalSubResources[ subresource ].active();
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << subresource << " ): Safe bet\n";
-
- return true;
-}
-
-void ResourceKolab::setSubresourceActive( const TQString &subresource, bool v )
-{
- ResourceMap *map = 0;
- const char* mimeType = 0;
- if ( mEventSubResources.contains( subresource ) ) {
- map = &mEventSubResources;
- mimeType = eventAttachmentMimeType;
- }
- if ( mTodoSubResources.contains( subresource ) ) {
- map = &mTodoSubResources;
- mimeType = todoAttachmentMimeType;
- }
- if ( mJournalSubResources.contains( subresource ) ) {
- map = &mJournalSubResources;
- mimeType = journalAttachmentMimeType;
- }
-
- if ( map && ( ( *map )[ subresource ].active() != v ) ) {
- ( *map )[ subresource ].setActive( v );
- if ( v ) {
- loadSubResource( subresource, mimeType );
- } else {
- unloadSubResource( subresource );
- }
- mResourceChangedTimer.changeInterval( 100 );
- }
- TQTimer::singleShot( 0, this, TQT_SLOT(writeConfig()) );
-}
-
-bool ResourceKolab::subresourceWritable( const TQString& subresource ) const
-{
- // Workaround: The ResourceView in KOrganizer wants to know this
- // before it opens the resource :-( Make sure we are open
- const_cast<ResourceKolab*>( this )->doOpen();
-
- if ( mEventSubResources.contains( subresource ) )
- return mEventSubResources[ subresource ].writable();
- if ( mTodoSubResources.contains( subresource ) )
- return mTodoSubResources[ subresource ].writable();
- if ( mJournalSubResources.contains( subresource ) )
- return mJournalSubResources[ subresource ].writable();
-
- return false; //better a safe default
-}
-
-void ResourceKolab::slotEmitResourceChanged()
-{
- kdDebug(5650) << "KCal Kolab resource: emitting resource changed " << endl;
- mResourceChangedTimer.stop();
- emit resourceChanged( this );
-}
-
-KABC::Lock* ResourceKolab::lock()
-{
- return new KABC::LockNull( true );
-}
-
-Kolab::ResourceMap* ResourceKolab::subResourceMap( const TQString& contentsType )
-{
- if ( contentsType == kmailCalendarContentsType ) {
- return &mEventSubResources;
- } else if ( contentsType == kmailTodoContentsType ) {
- return &mTodoSubResources;
- } else if ( contentsType == kmailJournalContentsType ) {
- return &mJournalSubResources;
- }
- // Not ours
- return 0;
-}
-
-
-/*virtual*/
-bool ResourceKolab::addSubresource( const TQString& resource, const TQString& parent )
-{
- kdDebug(5650) << "KCal Kolab resource - adding subresource: " << resource << endl;
- TQString contentsType = kmailCalendarContentsType;
- if ( !parent.isEmpty() ) {
- if ( mEventSubResources.contains( parent ) )
- contentsType = kmailCalendarContentsType;
- else if ( mTodoSubResources.contains( parent ) )
- contentsType = kmailTodoContentsType;
- else if ( mJournalSubResources.contains( parent ) )
- contentsType = kmailJournalContentsType;
- } else {
- TQStringList contentTypeChoices;
- contentTypeChoices << i18n("Calendar") << i18n("Tasks") << i18n("Journals");
- const TQString caption = i18n("Which kind of subresource should this be?");
- const TQString choice = KInputDialog::getItem( caption, TQString(), contentTypeChoices );
- if ( choice == contentTypeChoices[0] )
- contentsType = kmailCalendarContentsType;
- else if ( choice == contentTypeChoices[1] )
- contentsType = kmailTodoContentsType;
- else if ( choice == contentTypeChoices[2] )
- contentsType = kmailJournalContentsType;
- }
-
- return kmailAddSubresource( resource, parent, contentsType );
-}
-
-/*virtual*/
-bool ResourceKolab::removeSubresource( const TQString& resource )
-{
- kdDebug(5650) << "KCal Kolab resource - removing subresource: " << resource << endl;
- return kmailRemoveSubresource( resource );
-}
-
-/*virtual*/
-TQString ResourceKolab::subresourceIdentifier( Incidence *incidence )
-{
- TQString uid = incidence->uid();
- if ( mUidMap.contains( uid ) )
- return mUidMap[ uid ].resource();
- else
- if ( mNewIncidencesMap.contains( uid ) )
- return mNewIncidencesMap[ uid ];
- else
- return TQString();
-}
-
-
-bool ResourceKolab::unloadSubResource( const TQString& subResource )
-{
- const bool silent = mSilent;
- mSilent = true;
- Kolab::UidMap::Iterator mapIt = mUidMap.begin();
- TQPtrList<KCal::Incidence> incidences;
- while ( mapIt != mUidMap.end() )
- {
- Kolab::UidMap::Iterator it = mapIt++;
- const StorageReference ref = it.data();
- if ( ref.resource() != subResource ) continue;
- // FIXME incidence() is expensive
- KCal::Incidence* incidence = mCalendar.incidence( it.key() );
- if( incidence ) {
- // register all observers first before actually deleting them
- // in case of inter-incidence relations the other part will get
- // the change notification otherwise
- incidence->unRegisterObserver( this );
- incidences.append( incidence );
- }
- mUidMap.remove( it );
- }
- TQPtrListIterator<KCal::Incidence> it( incidences );
- for ( ; it.current(); ++it ) {
- mCalendar.deleteIncidence( it.current() );
- }
- mSilent = silent;
- return true;
-}
-
-TQString ResourceKolab::subresourceType( const TQString &resource )
-{
- if ( mEventSubResources.contains( resource ) )
- return "event";
- if ( mTodoSubResources.contains( resource ) )
- return "todo";
- if ( mJournalSubResources.contains( resource ) )
- return "journal";
- return TQString();
-}
-
-void ResourceKolab::writeConfig()
-{
- TDEConfig config( configFile() );
- writeResourceConfig( config, mEventSubResources );
- writeResourceConfig( config, mTodoSubResources );
- writeResourceConfig( config, mJournalSubResources );
-}
-
-void ResourceKolab::beginAddingIncidences()
-{
- mBatchAddingInProgress = true;
-}
-
-void ResourceKolab::endAddingIncidences()
-{
- mBatchAddingInProgress = false;
- mLastUsedResources.clear();
-}
-
-#include "resourcekolab.moc"
diff --git a/kresources/kolab/kcal/resourcekolab.h b/kresources/kolab/kcal/resourcekolab.h
deleted file mode 100644
index fdf952cc..00000000
--- a/kresources/kolab/kcal/resourcekolab.h
+++ /dev/null
@@ -1,284 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- 2004 Till Adam <till@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KCAL_RESOURCEKOLAB_H
-#define KCAL_RESOURCEKOLAB_H
-
-#include <tqtimer.h>
-
-#include <tdepimmacros.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcecalendar.h>
-#include "../shared/resourcekolabbase.h"
-
-namespace KCal {
-
-struct TemporarySilencer;
-
-class KDE_EXPORT ResourceKolab : public KCal::ResourceCalendar,
- public KCal::IncidenceBase::Observer,
- public Kolab::ResourceKolabBase
-{
- Q_OBJECT
-
- friend struct TemporarySilencer;
-
-public:
- ResourceKolab( const TDEConfig* );
- virtual ~ResourceKolab();
-
- /// Load resource data.
- bool doLoad();
-
- /// Save resource data.
- bool doSave();
-
- /// Open the notes resource.
- bool doOpen();
- /// Close the notes resource.
- void doClose();
-
- // The libkcal functions. See the resource for descriptions
- KDE_DEPRECATED bool addEvent( KCal::Event *event );
- bool addEvent( KCal::Event *event, const TQString &subResource );
- bool deleteEvent( KCal::Event * );
- KCal::Event* event( const TQString &UniqueStr );
- KCal::Event::List rawEvents( EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Event::List rawEventsForDate(
- const TQDate& date,
- EventSortField sortField=EventSortUnsorted,
- SortDirection sortDirection=SortDirectionAscending );
- KCal::Event::List rawEventsForDate( const TQDateTime& qdt );
- KCal::Event::List rawEvents( const TQDate& start, const TQDate& end,
- bool inclusive = false );
-
- KDE_DEPRECATED bool addTodo( KCal::Todo * todo );
- bool addTodo( KCal::Todo *todo, const TQString &subResource );
- bool deleteTodo( KCal::Todo * );
- KCal::Todo* todo( const TQString &uid );
- KCal::Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Todo::List rawTodosForDate( const TQDate& date );
-
- KDE_DEPRECATED bool addJournal( KCal::Journal * );
- bool addJournal( KCal::Journal *, const TQString &subResource );
- bool deleteJournal( KCal::Journal * );
- KCal::Journal* journal( const TQString &uid );
- KCal::Journal::List rawJournals( JournalSortField sortField = JournalSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Journal::List rawJournalsForDate( const TQDate &date );
-
- KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
- KCal::Alarm::List alarmsTo( const TQDateTime& to );
-
- void setTimeZoneId( const TQString& tzid );
-
- bool deleteIncidence( KCal::Incidence* i );
-
- /// The ResourceKolabBase methods called by KMail
- bool fromKMailAddIncidence( const TQString& type, const TQString& subResource,
- TQ_UINT32 sernum, int format, const TQString& data );
- void fromKMailDelIncidence( const TQString& type, const TQString& subResource,
- const TQString& uid );
- void fromKMailRefresh( const TQString& type, const TQString& subResource );
-
- /// Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& subResource,
- const TQString& label, bool writable,
- bool alarmRelevant );
- void fromKMailDelSubresource( const TQString& type, const TQString& subResource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /** Return the list of subresources. */
- TQStringList subresources() const;
-
- bool canHaveSubresources() const { return true; }
-
- /** Is this subresource active? */
- bool subresourceActive( const TQString& ) const;
- /** (De)activate the subresource */
- virtual void setSubresourceActive( const TQString &, bool );
-
- /** Is this subresource writable? */
- bool subresourceWritable( const TQString& ) const;
-
- /** What is the label for this subresource? */
- virtual const TQString labelForSubresource( const TQString& resource ) const;
-
- virtual TQString subresourceIdentifier( Incidence *incidence );
-
- virtual bool addSubresource( const TQString& resource, const TQString& parent );
- virtual bool removeSubresource( const TQString& resource );
-
- virtual TQString subresourceType( const TQString &resource );
-
- KABC::Lock* lock();
-
- void beginAddingIncidences();
-
- void endAddingIncidences();
-
-signals:
- void useGlobalMode();
-protected slots:
- void slotEmitResourceChanged();
- void writeConfig();
-
-protected:
- /**
- * Return list of alarms which are relevant for the current user. These
- * are the ones coming from folders which the user has "Administer" rights
- * for, as per ACL */
- KCal::Alarm::List relevantAlarms( const KCal::Alarm::List &alarms );
-
-private:
- void removeIncidences( const TQCString& incidenceType );
- void resolveConflict( KCal::Incidence*, const TQString& subresource, TQ_UINT32 sernum );
- void addIncidence( const char* mimetype, const TQString& xml,
- const TQString& subResource, TQ_UINT32 sernum );
-
-
- /**
- Caller guarantees i is not null.
- */
- bool addIncidence( KCal::Incidence *i, const TQString& subresource,
- TQ_UINT32 sernum );
-
- void addEvent( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
- void addTodo( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
- void addJournal( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
-
-
- bool loadAllEvents();
- bool loadAllTodos();
- bool loadAllJournals();
-
- bool doLoadAll( Kolab::ResourceMap& map, const char* mimetype );
-
- /// Reimplemented from IncidenceBase::Observer to know when an incidence was changed
- void incidenceUpdated( KCal::IncidenceBase* );
- void incidenceUpdatedSilent( KCal::IncidenceBase* incidencebase);
-
- bool openResource( TDEConfig& config, const char* contentType,
- Kolab::ResourceMap& map );
- void loadSubResourceConfig( TDEConfig& config, const TQString& name,
- const TQString& label, bool writable,
- bool alarmRelevant, Kolab::ResourceMap& subResource );
- bool loadSubResource( const TQString& subResource, const char* mimetype );
- bool unloadSubResource( const TQString& subResource );
-
- TQString configFile() const {
- return ResourceKolabBase::configFile( "kcal" );
- }
-
- Kolab::ResourceMap* subResourceMap( const TQString& contentsType );
-
- bool sendKMailUpdate( KCal::IncidenceBase* incidence, const TQString& _subresource,
- TQ_UINT32 sernum );
-
-
- KCal::CalendarLocal mCalendar;
-
- // The list of subresources
- Kolab::ResourceMap mEventSubResources, mTodoSubResources, mJournalSubResources;
-
- bool mOpen; // If the resource is open, this is true
- TQDict<KCal::IncidenceBase> mPendingUpdates;
- TQTimer mResourceChangedTimer;
- ICalFormat mFormat;
-
- /**
- This map contains the association between a new added incidence
- and the subresource it belongs to.
- That's needed to return the correct mapping in subresourceIdentifier().
-
- We can't trust on mUidMap here, because it contains only non-pending uids.
- */
- TQMap<TQString, TQString> mNewIncidencesMap;
- int mProgressDialogIncidenceLimit;
-
- /**
- * If a user has a subresource for viewing another user's folder then it can happen
- * that addIncidence(...) adds an incidence with an already existing UID.
- *
- * When this happens, addIncidence(...) sets a new random UID and stores the
- * original UID using incidence->setSchedulingID(uid) because KCal doesn't
- * allow two incidences to have the same UID.
- *
- * This map keeps track of the generated UIDs (which are local) so we can delete the
- * right incidence inside fromKMailDelIncidence(...) whenever we sync.
- *
- * The key is originalUID,subResource and the value is the fake UID.
- */
- TQMap< TQPair<TQString, TQString>, TQString > mOriginalUID2fakeUID;
-
- bool mBatchAddingInProgress;
- TQMap<Kolab::ResourceType,TQString> mLastUsedResources;
-
- /**
- Indexed by uid, it holds the last known revision of an incidence.
- If we receive an update where the incidence still has the same
- revision as the last known, we ignore it and don't send it to kmail,
- because shortly after, IncidenceChanger will increment the revision
- and that will trigger another update.
-
- If we didn't discard the first update, kmail would have been updated twice.
- */
- TQMap<TQString,int> mLastKnownRevisions;
-
-};
-
-struct TemporarySilencer {
- TemporarySilencer( ResourceKolab *_resource )
- {
- resource = _resource;
- oldValue = resource->mSilent;
- resource->mSilent = true;
- }
- ~TemporarySilencer()
- {
- resource->mSilent = oldValue;
- }
- ResourceKolab *resource;
- bool oldValue;
-};
-
-}
-
-#endif // KCAL_RESOURCEKOLAB_H
diff --git a/kresources/kolab/kcal/resourcekolab_plugin.cpp b/kresources/kolab/kcal/resourcekolab_plugin.cpp
deleted file mode 100644
index eb56897a..00000000
--- a/kresources/kolab/kcal/resourcekolab_plugin.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-
-class KolabFactory : public KRES::PluginFactoryBase
-{
-public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KCal::ResourceKolab( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kcal_kolab,KolabFactory)
diff --git a/kresources/kolab/kcal/task.cpp b/kresources/kolab/kcal/task.cpp
deleted file mode 100644
index fe75845d..00000000
--- a/kresources/kolab/kcal/task.cpp
+++ /dev/null
@@ -1,461 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "task.h"
-
-#include <libkcal/todo.h>
-#include <kdebug.h>
-
-using namespace Kolab;
-
-// Kolab Storage Specification:
-// "The priority can be a number between 1 and 5, with 1 being the highest priority."
-// iCalendar (RFC 2445):
-// "The priority is specified as an integer in the range
-// zero to nine. A value of zero specifies an
-// undefined priority. A value of one is the
-// highest priority. A value of nine is the lowest
-// priority."
-
-static int kcalPriorityToKolab( const int kcalPriority )
-{
- if ( kcalPriority >= 0 && kcalPriority <= 9 ) {
- // We'll map undefined (0) to 3 (default)
- // 0 1 2 3 4 5 6 7 8 9
- static const int priorityMap[10] = { 3, 1, 1, 2, 2, 3, 3, 4, 4, 5 };
- return priorityMap[kcalPriority];
- }
- else {
- kdWarning() << "kcalPriorityToKolab(): Got invalid priority " << kcalPriority << endl;
- return 3;
- }
-}
-
-static int kolabPrioritytoKCal( const int kolabPriority )
-{
- if ( kolabPriority >= 1 && kolabPriority <= 5 ) {
- // 1 2 3 4 5
- static const int priorityMap[5] = { 1, 3, 5, 7, 9 };
- return priorityMap[kolabPriority - 1];
- }
- else {
- kdWarning() << "kolabPrioritytoKCal(): Got invalid priority " << kolabPriority << endl;
- return 5;
- }
-}
-
-KCal::Todo* Task::xmlToTask( const TQString& xml, const TQString& tz, KCal::ResourceKolab *res,
- const TQString& subResource, TQ_UINT32 sernum )
-{
- Task task( res, subResource, sernum, tz );
- task.load( xml );
- KCal::Todo* todo = new KCal::Todo();
- task.saveTo( todo );
- return todo;
-}
-
-TQString Task::taskToXML( KCal::Todo* todo, const TQString& tz )
-{
- Task task( 0, TQString(), 0, tz, todo );
- return task.saveXML();
-}
-
-Task::Task( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum,
- const TQString& tz, KCal::Todo* task )
- : Incidence( res, subResource, sernum, tz ),
- mPriority( 5 ), mPercentCompleted( 0 ),
- mStatus( KCal::Incidence::StatusNone ),
- mHasStartDate( false ), mHasDueDate( false ),
- mHasCompletedDate( false )
-{
- if ( task )
- setFields( task );
-}
-
-Task::~Task()
-{
-}
-
-void Task::setPriority( int priority )
-{
- mPriority = priority;
-}
-
-int Task::priority() const
-{
- return mPriority;
-}
-
-void Task::setPercentCompleted( int percent )
-{
- mPercentCompleted = percent;
-}
-
-int Task::percentCompleted() const
-{
- return mPercentCompleted;
-}
-
-void Task::setStatus( KCal::Incidence::Status status )
-{
- mStatus = status;
-}
-
-KCal::Incidence::Status Task::status() const
-{
- return mStatus;
-}
-
-void Task::setParent( const TQString& parentUid )
-{
- mParent = parentUid;
-}
-
-TQString Task::parent() const
-{
- return mParent;
-}
-
-void Task::setDueDate( const TQDateTime& date )
-{
- mDueDate = date;
- mHasDueDate = true;
- mFloatingStatus = HasTime;
-}
-
-void Task::setDueDate( const TQDate &date )
-{
- mDueDate = date;
- mHasDueDate = true;
- mFloatingStatus = AllDay;
-}
-
-
-void Task::setDueDate( const TQString &date )
-{
- if ( date.length() > 10 ) {
- // This is a date + time
- setDueDate( stringToDateTime( date ) );
- } else {
- // This is only a date
- setDueDate( stringToDate( date ) );
- }
-}
-
-TQDateTime Task::dueDate() const
-{
- return mDueDate;
-}
-
-void Task::setHasStartDate( bool v )
-{
- mHasStartDate = v;
-}
-
-bool Task::hasStartDate() const
-{
- return mHasStartDate;
-}
-
-bool Task::hasDueDate() const
-{
- return mHasDueDate;
-}
-
-void Task::setCompletedDate( const TQDateTime& date )
-{
- mCompletedDate = date;
- mHasCompletedDate = true;
-}
-
-TQDateTime Task::completedDate() const
-{
- return mCompletedDate;
-}
-
-bool Task::hasCompletedDate() const
-{
- return mHasCompletedDate;
-}
-
-bool Task::loadAttribute( TQDomElement& element )
-{
- TQString tagName = element.tagName();
-
- if ( tagName == "priority" ) {
- bool ok;
- mKolabPriorityFromDom = element.text().toInt( &ok );
- if ( !ok || mKolabPriorityFromDom < 1 || mKolabPriorityFromDom > 5 ) {
- kdWarning() << "loadAttribute(): Invalid \"priority\" value: " << element.text() << endl;
- mKolabPriorityFromDom = -1;
- }
- } else if ( tagName == "x-kcal-priority" ) {
- bool ok;
- mKCalPriorityFromDom = element.text().toInt( &ok );
- if ( !ok || mKCalPriorityFromDom < 0 || mKCalPriorityFromDom > 9 ) {
- kdWarning() << "loadAttribute(): Invalid \"x-kcal-priority\" value: " << element.text() << endl;
- mKCalPriorityFromDom = -1;
- }
- } else if ( tagName == "completed" ) {
- bool ok;
- int percent = element.text().toInt( &ok );
- if ( !ok || percent < 0 || percent > 100 )
- percent = 0;
- setPercentCompleted( percent );
- } else if ( tagName == "status" ) {
- if ( element.text() == "in-progress" )
- setStatus( KCal::Incidence::StatusInProcess );
- else if ( element.text() == "completed" )
- setStatus( KCal::Incidence::StatusCompleted );
- else if ( element.text() == "waiting-on-someone-else" )
- setStatus( KCal::Incidence::StatusNeedsAction );
- else if ( element.text() == "deferred" )
- // Guessing a status here
- setStatus( KCal::Incidence::StatusCanceled );
- else
- // Default
- setStatus( KCal::Incidence::StatusNone );
- } else if ( tagName == "due-date" ) {
- setDueDate( element.text() );
- } else if ( tagName == "parent" ) {
- setParent( element.text() );
- } else if ( tagName == "x-completed-date" ) {
- setCompletedDate( stringToDateTime( element.text() ) );
- } else if ( tagName == "start-date" ) {
- setHasStartDate( true );
- setStartDate( element.text() );
- } else
- return Incidence::loadAttribute( element );
-
- // We handled this
- return true;
-}
-
-bool Task::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- Incidence::saveAttributes( element );
-
- // We need to save x-kcal-priority as well, since the Kolab priority can only save values from
- // 1 to 5, but we have values from 0 to 9, and do not want to loose them
- writeString( element, "priority", TQString::number( kcalPriorityToKolab( priority() ) ) );
- writeString( element, "x-kcal-priority", TQString::number( priority() ) );
-
- writeString( element, "completed", TQString::number( percentCompleted() ) );
-
- switch( status() ) {
- case KCal::Incidence::StatusInProcess:
- writeString( element, "status", "in-progress" );
- break;
- case KCal::Incidence::StatusCompleted:
- writeString( element, "status", "completed" );
- break;
- case KCal::Incidence::StatusNeedsAction:
- writeString( element, "status", "waiting-on-someone-else" );
- break;
- case KCal::Incidence::StatusCanceled:
- writeString( element, "status", "deferred" );
- break;
- case KCal::Incidence::StatusNone:
- writeString( element, "status", "not-started" );
- break;
- case KCal::Incidence::StatusTentative:
- case KCal::Incidence::StatusConfirmed:
- case KCal::Incidence::StatusDraft:
- case KCal::Incidence::StatusFinal:
- case KCal::Incidence::StatusX:
- // All of these are saved as StatusNone.
- writeString( element, "status", "not-started" );
- break;
- }
-
- if ( hasDueDate() ) {
- if ( mFloatingStatus == HasTime ) {
- writeString( element, "due-date", dateTimeToString( dueDate() ) );
- } else {
- writeString( element, "due-date", dateToString( dueDate().date() ) );
- }
- }
-
- if ( !parent().isNull() ) {
- writeString( element, "parent", parent() );
- }
-
- if ( hasCompletedDate() && percentCompleted() == 100 ) {
- writeString( element, "x-completed-date", dateTimeToString( completedDate() ) );
- }
-
- return true;
-}
-
-
-bool Task::loadXML( const TQDomDocument& document )
-{
- mKolabPriorityFromDom = -1;
- mKCalPriorityFromDom = -1;
-
- TQDomElement top = document.documentElement();
-
- if ( top.tagName() != "task" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected task",
- top.tagName().ascii() );
- return false;
- }
- setHasStartDate( false ); // todo's don't necessarily have one
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- if ( !loadAttribute( e ) )
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- loadAttachments();
- decideAndSetPriority();
- return true;
-}
-
-TQString Task::saveXML() const
-{
- TQDomDocument document = domTree();
- TQDomElement element = document.createElement( "task" );
- element.setAttribute( "version", "1.0" );
- saveAttributes( element );
- if ( !hasStartDate() && startDate().isValid() ) {
- // events and journals always have a start date, but tasks don't.
- // Remove the entry done by the inherited save above, because we
- // don't have one.
- TQDomNodeList l = element.elementsByTagName( "start-date" );
- Q_ASSERT( l.count() == 1 );
- element.removeChild( l.item( 0 ) );
- }
- document.appendChild( element );
- return document.toString();
-}
-
-void Task::setFields( const KCal::Todo* task )
-{
- Incidence::setFields( task );
-
- setPriority( task->priority() );
- setPercentCompleted( task->percentComplete() );
- setStatus( task->status() );
- setHasStartDate( task->hasStartDate() );
-
- if ( task->hasDueDate() ) {
- setDueDate( localToUTC( task->dtDue() ) );
- if ( task->doesFloat() ) {
- // This is a floating task. Don't timezone move this one
- mFloatingStatus = AllDay;
- setDueDate( task->dtDue().date() );
- } else {
- mFloatingStatus = HasTime;
- setDueDate( localToUTC( task->dtDue() ) );
- }
- } else {
- mHasDueDate = false;
- }
-
- if ( task->relatedTo() ) {
- setParent( task->relatedTo()->uid() );
- } else if ( !task->relatedToUid().isEmpty() ) {
- setParent( task->relatedToUid( ) );
- } else {
- setParent( TQString() );
- }
-
- if ( task->hasCompletedDate() && task->percentComplete() == 100 ) {
- setCompletedDate( localToUTC( task->completed() ) );
- } else {
- mHasCompletedDate = false;
- }
-}
-
-void Task::decideAndSetPriority()
-{
- // If we have both Kolab and KCal values in the XML, we prefer the KCal value, but only if the
- // values are still in sync
- if ( mKolabPriorityFromDom != -1 && mKCalPriorityFromDom != -1 ) {
- const bool inSync = ( kcalPriorityToKolab( mKCalPriorityFromDom ) == mKolabPriorityFromDom );
- if ( inSync ) {
- setPriority( mKCalPriorityFromDom );
- }
- else {
- // Out of sync, some other client changed the Kolab priority, so we have to ignore our
- // KCal priority
- setPriority( kolabPrioritytoKCal( mKolabPriorityFromDom ) );
- }
- }
-
- // Only KCal priority set, use that.
- else if ( mKolabPriorityFromDom == -1 && mKCalPriorityFromDom != -1 ) {
- kdWarning() << "decideAndSetPriority(): No Kolab priority found, only the KCal priority!" << endl;
- setPriority( mKCalPriorityFromDom );
- }
-
- // Only Kolab priority set, use that
- else if ( mKolabPriorityFromDom != -1 && mKCalPriorityFromDom == -1 ) {
- setPriority( kolabPrioritytoKCal( mKolabPriorityFromDom ) );
- }
-
- // No priority set, use the default
- else {
- // According the RFC 2445, we should use 0 here, for undefined priority, but AFAIK KOrganizer
- // doesn't support that, so we'll use 5.
- setPriority( 5 );
- }
-}
-
-void Task::saveTo( KCal::Todo* task )
-{
- Incidence::saveTo( task );
-
- task->setPriority( priority() );
- task->setPercentComplete( percentCompleted() );
- task->setStatus( status() );
- task->setHasStartDate( hasStartDate() );
- task->setHasDueDate( hasDueDate() );
- if ( hasDueDate() )
- task->setDtDue( utcToLocal( dueDate() ) );
-
- if ( !parent().isNull() )
- task->setRelatedToUid( parent() );
-
- if ( hasCompletedDate() && task->percentComplete() == 100 )
- task->setCompleted( utcToLocal( mCompletedDate ) );
-}
diff --git a/kresources/kolab/kcal/task.h b/kresources/kolab/kcal/task.h
deleted file mode 100644
index 38a12a70..00000000
--- a/kresources/kolab/kcal/task.h
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLAB_TASK_H
-#define KOLAB_TASK_H
-
-#include <incidence.h>
-
-#include <libkcal/incidence.h>
-
-class TQDomElement;
-
-namespace KCal {
- class Todo;
- class ResourceKolab;
-}
-
-namespace Kolab {
-
-/**
- * This class represents a task, and knows how to load/save it
- * from/to XML, and from/to a KCal::Todo.
- * The instances of this class are temporary, only used to convert
- * one to the other.
- */
-class Task : public Incidence {
-public:
- /// Use this to parse an xml string to a task entry
- /// The caller is responsible for deleting the returned task
- static KCal::Todo* xmlToTask( const TQString& xml, const TQString& tz, KCal::ResourceKolab *res = 0,
- const TQString& subResource = TQString(), TQ_UINT32 sernum = 0 );
-
- /// Use this to get an xml string describing this task entry
- static TQString taskToXML( KCal::Todo*, const TQString& tz );
-
- explicit Task( KCal::ResourceKolab *res, const TQString& subResource, TQ_UINT32 sernum,
- const TQString& tz, KCal::Todo* todo = 0 );
- virtual ~Task();
-
- virtual TQString type() const { return "Task"; }
-
- void saveTo( KCal::Todo* todo );
-
- virtual void setPriority( int priority );
- virtual int priority() const;
-
- virtual void setPercentCompleted( int percent );
- virtual int percentCompleted() const;
-
- virtual void setStatus( KCal::Incidence::Status status );
- virtual KCal::Incidence::Status status() const;
-
- virtual void setParent( const TQString& parentUid );
- virtual TQString parent() const;
-
- virtual void setHasStartDate( bool );
- virtual bool hasStartDate() const;
-
- virtual void setDueDate( const TQDateTime &date );
- virtual void setDueDate( const TQString &date );
- virtual void setDueDate( const TQDate &date );
- virtual TQDateTime dueDate() const;
- virtual bool hasDueDate() const;
-
- virtual void setCompletedDate( const TQDateTime& date );
- virtual TQDateTime completedDate() const;
- virtual bool hasCompletedDate() const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Load this task by reading the XML file
- virtual bool loadXML( const TQDomDocument& xml );
-
- // Serialize this task to an XML string
- virtual TQString saveXML() const;
-
-protected:
- // Read all known fields from this ical todo
- void setFields( const KCal::Todo* );
-
- // This sets the priority of this task by looking at mKolabPriorityFromDom and
- // mKCalPriorityFromDom.
- void decideAndSetPriority();
-
- // This is the KCal priority, not the Kolab priority.
- // See kcalPriorityToKolab() and kolabPrioritytoKCal().
- int mPriority;
-
- // Those priority values are the raw values read by loadAttribute().
- // They will be converted later in decideAndSetPriority().
- int mKolabPriorityFromDom;
- int mKCalPriorityFromDom;
-
- int mPercentCompleted;
- KCal::Incidence::Status mStatus;
- TQString mParent;
-
- bool mHasStartDate;
-
- bool mHasDueDate;
- TQDateTime mDueDate;
-
- bool mHasCompletedDate;
- TQDateTime mCompletedDate;
-};
-
-}
-
-#endif // KOLAB_TASK_H
diff --git a/kresources/kolab/knotes/CMakeLists.txt b/kresources/kolab/knotes/CMakeLists.txt
deleted file mode 100644
index 273dc0cc..00000000
--- a/kresources/kolab/knotes/CMakeLists.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../shared
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/knotes
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES kolabresource.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes )
-
-install(
- FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes
- RENAME imap.desktop )
-
-
-##### knotes_kolab (module) #####################
-
-tde_add_kpart( knotes_kolab AUTOMOC
- SOURCES resourcekolab_plugin.cpp
- LINK knoteskolab-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### knoteskolab (shared) ######################
-
-tde_add_library( knoteskolab SHARED AUTOMOC
- SOURCES resourcekolab.cpp note.cpp
- VERSION 0.0.0
- LINK resourcekolabshared-static kgroupwarebase-shared knotes-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/kolab/knotes/Makefile.am b/kresources/kolab/knotes/Makefile.am
deleted file mode 100644
index b95c261d..00000000
--- a/kresources/kolab/knotes/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/kolab/shared \
- -I$(top_srcdir) -I$(top_srcdir)/knotes -I$(top_builddir)/libtdepim $(all_includes)
-
-# The kolab wizard links to this library too
-lib_LTLIBRARIES = libknoteskolab.la
-
-libknoteskolab_la_SOURCES = resourcekolab.cpp note.cpp
-libknoteskolab_la_LDFLAGS = $(all_libraries) -no-undefined
-libknoteskolab_la_LIBADD = \
- $(top_builddir)/kresources/kolab/shared/libresourcekolabshared.la \
- $(top_builddir)/knotes/libknotesresources.la \
- $(top_builddir)/libkcal/libkcal.la \
- -lkresources -ltdeprint
-
-kde_module_LTLIBRARIES = knotes_kolab.la
-
-knotes_kolab_la_SOURCES = resourcekolab_plugin.cpp
-knotes_kolab_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-knotes_kolab_la_LIBADD = libknoteskolab.la
-
-servicedir = $(kde_servicesdir)/kresources/knotes
-service_DATA = kolabresource.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop
-
diff --git a/kresources/kolab/knotes/kolabresource.desktop b/kresources/kolab/knotes/kolabresource.desktop
deleted file mode 100644
index 16f48e45..00000000
--- a/kresources/kolab/knotes/kolabresource.desktop
+++ /dev/null
@@ -1,52 +0,0 @@
-[Desktop Entry]
-Name=IMAP Server via KMail
-Name[af]=IMAP bediener via KMail
-Name[bg]=Сървър IMAP през KMail
-Name[br]=Servijer IMAP gant KMail
-Name[ca]=Servidor IMAP mitjançant KMail
-Name[cs]=IMAP server přes KMail
-Name[da]=IMAP-server via KMail
-Name[de]=IMAP-Server via KMail
-Name[el]=Εξυπηρετητής IMAP μέσω του KMail
-Name[es]=Servidor IMAP por medio de KMail
-Name[et]=IMAP-server (KMaili vahendusel)
-Name[eu]=IMAP zerbitzaria KMail-en bidez
-Name[fa]=کارساز IMAP از طریق KMail
-Name[fi]=IMAP-palvelin KMailin avulla
-Name[fr]=Serveur IMAP (via KMail)
-Name[fy]=IMAP-tsjinner fia KMail
-Name[ga]=Freastalaí IMAP via KMail
-Name[gl]=Servidor MAP mediante KMail
-Name[hu]=IMAP-kiszolgáló a KMailen keresztül
-Name[is]=IMAP þjónn gegnum KMail
-Name[it]=Server IMAP via KMail
-Name[ja]=KMail 経由 IMAP サーバ
-Name[kk]=KMail арқылы IMAP сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ IMAP តាម​រយៈ KMail
-Name[lt]=IMAP serveris per KMail
-Name[mk]=IMAP-сервер преку КПошта
-Name[ms]=Pelayan IMAP melalui KMail
-Name[nb]=IMAP-tjener via KMail
-Name[nds]=IMAP-Server över KMail
-Name[ne]=केडीई मेल मार्फत IMAP सर्भर
-Name[nl]=IMAP-server via KMail
-Name[nn]=IMAP-tenar via KMail
-Name[pl]=Serwer IMAP za pośrednictwem KMail
-Name[pt]=Servidor IMAP via KMail
-Name[pt_BR]=Servidor IMAP via KMail
-Name[ru]=Доступ к серверу IMAP через KMail
-Name[sk]=IMAP-server pomocou KMail
-Name[sl]=Strežnik IMAP preko KMaila
-Name[sr]=IMAP сервер преко KMail-а
-Name[sr@Latn]=IMAP server preko KMail-a
-Name[sv]=IMAP-server via Kmail
-Name[ta]=IMAP சேவகன் மூலாம் கேஅஞ்சல்
-Name[tr]=KMail aracılığı ile IMAP Sunucu
-Name[uk]=Сервер IMAP через KMail
-Name[zh_CN]=通过 KMail 访问 IMAP 服务器
-Name[zh_TW]=透過 KMail 取得 IMAP 伺服器
-X-TDE-Library=knotes_kolab
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=notes
-X-TDE-ResourceType=imap
diff --git a/kresources/kolab/knotes/note.cpp b/kresources/kolab/knotes/note.cpp
deleted file mode 100644
index 7df5b26b..00000000
--- a/kresources/kolab/knotes/note.cpp
+++ /dev/null
@@ -1,229 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "note.h"
-
-#include <libkcal/journal.h>
-#include <knotes/version.h>
-#include <kdebug.h>
-
-using namespace Kolab;
-
-
-KCal::Journal* Note::xmlToJournal( const TQString& xml )
-{
- Note note;
- note.load( xml );
- KCal::Journal* journal = new KCal::Journal();
- note.saveTo( journal );
- return journal;
-}
-
-TQString Note::journalToXML( KCal::Journal* journal )
-{
- Note note( journal );
- return note.saveXML();
-}
-
-Note::Note( KCal::Journal* journal ) : mRichText( false )
-{
- if ( journal )
- setFields( journal );
-}
-
-Note::~Note()
-{
-}
-
-void Note::setSummary( const TQString& summary )
-{
- mSummary = summary;
-}
-
-TQString Note::summary() const
-{
- return mSummary;
-}
-
-void Note::setBackgroundColor( const TQColor& bgColor )
-{
- mBackgroundColor = bgColor;
-}
-
-TQColor Note::backgroundColor() const
-{
- return mBackgroundColor;
-}
-
-void Note::setForegroundColor( const TQColor& fgColor )
-{
- mForegroundColor = fgColor;
-}
-
-TQColor Note::foregroundColor() const
-{
- return mForegroundColor;
-}
-
-void Note::setRichText( bool richText )
-{
- mRichText = richText;
-}
-
-bool Note::richText() const
-{
- return mRichText;
-}
-
-bool Note::loadAttribute( TQDomElement& element )
-{
- TQString tagName = element.tagName();
- if ( tagName == "summary" )
- setSummary( element.text() );
- else if ( tagName == "foreground-color" )
- setForegroundColor( stringToColor( element.text() ) );
- else if ( tagName == "background-color" )
- setBackgroundColor( stringToColor( element.text() ) );
- else if ( tagName == "knotes-richtext" )
- mRichText = ( element.text() == "true" );
- else
- return KolabBase::loadAttribute( element );
-
- // We handled this
- return true;
-}
-
-bool Note::saveAttributes( TQDomElement& element ) const
-{
- // Save the base class elements
- KolabBase::saveAttributes( element );
-
- // Save the elements
-#if 0
- TQDomComment c = element.ownerDocument().createComment( "Note specific attributes" );
- element.appendChild( c );
-#endif
-
- writeString( element, "summary", summary() );
- if ( foregroundColor().isValid() )
- writeString( element, "foreground-color", colorToString( foregroundColor() ) );
- if ( backgroundColor().isValid() )
- writeString( element, "background-color", colorToString( backgroundColor() ) );
- writeString( element, "knotes-richtext", mRichText ? "true" : "false" );
-
- return true;
-}
-
-
-bool Note::loadXML( const TQDomDocument& document )
-{
- TQDomElement top = document.documentElement();
-
- if ( top.tagName() != "note" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected note",
- top.tagName().ascii() );
- return false;
- }
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- if ( !loadAttribute( e ) )
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-TQString Note::saveXML() const
-{
- TQDomDocument document = domTree();
- TQDomElement element = document.createElement( "note" );
- element.setAttribute( "version", "1.0" );
- saveAttributes( element );
- document.appendChild( element );
- return document.toString();
-}
-
-void Note::setFields( const KCal::Journal* journal )
-{
- KolabBase::setFields( journal );
-
- setSummary( journal->summary() );
-
- TQString property = journal->customProperty( "KNotes", "BgColor" );
- if ( !property.isNull() ) {
- setBackgroundColor( property );
- } else {
- setBackgroundColor( "yellow" );
- }
- property = journal->customProperty( "KNotes", "FgColor" );
- if ( !property.isNull() ) {
- setForegroundColor( property );
- } else {
- setForegroundColor( "black" );
- }
-
- property = journal->customProperty( "KNotes", "RichText" );
- if ( !property.isNull() ) {
- setRichText( property == "true" ? true : false );
- } else {
- setRichText( "false" );
- }
-}
-
-void Note::saveTo( KCal::Journal* journal )
-{
- KolabBase::saveTo( journal );
-
- // TODO: background and foreground
- journal->setSummary( summary() );
- if ( foregroundColor().isValid() )
- journal->setCustomProperty( "KNotes", "FgColor",
- colorToString( foregroundColor() ) );
- if ( backgroundColor().isValid() )
- journal->setCustomProperty( "KNotes", "BgColor",
- colorToString( backgroundColor() ) );
- journal->setCustomProperty( "KNotes", "RichText",
- richText() ? "true" : "false" );
-}
-
-TQString Note::productID() const
-{
- return TQString( "KNotes %1, Kolab resource" ).arg( KNOTES_VERSION );
-}
diff --git a/kresources/kolab/knotes/note.h b/kresources/kolab/knotes/note.h
deleted file mode 100644
index d61a2009..00000000
--- a/kresources/kolab/knotes/note.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLAB_NOTE_H
-#define KOLAB_NOTE_H
-
-#include <kolabbase.h>
-
-class TQDomElement;
-
-namespace KCal {
- class Journal;
-}
-
-namespace Kolab {
-
-/**
- * This class represents a note, and knows how to load/save it
- * from/to XML, and from/to a KCal::Journal.
- * The instances of this class are temporary, only used to convert
- * one to the other.
- */
-class Note : public KolabBase {
-public:
- /// Use this to parse an xml string to a journal entry
- /// The caller is responsible for deleting the returned journal
- static KCal::Journal* xmlToJournal( const TQString& xml );
-
- /// Use this to get an xml string describing this journal entry
- static TQString journalToXML( KCal::Journal* );
-
- /// Create a note object and
- explicit Note( KCal::Journal* journal = 0 );
- virtual ~Note();
-
- void saveTo( KCal::Journal* journal );
-
- virtual TQString type() const { return "Note"; }
-
- virtual void setSummary( const TQString& summary );
- virtual TQString summary() const;
-
- virtual void setBackgroundColor( const TQColor& bgColor );
- virtual TQColor backgroundColor() const;
-
- virtual void setForegroundColor( const TQColor& fgColor );
- virtual TQColor foregroundColor() const;
-
- virtual void setRichText( bool richText );
- virtual bool richText() const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Load this note by reading the XML file
- virtual bool loadXML( const TQDomDocument& xml );
-
- // Serialize this note to an XML string
- virtual TQString saveXML() const;
-
-protected:
- // Read all known fields from this ical incidence
- void setFields( const KCal::Journal* );
-
- // Save all known fields into this ical incidence
- void saveTo( KCal::Incidence* ) const;
-
- TQString productID() const;
-
- TQString mSummary;
- TQColor mBackgroundColor;
- TQColor mForegroundColor;
- bool mRichText;
-};
-
-}
-
-#endif // KOLAB_NOTE_H
diff --git a/kresources/kolab/knotes/resourcekolab.cpp b/kresources/kolab/knotes/resourcekolab.cpp
deleted file mode 100644
index a28a51b2..00000000
--- a/kresources/kolab/knotes/resourcekolab.cpp
+++ /dev/null
@@ -1,463 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- Copyright (c) 2004 Till Adam <adam@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-#include "note.h"
-
-#include <knotes/resourcemanager.h>
-
-#include <libkcal/icalformat.h>
-
-#include <kdebug.h>
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace Kolab;
-
-static const char* configGroupName = "Note";
-static const char* kmailContentsType = "Note";
-static const char* attachmentMimeType = "application/x-vnd.kolab.note";
-static const char* inlineMimeType = "text/calendar";
-
-ResourceKolab::ResourceKolab( const TDEConfig *config )
- : ResourceNotes( config ), ResourceKolabBase( "ResourceKolab-KNotes" ),
- mCalendar( TQString::fromLatin1("UTC") )
-{
- if ( !config ) {
- setResourceName( i18n( "Kolab Server" ) );
- }
- setType( "imap" );
-}
-
-ResourceKolab::~ResourceKolab()
-{
-}
-
-bool ResourceKolab::doOpen()
-{
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
-
- // Get the list of Notes folders from KMail
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, kmailContentsType ) )
- return false;
-
- // Make the resource map from the folder list
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- mSubResources.clear();
- for ( it = subResources.constBegin(); it != subResources.constEnd(); ++it ) {
- const TQString subResource = (*it).location;
- const bool active = config.readBoolEntry( subResource, true );
- mSubResources[ subResource ] = Kolab::SubResource( active, (*it).writable, (*it).label );
- }
-
- return true;
-}
-
-void ResourceKolab::doClose()
-{
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
- Kolab::ResourceMap::ConstIterator it;
- for ( it = mSubResources.constBegin(); it != mSubResources.constEnd(); ++it )
- config.writeEntry( it.key(), it.data().active() );
-}
-
-bool ResourceKolab::loadSubResource( const TQString& subResource,
- const TQString &mimetype )
-{
- // Get the list of journals
- int count = 0;
- if ( !kmailIncidencesCount( count, mimetype, subResource ) ) {
- kdError() << "Communication problem in ResourceKolab::load()\n";
- return false;
- }
-
- TQMap<TQ_UINT32, TQString> lst;
- if( !kmailIncidences( lst, mimetype, subResource, 0, count ) ) {
- kdError(5500) << "Communication problem in "
- << "ResourceKolab::getIncidenceList()\n";
- return false;
- }
-
- kdDebug(5500) << "Notes kolab resource: got " << lst.count() << " notes in " << subResource << endl;
-
- // Populate with the new entries
- const bool silent = mSilent;
- mSilent = true;
- TQMap<TQ_UINT32, TQString>::ConstIterator it;
- for ( it = lst.constBegin(); it != lst.constEnd(); ++it ) {
- KCal::Journal* journal = addNote( it.data(), subResource, it.key(), mimetype );
- if ( !journal )
- kdDebug(5500) << "loading note " << it.key() << " failed" << endl;
- else
- manager()->registerNote( this, journal );
- }
- mSilent = silent;
-
- return true;
-}
-
-bool ResourceKolab::load()
-{
- // We get a fresh list of events, so clean out the old ones
- mCalendar.deleteAllEvents();
- mUidMap.clear();
-
- bool rc = true;
- Kolab::ResourceMap::ConstIterator itR;
- for ( itR = mSubResources.constBegin(); itR != mSubResources.constEnd(); ++itR ) {
- if ( !itR.data().active() )
- // This subResource is disabled
- continue;
-
- TQString mimetype = inlineMimeType;
- rc &= loadSubResource( itR.key(), mimetype );
- mimetype = attachmentMimeType;
- rc &= loadSubResource( itR.key(), mimetype );
- }
-
- return rc;
-}
-
-bool ResourceKolab::save()
-{
- // Nothing to do here, we save everything in incidenceUpdated()
- return true;
-}
-
-bool ResourceKolab::addNote( KCal::Journal* journal )
-{
- return addNote( journal, TQString(), 0 );
-}
-
-KCal::Journal* ResourceKolab::addNote( const TQString& data, const TQString& subresource,
- TQ_UINT32 sernum, const TQString &mimetype )
-{
- KCal::Journal *journal = 0;
-
- // FIXME: This does not take into account the time zone!
- KCal::ICalFormat formatter;
- if ( mimetype == attachmentMimeType ) {
- journal = Note::xmlToJournal( data );
- } else {
- journal = static_cast<KCal::Journal*>( formatter.fromString( data ) );
- }
- Q_ASSERT( journal );
-
- bool addedOk = journal &&
- !mUidMap.contains( journal->uid() ) &&
- addNote( journal, subresource, sernum );
-
- // for debugging
- if ( journal && mUidMap.contains( journal->uid() ) ) {
- kdDebug(5500) << "mUidMap already contains " << journal->uid() << endl;
- }
-
- if ( !addedOk ) {
- delete journal;
- journal = 0;
- }
-
- return journal;
-}
-
-bool ResourceKolab::addNote( KCal::Journal *journal, const TQString &subresource, TQ_UINT32 sernum )
-{
- kdDebug(5500) << "ResourceKolab::addNote( KCal::Journal*, '" << subresource << "', " << sernum << " )\n";
-
- journal->registerObserver( this );
-
- // Find out if this note was previously stored in KMail
- bool newNote = subresource.isEmpty();
- if ( !mCalendar.addJournal( journal ) ) {
- return false;
- }
-
- TQString resource = newNote ? findWritableResource( Kolab::Notes, mSubResources ) : subresource;
- if ( resource.isEmpty() ) {
- // canceled
- return false;
- }
-
- if ( !mSilent ) {
- TQString xml = Note::journalToXML( journal );
- kdDebug(5500) << k_funcinfo << "XML string:\n" << xml << endl;
-
- if( !kmailUpdate( resource, sernum, xml, attachmentMimeType, journal->uid() ) ) {
- kdError(5500) << "Communication problem in ResourceKolab::addNote()\n";
- return false;
- }
- }
-
- if ( !resource.isEmpty() && sernum != 0 ) {
- mUidMap[ journal->uid() ] = StorageReference( resource, sernum );
- return true;
- }
- return false;
-}
-
-bool ResourceKolab::deleteNote( KCal::Journal* journal )
-{
- const TQString uid = journal->uid();
- if ( !mUidMap.contains( uid ) )
- // Odd
- return false;
-
- if ( !mSilent ) {
- kmailDeleteIncidence( mUidMap[ uid ].resource(),
- mUidMap[ uid ].serialNumber() );
- }
- mUidMap.remove( uid );
- return mCalendar.deleteJournal( journal );
-}
-
-KCal::Alarm::List ResourceKolab::alarms( const TQDateTime& from, const TQDateTime& to )
-{
- KCal::Alarm::List alarms;
- KCal::Journal::List notes = mCalendar.journals();
- KCal::Journal::List::ConstIterator note;
- for ( note = notes.begin(); note != notes.end(); ++note )
- {
- TQDateTime preTime = from.addSecs( -1 );
- KCal::Alarm::List::ConstIterator it;
- for( it = (*note)->alarms().constBegin(); it != (*note)->alarms().constEnd(); ++it )
- {
- if ( (*it)->enabled() )
- {
- TQDateTime dt = (*it)->nextRepetition( preTime );
- if ( dt.isValid() && dt <= to )
- alarms.append( *it );
- }
- }
- }
-
- return alarms;
-}
-
-void ResourceKolab::incidenceUpdated( KCal::IncidenceBase* i )
-{
- TQString subResource;
- TQ_UINT32 sernum;
- if ( mUidMap.contains( i->uid() ) ) {
- subResource = mUidMap[ i->uid() ].resource();
- sernum = mUidMap[ i->uid() ].serialNumber();
- } else { // can this happen?
- subResource = findWritableResource( Kolab::Notes, mSubResources );
- if ( subResource.isEmpty() ) // canceled
- return;
- sernum = 0;
- }
-
- KCal::Journal* journal = dynamic_cast<KCal::Journal*>( i );
- TQString xml = Note::journalToXML( journal );
- if( !xml.isEmpty() && kmailUpdate( subResource, sernum, xml, attachmentMimeType, journal->uid() ) )
- mUidMap[ i->uid() ] = StorageReference( subResource, sernum );
-}
-
-/*
- * These are the DCOP slots that KMail call to notify when something
- * changed.
- */
-bool ResourceKolab::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int format,
- const TQString& note )
-{
- // Check if this is a note
- if( type != kmailContentsType ) return false;
-
- const bool silent = mSilent;
- mSilent = true;
- TQString mimetype;
- if ( format == KMailICalIface::StorageXML )
- mimetype = attachmentMimeType;
- else
- mimetype = inlineMimeType;
- KCal::Journal* journal = addNote( note, subResource, sernum, mimetype );
- if ( journal )
- manager()->registerNote( this, journal );
- mSilent = silent;
- return true;
-}
-
-void ResourceKolab::fromKMailDelIncidence( const TQString& type,
- const TQString& /*subResource*/,
- const TQString& uid )
-{
- // Check if this is a note
- if( type != kmailContentsType ) return;
-
- kdDebug(5500) << "ResourceKolab::fromKMailDelIncidence( " << type << ", " << uid
- << " )" << endl;
-
- const bool silent = mSilent;
- mSilent = true;
- KCal::Journal* j = mCalendar.journal( uid );
- if ( j ) {
- if ( deleteNote( j ) ) {
- manager()->deleteNote( j );
- }
- }
- mSilent = silent;
-}
-
-void ResourceKolab::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- if ( type == kmailContentsType )
- load(); // ### should call loadSubResource(subResource) probably
-}
-
-void ResourceKolab::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& /*label*/,
- bool writable,
- bool /*alarmRelevant*/ )
-{
- if ( type != kmailContentsType )
- // Not ours
- return;
-
- if ( mSubResources.contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
-
- bool active = config.readBoolEntry( subResource, true );
- mSubResources[ subResource ] = Kolab::SubResource( active, writable, subResource );
- loadSubResource( subResource, attachmentMimeType );
- emit signalSubresourceAdded( this, type, subResource );
-}
-
-void ResourceKolab::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- if ( type != configGroupName )
- // Not ours
- return;
-
- if ( !mSubResources.contains( subResource ) )
- // Not registered
- return;
-
- // Ok, it's our job, and we have it here
- mSubResources.erase( subResource );
-
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
- config.deleteEntry( subResource );
- config.sync();
-
- // Make a list of all uids to remove
- Kolab::UidMap::ConstIterator mapIt;
- TQStringList uids;
- for ( mapIt = mUidMap.constBegin(); mapIt != mUidMap.constEnd(); ++mapIt )
- if ( mapIt.data().resource() == subResource )
- // We have a match
- uids << mapIt.key();
-
- // Finally delete all the incidences
- if ( !uids.isEmpty() ) {
- const bool silent = mSilent;
- mSilent = true;
- TQStringList::ConstIterator it;
- for ( it = uids.constBegin(); it != uids.constEnd(); ++it ) {
- KCal::Journal* j = mCalendar.journal( *it );
- if( j )
- deleteNote( j );
- }
- mSilent = silent;
- }
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-void ResourceKolab::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- // We are only interested in notes
- if ( ( type != attachmentMimeType ) && ( type != inlineMimeType ) ) return;
- // Populate with the new entries
- const bool silent = mSilent;
- mSilent = true;
- TQString mimetype;
- if ( kmailStorageFormat( folder ) == KMailICalIface::StorageXML )
- mimetype = attachmentMimeType;
- else
- mimetype = inlineMimeType;
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.constBegin(); it != map.constEnd(); ++it ) {
- KCal::Journal* journal = addNote( it.data(), folder, it.key(), mimetype );
- if ( !journal )
- kdDebug(5500) << "loading note " << it.key() << " failed" << endl;
- else
- manager()->registerNote( this, journal );
- }
- mSilent = silent;
-}
-
-
-TQStringList ResourceKolab::subresources() const
-{
- return mSubResources.keys();
-}
-
-bool ResourceKolab::subresourceActive( const TQString& res ) const
-{
- if ( mSubResources.contains( res ) ) {
- return mSubResources[ res ].active();
- }
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << res << " ): Safe bet\n";
-
- return true;
-}
-
-bool ResourceKolab::subresourceWritable( const TQString& res ) const
-{
- if ( mSubResources.contains( res ) ) {
- return mSubResources[ res ].writable();
- }
-
- // Safe default bet:
- return false;
-}
-
-#include "resourcekolab.moc"
diff --git a/kresources/kolab/knotes/resourcekolab.h b/kresources/kolab/knotes/resourcekolab.h
deleted file mode 100644
index fb0d191b..00000000
--- a/kresources/kolab/knotes/resourcekolab.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KNOTES_RESOURCEKOLAB_H
-#define KNOTES_RESOURCEKOLAB_H
-
-#include <resourcenotes.h>
-#include <libkcal/incidencebase.h>
-#include <libkcal/calendarlocal.h>
-#include "../shared/resourcekolabbase.h"
-#include "../shared/subresource.h"
-#include <tdepimmacros.h>
-
-
-namespace Kolab {
-
-/**
- * This class implements a KNotes resource that keeps its
- * addresses in an IMAP folder in KMail (or other conforming email
- * clients).
- */
-class KDE_EXPORT ResourceKolab : public ResourceNotes,
- public KCal::IncidenceBase::Observer,
- public ResourceKolabBase
-{
- Q_OBJECT
-
-
-public:
- ResourceKolab( const TDEConfig* );
- virtual ~ResourceKolab();
-
- /// Load resource data.
- bool load();
-
- /// Save resource data.
- bool save();
-
- /// Open the notes resource.
- bool doOpen();
- /// Close the notes resource.
- void doClose();
-
- bool addNote( KCal::Journal* );
-
- bool deleteNote( KCal::Journal* );
-
- KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
-
- /// Reimplemented from IncidenceBase::Observer to know when a note was changed
- void incidenceUpdated( KCal::IncidenceBase* );
-
- /// The ResourceKolabBase methods called by KMail
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& note );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& uid );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
-
- /// Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& resource,
- const TQString& label, bool writable,
- bool alarmRelevant );
- void fromKMailDelSubresource( const TQString& type, const TQString& resource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /** Return the list of subresources. */
- TQStringList subresources() const;
-
- /** Is this subresource active? */
- bool subresourceActive( const TQString& ) const;
-
- /** Is this subresource writable? */
- bool subresourceWritable( const TQString& ) const;
-
-signals:
- void signalSubresourceAdded( Resource*, const TQString&, const TQString& );
- void signalSubresourceRemoved( Resource*, const TQString&, const TQString& );
-
-private:
- bool addNote( KCal::Journal* journal, const TQString& resource,
- TQ_UINT32 sernum );
- KCal::Journal* addNote( const TQString& data, const TQString& subresource,
- TQ_UINT32 sernum, const TQString &mimetype );
-
- bool loadSubResource( const TQString& resource, const TQString& mimetype );
-
- TQString configFile() const {
- return ResourceKolabBase::configFile( "knotes" );
- }
-
- KCal::CalendarLocal mCalendar;
-
- // The list of subresources
- Kolab::ResourceMap mSubResources;
-};
-
-}
-
-#endif // KNOTES_RESOURCEKOLAB_H
diff --git a/kresources/kolab/knotes/resourcekolab_plugin.cpp b/kresources/kolab/knotes/resourcekolab_plugin.cpp
deleted file mode 100644
index f589986c..00000000
--- a/kresources/kolab/knotes/resourcekolab_plugin.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolab.h"
-
-class KolabFactory : public KRES::PluginFactoryBase
-{
-public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new Kolab::ResourceKolab( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(knotes_kolab,KolabFactory())
-
diff --git a/kresources/kolab/kolab-resource.upd b/kresources/kolab/kolab-resource.upd
deleted file mode 100644
index d4c9b962..00000000
--- a/kresources/kolab/kolab-resource.upd
+++ /dev/null
@@ -1,12 +0,0 @@
-# Update the name of the resource
-Id=kolab-calendar-resource-rename
-File=kresources/calendar/stdrc
-Script=upgrade-resourcetype.pl,perl
-
-Id=kolab-contact-resource-rename
-File=kresources/contact/stdrc
-Script=upgrade-resourcetype.pl,perl
-
-Id=kolab-notes-resource-rename
-File=kresources/notes/stdrc
-Script=upgrade-resourcetype.pl,perl
diff --git a/kresources/kolab/shared/CMakeLists.txt b/kresources/kolab/shared/CMakeLists.txt
deleted file mode 100644
index e714eec5..00000000
--- a/kresources/kolab/shared/CMakeLists.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/kresources/lib
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-
-##### resourcekolabshared (static) ##############
-
-set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
-
-tde_add_library( resourcekolabshared STATIC_PIC AUTOMOC
- SOURCES
- resourcekolabbase.cpp kmailconnection.cpp kolabbase.cpp subresource.cpp
- kmailconnection.skel ${CMAKE_SOURCE_DIR}/kmail/kmailicalIface.stub
-)
diff --git a/kresources/kolab/shared/Makefile.am b/kresources/kolab/shared/Makefile.am
deleted file mode 100644
index 7ecc333a..00000000
--- a/kresources/kolab/shared/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/lib $(all_includes)
-
-noinst_HEADERS = resourcekolabbase.h kolabbase.h subresource.h
-
-noinst_LTLIBRARIES = libresourcekolabshared.la
-
-libresourcekolabshared_la_SOURCES = \
- resourcekolabbase.cpp kmailconnection.cpp kolabbase.cpp \
- subresource.cpp \
- kmailconnection.skel kmailicalIface.stub
-libresourcekolabshared_la_METASOURCES = AUTO
-libresourcekolabshared_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la ../../lib/libkgroupwarebase.la
-libresourcekolabshared_la_LDFLAGS = -no-undefined
-
-kmailicalIface_DCOPIDLNG = true
-
-kmailicalIface_DIR = $(top_srcdir)/kmail
diff --git a/kresources/kolab/shared/kmailconnection.cpp b/kresources/kolab/shared/kmailconnection.cpp
deleted file mode 100644
index e82102a3..00000000
--- a/kresources/kolab/shared/kmailconnection.cpp
+++ /dev/null
@@ -1,339 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "kmailconnection.h"
-#include "resourcekolabbase.h"
-
-#include <kdebug.h>
-#include <dcopclient.h>
-#include <kapplication.h>
-#include <kdcopservicestarter.h>
-#include <klocale.h>
-
-#include "kmailicalIface_stub.h"
-
-
-using namespace Kolab;
-
-
-KMailConnection::KMailConnection( ResourceKolabBase* resource,
- const TQCString& objId )
- : DCOPObject( objId ), mResource( resource ), mKMailIcalIfaceStub( 0 )
-{
- // Make the connection to KMail ready
- mDCOPClient = new DCOPClient();
- mDCOPClient->attach();
- mDCOPClient->registerAs( objId, true );
-
- kapp->dcopClient()->setNotifications( true );
- connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ),
- this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
-}
-
-KMailConnection::~KMailConnection()
-{
- kapp->dcopClient()->setNotifications( false );
- delete mKMailIcalIfaceStub;
- mKMailIcalIfaceStub = 0;
- delete mDCOPClient;
- mDCOPClient = 0;
-}
-
-static const TQCString dcopObjectId = "KMailICalIface";
-bool KMailConnection::connectToKMail()
-{
- if ( !mKMailIcalIfaceStub ) {
- TQCString dcopService;
-
- // if we are kmail (and probably kontact as well) ourselves, don't try to start us again
- // this prevents a DCOP deadlock when launching the kmail while kontact is the IMAP backend
- // provider (and probably vice versa)
- if ( kapp->instanceName() == "kmail" ) {
- // someone, probably ourselves, already offers the interface, if not stop here
- const QCStringList services = kapp->dcopClient()->registeredApplications();
- for ( uint i = 0; i < services.count(); ++i ) {
- if ( services[i].find( "anonymous" ) == 0 ) // querying anonymous-XXXXX deadlocks as well, what are those anyway?
- continue;
- const QCStringList objs = kapp->dcopClient()->remoteObjects( services[i] );
- if ( objs.contains( dcopObjectId ) ) {
- dcopService = services[i];
- break;
- }
- }
- if ( dcopService.isEmpty() ) {
- kdError(5650) << k_funcinfo << "Not connecting to KMail to prevent DCOP deadlock" << endl;
- return false;
- }
- } else {
- TQString error;
- int result = KDCOPServiceStarter::self()->
- findServiceFor( "DCOP/ResourceBackend/IMAP", TQString(),
- TQString(), &error, &dcopService );
- if ( result != 0 ) {
- kdError(5650) << "Couldn't connect to the IMAP resource backend\n";
- // TODO: You might want to show "error" (if not empty) here,
- // using e.g. KMessageBox
- return false;
- }
- }
-
- mKMailIcalIfaceStub = new KMailICalIface_stub( kapp->dcopClient(),
- dcopService, dcopObjectId );
-
- // Attach to the KMail signals
- if ( !connectKMailSignal( "incidenceAdded(TQString,TQString,TQ_UINT32,int,TQString)",
- "fromKMailAddIncidence(TQString,TQString,TQ_UINT32,int,TQString)" ) )
- kdError(5650) << "DCOP connection to incidenceAdded failed" << endl;
- if ( !connectKMailSignal( "incidenceDeleted(TQString,TQString,TQString)",
- "fromKMailDelIncidence(TQString,TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to incidenceDeleted failed" << endl;
- if ( !connectKMailSignal( "signalRefresh(TQString,TQString)",
- "fromKMailRefresh(TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to signalRefresh failed" << endl;
- if ( !connectKMailSignal( "subresourceAdded( TQString, TQString, TQString, bool, bool )",
- "fromKMailAddSubresource( TQString, TQString, TQString, bool, bool )" ) )
- kdError(5650) << "DCOP connection to subresourceAdded failed" << endl;
- if ( !connectKMailSignal( "subresourceDeleted(TQString,TQString)",
- "fromKMailDelSubresource(TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to subresourceDeleted failed" << endl;
- if ( !connectKMailSignal( "asyncLoadResult(TQMap<TQ_UINT32, TQString>, TQString, TQString)",
- "fromKMailAsyncLoadResult(TQMap<TQ_UINT32, TQString>, TQString, TQString)" ) )
- kdError(5650) << "DCOP connection to asyncLoadResult failed" << endl;
- }
-
- return ( mKMailIcalIfaceStub != 0 );
-}
-
-bool KMailConnection::fromKMailAddIncidence( const TQString& type,
- const TQString& folder,
- TQ_UINT32 sernum,
- int format,
- const TQString& data )
-{
- if ( format != KMailICalIface::StorageXML
- && format != KMailICalIface::StorageIcalVcard )
- return false;
-// kdDebug(5650) << "KMailConnection::fromKMailAddIncidence( " << type << ", "
-// << folder << " ). iCal:\n" << ical << endl;
- return mResource->fromKMailAddIncidence( type, folder, sernum, format, data );
-}
-
-void KMailConnection::fromKMailDelIncidence( const TQString& type,
- const TQString& folder,
- const TQString& xml )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailDelIncidence( " << type << ", "
-// << folder << ", " << uid << " )\n";
- mResource->fromKMailDelIncidence( type, folder, xml );
-}
-
-void KMailConnection::fromKMailRefresh( const TQString& type, const TQString& folder )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailRefresh( " << type << ", "
-// << folder << " )\n";
- mResource->fromKMailRefresh( type, folder );
-}
-
-void KMailConnection::fromKMailAddSubresource( const TQString& type,
- const TQString& resource,
- const TQString& label,
- bool writable,
- bool alarmRelevant )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailAddSubresource( " << type << ", "
-// << resource << " )\n";
- mResource->fromKMailAddSubresource( type, resource, label,
- writable, alarmRelevant );
-}
-
-void KMailConnection::fromKMailDelSubresource( const TQString& type,
- const TQString& resource )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailDelSubresource( " << type << ", "
-// << resource << " )\n";
- mResource->fromKMailDelSubresource( type, resource );
-}
-
-void KMailConnection::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- mResource->fromKMailAsyncLoadResult( map, type, folder );
-}
-
-bool KMailConnection::connectKMailSignal( const TQCString& signal,
- const TQCString& method )
-{
- return connectDCOPSignal( "kmail", dcopObjectId, signal, method, false )
- && connectDCOPSignal( "kontact", dcopObjectId, signal, method, false );
-}
-
-bool KMailConnection::kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType )
-{
- if ( !connectToKMail() )
- return false;
-
- lst = mKMailIcalIfaceStub->subresourcesKolab( contentsType );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailIncidencesCount( int& count,
- const TQString& mimetype,
- const TQString& resource )
-{
- if ( !connectToKMail() )
- return false;
-
- count = mKMailIcalIfaceStub->incidencesKolabCount( mimetype, resource );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailIncidences( TQMap<TQ_UINT32, TQString>& lst,
- const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages )
-{
- if ( !connectToKMail() )
- return false;
-
- lst = mKMailIcalIfaceStub->incidencesKolab( mimetype, resource, startIndex, nbMessages );
- return mKMailIcalIfaceStub->ok();
-}
-
-
-bool KMailConnection::kmailGetAttachment( KURL& url,
- const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename )
-{
- if ( !connectToKMail() )
- return false;
-
- url = mKMailIcalIfaceStub->getAttachment( resource, sernum, filename );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailAttachmentMimetype( TQString & mimeType,
- const TQString & resource,
- TQ_UINT32 sernum,
- const TQString & filename )
-{
- if ( !connectToKMail() )
- return false;
- mimeType = mKMailIcalIfaceStub->attachmentMimetype( resource, sernum, filename );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailListAttachments(TQStringList &list,
- const TQString & resource, TQ_UINT32 sernum)
-{
- if ( !connectToKMail() )
- return false;
-
- list = mKMailIcalIfaceStub->listAttachments( resource, sernum );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailDeleteIncidence( const TQString& resource,
- TQ_UINT32 sernum )
-{
- return connectToKMail()
- && mKMailIcalIfaceStub->deleteIncidenceKolab( resource, sernum )
- && mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& subject,
- const TQString& plainTextBody,
- const TQMap<TQCString, TQString>& customHeaders,
- const TQStringList& attachmentURLs,
- const TQStringList& attachmentMimetypes,
- const TQStringList& attachmentNames,
- const TQStringList& deletedAttachments )
-{
- //kdDebug(5006) << kdBacktrace() << endl;
- if ( connectToKMail() ) {
- sernum = mKMailIcalIfaceStub->update( resource, sernum, subject, plainTextBody, customHeaders,
- attachmentURLs, attachmentMimetypes, attachmentNames,
- deletedAttachments );
- return sernum && mKMailIcalIfaceStub->ok();
- } else
- return false;
-}
-
-bool KMailConnection::kmailAddSubresource( const TQString& resource,
- const TQString& parent,
- const TQString& contentsType )
-{
- return connectToKMail()
- && mKMailIcalIfaceStub->addSubresource( resource, parent, contentsType )
- && mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailRemoveSubresource( const TQString& resource )
-{
- return connectToKMail()
- && mKMailIcalIfaceStub->removeSubresource( resource )
- && mKMailIcalIfaceStub->ok();
-}
-
-
-bool KMailConnection::kmailStorageFormat( KMailICalIface::StorageFormat& type,
- const TQString& folder )
-{
- bool ok = connectToKMail();
- type = mKMailIcalIfaceStub->storageFormat( folder );
- return ok && mKMailIcalIfaceStub->ok();
-}
-
-
-bool KMailConnection::kmailTriggerSync( const TQString &contentsType )
-{
- bool ok = connectToKMail();
- return ok && mKMailIcalIfaceStub->triggerSync( contentsType );
-}
-
-void KMailConnection::unregisteredFromDCOP( const TQCString& appId )
-{
- if ( mKMailIcalIfaceStub && mKMailIcalIfaceStub->app() == appId ) {
- // Delete the stub so that the next time we need to talk to kmail,
- // we'll know that we need to start a new one.
- delete mKMailIcalIfaceStub;
- mKMailIcalIfaceStub = 0;
- }
-}
-
-#include "kmailconnection.moc"
diff --git a/kresources/kolab/shared/kmailconnection.h b/kresources/kolab/shared/kmailconnection.h
deleted file mode 100644
index 62003b5f..00000000
--- a/kresources/kolab/shared/kmailconnection.h
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KMAILCONNECTION_H
-#define KMAILCONNECTION_H
-
-#include <dcopobject.h>
-#include <kmail/kmailicalIface.h>
-
-class KURL;
-class DCOPClient;
-class KMailICalIface_stub;
-
-namespace Kolab {
-
-class ResourceKolabBase;
-
-/**
- This class provides the kmail connectivity for IMAP resources.
-*/
-class KMailConnection : public TQObject, public DCOPObject {
- Q_OBJECT
-//
- K_DCOP
-
- // These are the methods called by KMail when the resource changes
-k_dcop:
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& xml );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& xml );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
- void fromKMailAddSubresource( const TQString& type, const TQString& resource,
- const TQString& label, bool writable,
- bool alarmRelevant );
- void fromKMailDelSubresource( const TQString& type, const TQString& resource );
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map, const TQString& type,
- const TQString& folder );
-
-public:
- KMailConnection( ResourceKolabBase* resource, const TQCString& objId );
- virtual ~KMailConnection();
-
- /**
- * Do the connection to KMail.
- */
- bool connectToKMail();
-
- // Call the DCOP methods
- bool kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType );
- bool kmailIncidencesCount( int& count,
- const TQString& mimetype,
- const TQString& resource );
- bool kmailIncidences( TQMap<TQ_UINT32, TQString>& lst, const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages );
-
- bool kmailGetAttachment( KURL& url, const TQString& resource, TQ_UINT32 sernum,
- const TQString& filename );
- bool kmailAttachmentMimetype( TQString &mimeType, const TQString &resource,
- TQ_UINT32 sernum, const TQString &filename );
- bool kmailListAttachments( TQStringList &list, const TQString &resource,
- TQ_UINT32 sernum );
- bool kmailDeleteIncidence( const TQString& resource, TQ_UINT32 sernum );
- bool kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& subject,
- const TQString& plainTextBody,
- const TQMap<TQCString, TQString>& customHeaders,
- const TQStringList& attachmentURLs,
- const TQStringList& attachmentMimetypes,
- const TQStringList& attachmentNames,
- const TQStringList& deletedAttachments );
-
- bool kmailStorageFormat( KMailICalIface::StorageFormat& type, const TQString& folder);
-
- bool kmailTriggerSync( const TQString& contentsType );
- bool kmailAddSubresource( const TQString& resource,
- const TQString& parent,
- const TQString& contentsType );
- bool kmailRemoveSubresource( const TQString& resource );
-
-private slots:
- virtual void unregisteredFromDCOP( const TQCString& );
-
-private:
- /** Connect a signal from KMail to a local slot. */
- bool connectKMailSignal( const TQCString&, const TQCString& );
-
- ResourceKolabBase* mResource;
- DCOPClient* mDCOPClient;
- KMailICalIface_stub* mKMailIcalIfaceStub;
-};
-
-}
-
-#endif // KMAILCONNECTION_H
diff --git a/kresources/kolab/shared/kolabbase.cpp b/kresources/kolab/shared/kolabbase.cpp
deleted file mode 100644
index 167f2566..00000000
--- a/kresources/kolab/shared/kolabbase.cpp
+++ /dev/null
@@ -1,487 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "kolabbase.h"
-
-#include <kabc/addressee.h>
-#include <libkcal/journal.h>
-#include <libtdepim/kpimprefs.h>
-#include <libemailfunctions/email.h>
-#include <kdebug.h>
-#include <tqfile.h>
-
-using namespace Kolab;
-
-
-KolabBase::KolabBase( const TQString& tz )
- : mCreationDate( TQDateTime::currentDateTime() ),
- mLastModified( TQDateTime::currentDateTime() ),
- mSensitivity( Public ), mTimeZoneId( tz ),
- mHasPilotSyncId( false ), mHasPilotSyncStatus( false )
-{
-}
-
-KolabBase::~KolabBase()
-{
-}
-
-void KolabBase::setFields( const KCal::Incidence* incidence )
-{
- // So far unhandled KCal::IncidenceBase fields:
- // mPilotID, mSyncStatus, mFloats
-
- setUid( incidence->uid() );
- setBody( incidence->description() );
- setCategories( incidence->categoriesStr() );
- setCreationDate( localToUTC( incidence->created() ) );
- setLastModified( localToUTC( incidence->lastModified() ) );
- setSensitivity( static_cast<Sensitivity>( incidence->secrecy() ) );
- // TODO: Attachments
-}
-
-void KolabBase::saveTo( KCal::Incidence* incidence ) const
-{
- incidence->setUid( uid() );
- incidence->setDescription( body() );
- incidence->setCategories( categories() );
- incidence->setCreated( utcToLocal( creationDate() ) );
- incidence->setLastModified( utcToLocal( lastModified() ) );
- incidence->setSecrecy( sensitivity() );
- // TODO: Attachments
-}
-
-void KolabBase::setFields( const KABC::Addressee* addressee )
-{
- // An addressee does not have a creation date, so somehow we should
- // make one, if this is a new entry
-
- setUid( addressee->uid() );
- setBody( addressee->note() );
- setCategories( addressee->categories().join( "," ) );
-
- // Set creation-time and last-modification-time
- const TQString creationString = addressee->custom( "KOLAB", "CreationDate" );
- kdDebug(5006) << "Creation time string: " << creationString << endl;
- TQDateTime creationDate;
- if ( creationString.isEmpty() ) {
- creationDate = TQDateTime::currentDateTime();
- kdDebug(5006) << "Creation date set to current time\n";
- }
- else {
- creationDate = stringToDateTime( creationString );
- kdDebug(5006) << "Creation date loaded\n";
- }
- TQDateTime modified = addressee->revision();
- if ( !modified.isValid() )
- modified = TQDateTime::currentDateTime();
- setLastModified( modified );
- if ( modified < creationDate ) {
- // It's not possible that the modification date is earlier than creation
- creationDate = modified;
- kdDebug(5006) << "Creation date set to modification date\n";
- }
- setCreationDate( creationDate );
- const TQString newCreationDate = dateTimeToString( creationDate );
- if ( creationString != newCreationDate ) {
- // We modified the creation date, so store it for future reference
- const_cast<KABC::Addressee*>( addressee )
- ->insertCustom( "KOLAB", "CreationDate", newCreationDate );
- kdDebug(5006) << "Creation date modified. New one: " << newCreationDate << endl;
- }
-
- switch( addressee->secrecy().type() ) {
- case KABC::Secrecy::Private:
- setSensitivity( Private );
- break;
- case KABC::Secrecy::Confidential:
- setSensitivity( Confidential );
- break;
- default:
- setSensitivity( Public );
- }
-
- // TODO: Attachments
-}
-
-void KolabBase::saveTo( KABC::Addressee* addressee ) const
-{
- addressee->setUid( uid() );
- addressee->setNote( body() );
- addressee->setCategories( TQStringList::split( ',', categories() ) );
- addressee->setRevision( lastModified() );
- addressee->insertCustom( "KOLAB", "CreationDate",
- dateTimeToString( creationDate() ) );
-
- switch( sensitivity() ) {
- case Private:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Private ) );
- break;
- case Confidential:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Confidential ) );
- break;
- default:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Public ) );
- break;
- }
-
- // TODO: Attachments
-}
-
-void KolabBase::setUid( const TQString& uid )
-{
- mUid = uid;
-}
-
-TQString KolabBase::uid() const
-{
- return mUid;
-}
-
-void KolabBase::setBody( const TQString& body )
-{
- mBody = body;
-}
-
-TQString KolabBase::body() const
-{
- return mBody;
-}
-
-void KolabBase::setCategories( const TQString& categories )
-{
- mCategories = categories;
-}
-
-TQString KolabBase::categories() const
-{
- return mCategories;
-}
-
-void KolabBase::setCreationDate( const TQDateTime& date )
-{
- mCreationDate = date;
-}
-
-TQDateTime KolabBase::creationDate() const
-{
- return mCreationDate;
-}
-
-void KolabBase::setLastModified( const TQDateTime& date )
-{
- mLastModified = date;
-}
-
-TQDateTime KolabBase::lastModified() const
-{
- return mLastModified;
-}
-
-void KolabBase::setSensitivity( Sensitivity sensitivity )
-{
- mSensitivity = sensitivity;
-}
-
-KolabBase::Sensitivity KolabBase::sensitivity() const
-{
- return mSensitivity;
-}
-
-void KolabBase::setPilotSyncId( unsigned long id )
-{
- mHasPilotSyncId = true;
- mPilotSyncId = id;
-}
-
-bool KolabBase::hasPilotSyncId() const
-{
- return mHasPilotSyncId;
-}
-
-unsigned long KolabBase::pilotSyncId() const
-{
- return mPilotSyncId;
-}
-
-void KolabBase::setPilotSyncStatus( int status )
-{
- mHasPilotSyncStatus = true;
- mPilotSyncStatus = status;
-}
-
-bool KolabBase::hasPilotSyncStatus() const
-{
- return mHasPilotSyncStatus;
-}
-
-int KolabBase::pilotSyncStatus() const
-{
- return mPilotSyncStatus;
-}
-
-bool KolabBase::loadEmailAttribute( TQDomElement& element, Email& email )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- const TQString tagName = e.tagName();
-
- if ( tagName == "display-name" ) {
- // Quote the text in case it contains commas or other quotable chars.
- TQString tusername = KPIM::quoteNameIfNecessary( e.text() );
-
- TQString tname, temail;
- // ignore the return value because it will always be false since
- // tusername does not contain "@domain".
- KPIM::getNameAndMail( tusername, tname, temail );
- email.displayName = tname;
- }
- else if ( tagName == "smtp-address" )
- email.smtpAddress = e.text();
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-void KolabBase::saveEmailAttribute( TQDomElement& element, const Email& email,
- const TQString& tagName ) const
-{
- TQDomElement e = element.ownerDocument().createElement( tagName );
- element.appendChild( e );
- writeString( e, "display-name", email.displayName );
- writeString( e, "smtp-address", email.smtpAddress );
-}
-
-bool KolabBase::loadAttribute( TQDomElement& element )
-{
- const TQString tagName = element.tagName();
- switch ( tagName[0].latin1() ) {
- case 'u':
- if ( tagName == "uid" ) {
- setUid( element.text() );
- return true;
- }
- break;
- case 'b':
- if ( tagName == "body" ) {
- setBody( element.text() );
- return true;
- }
- break;
- case 'c':
- if ( tagName == "categories" ) {
- setCategories( element.text() );
- return true;
- }
- if ( tagName == "creation-date" ) {
- setCreationDate( stringToDateTime( element.text() ) );
- return true;
- }
- break;
- case 'l':
- if ( tagName == "last-modification-date" ) {
- setLastModified( stringToDateTime( element.text() ) );
- return true;
- }
- break;
- case 's':
- if ( tagName == "sensitivity" ) {
- setSensitivity( stringToSensitivity( element.text() ) );
- return true;
- }
- break;
- case 'p':
- if ( tagName == "product-id" )
- return true; // ignore this field
- if ( tagName == "pilot-sync-id" ) {
- setPilotSyncId( element.text().toULong() );
- return true;
- }
- if ( tagName == "pilot-sync-status" ) {
- setPilotSyncStatus( element.text().toInt() );
- return true;
- }
- break;
- default:
- break;
- }
- return false;
-}
-
-bool KolabBase::saveAttributes( TQDomElement& element ) const
-{
- writeString( element, "product-id", productID() );
- writeString( element, "uid", uid() );
- writeString( element, "body", body() );
- writeString( element, "categories", categories() );
- writeString( element, "creation-date", dateTimeToString( creationDate() ) );
- writeString( element, "last-modification-date",
- dateTimeToString( lastModified() ) );
- writeString( element, "sensitivity", sensitivityToString( sensitivity() ) );
- if ( hasPilotSyncId() )
- writeString( element, "pilot-sync-id", TQString::number( pilotSyncId() ) );
- if ( hasPilotSyncStatus() )
- writeString( element, "pilot-sync-status", TQString::number( pilotSyncStatus() ) );
- return true;
-}
-
-bool KolabBase::load( const TQString& xml )
-{
- TQString errorMsg;
- int errorLine, errorColumn;
- TQDomDocument document;
- bool ok = document.setContent( xml, &errorMsg, &errorLine, &errorColumn );
-
- if ( !ok ) {
- tqWarning( "Error loading document: %s, line %d, column %d",
- errorMsg.latin1(), errorLine, errorColumn );
- return false;
- }
-
- // XML file loaded into tree. Now parse it
- return loadXML( document );
-}
-
-bool KolabBase::load( TQFile& xml )
-{
- TQString errorMsg;
- int errorLine, errorColumn;
- TQDomDocument document;
- bool ok = document.setContent( &xml, &errorMsg, &errorLine, &errorColumn );
-
- if ( !ok ) {
- tqWarning( "Error loading document: %s, line %d, column %d",
- errorMsg.latin1(), errorLine, errorColumn );
- return false;
- }
-
- // XML file loaded into tree. Now parse it
- return loadXML( document );
-}
-
-TQDomDocument KolabBase::domTree()
-{
- TQDomDocument document;
-
- TQString p = "version=\"1.0\" encoding=\"UTF-8\"";
- document.appendChild(document.createProcessingInstruction( "xml", p ) );
-
- return document;
-}
-
-
-TQString KolabBase::dateTimeToString( const TQDateTime& time )
-{
- return time.toString( Qt::ISODate ) + 'Z';
-}
-
-TQString KolabBase::dateToString( const TQDate& date )
-{
- return date.toString( Qt::ISODate );
-}
-
-TQDateTime KolabBase::stringToDateTime( const TQString& _date )
-{
- TQString date( _date );
- //Deal with data from some clients that always append a Z to dates.
- if ( date.endsWith( "ZZ" ) )
- date.truncate( date.length() - 2 );
- //In TQt3, Qt::ISODate cannot handle a trailing Z for UTC, so remove if found.
- else if ( date.endsWith( "Z" ) )
- date.truncate( date.length() - 1 );
- return TQDateTime::fromString( date, Qt::ISODate );
-}
-
-TQDate KolabBase::stringToDate( const TQString& date )
-{
- return TQDate::fromString( date, Qt::ISODate );
-}
-
-TQString KolabBase::sensitivityToString( Sensitivity s )
-{
- switch( s ) {
- case Private: return "private";
- case Confidential: return "confidential";
- case Public: return "public";
- }
-
- return "What what what???";
-}
-
-KolabBase::Sensitivity KolabBase::stringToSensitivity( const TQString& s )
-{
- if ( s == "private" )
- return Private;
- if ( s == "confidential" )
- return Confidential;
- return Public;
-}
-
-TQString KolabBase::colorToString( const TQColor& color )
-{
- // Color is in the format "#RRGGBB"
- return color.name();
-}
-
-TQColor KolabBase::stringToColor( const TQString& s )
-{
- return TQColor( s );
-}
-
-void KolabBase::writeString( TQDomElement& element, const TQString& tag,
- const TQString& tagString )
-{
- if ( !tagString.isEmpty() ) {
- TQDomElement e = element.ownerDocument().createElement( tag );
- TQDomText t = element.ownerDocument().createTextNode( tagString );
- e.appendChild( t );
- element.appendChild( e );
- }
-}
-
-TQDateTime KolabBase::localToUTC( const TQDateTime& time ) const
-{
- return KPimPrefs::localTimeToUtc( time, mTimeZoneId );
-}
-
-TQDateTime KolabBase::utcToLocal( const TQDateTime& time ) const
-{
- return KPimPrefs::utcToLocalTime( time, mTimeZoneId );
-}
diff --git a/kresources/kolab/shared/kolabbase.h b/kresources/kolab/shared/kolabbase.h
deleted file mode 100644
index 294a7d81..00000000
--- a/kresources/kolab/shared/kolabbase.h
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KOLABBASE_H
-#define KOLABBASE_H
-
-#include <tqdom.h>
-#include <tqdatetime.h>
-#include <tqcolor.h>
-
-class TQFile;
-
-namespace KCal {
- class Incidence;
-}
-
-namespace KABC {
- class Addressee;
-}
-
-namespace Kolab {
-
-class KolabBase {
-public:
- struct Email {
- public:
- Email( const TQString& name = TQString(),
- const TQString& email = TQString() )
- : displayName( name ), smtpAddress( email )
- {
- }
-
- TQString displayName;
- TQString smtpAddress;
- };
-
- enum Sensitivity { Public = 0, Private = 1, Confidential = 2 };
-
- explicit KolabBase( const TQString& timezone = TQString() );
- virtual ~KolabBase();
-
- // Return a string identifying this type
- virtual TQString type() const = 0;
-
- virtual void setUid( const TQString& uid );
- virtual TQString uid() const;
-
- virtual void setBody( const TQString& body );
- virtual TQString body() const;
-
- virtual void setCategories( const TQString& categories );
- virtual TQString categories() const;
-
- virtual void setCreationDate( const TQDateTime& date );
- virtual TQDateTime creationDate() const;
-
- virtual void setLastModified( const TQDateTime& date );
- virtual TQDateTime lastModified() const;
-
- virtual void setSensitivity( Sensitivity sensitivity );
- virtual Sensitivity sensitivity() const;
-
- virtual void setPilotSyncId( unsigned long id );
- virtual bool hasPilotSyncId() const;
- virtual unsigned long pilotSyncId() const;
-
- virtual void setPilotSyncStatus( int status );
- virtual bool hasPilotSyncStatus() const;
- virtual int pilotSyncStatus() const;
-
- // String - Date conversion methods
- static TQString dateTimeToString( const TQDateTime& time );
- static TQString dateToString( const TQDate& date );
- static TQDateTime stringToDateTime( const TQString& time );
- static TQDate stringToDate( const TQString& date );
-
- // String - Sensitivity conversion methods
- static TQString sensitivityToString( Sensitivity );
- static Sensitivity stringToSensitivity( const TQString& );
-
- // String - Color conversion methods
- static TQString colorToString( const TQColor& );
- static TQColor stringToColor( const TQString& );
-
- // Load this object by reading the XML file
- bool load( const TQString& xml );
- bool load( TQFile& xml );
-
- // Load this TQDomDocument
- virtual bool loadXML( const TQDomDocument& xml ) = 0;
-
- // Serialize this object to an XML string
- virtual TQString saveXML() const = 0;
-
-protected:
- /// Read all known fields from this ical incidence
- void setFields( const KCal::Incidence* );
-
- /// Save all known fields into this ical incidence
- void saveTo( KCal::Incidence* ) const;
-
- /// Read all known fields from this contact
- void setFields( const KABC::Addressee* );
-
- /// Save all known fields into this contact
- void saveTo( KABC::Addressee* ) const;
-
- // This just makes the initial dom tree with version and doctype
- static TQDomDocument domTree();
-
- bool loadEmailAttribute( TQDomElement& element, Email& email );
-
- void saveEmailAttribute( TQDomElement& element, const Email& email,
- const TQString& tagName = "email" ) const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Return the product ID
- virtual TQString productID() const = 0;
-
- // Write a string tag
- static void writeString( TQDomElement&, const TQString&, const TQString& );
-
- TQDateTime localToUTC( const TQDateTime& time ) const;
- TQDateTime utcToLocal( const TQDateTime& time ) const;
-
- TQString mUid;
- TQString mBody;
- TQString mCategories;
- TQDateTime mCreationDate;
- TQDateTime mLastModified;
- Sensitivity mSensitivity;
- TQString mTimeZoneId;
-
- // KPilot synchronization stuff
- bool mHasPilotSyncId, mHasPilotSyncStatus;
- unsigned long mPilotSyncId;
- int mPilotSyncStatus;
-};
-
-}
-
-#endif // KOLABBASE_H
diff --git a/kresources/kolab/shared/resourcekolabbase.cpp b/kresources/kolab/shared/resourcekolabbase.cpp
deleted file mode 100644
index c6f1f425..00000000
--- a/kresources/kolab/shared/resourcekolabbase.cpp
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcekolabbase.h"
-#include "kmailconnection.h"
-
-#include <folderselectdialog.h>
-
-#include <klocale.h>
-#include <kstandarddirs.h>
-#include <kinputdialog.h>
-#include <kurl.h>
-#include <ktempfile.h>
-#include <kmessagebox.h>
-#include <tqtextstream.h>
-#include <kdebug.h>
-
-using namespace Kolab;
-
-static unsigned int uniquifier = 0;
-
-ResourceKolabBase::ResourceKolabBase( const TQCString& objId )
- : mSilent( false )
-{
- TDEGlobal::locale()->insertCatalogue( "kres_kolab" );
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TQString uniqueObjId = TQString( objId ) + TQString::number( uniquifier++ );
- mConnection = new KMailConnection( this, uniqueObjId.utf8() );
-}
-
-ResourceKolabBase::~ResourceKolabBase()
-{
- delete mConnection;
-}
-
-
-bool ResourceKolabBase::kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType ) const
-{
- return mConnection->kmailSubresources( lst, contentsType );
-}
-
-bool ResourceKolabBase::kmailTriggerSync( const TQString& contentsType ) const
-{
- return mConnection->kmailTriggerSync( contentsType );
-}
-
-
-bool ResourceKolabBase::kmailIncidencesCount( int &count,
- const TQString& mimetype,
- const TQString& resource ) const
-{
- return mConnection->kmailIncidencesCount( count, mimetype, resource );
-}
-
-bool ResourceKolabBase::kmailIncidences( TQMap<TQ_UINT32, TQString>& lst,
- const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages ) const
-{
- return mConnection->kmailIncidences( lst, mimetype, resource, startIndex, nbMessages );
-}
-
-bool ResourceKolabBase::kmailGetAttachment( KURL& url, const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename ) const
-{
- return mConnection->kmailGetAttachment( url, resource, sernum, filename );
-}
-
-bool ResourceKolabBase::kmailAttachmentMimetype( TQString & mimeType, TQString & resource,
- TQ_UINT32 sernum, const TQString & filename ) const
-{
- return mConnection->kmailAttachmentMimetype( mimeType, resource, sernum, filename );
-}
-
-bool ResourceKolabBase::kmailListAttachments( TQStringList &list,
- const TQString & resource,
- TQ_UINT32 sernum ) const
-{
- return mConnection->kmailListAttachments( list, resource, sernum );
-}
-
-bool ResourceKolabBase::kmailDeleteIncidence( const TQString& resource,
- TQ_UINT32 sernum )
-{
- return mSilent || mConnection->kmailDeleteIncidence( resource, sernum );
-}
-
-static TQString plainTextBody()
-{
- const char * firstPartTextToTranslate = I18N_NOOP(
- "This is a Kolab Groupware object.\nTo view this object you"
- " will need an email client that can understand the Kolab"
- " Groupware format.\nFor a list of such email clients please"
- " visit\n%1" );
- const char * url = "http://www.kolab.org/kolab2-clients.html";
- TQString firstPartTextUntranslated = TQString::fromLatin1( firstPartTextToTranslate ).arg( url );
- TQString firstPartText = i18n( firstPartTextToTranslate ).arg( url );
- if ( firstPartText != firstPartTextUntranslated ) {
- firstPartText.append("\n\n-----------------------------------------------------\n\n");
- firstPartText.append( firstPartTextUntranslated );
- }
- return firstPartText;
-}
-
-bool ResourceKolabBase::kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& xml,
- const TQString& mimetype,
- const TQString& subject,
- const CustomHeaderMap& _customHeaders,
- const TQStringList& _attachmentURLs,
- const TQStringList& _attachmentMimetypes,
- const TQStringList& _attachmentNames,
- const TQStringList& deletedAttachments )
-{
- if ( mSilent )
- return true;
-
- TQString subj = subject;
- if ( subj.isEmpty() )
- subj = i18n("Internal kolab data: Do not delete this mail.");
-
- if ( mimetype.startsWith( "application/x-vnd.kolab" ) ) {
-
- // Save the xml file. Will be deleted at the end of this method
- KTempFile file;
- file.setAutoDelete( true );
- TQTextStream* stream = file.textStream();
- stream->setEncoding( TQTextStream::UnicodeUTF8 );
- *stream << xml;
- file.close();
-
- // Add the xml file as an attachment
- TQStringList attachmentURLs = _attachmentURLs;
- TQStringList attachmentMimeTypes = _attachmentMimetypes;
- TQStringList attachmentNames = _attachmentNames;
- KURL url;
- url.setPath( file.name() );
- url.setFileEncoding( "UTF-8" );
- attachmentURLs.prepend( url.url() );
- attachmentMimeTypes.prepend( mimetype );
- attachmentNames.prepend( "kolab.xml" );
-
- CustomHeaderMap customHeaders( _customHeaders );
- customHeaders.insert( "X-Kolab-Type", mimetype );
-
- return mConnection->kmailUpdate( resource, sernum, subj, plainTextBody(), customHeaders,
- attachmentURLs, attachmentMimeTypes, attachmentNames,
- deletedAttachments );
- } else {
- // ical style, simply put the data inline
- return mConnection->kmailUpdate( resource, sernum, subj, xml, _customHeaders,
- _attachmentURLs, _attachmentMimetypes, _attachmentNames, deletedAttachments );
- }
-}
-
-TQString ResourceKolabBase::configFile( const TQString& type ) const
-{
- return locateLocal( "config",
- TQString( "kresources/kolab/%1rc" ).arg( type ) );
-}
-
-bool ResourceKolabBase::connectToKMail() const
-{
- return mConnection->connectToKMail();
-}
-
-bool ResourceKolabBase::kmailAddSubresource( const TQString& resource,
- const TQString& parent,
- const TQString& contentsType )
-{
- return mConnection->kmailAddSubresource( resource, parent, contentsType );
-}
-
-bool ResourceKolabBase::kmailRemoveSubresource( const TQString& resource )
-{
- return mConnection->kmailRemoveSubresource( resource );
-}
-
-TQString ResourceKolabBase::findWritableResource( const ResourceType &type,
- const ResourceMap& resources,
- const TQString& text )
-{
- mErrorCode = NoError;
-
- // I have to use the label (shown in the dialog) as key here. But given how the
- // label is made up, it should be unique. If it's not, well the dialog would suck anyway...
- TQMap<TQString, TQString> possible;
- TQStringList labels;
- ResourceMap::ConstIterator it;
- for ( it = resources.begin(); it != resources.end(); ++it ) {
- if ( it.data().writable() && it.data().active() ) {
- // Writable and active possibility
- possible[ it.data().label() ] = it.key();
- }
- }
-
- if ( possible.isEmpty() ) { // None found!!
- kdWarning(5650) << "No writable resource found!" << endl;
-
- TQString errorText;
- switch( type ) {
- case Events:
- errorText = i18n( "You have no writable event folders so saving will not be possible.\n"
- "Please create or activate at least one writable event folder and try again." );
- break;
- case Tasks:
- errorText = i18n( "You have no writable task folders so saving will not be possible.\n"
- "Please create or activate at least one writable task folder and try again." );
- break;
- case Incidences:
- errorText = i18n( "You have no writable calendar folder so saving will not be possible.\n"
- "Please create or activate at least one writable calendar folder and try again." );
- break;
- case Notes:
- errorText = i18n( "You have no writable notes folders so saving will not be possible.\n"
- "Please create or activate at least one writable notes folder and try again." );
- break;
- case Contacts:
- errorText = i18n( "You have no writable addressbook folder so saving will not be possible.\n"
- "Please create or activate at least one writable addressbook folder and try again." );
- break;
- }
-
- KMessageBox::error( 0, errorText );
- mErrorCode = NoWritableFound;
- return TQString();
- }
- if ( possible.count() == 1 )
- // Just one found
- return possible.begin().data(); // yes this is the subresource key, i.e. location
-
- TQString t = text;
- if ( t.isEmpty() )
- i18n( "You have more than one writable resource folder. "
- "Please select the one you want to write to." );
-
- // Several found, ask the user
- TQString chosenLabel = KPIM::FolderSelectDialog::getItem( i18n( "Select Resource Folder" ),
- t, possible.keys() );
- if ( chosenLabel.isEmpty() ) {
- // cancelled
- mErrorCode = UserCancel;
- return TQString();
- }
- return possible[chosenLabel];
-}
-
-KMailICalIface::StorageFormat ResourceKolabBase::kmailStorageFormat( const TQString &folder ) const
-{
- KMailICalIface::StorageFormat format = (KMailICalIface::StorageFormat) 3;
- mConnection->kmailStorageFormat( format, folder );
- return format;
-}
diff --git a/kresources/kolab/shared/resourcekolabbase.h b/kresources/kolab/shared/resourcekolabbase.h
deleted file mode 100644
index f32c151f..00000000
--- a/kresources/kolab/shared/resourcekolabbase.h
+++ /dev/null
@@ -1,205 +0,0 @@
-/*
- This file is part of the kolab resource - the implementation of the
- Kolab storage format. See www.kolab.org for documentation on this.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef RESOURCEKOLABBASE_H
-#define RESOURCEKOLABBASE_H
-
-#include <tqstring.h>
-#include <tqmap.h>
-#include <tqstringlist.h>
-
-#include "subresource.h"
-#include <kmail/kmailicalIface.h>
-
-class TQCString;
-class KURL;
-
-namespace Kolab {
-
-enum ResourceType { Tasks, Events, Incidences, Contacts, Notes };
-
-class KMailConnection;
-
-/**
- This class provides the kmail connectivity for IMAP resources.
-
- The main methods are:
-
- fromKMail...() : calls made _by_ KMail to add/delete data representation in the resource.
-
- kmail...() : calls _into_ KMail made by the resource.
-
- e.g. fromKMailAddIncidence() is called by KMail
- when a new iCard is there after an IMAP sync.
-
- By calling fromKMailAddIncidence() KMail notifies
- the resource about the new incidence, so in the
- addressbook a new address will appear like magic.
-
- e.g. kmailAddIncidence() is called by the resource when
- iCard must be stored by KMail because the user has added
- an address in the addressbook.
-
- By calling kmailAddIncidence() the resource causes
- KMail to store the new address in the (IMAP) folder.
-*/
-class ResourceKolabBase {
-public:
- ResourceKolabBase( const TQCString& objId );
- virtual ~ResourceKolabBase();
-
- // These are the methods called by KMail when the resource changes
- virtual bool fromKMailAddIncidence( const TQString& type,
- const TQString& resource,
- TQ_UINT32 sernum,
- int format,
- const TQString& data ) = 0;
- virtual void fromKMailDelIncidence( const TQString& type,
- const TQString& resource,
- const TQString& xml ) = 0;
- virtual void fromKMailRefresh( const TQString& type,
- const TQString& resource ) = 0;
- virtual void fromKMailAddSubresource( const TQString& type,
- const TQString& resource,
- const TQString& label,
- bool writable,
- bool alarmRelevant ) = 0;
- virtual void fromKMailDelSubresource( const TQString& type,
- const TQString& resource ) = 0;
-
- virtual void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder ) = 0;
-protected:
- /// Do the connection to KMail.
- bool connectToKMail() const;
-
- // These are the KMail dcop function connections. The docs here say
- // "Get", which here means that the first argument is the return arg
-
- /// List all folders with a certain contentsType. Returns a TQMap with
- /// resourcename/writable pairs
- bool kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType ) const;
-
- /// Get the number of messages in this folder.
- /// Used to iterate over kmailIncidences by chunks
- bool kmailIncidencesCount( int& count, const TQString& mimetype,
- const TQString& resource ) const;
-
- /// Get the mimetype attachments from a chunk of messages from this folder.
- /// Returns a TQMap with serialNumber/attachment pairs.
- bool kmailIncidences( TQMap<TQ_UINT32, TQString>& lst, const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages ) const;
-
- bool kmailTriggerSync( const TQString& contentType ) const;
-
-public: // for Contact
- /// Get an attachment from a mail. Returns a URL to it. This can
- /// be called by the resource after obtaining the incidence.
- /// The resource must delete the temp file.
- bool kmailGetAttachment( KURL& url, const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename ) const;
-
- /** Get the mimetype of the specified attachment. */
- bool kmailAttachmentMimetype( TQString &mimeType, TQString &resource,
- TQ_UINT32 sernum, const TQString &filename ) const;
-
- /// List all attachments of a mail.
- bool kmailListAttachments( TQStringList &list, const TQString &resource,
- TQ_UINT32 sernum ) const;
-
-protected:
- /// Delete an incidence.
- bool kmailDeleteIncidence( const TQString& resource, TQ_UINT32 sernum );
-
- KMailICalIface::StorageFormat kmailStorageFormat( const TQString& folder ) const;
-
- typedef TQMap<TQCString, TQString> CustomHeaderMap;
-
- /// Update an incidence. The list of attachments are URLs.
- /// The parameter sernum is updated with the right KMail serial number
- bool kmailUpdate( const TQString& resource, TQ_UINT32& sernum,
- const TQString& xml,
- const TQString& mimetype,
- const TQString& subject,
- const CustomHeaderMap& customHeaders = CustomHeaderMap(),
- const TQStringList& attachmentURLs = TQStringList(),
- const TQStringList& attachmentMimetypes = TQStringList(),
- const TQStringList& attachmentNames = TQStringList(),
- const TQStringList& deletedAttachments = TQStringList() );
-
- bool kmailAddSubresource( const TQString& resource, const TQString& parent,
- const TQString& contentsType );
- bool kmailRemoveSubresource( const TQString& resource );
-
- /// Get the full path of the config file.
- TQString configFile( const TQString& type ) const;
-
- /// If only one of these is writable, return that. Otherwise return null.
- TQString findWritableResource( const ResourceType &type,
- const ResourceMap& resources,
- const TQString& text = TQString() );
-
- enum ErrorCode {
- NoError,
- NoWritableFound, /**< No writable resource is available */
- UserCancel /**< User canceled the operation */
- };
- ErrorCode mErrorCode;
-
- bool mSilent;
-
- /**
- * This is used to store a mapping from the XML UID to the KMail
- * serial number of the mail it's stored in. That provides a quick way
- * to access the storage in KMail.
- */
- UidMap mUidMap;
-
- /// This is used to distinguish operations triggered by the user,
- /// from operations triggered by KMail
- TQStringList mUidsPendingAdding;
- TQStringList mUidsPendingDeletion;
- TQStringList mUidsPendingUpdate;
-
-private:
- mutable KMailConnection* mConnection;
-};
-
-}
-
-#endif // RESOURCEKOLABBASE_H
diff --git a/kresources/kolab/shared/subresource.cpp b/kresources/kolab/shared/subresource.cpp
deleted file mode 100644
index 7520d275..00000000
--- a/kresources/kolab/shared/subresource.cpp
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "subresource.h"
-
-using namespace Kolab;
-
-SubResource::SubResource( bool active, bool writable,
- bool alarmRelevant, const TQString& label,
- int completionWeight )
- : mActive( active ), mWritable( writable ), mAlarmRelevant( alarmRelevant ),
- mLabel( label ), mCompletionWeight( completionWeight )
-{
-}
-
-SubResource::SubResource( bool active, bool writable,
- const TQString& label, int completionWeight )
- : mActive( active ), mWritable( writable ), mAlarmRelevant( false ),
- mLabel( label ), mCompletionWeight( completionWeight )
-{
-}
-
-SubResource::~SubResource()
-{
-}
-
-void SubResource::setActive( bool active )
-{
- mActive = active;
-}
-
-bool SubResource::active() const
-{
- return mActive;
-}
-
-void SubResource::setAlarmRelevant( bool active )
-{
- mAlarmRelevant = active;
-}
-
-bool SubResource::alarmRelevant() const
-{
- return mAlarmRelevant;
-}
-
-void SubResource::setWritable( bool writable )
-{
- mWritable = writable;
-}
-
-bool SubResource::writable() const
-{
- return mWritable;
-}
-
-void SubResource::setLabel( const TQString& label )
-{
- mLabel = label;
-}
-
-TQString SubResource::label() const
-{
- return mLabel;
-}
-
-void SubResource::setCompletionWeight( int completionWeight )
-{
- mCompletionWeight = completionWeight;
-}
-
-int SubResource::completionWeight() const
-{
- return mCompletionWeight;
-}
-
-StorageReference::StorageReference( const TQString& resource, TQ_UINT32 sernum )
- : mResource( resource ), mSerialNumber( sernum )
-{
-}
-
-StorageReference::~StorageReference()
-{
-}
-
-void StorageReference::setResource( const TQString& resource )
-{
- mResource = resource;
-}
-
-TQString StorageReference::resource() const
-{
- return mResource;
-}
-
-void StorageReference::setSerialNumber( TQ_UINT32 serialNumber )
-{
- mSerialNumber = serialNumber;
-}
-
-TQ_UINT32 StorageReference::serialNumber() const
-{
- return mSerialNumber;
-}
diff --git a/kresources/kolab/shared/subresource.h b/kresources/kolab/shared/subresource.h
deleted file mode 100644
index 79104a74..00000000
--- a/kresources/kolab/shared/subresource.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- This file is part of libkabc and/or kaddressbook.
- Copyright (c) 2004 Klarälvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef SUBRESOURCE_H
-#define SUBRESOURCE_H
-
-#include <tqstring.h>
-#include <tqmap.h>
-
-
-namespace Kolab {
-
-/**
- * This class is used to store in a map from resource id to this, providing
- * a lookup of the subresource settings.
- */
-class SubResource {
-public:
- // This is just for TQMap
- SubResource() {}
-
- SubResource( bool active, bool writable, const TQString& label,
- int completionWeight = 100 );
-
- SubResource( bool active, bool writable, bool alarmRelevant,
- const TQString& label, int completionWeight = 100 );
- virtual ~SubResource();
-
- virtual void setActive( bool active );
- virtual bool active() const;
-
- virtual void setWritable( bool writable );
- virtual bool writable() const;
-
- virtual void setAlarmRelevant( bool active );
- virtual bool alarmRelevant() const;
-
- virtual void setLabel( const TQString& label );
- virtual TQString label() const;
-
- virtual void setCompletionWeight( int completionWeight );
- virtual int completionWeight() const;
-
-private:
- bool mActive; // Controlled by the applications
- bool mWritable; // Set if the KMail folder is writable
- bool mAlarmRelevant; // Set if the alarms from this resource are of
- // interest to the user, as per folder acls
- TQString mLabel; // The GUI name of this resource
-
- // This is just for the abc plugin. But as long as only this is here,
- // it's just as cheap to have it in here as making a d-pointer that
- // subclasses could add to. If more are added, then we should refactor
- // to a d-pointer instead.
- int mCompletionWeight;
-};
-
-typedef TQMap<TQString, SubResource> ResourceMap;
-
-/**
- * This class is used to store a mapping from the XML UID to the KMail
- * serial number of the mail it's stored in and the resource. That provides
- * a quick way to access the storage in KMail.
- */
-class StorageReference {
-public:
- // Just for TQMap
- StorageReference() {}
-
- StorageReference( const TQString& resource, TQ_UINT32 sernum );
- virtual ~StorageReference();
-
- virtual void setResource( const TQString& resource );
- virtual TQString resource() const;
-
- virtual void setSerialNumber( TQ_UINT32 serialNumber );
- virtual TQ_UINT32 serialNumber() const;
-
-private:
- TQString mResource;
- TQ_UINT32 mSerialNumber;
-};
-
-typedef TQMap<TQString, StorageReference> UidMap;
-
-}
-
-#endif // SUBRESOURCE_H
diff --git a/kresources/kolab/uninstall.desktop b/kresources/kolab/uninstall.desktop
deleted file mode 100644
index e1e3e173..00000000
--- a/kresources/kolab/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true
diff --git a/kresources/kolab/upgrade-resourcetype.pl b/kresources/kolab/upgrade-resourcetype.pl
deleted file mode 100644
index 98337a88..00000000
--- a/kresources/kolab/upgrade-resourcetype.pl
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-# This script updates some configuration keys
-
-# read the whole config file
-my $currentGroup = "";
-my %configFile;
-while ( <> ) {
- chomp; # eat the trailing '\n'
- next if ( /^$/ ); # skip empty lines
- next if ( /^\#/ ); # skip comments
- if ( /^\[(.+)\]$/ ) { # group begin
- $currentGroup = $1;
- next;
- } elsif ( $currentGroup =~ /^Resource/ ) {
- my ($key,$value) = split /=/;
- if ( $key eq "ResourceType" and $value eq "kolab" ) {
- print "# DELETE [$currentGroup]$key\n";
- print "[$currentGroup]\nResourceType=imap\n";
- }
- }
-}
diff --git a/kresources/lib/CMakeLists.txt b/kresources/lib/CMakeLists.txt
deleted file mode 100644
index a604c51b..00000000
--- a/kresources/lib/CMakeLists.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### kgroupwarebase (shared) ###################
-
-tde_add_library( kgroupwarebase SHARED AUTOMOC
- SOURCES
- folderlister.cpp folderconfig.cpp folderlistview.cpp folderselectdialog.cpp
- groupwaredataadaptor.cpp groupwaredownloadjob.cpp calendaradaptor.cpp
- addressbookadaptor.cpp groupwareresourcejob.cpp groupwareuploadjob.cpp
- kcal_resourcegroupwarebase.cpp kabc_resourcegroupwarebase.cpp
- kresources_groupwareprefs.kcfgc kcal_resourcegroupwarebaseconfig.cpp
- kabc_resourcegroupwarebaseconfig.cpp kcal_cachesettingsdlg.cpp
- VERSION 0.0.0
- LINK tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kgroupwaredav (shared) ####################
-
-tde_add_library( kgroupwaredav SHARED AUTOMOC
- SOURCES
- davcalendaradaptor.cpp davaddressbookadaptor.cpp webdavhandler.cpp
- davgroupwareglobals.cpp
- VERSION 0.0.0
- LINK kgroupwarebase-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/lib/Makefile.am b/kresources/lib/Makefile.am
deleted file mode 100644
index 37d08bed..00000000
--- a/kresources/lib/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkgroupwarebase.la libkgroupwaredav.la
-
-libkgroupwarebase_la_SOURCES = folderlister.cpp folderconfig.cpp folderlistview.cpp folderselectdialog.cpp \
- groupwaredataadaptor.cpp groupwaredownloadjob.cpp \
- calendaradaptor.cpp addressbookadaptor.cpp groupwareresourcejob.cpp \
- groupwareuploadjob.cpp kcal_resourcegroupwarebase.cpp kabc_resourcegroupwarebase.cpp \
- kresources_groupwareprefs.kcfgc \
- kcal_resourcegroupwarebaseconfig.cpp kabc_resourcegroupwarebaseconfig.cpp \
- kcal_cachesettingsdlg.cpp
-libkgroupwarebase_la_LDFLAGS = $(all_libraries) -no-undefined
-libkgroupwarebase_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-libkgroupwaredav_la_SOURCES = davcalendaradaptor.cpp davaddressbookadaptor.cpp webdavhandler.cpp \
- davgroupwareglobals.cpp
-libkgroupwaredav_la_LDFLAGS = $(all_libraries) -no-undefined
-libkgroupwaredav_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la libkgroupwarebase.la
-
-METASOURCES = AUTO
-
-### We use three (or more) namespaces here in here - KPIM, KABC and KCal.
-### When using multiple "using namespace foo" declarations, namespaced
-### definitions cannot be resolved properly; we could use namespace foo { }
-### instead, but this breaks on TDEConfigXT generated code, which still uses
-### "using namespace" and can't be fixed due to our backwards-compatibility
-### requirements. This is only fatal when doing --enable-final, since only
-### then do all the namespaces get mixed together.
-KDE_OPTIONS = nofinal
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/tdepimresources.pot
-
diff --git a/kresources/lib/TODO b/kresources/lib/TODO
deleted file mode 100644
index 1a1b4cdb..00000000
--- a/kresources/lib/TODO
+++ /dev/null
@@ -1,45 +0,0 @@
-kresources/lib (general):
-===============
--) http result code handling (404, 200, etc.)
--) conflict resolution
--) Error handling in the folder lister (cannot connect to host, timeout, etc.)
--) turn the flat folder list into a folder tree
--) Restore folder subscriptions on folder list refresh
--) If the user cancels, we need to reset the mUploadJob variable to 0 in the
- abook resource.
--) if there's an item in the local cache that cannot be bound on the server and
- in the idMapper, mark it as added and try to upload it on save!
--) reload libkcal resources in korganizer when config changes
--) Use the username / password entered into the config dlg. For some reason
- each ioslave asks again with a password dialog...
--) If upload fails, mark the item as changed/added/deleted again
--) Don't ask immediately for uploading in korganizer, wait at least a
- QTimer::singleShot
--) Better progress bar messages
-
-
-kresources/newexchange:
-=======================
--) handling of errors returned in a valid dav response (Exchange)
--) recurrences on exchange
--) timezone for exchange
--) exdate on exchange
--) notifications from the server (old exchange resource has it!)
--) In Exchange abook: if an address is removed, store the empty string to the
- server to delete the data from the server
--) Journal upload not working
-
-
-kresources/groupdav:
-====================
--) recurrences on ogo
--) uploading abook entries don't work (server doesn't implement it yet)
--) Overview and Calendar have the same items -> downloaded every time (same
- uid, different href, only one of them can be in the local cache -> the other
- one is downloaded and replaces the current item, so on next folder sync the
- first item is downloaded again and replaces the other one...)
-
-
-kresources/blogging:
-====================
--) Upload of blog posts
diff --git a/kresources/lib/addressbookadaptor.cpp b/kresources/lib/addressbookadaptor.cpp
deleted file mode 100644
index 8cc28f67..00000000
--- a/kresources/lib/addressbookadaptor.cpp
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "addressbookadaptor.h"
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-#include <libtdepim/kabcresourcecached.h>
-#include <kio/job.h>
-
-
-using namespace KABC;
-
-
-AddressBookUploadItem::AddressBookUploadItem(
- KPIM::GroupwareDataAdaptor *adaptor,
- KABC::Addressee addr,
- GroupwareUploadItem::UploadType type )
- : GroupwareUploadItem( type )
-{
- mItemType = KPIM::FolderLister::Contact;
- setUrl( addr.custom( adaptor->identifier(), "storagelocation" ) );
- setUid( addr.uid() );
- KABC::VCardConverter vcard;
-#if defined(KABC_VCARD_ENCODING_FIX)
- setData( vcard.createVCardRaw( addr ) );
-#else
- setData( vcard.createVCard( addr ) );
-#endif
-}
-
-
-
-AddressBookAdaptor::AddressBookAdaptor()
-{
-}
-
-TQString AddressBookAdaptor::mimeType() const
-{
- return "text/x-vcard";
-}
-
-bool AddressBookAdaptor::localItemExists( const TQString &localId )
-{
- KABC::Addressee a = mResource->findByUid( localId );
- return !a.isEmpty();
-}
-
-bool AddressBookAdaptor::localItemHasChanged( const TQString &localId )
-{
- KABC::Addressee::List addressees = mResource->deletedAddressees();
- KABC::Addressee::List::ConstIterator it;
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- if ( (*it).uid() == localId ) return true;
- }
-
- addressees = mResource->changedAddressees();
- for( it = addressees.begin(); it != addressees.end(); ++it ) {
- if ( (*it).uid() == localId ) return true;
- }
-
- return false;
-}
-
-
-void AddressBookAdaptor::deleteItem( const TQString &localId )
-{
- KABC::Addressee a = mResource->findByUid( localId );
- if ( !a.isEmpty() ) {
- mResource->removeAddressee( a );
- mResource->clearChange( a.uid() );
- }
-}
-
-void AddressBookAdaptor::addItem( KABC::Addressee addr )
-{
- if ( !addr.isEmpty() ) {
- addr.setResource( mResource );
- mResource->insertAddressee( addr );
- clearChange( addr.uid() );
- }
-}
-
-void AddressBookAdaptor::addressbookItemDownloaded( KABC::Addressee addr,
- const TQString &newLocalId, const KURL &remoteId, const TQString &fingerprint,
- const TQString &storagelocation )
-{
- // remove the currently existing item from the cache
- deleteItem( newLocalId );
- TQString localId = idMapper()->localId( remoteId.path() );
- if ( !localId.isEmpty() ) deleteItem( localId );
-
- // add the new item
- addr.insertCustom( identifier(), "storagelocation", storagelocation );
- if ( !localId.isEmpty() ) addr.setUid( localId );
- addItem( addr );
-
- // update the fingerprint and the ids in the idMapper
- idMapper()->removeRemoteId( localId );
- idMapper()->removeRemoteId( newLocalId );
- emit itemDownloaded( addr.uid(), remoteId, fingerprint );
-}
-
-
-void AddressBookAdaptor::clearChange( const TQString &uid )
-{
- mResource->clearChange( uid );
-}
-
-KPIM::GroupwareUploadItem *AddressBookAdaptor::newUploadItem(
- KABC::Addressee addr, KPIM::GroupwareUploadItem::UploadType type )
-{
- return new AddressBookUploadItem( this, addr, type );
-}
diff --git a/kresources/lib/addressbookadaptor.h b/kresources/lib/addressbookadaptor.h
deleted file mode 100644
index b029ff60..00000000
--- a/kresources/lib/addressbookadaptor.h
+++ /dev/null
@@ -1,92 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_ADDRESSBOOKADAPTOR_H
-#define KABC_ADDRESSBOOKADAPTOR_H
-
-#include "groupwaredataadaptor.h"
-
-#include <kabc/addressee.h>
-#include <tdepimmacros.h>
-#include <kurl.h>
-
-namespace KABC {
-class ResourceCached;
-
-class AddressBookUploadItem : public KPIM::GroupwareUploadItem
-{
- public:
- AddressBookUploadItem( KPIM::GroupwareDataAdaptor *adaptor,
- KABC::Addressee addr, UploadType type );
- virtual ~AddressBookUploadItem() {}
- protected:
- AddressBookUploadItem( UploadType type )
- : KPIM::GroupwareUploadItem( type ) {}
-};
-
-class KDE_EXPORT AddressBookAdaptor : public KPIM::GroupwareDataAdaptor
-{
- public:
- AddressBookAdaptor();
-
- TQValueList<KPIM::FolderLister::ContentType> supportedTypes()
- {
- TQValueList<KPIM::FolderLister::ContentType> types;
- types << KPIM::FolderLister::Contact;
- return types;
- }
-
- /**
- Set resource.
- */
- void setResource( KABC::ResourceCached *v )
- {
- mResource = v;
- }
- /**
- Get resource. See setResource().
- */
- KABC::ResourceCached *resource() const
- {
- return mResource;
- }
-
- TQString mimeType() const;
- bool localItemExists( const TQString &localId );
- bool localItemHasChanged( const TQString &localId );
- void deleteItem( const TQString &localId );
- void addItem( KABC::Addressee addr );
- void clearChange( const TQString &uid );
-
- virtual KPIM::GroupwareUploadItem *newUploadItem( KABC::Addressee addr,
- KPIM::GroupwareUploadItem::UploadType type );
- virtual void addressbookItemDownloaded( KABC::Addressee addr,
- const TQString &newLocalId, const KURL &remoteId,
- const TQString &fingerprint, const TQString &storagelocation );
-
- private:
- KABC::ResourceCached *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/calendaradaptor.cpp b/kresources/lib/calendaradaptor.cpp
deleted file mode 100644
index f2e255f0..00000000
--- a/kresources/lib/calendaradaptor.cpp
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "calendaradaptor.h"
-
-#include <libkcal/incidence.h>
-#include <libkcal/calendar.h>
-#include <libkcal/resourcecached.h>
-#include <libkcal/icalformat.h>
-
-#include <kio/job.h>
-
-#include <kdebug.h>
-
-using namespace KCal;
-
-
-CalendarUploadItem::CalendarUploadItem( CalendarAdaptor *adaptor, KCal::Incidence *incidence, KPIM::GroupwareUploadItem::UploadType type )
- : GroupwareUploadItem( type )
-{
- if ( incidence && adaptor ) {
- if ( incidence->type() == "Event" ) mItemType = KPIM::FolderLister::Event;
- else if ( incidence->type() == "Todo" ) mItemType = KPIM::FolderLister::Todo;
- else if ( incidence->type() == "Journal" ) mItemType = KPIM::FolderLister::Journal;
-
- setUrl( incidence->customProperty( adaptor->identifier(), "storagelocation" ) );
- setUid( incidence->uid() );
-
- ICalFormat format;
- format.setTimeZone( adaptor->resource()->timeZoneId(), true );
- setData( format.toICalString( incidence ) );
- }
-}
-
-
-
-CalendarAdaptor::CalendarAdaptor()
-{
-}
-
-TQString CalendarAdaptor::mimeType() const
-{
- return "text/calendar";
-}
-
-bool CalendarAdaptor::localItemExists( const TQString &localId )
-{
- KCal::Incidence *i = mResource->incidence( localId );
- return i;
-}
-
-bool CalendarAdaptor::localItemHasChanged( const TQString &localId )
-{
- KCal::Incidence *i = mResource->incidence( localId );
- if ( !i ) return false;
-
- if ( !mResource->deletedIncidences().isEmpty() &&
- mResource->deletedIncidences().find( i )
- != mResource->deletedIncidences().end() )
- return true;
- if ( !mResource->changedIncidences().isEmpty() &&
- mResource->changedIncidences().find( i )
- != mResource->changedIncidences().end() )
- return true;
-
- return false;
-}
-
-void CalendarAdaptor::deleteItem( const TQString &localId )
-{
- mResource->disableChangeNotification();
- KCal::Incidence *i = mResource->incidence( localId );
- if ( i ) {
- mResource->deleteIncidence( i );
- mResource->clearChange( i );
- }
- mResource->enableChangeNotification();
-}
-
-void CalendarAdaptor::addItem( KCal::Incidence *i)
-{
- if ( i ) {
- mResource->disableChangeNotification();
- Incidence *existing = mResource->incidence( i->uid() );
- if ( existing ) {
- mResource->deleteIncidence( i );
- }
- mResource->addIncidence( i );
- mResource->clearChange( i );
- mResource->enableChangeNotification();
- }
-}
-
-
-void CalendarAdaptor::calendarItemDownloaded( KCal::Incidence *inc,
- const TQString &newLocalId, const KURL &remoteId, const TQString &fingerprint,
- const TQString &storagelocation )
-{
-kdDebug() << "CalendarAdaptor::calendarItemDownloaded, inc=" << inc->summary() << ", local=" << newLocalId << ", remote=" << remoteId.url() << ", fpr=" << fingerprint << ", storagelocation="<< storagelocation << endl;
- // remove the currently existing item from the cache
- deleteItem( newLocalId );
- TQString localId = idMapper()->localId( remoteId.path() );
- if ( !localId.isEmpty() ) deleteItem( localId );
-
- // add the new item
- inc->setCustomProperty( identifier(), "storagelocation", storagelocation );
- if ( !localId.isEmpty() ) inc->setUid( localId );
- addItem( inc );
-
- // update the fingerprint and the ids in the idMapper
- idMapper()->removeRemoteId( localId );
- idMapper()->removeRemoteId( newLocalId );
-
- emit itemDownloaded( inc->uid(), remoteId, fingerprint );
-}
-
-
-void CalendarAdaptor::clearChange( const TQString &uid )
-{
- KCal::Incidence *i = mResource->incidence( uid );
- mResource->clearChange( i );
-}
-
-KPIM::GroupwareUploadItem *CalendarAdaptor::newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type )
-{
- return new CalendarUploadItem( this, it, type );
-}
-
-#include "calendaradaptor.moc"
diff --git a/kresources/lib/calendaradaptor.h b/kresources/lib/calendaradaptor.h
deleted file mode 100644
index 354a2795..00000000
--- a/kresources/lib/calendaradaptor.h
+++ /dev/null
@@ -1,110 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_CALENDARADAPTOR_H
-#define KCAL_CALENDARADAPTOR_H
-
-#include "groupwaredataadaptor.h"
-
-
-#include <libkcal/incidence.h>
-#include <tdepimmacros.h>
-#include <kurl.h>
-
-namespace KPIM {
-class GroupwareUploadItem;
-}
-
-namespace KCal {
-class ResourceCached;
-class CalendarAdaptor;
-
-class CalendarUploadItem : public KPIM::GroupwareUploadItem
-{
- public:
- CalendarUploadItem( CalendarAdaptor *adaptor, KCal::Incidence *incidence, UploadType type );
- virtual ~CalendarUploadItem() {}
-
- protected:
- CalendarUploadItem( UploadType type ) : KPIM::GroupwareUploadItem( type ) {}
-};
-
-
-class KDE_EXPORT CalendarAdaptor : public KPIM::GroupwareDataAdaptor
-{
- Q_OBJECT
-
- public:
- CalendarAdaptor();
-
- TQValueList<KPIM::FolderLister::ContentType> supportedTypes()
- {
- TQValueList<KPIM::FolderLister::ContentType> types;
- types << KPIM::FolderLister::Event;
- types << KPIM::FolderLister::Todo;
- types << KPIM::FolderLister::Journal;
- return types;
- }
-
- /**
- Set resource.
- */
- void setResource( KCal::ResourceCached *v )
- {
- mResource = v;
- }
- /**
- Get resource. See setResource().
- */
- KCal::ResourceCached *resource() const
- {
- return mResource;
- }
-
- virtual TQString mimeType() const;
- bool localItemExists( const TQString &localId );
- bool localItemHasChanged( const TQString &localId );
- void deleteItem( const TQString &localId );
- void clearChange( const TQString &uid );
-
- virtual KPIM::GroupwareUploadItem *newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type );
-
- public slots:
- /** newLocalId is the new id that was (randomly) assigned to the item */
- virtual void calendarItemDownloaded( KCal::Incidence *inc,
- const TQString &newLocalId, const KURL &remoteId,
- const TQString &fingerprint, const TQString &storagelocation );
-
- protected:
- void addItem( KCal::Incidence *i );
- private:
- KCal::ResourceCached *mResource;
-
- TQStringList mAddedItems;
- TQStringList mChangedItems;
- TQStringList mDeletedItems;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/davaddressbookadaptor.cpp b/kresources/lib/davaddressbookadaptor.cpp
deleted file mode 100644
index 5b4a0a52..00000000
--- a/kresources/lib/davaddressbookadaptor.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "davaddressbookadaptor.h"
-// #include "ogoglobals.h"
-// #include "davgroupwareglobals.h"
-// #include "webdavhandler.h"
-
-// #include <kabc/addressee.h>
-// #include <kabc/vcardconverter.h>
-// #include <kabcresourcecached.h>
-
-#include <kio/davjob.h>
-// #include <kio/job.h>
-#include <kdebug.h>
-
-using namespace KABC;
-
-void DavAddressBookAdaptor::interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister */*folderLister*/ )
-{
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>( job );
- Q_ASSERT( davjob );
- if ( !davjob ) return;
-
- TQDomDocument doc = davjob->response();
- kdDebug(7000) << " Doc: " << doc.toString() << endl;
-
- TQDomElement docElement = doc.documentElement();
- TQDomNode n;
- for( n = docElement.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomNode n2 = n.namedItem( "propstat" );
- TQDomNode n3 = n2.namedItem( "prop" );
-
- KURL href( n.namedItem( "href" ).toElement().text() );
- TQString displayName = n3.namedItem( "displayname" ).toElement().text();
- KPIM::FolderLister::ContentType type = getContentType( n3 );
-
- emit folderInfoRetrieved( href, displayName, type );
- emit folderSubitemRetrieved( href, getFolderHasSubs( n3 ) );
- }
-}
diff --git a/kresources/lib/davaddressbookadaptor.h b/kresources/lib/davaddressbookadaptor.h
deleted file mode 100644
index f0f6f39d..00000000
--- a/kresources/lib/davaddressbookadaptor.h
+++ /dev/null
@@ -1,52 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_DAVADDRESSBOOKADAPTOR_H
-#define KCAL_DAVADDRESSBOOKADAPTOR_H
-
-#include "addressbookadaptor.h"
-#include "folderlister.h"
-#include <tqdom.h>
-#include <tdepimmacros.h>
-
-namespace KABC {
-
-class KDE_EXPORT DavAddressBookAdaptor : public AddressBookAdaptor
-{
- public:
- DavAddressBookAdaptor() {}
-
- /** Interprets the results returned by the liste job (created by
- createListFoldersJob(url) ). Typically, this adds an Entry to the mFolders list if
- the job describes a folder of the appropriate type, by emitting
- folderInfoRetrieved( href, displayName, type ). If the folder has
- subfolders, just emit retrieveSubfolder( href ) for each of them. */
- virtual void interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister *folderLister );
- /** Returns the type of folder retrieved in the dom node. Typically, you'll
- compare the DAV:resourcetype property with some values. */
- virtual KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode ) = 0;
- /** Extract from the dav response whether the folder has subitems that need
- to be examined */
- virtual bool getFolderHasSubs( const TQDomNode &folderNode ) = 0;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/davcalendaradaptor.cpp b/kresources/lib/davcalendaradaptor.cpp
deleted file mode 100644
index 5d6be2da..00000000
--- a/kresources/lib/davcalendaradaptor.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "davcalendaradaptor.h"
-
-#include <kdebug.h>
-#include <kio/davjob.h>
-// #include <folderlister.h>
-
-// #include <tqdom.h>
-
-using namespace KCal;
-
-// TODO: This is exactly the same code as for the DavAddressBookAdaptor::interpretListFoldersJob!
-// But as this emits a signal, it needs to be located inside a TQObject
-void DavCalendarAdaptor::interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister */*folderLister*/ )
-{
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>( job );
- Q_ASSERT( davjob );
- if ( !davjob ) return;
-
- TQDomDocument doc = davjob->response();
- kdDebug(7000) << " Doc: " << doc.toString() << endl;
-
- TQDomElement docElement = doc.documentElement();
- TQDomNode n;
- for( n = docElement.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomNode n2 = n.namedItem( "propstat" );
- TQDomNode n3 = n2.namedItem( "prop" );
-
- KURL href( n.namedItem( "href" ).toElement().text() );
- TQString displayName = n3.namedItem( "displayname" ).toElement().text();
- KPIM::FolderLister::ContentType type = getContentType( n3 );
-
- emit folderInfoRetrieved( href, displayName, type );
- emit folderSubitemRetrieved( href, getFolderHasSubs( n3 ) );
- }
-}
diff --git a/kresources/lib/davcalendaradaptor.h b/kresources/lib/davcalendaradaptor.h
deleted file mode 100644
index 998a9cc7..00000000
--- a/kresources/lib/davcalendaradaptor.h
+++ /dev/null
@@ -1,52 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_DAVCALENDARADAPTOR_H
-#define KCAL_DAVCALENDARADAPTOR_H
-
-#include "calendaradaptor.h"
-#include "folderlister.h"
-#include <tqdom.h>
-#include <tdepimmacros.h>
-
-namespace KCal {
-
-class KDE_EXPORT DavCalendarAdaptor : public CalendarAdaptor
-{
- public:
- DavCalendarAdaptor() {}
-
- /** Interprets the results returned by the liste job (created by
- createListFoldersJob(url) ). Typically, this adds an Entry to the mFolders list if
- the job describes a folder of the appropriate type, by emitting
- folderInfoRetrieved( href, displayName, type ). If the folder has
- subfolders, just emit retrieveSubfolder( href ) for each of them. */
- virtual void interpretListFoldersJob( TDEIO::Job *job, KPIM::FolderLister *folderLister );
- /** Returns the type of folder retrieved in the dom node. Typically, you'll
- compare the DAV:resourcetype property with some values. */
- virtual KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode ) = 0;
- /** Extract from the dav response whether the folder has subitems that need
- to be examined */
- virtual bool getFolderHasSubs( const TQDomNode &folderNode ) = 0;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/davgroupwareglobals.cpp b/kresources/lib/davgroupwareglobals.cpp
deleted file mode 100644
index 5d9a3720..00000000
--- a/kresources/lib/davgroupwareglobals.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004-2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "davgroupwareglobals.h"
diff --git a/kresources/lib/davgroupwareglobals.h b/kresources/lib/davgroupwareglobals.h
deleted file mode 100644
index 67eb2280..00000000
--- a/kresources/lib/davgroupwareglobals.h
+++ /dev/null
@@ -1,30 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004-2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef DAVGROUPWAREGLOBALS_H
-#define DAVGROUPWAREGLOBALS_H
-
-class DAVGroupwareGlobals
-{
- public:
- DAVGroupwareGlobals() {}
-};
-
-#endif
diff --git a/kresources/lib/folderconfig.cpp b/kresources/lib/folderconfig.cpp
deleted file mode 100644
index 20fa6fa1..00000000
--- a/kresources/lib/folderconfig.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "folderconfig.h"
-
-#include "folderlister.h"
-#include "groupwaredataadaptor.h"
-#include "folderlistview.h"
-
-#include <klistview.h>
-#include <klocale.h>
-#include <kdebug.h>
-#include <kdialog.h>
-
-#include <tqlayout.h>
-#include <tqgroupbox.h>
-#include <tqpushbutton.h>
-#include <tqcombobox.h>
-#include <tqhbox.h>
-#include <tqlabel.h>
-
-using namespace KPIM;
-
-FolderConfig::FolderConfig( TQWidget *parent )
- : TQWidget( parent ), mFolderLister( 0 )
-{
- TQBoxLayout *topLayout = new TQVBoxLayout( this );
- topLayout->addSpacing( KDialog::spacingHint() );
-
- TQGroupBox *topBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Folder Selection"),
- this );
- topLayout->addWidget( topBox );
-
- TQPushButton *button = new TQPushButton( i18n("Update Folder List"), topBox );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( updateFoldersClicked() ) );
-
- mFolderList = new FolderListView( topBox );
-
-/* TQHBox *writeBox = new TQHBox( topBox );
-
- new TQLabel( i18n("Write to:"), writeBox );
-
- mWriteCombo = new TQComboBox( writeBox );*/
-}
-
-FolderConfig::~FolderConfig()
-{
-}
-
-void FolderConfig::setFolderLister( FolderLister *f )
-{
- mFolderLister = f;
-
- TQValueList<FolderListView::Property> types;
- TQValueList<FolderLister::ContentType> suptypes( mFolderLister->supportedTypes() );
- if ( suptypes.contains( FolderLister::Event ) ) types << FolderListView::Event;
- if ( suptypes.contains( FolderLister::Todo ) ) types << FolderListView::Todo;
- if ( suptypes.contains( FolderLister::Journal ) ) types << FolderListView::Journal;
- if ( suptypes.contains( FolderLister::Contact ) ) types << FolderListView::Contact;
- if ( suptypes.contains( FolderLister::All ) ) types << FolderListView::All;
- if ( suptypes.contains( FolderLister::Unknown ) ) types << FolderListView::Unknown;
-
- mFolderList->setEnabledTypes( types );
- connect( mFolderLister, TQT_SIGNAL( foldersRead() ), TQT_SLOT( updateFolderList() ) );
-}
-
-void FolderConfig::retrieveFolderList( const KURL &url )
-{
- kdDebug(7000) << "FolderConfig::retrieveFolderList()" << endl;
- if ( !mOldFolderListerURL.isEmpty() ) return;
-
- if ( mFolderLister->adaptor() ) {
- mOldFolderListerURL = mFolderLister->adaptor()->baseURL();
- mFolderLister->adaptor()->setBaseURL( url );
- }
- mFolderLister->retrieveFolders( url );
-}
-
-void FolderConfig::updateFolderList()
-{
- mFolderList->clear();
-
- TQStringList write;
-
- if ( !mOldFolderListerURL.isEmpty() && mFolderLister->adaptor() ) {
- mFolderLister->adaptor()->setBaseURL( mOldFolderListerURL );
- mOldFolderListerURL = KURL();
- }
-
- FolderLister::Entry::List folders = mFolderLister->folders();
- FolderLister::Entry::List::ConstIterator it;
- for( it = folders.begin(); it != folders.end(); ++it ) {
- FolderListItem *item = new FolderListItem( mFolderList, (*it) );
- if ( mFolderLister->writeDestinationId( FolderLister::Event ) == (*it).id ) {
- item->setDefault( FolderListView::Event );
- }
- if ( mFolderLister->writeDestinationId( FolderLister::Todo ) == (*it).id ) {
- item->setDefault( FolderListView::Todo );
- }
- if ( mFolderLister->writeDestinationId( FolderLister::Journal ) == (*it).id ) {
- item->setDefault( FolderListView::Journal );
- }
- if ( mFolderLister->writeDestinationId( FolderLister::Contact ) == (*it).id ) {
- item->setDefault( FolderListView::Contact );
- }
- if ( mFolderLister->writeDestinationId( FolderLister::All ) == (*it).id ) {
- item->setDefault( FolderListView::All );
- }
- if ( mFolderLister->writeDestinationId( FolderLister::Unknown ) == (*it).id ) {
- item->setDefault( FolderListView::Unknown );
- }
- }
-}
-
-void FolderConfig::saveSettings()
-{
- TQPtrList<TQListViewItem> lst;
-
- FolderLister::Entry::List folders;
-
- TQListViewItemIterator it( mFolderList );
- while ( it.current() ) {
- FolderListItem *item = dynamic_cast<FolderListItem *>( it.current() );
- if ( item ) {
- FolderLister::Entry folder = item->folder();
- folder.active = item->isOn();
- folders.append( folder );
- if ( item->isDefault( FolderListView::Event ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::Event, folder.id );
- }
- if ( item->isDefault( FolderListView::Todo ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::Todo, folder.id );
- }
- if ( item->isDefault( FolderListView::Journal ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::Journal, folder.id );
- }
- if ( item->isDefault( FolderListView::Contact ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::Contact, folder.id );
- }
- if ( item->isDefault( FolderListView::All ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::All, folder.id );
- }
- if ( item->isDefault( FolderListView::Unknown ) ) {
- mFolderLister->setWriteDestinationId( FolderLister::Unknown, folder.id );
- }
- }
- ++it;
- }
-
- mFolderLister->setFolders( folders );
-}
-
-#include "folderconfig.moc"
diff --git a/kresources/lib/folderconfig.h b/kresources/lib/folderconfig.h
deleted file mode 100644
index 36a8d31a..00000000
--- a/kresources/lib/folderconfig.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_FOLDERCONFIG_H
-#define KPIM_FOLDERCONFIG_H
-
-#include <kurl.h>
-#include <tdepimmacros.h>
-#include <tqwidget.h>
-
-// class KListView;
-class TQComboBox;
-class FolderListView;
-
-namespace KPIM {
-
-class FolderLister;
-
-class KDE_EXPORT FolderConfig : public TQWidget
-{
- Q_OBJECT
-
- public:
- FolderConfig( TQWidget *parent );
- ~FolderConfig();
-
- void setFolderLister( FolderLister * );
-
- void saveSettings();
-
- public slots:
- void updateFolderList();
- void retrieveFolderList( const KURL & );
-
- signals:
- void updateFoldersClicked();
-
- private:
- FolderListView *mFolderList;
-
- FolderLister *mFolderLister;
- KURL mOldFolderListerURL;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/folderlister.cpp b/kresources/lib/folderlister.cpp
deleted file mode 100644
index eb91243b..00000000
--- a/kresources/lib/folderlister.cpp
+++ /dev/null
@@ -1,372 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "folderlister.h"
-#include "groupwaredataadaptor.h"
-#include "kresources_groupwareprefs.h"
-
-#include <kio/job.h>
-
-#include <kdebug.h>
-#include <kconfig.h>
-#include <tqstringlist.h>
-
-using namespace KPIM;
-
-FolderLister::FolderLister( Type type )
- : mType( type ), mAdaptor( 0 )
-{
-}
-
-void FolderLister::setFolders( const FolderLister::Entry::List &folders )
-{
- mFolders = folders;
-}
-
-void FolderLister::setWriteDestinationId( KPIM::FolderLister::ContentType type, const TQString &id )
-{
- mWriteDestinationId[ type ] = id;
-}
-
-TQString FolderLister::writeDestinationId( KPIM::FolderLister::ContentType type ) const
-{
- if ( mWriteDestinationId.contains( type ) ) {
- return mWriteDestinationId[type];
- } else if ( mWriteDestinationId.contains( KPIM::FolderLister::All ) ) {
- return mWriteDestinationId[ KPIM::FolderLister::All ];
- } else if ( mWriteDestinationId.contains( KPIM::FolderLister::Unknown ) ) {
- return mWriteDestinationId[ KPIM::FolderLister::Unknown ];
- } else return TQString();
-}
-
-
-KURL::List FolderLister::activeFolderIds() const
-{
- KURL::List ids;
-
- FolderLister::Entry::List::ConstIterator it;
- for( it = mFolders.begin(); it != mFolders.end(); ++it ) {
- if ( (*it).active ) {
- ids.append( KURL((*it).id) );
- }
- }
-
- return ids;
-}
-
-bool FolderLister::isActive( const TQString &id ) const
-{
- FolderLister::Entry::List::ConstIterator it;
- for( it = mFolders.begin(); it != mFolders.end(); ++it ) {
- if ( (*it).id == id ) return (*it).active;
- }
- return false;
-}
-
-TQStringList FolderLister::contentTypeToStrings( ContentType type )
-{
-kdDebug() << "FolderLister::contentTypeToStrings( type=" << type << ")" << endl;
- TQStringList cont;
- if ( type == All ) {
- cont << "All";
- } else if ( type == Unknown ) {
- cont << "Unknown";
- } else {
- if ( type & Contact ) cont << "Contact";
- if ( type & Event ) cont << "Event";
- if ( type & Todo ) cont << "Todo";
- if ( type & Journal ) cont << "Journal";
- if ( type & Message ) cont << "Message";
- if ( type & Memo ) cont << "Memo";
- if ( type & Folder ) cont << "Folder";
- }
- return cont;
-}
-
-FolderLister::ContentType FolderLister::contentTypeFromString( const TQString &type )
-{
- if ( type == "All" ) return All;
- if ( type == "Contact" ) return Contact;
- if ( type == "Event" ) return Event;
- if ( type == "Todo" ) return Todo;
- if ( type == "Journal" ) return Journal;
- if ( type == "Message" ) return Message;
- if ( type == "Memo" ) return Memo;
- if ( type == "Folder" ) return Folder;
- return Unknown;
-}
-
-TQValueList<FolderLister::ContentType> FolderLister::supportedTypes()
-{
- if ( adaptor() ) {
- return adaptor()->supportedTypes();
- } else {
- return TQValueList<ContentType>();
- }
-}
-
-
-
-void FolderLister::readConfig( KPIM::GroupwarePrefsBase *newprefs )
-{
- kdDebug(7000) << "FolderLister::readConfig()" << endl;
- mFolders.clear();
-
- TQStringList active = newprefs->activeFolders();
- int nr = newprefs->folderNumber();
-
- for ( int i=0; i<nr; ++i ) {
- TQStringList l( newprefs->folder( i ) );
-// TQStringList l( cfgg.readListEntry( TQString("Folder%1").arg( i ) ) );
- Entry e;
- if ( l.count()>0 ) {
- e.id = l.first();
- l.pop_front();
- }
- if ( l.count()>1 ) {
- e.name = l.first();
- l.pop_front();
- }
- e.type = Unknown;
- for ( TQStringList::Iterator it = l.begin(); it != l.end(); ++it ) {
- e.type = (FolderLister::ContentType)( e.type | contentTypeFromString( *it ) );
- }
- if ( active.find( e.id ) != active.end() ) e.active = true;
- mFolders.append( e );
- }
-
- TQStringList destinations( newprefs->defaultDestinations() );
-
- #define readDestination(type) \
- if ( destinations.count()>0 ) { \
- mWriteDestinationId[ type ] = destinations.first(); \
- destinations.pop_front(); \
- }
- readDestination( FolderLister::Event );
- readDestination( FolderLister::Todo );
- readDestination( FolderLister::Journal );
- readDestination( FolderLister::Contact );
- readDestination( FolderLister::All );
- readDestination( FolderLister::Unknown );
- #undef readDestination
-}
-
-void FolderLister::writeConfig( GroupwarePrefsBase *newprefs )
-{
- TQStringList ids;
- TQStringList names;
- TQStringList active;
-
-// TDEConfigGroup cfgg( newprefs->config(), "Folders" );
- int nr = 0;
- Entry::List::ConstIterator it;
- for( it = mFolders.begin(); it != mFolders.end(); ++it ) {
- TQStringList lst;
- lst << (*it).id;
- lst << (*it).name;
- lst += contentTypeToStrings( (*it).type );
- newprefs->setFolder( nr, lst );
-// cfgg.writeEntry( TQString("Folder%1").arg( nr ), lst );
- if ( (*it).active ) active.append( (*it).id );
- nr++;
- }
- newprefs->setFolderNumber( nr );
-
- newprefs->setActiveFolders( active );
-
- TQStringList defaultFolders;
- #define writeDestination(type) \
- if ( mWriteDestinationId.contains( type ) ) \
- defaultFolders << mWriteDestinationId[type]; \
- else defaultFolders << TQString();
- writeDestination( KPIM::FolderLister::Event );
- writeDestination( KPIM::FolderLister::Todo );
- writeDestination( KPIM::FolderLister::Journal );
- writeDestination( KPIM::FolderLister::Contact );
- writeDestination( KPIM::FolderLister::All );
- writeDestination( KPIM::FolderLister::Unknown );
- #undef writeDestination
-
- newprefs->setDefaultDestinations( defaultFolders );
-}
-
-void FolderLister::setAdaptor( KPIM::GroupwareDataAdaptor *adaptor )
-{
- if ( mAdaptor ) {
- disconnect( mAdaptor, 0, this, 0 );
- }
- mAdaptor = adaptor;
- connect( mAdaptor, TQT_SIGNAL( folderInfoRetrieved( const KURL &,
- const TQString &, KPIM::FolderLister::ContentType ) ),
- this, TQT_SLOT( processFolderResult( const KURL &, const TQString &,
- KPIM::FolderLister::ContentType ) ) );
- connect( mAdaptor, TQT_SIGNAL( folderSubitemRetrieved( const KURL &, bool ) ),
- this, TQT_SLOT( folderSubitemRetrieved( const KURL &, bool ) ) );
-}
-
-void FolderLister::folderSubitemRetrieved( const KURL &url, bool isFolder )
-{
- if ( isFolder )
- doRetrieveFolder( url );
- else {
- KURL u( url ) ;
- u.setUser( TQString() );
- u.setPass( TQString() );
- mProcessedPathes.append( url.path(-1) );
- }
-}
-
-void FolderLister::retrieveFolders( const KURL &u )
-{
-kdDebug()<<"FolderLister::retrieveFolders( "<<u.url()<<" )"<<endl;
- mUrls.clear();
- mProcessedPathes.clear();
- bool firstRetrieve = mFolders.isEmpty();
- mFolders = defaultFolders();
- Entry::List::Iterator it = mFolders.begin();
-
- for ( ; it != mFolders.end(); ++it ) {
- if ( firstRetrieve ) {
- (*it).active = true;
- } else {
- (*it).active = isActive( (*it).id );
- }
- }
-
- doRetrieveFolder( u );
-}
-
-void FolderLister::doRetrieveFolder( const KURL &u )
-{
- kdDebug(7000) << "FolderLister::doRetrieveFolder: " << u.prettyURL() << endl;
-
- KURL url( u );
- if ( adaptor() ) adaptor()->adaptDownloadUrl( url );
- if ( mUrls.contains( url ) || mProcessedPathes.contains( url.path(-1) ) ) {
- kdDebug()<<"Item "<<u.path(-1)<<" is already being downloaded "<<endl;
- } else {
-
- TDEIO::Job *listjob = createListFoldersJob( url );
- if ( listjob ) {
- mUrls.append( url );
-
- kdDebug(7000) << "FolderLister::retrieveFolders: adjustedURL="
- << url.prettyURL() << endl;
- connect( listjob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotListJobResult( TDEIO::Job * ) ) );
- } else {
- // TODO: Indicate a problem to the user!
- kdWarning() << "Unable to create the folder list job for the url "
- << url.prettyURL() << endl;
- }
- }
- if ( mUrls.isEmpty() ) {
- kdDebug()<<"No more URLS to download, emitting foldersRead()"<<endl;
- emit foldersRead();
- }
-}
-
-FolderLister::Entry::List FolderLister::defaultFolders()
-{
- if ( adaptor() ) {
- return adaptor()->defaultFolders();
- } else {
- return Entry::List();
- }
-}
-
-void FolderLister::processFolderResult( const KURL &href,
- const TQString &displayName,
- ContentType type )
-{
-kdDebug() << "FolderLister::processFolderResult( href=" << href.url() << ", displayName=" << displayName << ", type=" << int(type) << endl;
- if ( ( mType == Calendar && ( type & ( Event | Todo |Journal) ) ) ||
- ( mType == AddressBook && (type & Contact ) ) ) {
-
- if ( !href.isEmpty() && !displayName.isEmpty() ) {
- Entry entry;
- entry.id = href.url();
- entry.name = displayName;
- entry.type = type;
- entry.active = isActive( entry.id );
-
- mFolders.append( entry );
- }
- kdDebug(7000) << "FOLDER: " << displayName << endl;
-kdDebug()<<"mFolders.size="<<mFolders.size()<<endl;
- } else {
-kdDebug() << "Folder "<< href << " is not of correct type ("<<type<<")"<<endl;
- }
-}
-
-void FolderLister::slotListJobResult( TDEIO::Job *job )
-{
- kdDebug(7000) << "OpenGroupware::slotListJobResult(): " << endl;
- kdDebug() << "URLS (" << mUrls.count() << "): " << mUrls.toStringList().join(" | ") << endl;
- kdDebug() << "Processed URLS (" << mProcessedPathes.count() << "): "
- << mProcessedPathes.join(" | ") << endl;
- TDEIO::SimpleJob *j = dynamic_cast<TDEIO::SimpleJob*>(job);
- if ( j ) {
- mUrls.remove( j->url() );
- mProcessedPathes.append( j->url().path(-1) );
- }
-
- if ( job->error() ) {
- kdError() << "Unable to retrieve folders." << endl;
- } else {
- interpretListFoldersJob( job );
- }
- kdDebug() << "After URLS (" << mUrls.count() << "): "
- << mUrls.toStringList().join(" | ") << endl;
- kdDebug() << "After Processed URLS (" << mProcessedPathes.count() << "): "
- << mProcessedPathes.join(" | ") << endl;
- if ( mUrls.isEmpty() ) {
- kdDebug()<<"No more URLS to download, emitting foldersRead()"<<endl;
- emit foldersRead();
- }
-}
-
-void FolderLister::interpretListFoldersJob( TDEIO::Job *job )
-{
- if ( adaptor() ) {
- adaptor()->interpretListFoldersJob( job, this );
- } else {
- // TODO: Error handling should show a message to the user!
- kdError() << "The FolderLister does not have a GroupwareDataAdaptor, so "
- "it cannot interpret the response!" << endl;
- }
-}
-
-TDEIO::Job *FolderLister::createListFoldersJob( const KURL &url )
-{
- if ( adaptor() ) {
- return adaptor()->createListFoldersJob( url );
- } else {
- // TODO: Error handling should show a message to the user!
- kdError() << "The FolderLister does not have a GroupwareDataAdaptor, so "
- "it cannot create the job for the folder list!" << endl;
- return 0;
- }
-}
-
-#include "folderlister.moc"
diff --git a/kresources/lib/folderlister.h b/kresources/lib/folderlister.h
deleted file mode 100644
index 8248ec22..00000000
--- a/kresources/lib/folderlister.h
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_FOLDERLISTER_H
-#define KPIM_FOLDERLISTER_H
-
-// #include "kresources_groupwareprefs.h"
-/*#include "groupwareresourcejob.h"*/
-#include <kurl.h>
-#include <tdepimmacros.h>
-
-#include <tqvaluelist.h>
-#include <tqstring.h>
-#include <tqstringlist.h>
-#include <tqobject.h>
-
-namespace TDEIO {
-class Job;
-}
-
-class TDEConfig;
-
-namespace KPIM {
-
-class GroupwareDataAdaptor;
-class GroupwarePrefsBase;
-
-
-class KDE_EXPORT FolderLister : public TQObject
-{
- Q_OBJECT
-
- public:
- enum Type { AddressBook, Calendar };
- enum ContentType {
- Contact=0x1, Event=0x2, Todo=0x4, Journal=0x8,
- Message=0x10, Memo=0x20, Folder=0x40,
- Incidences=Event|Todo|Journal, All=Contact|Incidences,
- Unknown=0x000
- };
-
- class Entry
- {
- public:
- Entry() : active( false ) {}
-
- typedef TQValueList<Entry> List;
-
- TQString id;
- TQString name;
- ContentType type;
- bool active;
- };
- static TQStringList contentTypeToStrings( ContentType );
- ContentType contentTypeFromString( const TQString &type );
-
- TQValueList<ContentType> supportedTypes();
-
- FolderLister( Type );
-
- /** Initialize the retrieval with given root URL */
- virtual void retrieveFolders( const KURL & );
-
- void setFolders( const Entry::List & );
- Entry::List folders() const { return mFolders; }
-
- void setAdaptor( KPIM::GroupwareDataAdaptor *adaptor );
- GroupwareDataAdaptor* adaptor() const { return mAdaptor; }
-
- KURL::List activeFolderIds() const;
- bool isActive( const TQString &id ) const;
-
- void setWriteDestinationId( KPIM::FolderLister::ContentType type, const TQString &dest );
- TQString writeDestinationId( KPIM::FolderLister::ContentType type ) const;
-
- void readConfig( KPIM::GroupwarePrefsBase *newprefs );
- void writeConfig( KPIM::GroupwarePrefsBase *newprefs );
-
-
- signals:
- void foldersRead();
-
- protected slots:
- void slotListJobResult( TDEIO::Job * );
- /** Adds the folder with the given url and display name to the folder
- * tree (if is has an appropriate type) */
- virtual void processFolderResult( const KURL &href,
- const TQString &displayName,
- KPIM::FolderLister::ContentType type );
- /** Retrieve information about the folder u. If it has sub-folders, it
- descends into the hierarchy */
- virtual void doRetrieveFolder( const KURL &u );
- /** A subitem was detected. If it's a folder, we need to descend, otherwise
- we just add the url to the list of processed URLs. */
- void folderSubitemRetrieved( const KURL &url, bool isFolder );
-
- protected:
- /** Creates the job to retrieve information about the folder at the given
- url. It's results will be interpreted by interpretFolderResult
- */
- virtual TDEIO::Job *createListFoldersJob( const KURL &url );
- /** Interprets the results returned by the liste job (created by
- * createJob(url) ). The default implementation calls
- * interpretFolderListJob of the GroupwareDataAdaptor. Typically,
- * this adds an Entry to the mFolders list if the job describes a
- * folder of the appropriate type, by calling processsFolderResult.
- * If the folder has subfolders, just call doRetrieveFolder(url)
- * recursively. */
- virtual void interpretListFoldersJob( TDEIO::Job *job );
- /** List of folders that will always be included (subfolders won't!).
- * Usually this is not needed as you should traverse the whole folder
- * tree starting from the user's root dir. */
- virtual Entry::List defaultFolders();
- /** Type of this folder lister (i.e. AddressBook or Calendar) */
- Type getType() const { return mType; }
-
-
- protected:
- Type mType;
- KURL::List mUrls;
- TQStringList mProcessedPathes;
- Entry::List mFolders;
- GroupwareDataAdaptor *mAdaptor;
- private:
- // TODO: We need multiple destinations for Events, Tasks and Journals
- TQMap<KPIM::FolderLister::ContentType, TQString> mWriteDestinationId;
- KURL mOldURL;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/folderlistview.cpp b/kresources/lib/folderlistview.cpp
deleted file mode 100644
index b29e61c9..00000000
--- a/kresources/lib/folderlistview.cpp
+++ /dev/null
@@ -1,296 +0,0 @@
-/* This file is part of the KDE libraries
-
- Copyright (C) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- Taken in large parts from the kate highlighting list view kateschema.cpp:
- Copyright (C) 2001-2003 Christoph Cullmann <cullmann@kde.org>
- Copyright (C) 2002, 2003 Anders Lund <anders.lund@lund.tdcadsl.dk>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2 as published by the Free Software Foundation.
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "folderlistview.h"
-#include "folderlister.h"
-
-#include <klistview.h>
-#include <klocale.h>
-#include <kiconloader.h>
-#include <kpopupmenu.h>
-#include <kdebug.h>
-
-#include <tqlistview.h>
-#include <tqheader.h>
-#include <tqpainter.h>
-
-static const int BoxSize = 16;
-
-
-//BEGIN FolderListView
-FolderListView::FolderListView( TQWidget *parent, const TQValueList<Property> &types )
- : KListView( parent )
-{
- setEnabledTypes( types );
-
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotMousePressed(int, TQListViewItem*, const TQPoint&, int)) );
- connect( this, TQT_SIGNAL(spacePressed(TQListViewItem*)),
- this, TQT_SLOT(showPopupMenu(TQListViewItem*)) );
-}
-
-void FolderListView::setEnabledTypes( const TQValueList<Property> &types )
-{
-kdDebug() << "FolderListView::setEnabledTypes" << endl;
- for ( int i = 0; i< columns(); ++i ) removeColumn( i );
- mTypes = types;
- if ( !mTypes.contains( FolderName ) ) mTypes.prepend( FolderName );
- mColumnMap[FolderName] = addColumn( i18n("Folder") );
- mTypeMap[mColumnMap[FolderName]] = FolderName;
-
-
- if ( mTypes.contains( Event ) ) {
- mColumnMap[Event] = addColumn( i18n("Short column header meaning default for new events", "Events") );
- mTypeMap[mColumnMap[Event]] = Event;
- } else mColumnMap[Event] = -1;
-
- if ( mTypes.contains( Todo ) ) {
- mColumnMap[Todo] = addColumn( i18n("Short column header meaning default for new to-dos", "Todos") );
- mTypeMap[mColumnMap[Todo]] = Todo;
- } else mColumnMap[Todo] = -1;
-
- if ( mTypes.contains( Journal ) ) {
- mColumnMap[Journal] = addColumn( i18n("Short column header meaning default for new journals", "Journals") );
- mTypeMap[mColumnMap[Journal]] = Journal;
- } else mColumnMap[Journal] = -1;
-
- if ( mTypes.contains( Contact ) ) {
- mColumnMap[Contact] = addColumn( i18n("Short column header meaning default for new contacts", "Contacts") );
- mTypeMap[mColumnMap[Contact]] = Contact;
- } else mColumnMap[Contact] = -1;
-
- if ( mTypes.contains( All ) ) {
- mColumnMap[All] = addColumn( i18n("Short column header meaning default for all items", "All") );
- mTypeMap[mColumnMap[All]] = All;
- } else mColumnMap[All] = -1;
-
- if ( mTypes.contains( Unknown ) ) {
- mColumnMap[Unknown] = addColumn( i18n("Short column header meaning default for unknown new items", "Unknown") );
- mTypeMap[mColumnMap[Unknown]] = Unknown;
- } else mColumnMap[Unknown] = -1;
-}
-
-void FolderListView::showPopupMenu( FolderListItem *i, const TQPoint &globalPos )
-{
- if ( !i ) return;
- KPIM::FolderLister::Entry folder( i->folder() );
-
- KPopupMenu m( this );
- int id;
-
- m.insertTitle( folder.name, 9999 );
- id = m.insertItem( i18n("&Enabled"), this, TQT_SLOT(slotPopupHandler(int)), 0, FolderName );
- m.setItemChecked( id, i->isOn() );
- m.insertSeparator();
-
- if ( ( folder.type & KPIM::FolderLister::Event ) && (mTypes.contains( Event ) ) ) {
- id = m.insertItem( i18n("Default for New &Events"), this, TQT_SLOT(slotPopupHandler(int)), 0, Event );
- m.setItemChecked( id, i->isDefault( Event ) );
- }
- if ( ( folder.type & KPIM::FolderLister::Todo ) && (mTypes.contains( Todo ) ) ) {
- id = m.insertItem( i18n("Default for New &Todos"), this, TQT_SLOT(slotPopupHandler(int)), 0, Todo );
- m.setItemChecked( id, i->isDefault( Todo ) );
- }
- if ( ( folder.type & KPIM::FolderLister::Journal ) && (mTypes.contains( Journal ) ) ) {
- id = m.insertItem( i18n("Default for New &Journals"), this, TQT_SLOT(slotPopupHandler(int)), 0, Journal );
- m.setItemChecked( id, i->isDefault( Journal ) );
- }
- if ( ( folder.type & KPIM::FolderLister::Contact ) && (mTypes.contains( Contact ) ) ) {
- id = m.insertItem( i18n("Default for New &Contacts"), this, TQT_SLOT(slotPopupHandler(int)), 0, Contact );
- m.setItemChecked( id, i->isDefault( Contact ) );
- }
- if ( ( folder.type == KPIM::FolderLister::All ) && (mTypes.contains( All ) ) ) {
- id = m.insertItem( i18n("Default for All New &Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, All );
- m.setItemChecked( id, i->isDefault( All ) );
- }
- if ( ( folder.type == KPIM::FolderLister::Unknown ) && (mTypes.contains( Unknown ) ) ) {
- id = m.insertItem( i18n("Default for &Unknown New Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, Unknown );
- m.setItemChecked( id, i->isDefault( Unknown ) );
- }
-
- m.exec( globalPos );
-}
-
-void FolderListView::showPopupMenu( TQListViewItem *i )
-{
- if ( dynamic_cast<FolderListItem*>(i) )
- showPopupMenu( (FolderListItem*)i, viewport()->mapToGlobal(itemRect(i).topLeft()) );
-}
-
-void FolderListView::slotPopupHandler( int z )
-{
- ((FolderListItem*)currentItem())->changeProperty( (Property)z );
-}
-
-// Because TQListViewItem::activatePos() is going to become deprecated,
-// and also because this attempt offers more control, I connect mousePressed to this.
-void FolderListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& pos, int c)
-{
- if ( dynamic_cast<FolderListItem*>(i) ) {
- if ( btn == Qt::RightButton ) {
- showPopupMenu( (FolderListItem*)i, /*mapToGlobal(*/pos/*)*/ );
- }
- else if ( btn == Qt::LeftButton && c > 0 ) {
- // map pos to item/column and call FolderListItem::activate(col, pos)
- ((FolderListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(i).top() ) );
-// } else {
-// KListView::slotMousePressed( btn, i, pos, c );
- }
- }
-}
-
-//END
-
-//BEGIN FolderListItem
-
-void FolderListItem::activate( int column, const TQPoint &localPos )
-{
- if ( !mFolderListView ) return;
- TQListView *lv = listView();
- int x = 0;
- for( int c = 0; c < column-1; c++ )
- x += lv->columnWidth( c );
- int w;
- FolderListView::Property prop( mFolderListView->typeForColumn(column) );
- switch( prop ) {
- case FolderListView::Event:
- case FolderListView::Todo:
- case FolderListView::Journal:
- case FolderListView::Contact:
- case FolderListView::All:
- case FolderListView::Unknown:
- w = BoxSize;
- break;
- default:
- return;
- }
- if ( !TQRect( x, 0, w, BoxSize ).contains( localPos ) )
- changeProperty( prop );
-}
-
-void FolderListItem::changeProperty( FolderListView::Property p )
-{
-kdDebug() << "FolderListItem::changeProperty( " << p << ")" << endl;
- if ( p == FolderListView::FolderName ) {
-kdDebug() << "it's folderName" << endl;
- setOn( !isOn() );
- } else if ( typeSupported( p ) ) {
- TQListViewItemIterator it( listView() );
- while ( it.current() ) {
- FolderListItem *item = dynamic_cast<FolderListItem*>( it.current() );
- if ( item ) {
- item->setDefault( p, item==this );
- }
- ++it;
- }
- }
- listView()->triggerUpdate();
- ((FolderListView*)listView())->emitChanged();
-}
-
-
-bool FolderListItem::typeSupported( FolderListView::Property prop )
-{
- return ( (prop==FolderListView::Event) && (mFolder.type & KPIM::FolderLister::Event) ) ||
- ( (prop==FolderListView::Todo) && (mFolder.type & KPIM::FolderLister::Todo) ) ||
- ( (prop==FolderListView::Journal)&& (mFolder.type & KPIM::FolderLister::Journal) ) ||
- ( (prop==FolderListView::Contact)&& (mFolder.type & KPIM::FolderLister::Contact) ) ||
- ( (prop==FolderListView::All) && (mFolder.type == KPIM::FolderLister::All) ) ||
- ( (prop==FolderListView::Unknown)&& (mFolder.type == KPIM::FolderLister::Unknown) );
-}
-
-bool FolderListItem::isDefault( FolderListView::Property prop )
-{
- if ( !typeSupported( prop ) || prop<0 || prop>=FolderListView::PROP_MAX ) return false;
- else return mIsDefault[ prop ];
-}
-
-void FolderListItem::setDefault( FolderListView::Property prop, bool def )
-{
- if ( prop<0 || prop>=FolderListView::PROP_MAX ) return;
- else mIsDefault[ prop ] = def;
-
-}
-
-
-void FolderListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int col, int width, int align )
-{
- if ( !p ) return;
-
- TQListView *lv = listView();
- Q_ASSERT( lv ); //###
- if ( !lv ) return;
-
- // use a private color group and set the text/highlighted text colors
-// TQColorGroup mcg = lv->viewport()->colorGroup();
- FolderListView::Property prop( mFolderListView->typeForColumn(col) );
-
- if ( prop == FolderListView::FolderName ) {
- // col 0 is drawn by the superclass method
- super::paintCell( p, cg, col, width, align );
- return;
- } else {
- p->fillRect( 0, 0, width, height(), TQBrush( cg.base() ) );
- }
-
- int marg = lv->itemMargin();
- TQColor c;
-
- switch ( prop )
- {
- case FolderListView::Event:
- case FolderListView::Todo:
- case FolderListView::Journal:
- case FolderListView::Contact:
- case FolderListView::All:
- case FolderListView::Unknown:
- {
- if ( !typeSupported( prop ) ) break;
-
- int x = 0;
- int y = (height() - BoxSize) / 2;
-
- if ( isEnabled() )
- p->setPen( TQPen( cg.text(), 1 ) );
- else
- p->setPen( TQPen( lv->palette().color( TQPalette::Disabled, TQColorGroup::Text ), 1 ) );
-
- p->drawEllipse( x+marg, y+2, BoxSize-4, BoxSize-4 );
-
- if ( isDefault( prop ) ) {
- if ( isEnabled() )
- p->setBrush( cg.text() );
- else
- p->setBrush( lv->palette().color( TQPalette::Disabled, TQColorGroup::Text ) );
- p->drawEllipse( x + marg + 3, y + 5, BoxSize-10, BoxSize-10 );
- }
- break;
- }
- default:
- break;
- }
-}
-//END
-
-#include "folderlistview.moc"
-// kate: space-indent on; indent-width 2; replace-tabs on;
diff --git a/kresources/lib/folderlistview.h b/kresources/lib/folderlistview.h
deleted file mode 100644
index 32f01199..00000000
--- a/kresources/lib/folderlistview.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/* This file is part of the KDE libraries
-
- Copyright (C) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- Taken in large parts from the kate highlighting list view kateschema.h:
- Copyright (C) 2001-2003 Christoph Cullmann <cullmann@kde.org>
- Copyright (C) 2002, 2003 Anders Lund <anders.lund@lund.tdcadsl.dk>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2 as published by the Free Software Foundation.
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef FOLDERLISTVIEW_H
-#define FOLDERLISTVIEW_H
-
-#include <klistview.h>
-#include "folderlister.h"
-
-class FolderListItem;
-class FolderListCaption;
-
-
-/*
- TQListView that automatically adds columns for FolderListItems for selecting
- the default destination and a slot to edit the destinations using the keyboard.
-*/
-class FolderListView : public KListView
-{
- Q_OBJECT
-
-
- friend class FolderListItem;
-
- public:
- /* mainly for readability */
- enum Property { FolderName, Event, Todo, Journal, Contact, All, Unknown, PROP_MAX };
-
- FolderListView( TQWidget *parent, const TQValueList<Property> &types = TQValueList<Property>() );
- ~FolderListView() {};
-
- /* Display a popupmenu for item i at the specified global position, eventually with a title,
- promoting the context name of that item */
- void showPopupMenu( FolderListItem *i, const TQPoint &globalPos );
- void emitChanged() { emit changed(); };
- void setEnabledTypes( const TQValueList<Property> &types );
-
- int columnForType( Property prop ) const { if ( mColumnMap.contains(prop) ) return mColumnMap[prop]; else return -1;}
- Property typeForColumn( int col ) const { if ( mTypeMap.contains( col ) ) return mTypeMap[col]; else return Unknown; }
-
- private slots:
- /* Display a popupmenu for item i at item position */
- void showPopupMenu( TQListViewItem *i );
- /* call item to change a property, or display a menu */
- void slotMousePressed( int, TQListViewItem*, const TQPoint&, int );
- /* asks item to change the property in q */
- void slotPopupHandler( int z );
-
- signals:
- void changed();
- private:
- TQValueList<Property> mTypes;
- TQMap<Property,int> mColumnMap;
- TQMap<int,Property> mTypeMap;
-};
-
-/*
- TQListViewItem subclass to display/edit a folder on a groupware server.
- Selection of default destinations will be done via radio items.
-*/
-class FolderListItem : public TQCheckListItem
-{
- typedef TQCheckListItem super;
- public:
- FolderListItem( FolderListItem *parent, const KPIM::FolderLister::Entry &folder )
- : TQCheckListItem( parent, folder.name, TQCheckListItem::CheckBoxController ),
- mFolder( folder ), mFolderListView( parent?(parent->folderListView()):0 )
- {
- setOn( mFolder.active );
- }
- FolderListItem( FolderListView *listView, const KPIM::FolderLister::Entry &folder )
- : TQCheckListItem( listView, folder.name,
- TQCheckListItem::CheckBoxController ), mFolder( folder ), mFolderListView( listView )
- {
- setOn( mFolder.active );
- }
-
- KPIM::FolderLister::Entry folder() const
- {
- return mFolder;
- }
-
- /* reimp */
-// int width ( const TQFontMetrics & fm, const TQListView * lv, int c ) const;
-
- bool typeSupported( FolderListView::Property prop );
- bool isDefault( FolderListView::Property prop );
- void setDefault( FolderListView::Property prop, bool def = true );
-
- /* calls changeProperty() if it makes sense considering pos. */
- void activate( int column, const TQPoint &localPos );
- /* Sets this item as default for property p a */
- void changeProperty( FolderListView::Property p );
-
- FolderListView *folderListView() const { return mFolderListView; }
-
- protected:
- /* reimp */
- void paintCell(TQPainter *p, const TQColorGroup& cg, int col, int width, int align);
-
- private:
- KPIM::FolderLister::Entry mFolder;
- bool mIsDefault[FolderListView::PROP_MAX];
- FolderListView *mFolderListView;
-};
-
-
-#endif
-
-// kate: space-indent on; indent-width 2; replace-tabs on;
diff --git a/kresources/lib/folderselectdialog.cpp b/kresources/lib/folderselectdialog.cpp
deleted file mode 100644
index 9d0f48a5..00000000
--- a/kresources/lib/folderselectdialog.cpp
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2008 Kevin Ottens <ervin@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "folderselectdialog.h"
-
-#include <tqlayout.h>
-#include <tqlabel.h>
-
-using namespace KPIM;
-
-FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString& label,
- const TQStringList& list )
- : KDialogBase(0, 0, true, caption, Ok|Cancel, Ok, true)
-{
- TQFrame* frame = makeMainWidget();
- TQVBoxLayout* layout = new TQVBoxLayout( frame, 0, spacingHint() );
-
- TQLabel* labelWidget = new TQLabel( label, frame );
- layout->addWidget( labelWidget );
-
- mListBox = new KListBox( frame );
- mListBox->insertStringList( list );
- mListBox->setSelected( 0, true );
- mListBox->ensureCurrentVisible();
- layout->addWidget( mListBox, 10 );
-
- connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ),
- TQT_SLOT( slotOk() ) );
- connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ),
- TQT_SLOT( slotOk() ) );
-
- mListBox->setFocus();
-
- layout->addStretch();
-
- setMinimumWidth( 320 );
-}
-
-TQString FolderSelectDialog::getItem( const TQString &caption, const TQString &label,
- const TQStringList& list )
-{
- FolderSelectDialog dlg( caption, label, list );
-
- TQString result;
- if ( dlg.exec() == Accepted )
- result = dlg.mListBox->currentText();
-
- return result;
-}
-
-void FolderSelectDialog::closeEvent(TQCloseEvent *event)
-{
- event->ignore();
-}
-
-void FolderSelectDialog::reject()
-{
-}
-
diff --git a/kresources/lib/folderselectdialog.h b/kresources/lib/folderselectdialog.h
deleted file mode 100644
index e33ac80a..00000000
--- a/kresources/lib/folderselectdialog.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2008 Kevin Ottens <ervin@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef FOLDERSELECTDIALOG_H
-#define FOLDERSELECTDIALOG_H
-
-#include <kdialogbase.h>
-
-namespace KPIM {
-
-class FolderSelectDialog : public KDialogBase
-{
-private:
- FolderSelectDialog( const TQString& caption, const TQString& label,
- const TQStringList& list );
-
-public:
- static TQString getItem( const TQString& caption, const TQString& label,
- const TQStringList& list );
-
-protected:
- virtual void closeEvent(TQCloseEvent *event);
- void reject();
-private:
- KListBox* mListBox;
-};
-
-}
-
-#endif // FOLDERSELECTDIALOG_H
diff --git a/kresources/lib/groupwaredataadaptor.cpp b/kresources/lib/groupwaredataadaptor.cpp
deleted file mode 100644
index 85dacdaa..00000000
--- a/kresources/lib/groupwaredataadaptor.cpp
+++ /dev/null
@@ -1,283 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupwaredataadaptor.h"
-#include <kdebug.h>
-#include <kio/job.h>
-#include <libemailfunctions/idmapper.h>
-
-using namespace KPIM;
-
-GroupwareUploadItem::GroupwareUploadItem( UploadType type ) : mItemType( KPIM::FolderLister::Unknown ), mType( type )
-{
-}
-
-KURL GroupwareUploadItem::adaptNewItemUrl( GroupwareDataAdaptor *adaptor,
- const KURL &baseurl )
-{
-kdDebug()<<"GroupwareUploadItem::adaptNewItemUrl, baseurl=" << baseurl.url() << endl;
- if ( adaptor ) {
- TQString path( adaptor->defaultNewItemName( this ) );
-kdDebug() << "path=" << path << endl;
- KURL u( baseurl );
- if ( path.isEmpty() ) return u;
- else {
- u.addPath( path );
-kdDebug() << "Final Path for new item: " << u.url() << endl;
- return u;
- }
- } else return baseurl;
-}
-
-TDEIO::TransferJob *GroupwareUploadItem::createRawUploadJob(
- GroupwareDataAdaptor *adaptor, const KURL &/*baseurl*/ )
-{
- Q_ASSERT( adaptor );
- if ( !adaptor ) return 0;
- const TQString dta = data();
- //kdDebug(7000) << "Uploading: " << data << endl;
- KURL upUrl( url() );
- if ( adaptor )
- adaptor->adaptUploadUrl( upUrl );
- kdDebug(7000) << "Uploading to: " << upUrl.prettyURL() << endl;
- TDEIO::TransferJob *job = TDEIO::storedPut( dta.utf8(), upUrl, -1, true,
- false, false );
- job->addMetaData( "PropagateHttpHeader", "true" );
- if ( adaptor ) {
- job->addMetaData( "customHTTPHeader", "Content-Type: " + adaptor->mimeType() );
- }
- return job;
-}
-
-TDEIO::TransferJob *GroupwareUploadItem::createUploadNewJob(
- GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"GroupwareUploadItem::createUploadNewJob, baseurl=" << baseurl.url() << endl;
- setUrl( adaptNewItemUrl( adaptor, baseurl ) );
- TDEIO::TransferJob *job = createRawUploadJob( adaptor, baseurl );
- if ( job ) {
- kdDebug() << "Adding If-None-Match " << endl;
- TQString header;
- if ( job->outgoingMetaData().contains("customHTTPHeader") ) {
- header = job->outgoingMetaData()["customHTTPHeader"];
- header += "\r\n";
- }
- header += "If-None-Match: *";
- job->addMetaData( "customHTTPHeader", header );
- }
- return job;
-}
-
-TDEIO::TransferJob *GroupwareUploadItem::createUploadJob(
- GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"GroupwareUploadItem::createUploadJob" << endl;
- TDEIO::TransferJob *job = createRawUploadJob( adaptor, baseurl );
- if ( job && adaptor ) {
- kdDebug()<<"Adding If-Match header: " << adaptor->idMapper()->fingerprint( uid() ) << endl;
- TQString header;
- if ( job->outgoingMetaData().contains("customHTTPHeader") ) {
- header = job->outgoingMetaData()["customHTTPHeader"];
- header += "\r\n";
- }
-kdDebug()<<"old HEADER: " << header << endl;
- header += "If-Match: " + adaptor->idMapper()->fingerprint( uid() );
-kdDebug()<<"new HEADER: " << header << endl;
- job->addMetaData( "customHTTPHeader", header );
- }
- return job;
-}
-
-
-GroupwareDataAdaptor::GroupwareDataAdaptor()
- : TQObject(), mFolderLister( 0 ), mIdMapper( 0 )
-{
-}
-
-GroupwareDataAdaptor::~GroupwareDataAdaptor()
-{
-}
-
-void GroupwareDataAdaptor::setUserPassword( KURL &url )
-{
- kdDebug(5800) << "GroupwareDataAdaptor::setUserPassword, mUser="
- << mUser << endl;
- url.setUser( mUser );
- url.setPass( mPassword );
-}
-
-FolderLister::Entry::List GroupwareDataAdaptor::defaultFolders()
-{
- return FolderLister::Entry::List();
-}
-
-TDEIO::TransferJob *GroupwareDataAdaptor::createUploadJob( const KURL &url,
- GroupwareUploadItem *item )
-{
- if ( item ) {
- TDEIO::TransferJob *job = item->createUploadJob( this, url );
- setUidForJob( job, item->uid() );
- return job;
- } else return 0;
-}
-
-TDEIO::TransferJob *GroupwareDataAdaptor::createUploadNewJob( const KURL &url,
- GroupwareUploadItem *item )
-{
-kdDebug()<<"GroupwareDataAdaptor::createUploadNewJob, url=" << url.url() << endl;
- if ( item ) {
- TDEIO::TransferJob *job = item->createUploadNewJob( this, url );
- setUidForJob( job, item->uid() );
- return job;
- } else return 0;
-}
-
-void GroupwareDataAdaptor::processDownloadListItem( const KURL &entry,
- const TQString &newFingerprint, KPIM::FolderLister::ContentType type )
-{
- bool download = false;
- const TQString &location = entry.path();
-
- emit itemOnServer( entry );
- // if not locally present, download
- const TQString &localId = idMapper()->localId( location );
- kdDebug(5800) << "Looking up remote: " << location
- << " found: " << localId << endl;
- if ( localId.isEmpty() || !localItemExists( localId ) ) {
- //kdDebug(7000) << "Not locally present, download: " << location << endl;
- download = true;
- } else {
- kdDebug(5800) << "Locally present " << endl;
- // locally present, let's check if it's newer than what we have
- const TQString &oldFingerprint = idMapper()->fingerprint( localId );
- if ( oldFingerprint != newFingerprint ) {
- kdDebug(5800) << "Fingerprint changed old: " << oldFingerprint <<
- " new: " << newFingerprint << endl;
- // something changed on the server, check if we also changed it locally
- if ( localItemHasChanged( localId ) ) {
- // TODO conflict resolution
- kdDebug(5800) << "TODO conflict resolution" << endl;
- download = true;
- } else {
- download = true;
- }
- } else {
- kdDebug(5800) << "Fingerprint not changed, don't download this " << endl;
- }
- }
- if ( download ) {
- emit itemToDownload( entry, type );
- }
-}
-
-bool GroupwareDataAdaptor::interpretRemoveJob( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- if ( !job ) return false;
- TDEIO::DeleteJob *deljob = dynamic_cast<TDEIO::DeleteJob*>(job);
- bool error = job->error();
- const TQString err = job->errorString();
-
- if ( deljob ) {
- KURL::List urls( deljob->urls() );
- for ( KURL::List::Iterator it = urls.begin(); it != urls.end(); ++it ) {
- if ( error ) {
- emit itemDeletionError( *it, err );
- } else {
- // FIXME: Don't use TQString() here
- emit itemDeleted( TQString(), *it );
- }
- }
- return true;
- } else {
- return false;
- }
-}
-
-
-bool GroupwareDataAdaptor::interpretUploadJob( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- kdDebug(7000) << "GroupwareDataAdaptor::interpretUploadJob " << endl;
- TDEIO::TransferJob *trfjob = dynamic_cast<TDEIO::TransferJob*>(job);
- bool error = job->error();
- const TQString err = job->errorString();
-
- if ( trfjob ) {
- KURL url( trfjob->url() );
- if ( error ) {
- emit itemUploadError( url, err );
- } else {
- // We don't know the local id here (and we don't want to extract it from
- // the idMapper, that's the task of the receiver
- emit itemUploaded( uidFromJob( job ), url );
- }
- return true;
- } else {
- return false;
- }
-}
-
-bool GroupwareDataAdaptor::interpretUploadNewJob( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
-// TODO: How does the incidence mapper know the old/new ids???
- kdDebug(7000) << "GroupwareDataAdaptor::interpretUploadNewJob " << endl;
- TDEIO::TransferJob *trfjob = dynamic_cast<TDEIO::TransferJob*>(job);
- bool error = job->error();
- const TQString err = job->errorString();
-
- if ( trfjob ) {
- KURL url( trfjob->url() );
- if ( error ) {
- emit itemUploadNewError( idMapper()->localId( url.path() ), err );
- } else {
- // We don't know the local id here (and we don't want to extract it from
- // the idMapper, that's the task of the receiver
- emit itemUploadedNew( uidFromJob( job ), url );
- }
- return true;
- } else {
- return false;
- }
-}
-
-TQString GroupwareDataAdaptor::uidFromJob( TDEIO::Job *job ) const
-{
-kdDebug()<<"GroupwareDataAdaptor::uidFromJob( "<<job<<")"<<endl;
- if ( mJobUIDMap.contains( job ) ) {
- kdDebug()<<" Contained: "<< mJobUIDMap[job] << endl;
- return mJobUIDMap[ job ];
- } else {
- return TQString();
- }
-}
-
-void GroupwareDataAdaptor::setUidForJob( TDEIO::Job *job, const TQString &uid )
-{
- if ( uid.isEmpty() ) {
- mJobUIDMap.remove( job );
- } else {
- mJobUIDMap[ job ] = uid;
- }
-}
-
-
-#include "groupwaredataadaptor.moc"
diff --git a/kresources/lib/groupwaredataadaptor.h b/kresources/lib/groupwaredataadaptor.h
deleted file mode 100644
index b7bd6e33..00000000
--- a/kresources/lib/groupwaredataadaptor.h
+++ /dev/null
@@ -1,364 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_GROUPWAREDATAADAPTOR_H
-#define KPIM_GROUPWAREDATAADAPTOR_H
-
-#include <groupwareresourcejob.h>
-#include <folderlister.h>
-#include <kurl.h>
-#include <tqstring.h>
-#include <libkcal/listbase.h>
-#include <tqobject.h>
-#include <tdepimmacros.h>
-
-
-namespace TDEIO {
-class TransferJob;
-class Job;
-}
-
-namespace KPIM {
-
-class FolderLister;
-class IdMapper;
-class GroupwareDataAdaptor;
-//class GroupwareJob;
-
-class KDE_EXPORT GroupwareUploadItem
-{
- public:
- typedef KCal::ListBase<GroupwareUploadItem> List;
- enum UploadType {
- Added,
- Changed,
- Deleted
- };
-
- GroupwareUploadItem( UploadType type );
- virtual ~GroupwareUploadItem() {}
- KURL url() const { return mUrl; }
- void setUrl( const KURL &url ) { mUrl = url; }
-
- TQString uid() const { return mUid; }
- void setUid( const TQString &uid ) { mUid = uid; }
-
- TQString fingerprint() const { return mFingerprint; }
- void setFingerprint( const TQString &fpr ) { mFingerprint = fpr; }
-
- virtual TQString data() const { return mData; }
- virtual void setData( const TQString &data ) { mData = data; }
- virtual KURL adaptNewItemUrl( GroupwareDataAdaptor *adaptor,
- const KURL &url );
-
- virtual TDEIO::TransferJob *createRawUploadJob(
- GroupwareDataAdaptor *adaptor, const KURL &url );
- virtual TDEIO::TransferJob *createUploadNewJob(
- GroupwareDataAdaptor *adaptor, const KURL &url );
- virtual TDEIO::TransferJob *createUploadJob( GroupwareDataAdaptor *adaptor,
- const KURL &url );
- virtual KPIM::FolderLister::ContentType itemType() { return mItemType; }
- protected:
- KPIM::FolderLister::ContentType mItemType;
- private:
- KURL mUrl;
- TQString mUid;
- TQString mData;
- TQString mFingerprint;
- UploadType mType;
-};
-
-
-class KDE_EXPORT GroupwareDataAdaptor : public TQObject
-{
-Q_OBJECT
-
- public:
- GroupwareDataAdaptor();
- virtual ~GroupwareDataAdaptor();
-
- void setFolderLister( FolderLister *folderLister )
- {
- mFolderLister = folderLister;
- }
- FolderLister *folderLister()
- {
- return mFolderLister;
- }
-
- /**
- Set progress message shown by progress manager during download. It will
- be interpreted as rich text, so it might have to be escaped.
- */
- void setDownloadProgressMessage( const TQString &v )
- {
- mDownloadProgressMessage = v;
- }
- /**
- Get download progress message. See setDownloadProgressMessage().
- */
- TQString downloadProgressMessage() const
- {
- return mDownloadProgressMessage;
- }
-
- /**
- Set progress message shown by progress manager during upload. It will
- be interpreted as rich text, so it might have to be escaped.
- */
- void setUploadProgressMessage( const TQString &v )
- {
- mUploadProgressMessage = v;
- }
- /**
- Get upload progress message. See setUploadProgressMessage().
- */
- TQString uploadProgressMessage() const
- {
- return mUploadProgressMessage;
- }
-
- /**
- Set base URL.
- */
- void setBaseURL( const KURL &url )
- {
- mBaseURL = url;
- }
- /**
- Get base URL. See setBaseURL().
- */
- KURL baseURL() const
- {
- return mBaseURL;
- }
-
- /**
- Set user name.
- */
- void setUser( const TQString &v )
- {
- mUser = v;
- }
- /**
- Get user. See setUser().
- */
- TQString user() const
- {
- return mUser;
- }
-
- /**
- Set password of user.
- */
- void setPassword( const TQString &v )
- {
- mPassword = v;
- }
- /**
- Get password. See setPassword().
- */
- TQString password() const
- {
- return mPassword;
- }
-
- /**
- Set id mapper.
- */
- void setIdMapper( KPIM::IdMapper *v )
- {
- mIdMapper = v;
- }
- /**
- Get idMapper. See setIdMapper().
- */
- KPIM::IdMapper *idMapper() const
- {
- return mIdMapper;
- }
-
- void setUserPassword( KURL &url );
-
- /** Adapt the url for downloading. Sets the username and password and calls
- * customAdaptDownloadUrl, which you can reimplement for custom adaptions.
- */
- virtual void adaptDownloadUrl( KURL &url )
- {
- setUserPassword( url );
- customAdaptDownloadUrl( url );
- }
- /** Adapt the url for uploading. Sets the username and password and calls
- * customAdaptUploadUrl, which you can reimplement for custom adaptions. */
- virtual void adaptUploadUrl( KURL &url )
- {
- setUserPassword( url );
- customAdaptUploadUrl( url );
- }
- /** Apply custom adaptions to the url for downloading. Reimplement this
- * method if you want to use webdav:// instead of http:// URLs. */
- virtual void customAdaptDownloadUrl( KURL &/*url*/ ) {}
- /** Apply custom adaptions to the url for uploading. Reimplement this
- * method if you want to use webdav:// instead of http:// URLs. */
- virtual void customAdaptUploadUrl( KURL &/*url*/ ) {}
-
- /** Return the mime-type expected by the resource. */
- virtual TQString mimeType() const = 0;
- /** Identifier of the Resource. Used for the custom fields where
- resource-specific information is stored. */
- virtual TQCString identifier() const = 0;
-
- /** Returns whether the item with the given localId exists locally. */
- virtual bool localItemExists( const TQString &localId ) = 0;
- /** Returns whether the item was changed locally since the last download
- from the server. */
- virtual bool localItemHasChanged( const TQString &localId ) = 0;
- /** Remove the item from the local cache. */
- virtual void deleteItem( const TQString &localId ) = 0;
-
- /** Removed the changed flag for the item with the given uid. */
- virtual void clearChange( const TQString &uid ) = 0;
-
- virtual FolderLister::Entry::List defaultFolders();
- virtual TQValueList<FolderLister::ContentType> supportedTypes() = 0;
- virtual bool supports( FolderLister::ContentType type ) {
- return supportedTypes().contains( type );
- }
-
-
- // Creating jobs
- /** Creates the TDEIO::Job for logging in to the server. This is only
- * called if the GroupwareDataAdaptor::GWResNeedsLogin flag is set
- * for the resource. */
- virtual TDEIO::Job *createLoginJob( const KURL &, const TQString &/*user*/,
- const TQString &/*password*/ ) { return 0; }
- /** Creates the TDEIO::Job for logging off the server. This is only
- * called if the GroupwareDataAdaptor::GWResNeedsLogoff flag is set
- * for the resource. */
- virtual TDEIO::Job *createLogoffJob( const KURL &, const TQString &/*user*/,
- const TQString &/*password*/ ) { return 0; }
- /** Creates the TDEIO::Job for listing all subfolders of the given url. */
- virtual TDEIO::Job *createListFoldersJob ( const KURL & ) = 0;
- /** Creates the TDEIO::TransferJob for listing all items in the given url. */
- virtual TDEIO::TransferJob *createListItemsJob( const KURL & ) = 0;
- /** Creates the TDEIO::TransferJob for downloading one given item. */
- virtual TDEIO::TransferJob *createDownloadJob( const KURL &,
- FolderLister::ContentType ) = 0;
- /** Creates the TDEIO::TransferJob for downloading a list of items items. */
- virtual TDEIO::TransferJob *createDownloadJob( const TQMap<KURL,FolderLister::ContentType> & ) { return 0; }
- /** Create the job to remove the deletedItems from the server. The base
- URL of the server is passed as uploadurl. */
- virtual TDEIO::Job *createRemoveJob( const KURL &,
- const KPIM::GroupwareUploadItem::List &/*deletedItems*/ ) { return 0; }
- /** Create the job to remove the item from the server. The base
- URL of the server is passed as uploadurl. */
- virtual TDEIO::Job *createRemoveJob( const KURL &,
- KPIM::GroupwareUploadItem */*deletedItem*/ ) { return 0; }
- /** Create the job to change the item on the server (at the given URL) */
- virtual TDEIO::TransferJob *createUploadJob( const KURL &,
- GroupwareUploadItem *item );
- /** Create the job to change the items on the server (at the given URL) */
- virtual TDEIO::TransferJob *createUploadJob( const KURL &, const GroupwareUploadItem::List &/*items*/ ) { return 0; }
- /** Create the job to add the item to the server (at the given baseURL) */
- virtual TDEIO::TransferJob *createUploadNewJob( const KURL &,
- GroupwareUploadItem *item );
- /** Create the job to add the items to the server (at the given baseURL) */
- virtual TDEIO::TransferJob *createUploadNewJob( const KURL &, const GroupwareUploadItem::List &/*items*/ ) { return 0; }
-
-
- // Interpreting the result of the jobs
- /** Extract the success information from the login job, created by
- * createLoginJob. Return true, if the login was successfull, or false
- * if the user could not be authenticated or something else went wrong.
- * In that case the resource will not be marked as open. */
- virtual bool interpretLoginJobResult( TDEIO::Job * ) { return true; }
- /** Extract the success information from the logoff job, created by
- * createLogoffJob. */
- virtual bool interpretLogoffJobResult( TDEIO::Job * ) { return true; }
-
- virtual void interpretListFoldersJob( TDEIO::Job *, FolderLister *) = 0;
- /** Extract the list of items on the server and the list of items to be
- downloaded from the results of the job (the job was created by
- createListitemsJob). */
- virtual bool interpretListItemsJob( TDEIO::Job *, const TQString &jobData ) = 0;
- virtual bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData ) = 0;
- virtual bool interpretRemoveJob( TDEIO::Job *job, const TQString &jobData );
- virtual bool interpretUploadJob( TDEIO::Job *job, const TQString &/*jobData*/ );
- virtual bool interpretUploadNewJob( TDEIO::Job *job, const TQString &/*jobData*/ );
-
- virtual void processDownloadListItem( const KURL &entry,
- const TQString &newFingerprint, KPIM::FolderLister::ContentType type );
- /** Return the default file name for a new item. */
- virtual TQString defaultNewItemName( GroupwareUploadItem * )
- {
- return TQString();
- }
- virtual TQString uidFromJob( TDEIO::Job *job ) const;
- virtual void setUidForJob( TDEIO::Job *job, const TQString &uid );
-
-
- enum {
- GWResBatchCreate = 0x0001,
- GWResBatchModify = 0x0002,
- GWResBatchDelete = 0x0004,
- GWResBatchRequest = 0x0008,
- GWResHandleSingleIncidences = 0x0020,
- GWResNeedsLogon = 0x0040,
- GWResNeedsLogoff = 0x0080
- };
- virtual long flags() const = 0;
-
-
- signals:
- void folderInfoRetrieved( const KURL &href, const TQString &name,
- KPIM::FolderLister::ContentType );
- void folderSubitemRetrieved( const KURL &, bool isFolder );
-
- void itemToDownload( const KURL &remoteURL, KPIM::FolderLister::ContentType type );
- /** passed the whole remote url (including hostname) to the receiver */
- void itemOnServer( const KURL &remoteURL );
-
- void itemDownloaded( const TQString &localID, const KURL &remoteURL,
- const TQString &fingerprint );
- void itemDeleted( const TQString &localID, const KURL &remoteURL );
- void itemUploaded( const TQString &localID, const KURL &remoteURL );
- void itemUploadedNew( const TQString &localID, const KURL &remoteURL );
-
- void itemDownloadError( const KURL &remoteURL, const TQString &error );
- void itemDeletionError( const KURL &remoteURL, const TQString &error );
- void itemUploadError( const KURL &remoteURL, const TQString &error );
- void itemUploadNewError( const TQString &localID, const TQString &error );
-
- private:
- FolderLister *mFolderLister;
- TQString mDownloadProgressMessage;
- TQString mUploadProgressMessage;
- KURL mBaseURL;
- TQString mUser;
- TQString mPassword;
- KPIM::IdMapper *mIdMapper;
- TQMap<TDEIO::Job*,TQString> mJobUIDMap;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/groupwaredownloadjob.cpp b/kresources/lib/groupwaredownloadjob.cpp
deleted file mode 100644
index 9104da84..00000000
--- a/kresources/lib/groupwaredownloadjob.cpp
+++ /dev/null
@@ -1,300 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupwaredownloadjob.h"
-
-#include "folderlister.h"
-#include "groupwaredataadaptor.h"
-
-#include <kdebug.h>
-#include <klocale.h>
-#include <kurl.h>
-#include <kio/job.h>
-#include <libemailfunctions/idmapper.h>
-#include <libtdepim/progressmanager.h>
-
-using namespace KPIM;
-
-GroupwareDownloadJob::GroupwareDownloadJob( GroupwareDataAdaptor *adaptor )
- : GroupwareJob( adaptor ), mProgress(0),
- mDownloadJob(0), mListEventsJob(0)
-{
-}
-
-void GroupwareDownloadJob::run()
-{
- kdDebug(5800) << "GroupwareDownloadJob::run()" << endl;
-
- if ( !adaptor() ) {
- error( i18n("Unable to initialize the download job.") );
- return;
- }
-
- if ( adaptor()->folderLister() ){
- mFoldersForDownload = adaptor()->folderLister()->activeFolderIds();
- } else {
- // TODO: If we don't have a folder lister, use the base URL (e.g. if all
- // communication goes through one script on the server
- }
-
- mItemsForDownload.clear();
- mCurrentlyOnServer.clear();
- connect( adaptor(), TQT_SIGNAL( itemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ),
- TQT_SLOT( slotItemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ) );
- connect( adaptor(), TQT_SIGNAL( itemOnServer( const KURL & ) ),
- TQT_SLOT( slotItemOnServer( const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemDownloaded( const TQString &, const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDownloaded( const TQString &, const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemDownloadError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDownloadError( const KURL &, const TQString & ) ) );
-
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(),
- adaptor()->downloadProgressMessage() );
- connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
-
- listItems();
-}
-
-void GroupwareDownloadJob::listItems()
-{
- if ( mFoldersForDownload.isEmpty() ) {
- if ( mProgress ) {
- mProgress->setTotalItems( mItemsForDownload.count() + 1 );
- mProgress->setCompletedItems( 1 );
- mProgress->updateProgress();
- }
-
- /* Delete incidences no longer present on the server */
- deleteIncidencesGoneFromServer();
- downloadItem();
- } else {
-
- //kdDebug(7000) << "props: " << props.toString() << endl;
- KURL url = mFoldersForDownload.front();
- mFoldersForDownload.pop_front();
- kdDebug(5800) << "listItems: " << url.url() << endl;
-
- adaptor()->adaptDownloadUrl( url );
- kdDebug(5800) << "listItems, after adaptDownloadUrl: " << url.url() << endl;
-
- kdDebug(5800) << "OpenGroupware::listIncidences(): " << url << endl;
-
- mListItemsData = TQString();
- mListEventsJob = adaptor()->createListItemsJob( url );
-
- connect( mListEventsJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotListItemsResult( TDEIO::Job * ) ) );
- connect( mListEventsJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotListItemsData( TDEIO::Job *, const TQByteArray & ) ) );
- }
-}
-
-
-void GroupwareDownloadJob::slotListItemsData( TDEIO::Job *, const TQByteArray &data )
-{
- kdDebug(5800) << "OpenGroupware::slotListItemsData()" << endl;
-
- mListItemsData.append( data.data() );
-}
-
-
-void GroupwareDownloadJob::slotListItemsResult( TDEIO::Job *job )
-{
- kdDebug(5800) << "GroupwareDownloadJob::slotListItemsResult(): " << endl;
-
- if ( job->error() ) {
- if ( mProgress ) {
- mProgress->setComplete();
- mProgress = 0;
- }
- error( job->errorString() );
- } else {
- adaptor()->interpretListItemsJob( job, mListItemsData );
- }
-
- mListItemsData = TQString();
- mListEventsJob = 0;
-
- listItems();
-}
-
-void GroupwareDownloadJob::deleteIncidencesGoneFromServer()
-{
- TQMap<TQString, TQString> remoteIds( adaptor()->idMapper()->remoteIdMap() );
- KURL::List::ConstIterator it = mCurrentlyOnServer.begin();
- while ( it != mCurrentlyOnServer.end() ) {
- remoteIds.remove( (*it).path() );
- ++it;
- }
- TQMap<TQString, TQString>::ConstIterator it2;
- for (it2 = remoteIds.begin(); it2 != remoteIds.end(); ++it2) {
- adaptor()->deleteItem( remoteIds[ it2.key() ] );
- }
-}
-
-void GroupwareDownloadJob::downloadItem()
-{
- kdDebug(7000) << " downloadItem " << endl;
- if ( mItemsForDownload.isEmpty() ) {
- if ( mProgress ) mProgress->setComplete();
-
- mItemsForDownload.clear();
- mItemsDownloading.clear();
- mItemsDownloaded.clear();
- mItemsDownloadError.clear();
-
- mProgress = 0;
- success();
- } else {
- if ( adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResBatchRequest ) {
- mDownloadItemsData = TQString();
- mDownloadJob = adaptor()->createDownloadJob( mItemsForDownload );
- mItemsDownloading = mItemsForDownload;
- mItemsForDownload.clear();
- } else {
- // Download the first item of the list
- TQMap<KURL,KPIM::FolderLister::ContentType>::Iterator it = mItemsForDownload.begin();
- KURL href( it.key() );
- KPIM::FolderLister::ContentType ctype = it.data();
- mItemsDownloading.insert( it.key(), it.data() );
- mItemsForDownload.remove( it.key() );
-
- adaptor()->adaptDownloadUrl( href );
- mDownloadItemsData = TQString();
-
- mDownloadJob = adaptor()->createDownloadJob( href, ctype );
- }
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotDownloadItemResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotDownloadItemData( TDEIO::Job *, const TQByteArray & ) ) );
- }
-}
-
-void GroupwareDownloadJob::slotDownloadItemResult( TDEIO::Job *job )
-{
- kdDebug(5800) << "GroupwareDownloadJob::slotDownloadItemResult(): " << endl;
-
- TDEIO::TransferJob *trfjob = dynamic_cast<TDEIO::TransferJob*>(job);
- if ( !trfjob ) return;
-
- if ( job->error() ) {
- error( job->errorString() );
- } else {
- adaptor()->interpretDownloadItemsJob( job, mDownloadItemsData );
- }
-
- if ( mProgress ) {
- mProgress->incCompletedItems();
- mProgress->updateProgress();
- }
- mDownloadItemsData = TQString();
- mDownloadJob = 0;
-
- downloadItem();
-}
-
-void GroupwareDownloadJob::slotDownloadItemData( TDEIO::Job *, const TQByteArray &data )
-{
- kdDebug(5800) << "OpenGroupware::slotDownloadItemData()" << endl;
-
- mDownloadItemsData.append( TQString::fromUtf8( data.data(), data.size() ) );
-}
-
-void GroupwareDownloadJob::slotItemToDownload( const KURL &remoteURL,
- KPIM::FolderLister::ContentType type )
-{
- KURL url( remoteURL );
- adaptor()->adaptDownloadUrl( url );
- if ( !mItemsForDownload.contains( url ) &&
- !mItemsDownloading.contains( url ) &&
- !mItemsDownloaded.contains( url ) ) {
- mItemsForDownload.insert( url, type );
- }
-}
-
-
-void GroupwareDownloadJob::slotItemOnServer( const KURL &remoteURL )
-{
-kdDebug()<<"GroupwareDownloadJob::slotItemOnServer( " << remoteURL.url() << ")" << endl;
- if ( !mCurrentlyOnServer.contains( remoteURL ) ) {
- mCurrentlyOnServer.append( remoteURL );
- }
-}
-
-
-void GroupwareDownloadJob::slotItemDownloadError( const KURL &remoteURL, const TQString &/*error*/ )
-{
- // TODO: Error handling!
- if ( mItemsDownloading.contains( remoteURL ) ) {
- mItemsDownloadError[ remoteURL ] = mItemsDownloading[ remoteURL ];
- } else if ( mItemsForDownload.contains( remoteURL ) ) {
- mItemsDownloadError[ remoteURL ] = mItemsForDownload[ remoteURL ];
- }
-}
-
-
-void GroupwareDownloadJob::slotItemDownloaded( const TQString &localID,
- const KURL &remoteURL, const TQString &fingerprint )
-{
-kdDebug()<<"GroupwareDownloadJob::slotItemDownloaded( " << localID << ", " << remoteURL.url() << ", " << fingerprint << ")" << endl;
- if ( mItemsForDownload.contains( remoteURL ) ) {
- mItemsDownloaded[ remoteURL ] = mItemsForDownload[ remoteURL ];
- mItemsForDownload.remove( remoteURL );
- }
- if ( mItemsDownloading.contains( remoteURL ) ) {
- mItemsDownloaded[ remoteURL ] = mItemsDownloading[ remoteURL ];
- mItemsDownloading.remove( remoteURL );
- }
- if ( !mItemsDownloaded.contains( remoteURL ) ) {
- mItemsDownloaded[ remoteURL ] = KPIM::FolderLister::Unknown;
- }
- adaptor()->idMapper()->setRemoteId( localID, remoteURL.path() );
- adaptor()->idMapper()->setFingerprint( localID, fingerprint );
-}
-
-
-
-void GroupwareDownloadJob::kill()
-{
- cancelLoad();
-}
-
-
-
-void GroupwareDownloadJob::cancelLoad()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mListEventsJob ) mListEventsJob->kill();
- mListEventsJob = 0;
- if ( mProgress ) mProgress->setComplete();
-
-
- mProgress = 0;
-}
-
-#include "groupwaredownloadjob.moc"
diff --git a/kresources/lib/groupwaredownloadjob.h b/kresources/lib/groupwaredownloadjob.h
deleted file mode 100644
index 6cf3bf24..00000000
--- a/kresources/lib/groupwaredownloadjob.h
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_GROUPWAREDOWNLOADJOB_H
-#define KPIM_GROUPWAREDOWNLOADJOB_H
-
-#include "groupwareresourcejob.h"
-#include <tqstringlist.h>
-
-namespace TDEIO {
- class Job;
- class TransferJob;
-}
-
-namespace KPIM {
-
-class GroupwareDataAdaptor;
-class ProgressItem;
-
-/**
- This class provides a resource for accessing a Groupware calendar with local caching.
-*/
-class GroupwareDownloadJob : public GroupwareJob
-{
- Q_OBJECT
-
- public:
- GroupwareDownloadJob( GroupwareDataAdaptor *adaptor );
-
- void kill();
-
- protected:
- void listItems();
- void deleteIncidencesGoneFromServer();
- void downloadItem();
-
- protected slots:
- void run();
-
- void cancelLoad();
-
- void slotListItemsResult( TDEIO::Job * );
- void slotListItemsData( TDEIO::Job *, const TQByteArray & );
- void slotDownloadItemResult( TDEIO::Job * );
- void slotDownloadItemData( TDEIO::Job *, const TQByteArray & );
-
- void slotItemToDownload( const KURL &remoteURL,
- KPIM::FolderLister::ContentType type );
- void slotItemOnServer( const KURL &remoteURL );
- void slotItemDownloaded( const TQString &localID, const KURL &remoteURL,
- const TQString &fingerprint );
- void slotItemDownloadError( const KURL &remoteURL, const TQString &error );
-
- private:
- KURL::List mFoldersForDownload;
- /** mCurrentlyOnServer is the list of pathes of all items on the server.
- These pathes don't contain the server name! */
- KURL::List mCurrentlyOnServer;
-
- TQMap<KURL,KPIM::FolderLister::ContentType> mItemsForDownload;
- TQMap<KURL,KPIM::FolderLister::ContentType> mItemsDownloading;
- TQMap<KURL,KPIM::FolderLister::ContentType> mItemsDownloaded;
- TQMap<KURL,KPIM::FolderLister::ContentType> mItemsDownloadError;
-
- KPIM::ProgressItem *mProgress;
-
- TDEIO::TransferJob *mDownloadJob;
- TDEIO::TransferJob *mListEventsJob;
-
- TQString mListItemsData;
- TQString mDownloadItemsData;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/groupwareresourcejob.cpp b/kresources/lib/groupwareresourcejob.cpp
deleted file mode 100644
index b7e4b57b..00000000
--- a/kresources/lib/groupwareresourcejob.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupwareresourcejob.h"
-
-#include <tqtimer.h>
-
-using namespace KPIM;
-
-GroupwareJob::GroupwareJob( GroupwareDataAdaptor *adaptor )
- : mAdaptor( adaptor )
-{
- TQTimer::singleShot( 0, this, TQT_SLOT( run() ) );
-}
-
-bool GroupwareJob::error() const
-{
- return !mErrorString.isNull();
-}
-
-TQString GroupwareJob::errorString() const
-{
- return mErrorString;
-}
-
-void GroupwareJob::success()
-{
- mErrorString = TQString();
- emit( result( this ) );
-}
-
-void GroupwareJob::error( const TQString &errorString )
-{
- mErrorString = errorString;
- emit( result( this ) );
-}
-
-
-#include "groupwareresourcejob.moc"
diff --git a/kresources/lib/groupwareresourcejob.h b/kresources/lib/groupwareresourcejob.h
deleted file mode 100644
index f2818f2c..00000000
--- a/kresources/lib/groupwareresourcejob.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_GROUPWAREJOB_H
-#define KPIM_GROUPWAREJOB_H
-
-#include <tqobject.h>
-#include <tqstring.h>
-#include "folderlister.h"
-
-namespace KPIM {
-
-class GroupwareDataAdaptor;
-
-/**
- This class provides a resource for accessing a Groupware kioslave-based
- calendar.
-*/
-class GroupwareJob : public TQObject
-{
- Q_OBJECT
-
- public:
- GroupwareJob( GroupwareDataAdaptor *adaptor );
-
- bool error() const;
- TQString errorString() const;
-
- virtual void kill() = 0;
-
- signals:
- void result( KPIM::GroupwareJob * );
-
- protected:
- void success();
- void error( const TQString & );
- GroupwareDataAdaptor *adaptor() { return mAdaptor; }
- const GroupwareDataAdaptor *adaptor() const { return mAdaptor; }
-
- protected slots:
- virtual void run() = 0;
-
- private:
- TQString mErrorString;
- GroupwareDataAdaptor *mAdaptor;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/groupwareuploadjob.cpp b/kresources/lib/groupwareuploadjob.cpp
deleted file mode 100644
index cf46571f..00000000
--- a/kresources/lib/groupwareuploadjob.cpp
+++ /dev/null
@@ -1,485 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "groupwareuploadjob.h"
-
-#include "folderlister.h"
-#include "groupwaredataadaptor.h"
-
-#include <libemailfunctions/idmapper.h>
-#include <libtdepim/progressmanager.h>
-
-#include <kdebug.h>
-#include <kurl.h>
-#include <kio/job.h>
-
-#include <tqstringlist.h>
-#include <tqtimer.h>
-#include <klocale.h>
-
-using namespace KPIM;
-
-GroupwareUploadJob::GroupwareUploadJob( GroupwareDataAdaptor *adaptor )
- : GroupwareJob( adaptor ), mUploadJob(0),
- mDeletionJob(0), mUploadProgress(0)
-{
-}
-
-void GroupwareUploadJob::run()
-{
- deleteItem();
- mUploadProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(),
- adaptor()->uploadProgressMessage() );
- connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelSave() ) );
-
- connect( adaptor(), TQT_SIGNAL( itemDeletionError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDeleteError( const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemUploadError( const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadNewError( const TQString &, const TQString & ) ),
- TQT_SLOT( slotItemUploadNewError( const TQString &, const TQString & ) ) );
-
- connect( adaptor(), TQT_SIGNAL( itemDeleted( const TQString &, const KURL & ) ),
- TQT_SLOT( slotItemDeleted( const TQString &, const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploaded( const TQString &, const KURL & ) ),
- TQT_SLOT( slotItemUploaded( const TQString &, const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadedNew( const TQString &, const KURL& ) ),
- TQT_SLOT( slotItemUploadedNew( const TQString &, const KURL & ) ) );
-
-
- mUploadProgress->setTotalItems( mAddedItems.size() + mChangedItems.size() +
- ((mChangedItems.isEmpty())?0:1) );
- mUploadProgress->updateProgress();
-}
-
-
-
-void GroupwareUploadJob::deleteItem()
-{
- kdDebug(5800)<<"GroupwareUploadJob::deleteItem()"<<endl;
- if ( mDeletedItems.isEmpty() ) {
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadItem() ) );
- } else {
- kdDebug(7000) << " Deleting " << mDeletedItems.size() << " items from the server " << endl;
-
- KURL url( adaptor()->baseURL() );
- adaptor()->adaptUploadUrl( url );
- if ( adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResBatchDelete ) {
-kdDebug() << "Using batch delete " << endl;
- mDeletionJob = adaptor()->createRemoveJob( url, mDeletedItems );
- mItemsUploading += mDeletedItems;
- mDeletedItems.clear();
- } else {
-kdDebug() << "Not using batch delete " << endl;
- KPIM::GroupwareUploadItem *item = mDeletedItems.front();
- mDeletionJob = adaptor()->createRemoveJob( url, item );
- mItemsUploading.append( mDeletedItems.front() );
- mDeletedItems.pop_front();
- }
-
- if ( mDeletionJob ) {
- mDeletionJobData = TQString();
- connect( mDeletionJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotDeletionJobResult( TDEIO::Job* ) ) );
-// connect( mDeletionJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
-// TQT_SLOT( slotDeletionJobData( TDEIO::Job *, const TQByteArray & ) ) );
- } else {
- deleteItem();
- }
- }
-}
-
-
-
-void GroupwareUploadJob::slotDeletionJobData( TDEIO::Job *, const TQByteArray &data )
-{
- kdDebug(5800) << "OpenGroupware::slotDeletionData()" << endl;
-
- mDeletionJobData.append( data.data() );
-}
-
-
-
-void GroupwareUploadJob::slotDeletionJobResult( TDEIO::Job *job )
-{
- if ( job && adaptor() ) {
- adaptor()->interpretRemoveJob( job, mDeletionJobData );
- }
- mDeletionJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteItem() ) );
-}
-
-
-
-void GroupwareUploadJob::uploadItem()
-{
- kdDebug(5800)<<"GroupwareUploadJob::uploadItem()"<<endl;
- if ( mChangedItems.isEmpty() ) {
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadNewItem() ) );
- } else {
- kdDebug(5800)<<"We still have "<<mChangedItems.count()<<" changed items to upload"<<endl;
-
- KURL url( adaptor()->baseURL() );
- adaptor()->adaptUploadUrl( url );
- if ( adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResBatchModify ) {
-kdDebug() << "Using batch upload " << endl;
- mUploadJob = adaptor()->createUploadJob( url, mChangedItems );
- mItemsUploading += mChangedItems;
- mChangedItems.clear();
- } else {
-kdDebug() << "Not using batch upload " << endl;
- KPIM::GroupwareUploadItem *item = mChangedItems.front();
- mUploadJob = adaptor()->createUploadJob( url, item );
- mItemsUploading.append( mChangedItems.front() );
- mChangedItems.pop_front();
- }
-
- if ( mUploadJob ) {
- mUploadJobData = TQString();
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotUploadJobResult( TDEIO::Job* ) ) );
- connect( mUploadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUploadJobData( TDEIO::Job *, const TQByteArray & ) ) );
- } else {
- uploadItem();
- }
- }
-}
-
-
-void GroupwareUploadJob::slotUploadJobData( TDEIO::Job *, const TQByteArray &data )
-{
- kdDebug(5800) << "OpenGroupware::slotUploadData()" << endl;
-
- mUploadJobData.append( data.data() );
-}
-
-
-
-void GroupwareUploadJob::slotUploadJobResult( TDEIO::Job *job )
-{
- if ( job && adaptor() ) {
- adaptor()->interpretUploadJob( job, mUploadJobData );
- }
- mUploadJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadItem() ) );
-}
-
-
-
-
-void GroupwareUploadJob::uploadNewItem()
-{
- kdDebug(5800)<<"GroupwareUploadJob::uploadNewItem()"<<endl;
- if ( !mAddedItems.isEmpty() ) {
-
- if ( adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResBatchCreate ) {
- KURL url( adaptor()->folderLister()->writeDestinationId( FolderLister::All ) );
- adaptor()->adaptUploadUrl( url );
-kdDebug() << "Using batch create to " << url.url() << endl;
- mUploadJob = adaptor()->createUploadNewJob( url, mAddedItems );
- mItemsUploading += mAddedItems;
- mAddedItems.clear();
- } else {
- KPIM::GroupwareUploadItem *item = mAddedItems.front();
- KURL url( adaptor()->folderLister()->writeDestinationId( item->itemType() ) );
- adaptor()->adaptUploadUrl( url );
-kdDebug() << "Not using batch create to " << url.url() << " for item of type " << item->itemType() << endl;
- if ( !url.isEmpty() ) {
- mUploadJob = adaptor()->createUploadNewJob( url, item );
- mItemsUploading.append( mAddedItems.front() );
- }
- mAddedItems.pop_front();
- }
-
- if ( mUploadJob ) {
- mUploadNewJobData = TQString();
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotUploadNewJobResult( TDEIO::Job* ) ) );
- connect( mUploadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUploadNewJobData( TDEIO::Job *, const TQByteArray & ) ) );
- } else {
- uploadNewItem();
- }
-
- } else {
- kdDebug(5800)<<"We are finished uploading all items. Setting progress to completed."<<endl;
- uploadCompleted();
- }
-}
-
-void GroupwareUploadJob::slotUploadNewJobData( TDEIO::Job *, const TQByteArray &data )
-{
- kdDebug(5800) << "OpenGroupware::slotUploadNewJobData()" << endl;
-
- mUploadNewJobData.append( data.data() );
-}
-
-
-
-void GroupwareUploadJob::slotUploadNewJobResult( TDEIO::Job *job )
-{
- if ( job && adaptor() ) {
- adaptor()->interpretUploadNewJob( job, mUploadNewJobData );
- }
- mUploadJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadNewItem() ) );
-}
-
-
-void GroupwareUploadJob::kill()
-{
- cancelSave();
-}
-
-void GroupwareUploadJob::slotItemDeleted( const TQString &/*localId*/, const KURL &remoteURL )
-{
- kdDebug() << "GroupwareUploadJob::slotItemDeleted, removal successful: "<< remoteURL.url() << endl;
-
- const TQString &remote = remoteURL.path();
- const TQString &local = adaptor()->idMapper()->localId( remote );
- if ( !local.isEmpty() ) {
- // TODO: Is the deleted status reset in the resource?
- adaptor()->deleteItem( local );
- }
-
- KPIM::GroupwareUploadItem::List allit( mDeletedItems );
- allit += mItemsUploading;
- allit += mItemsUploadError;
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == remoteURL.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mDeletedItems.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.remove( item );
- mItemsUploaded.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-
-
-void GroupwareUploadJob::slotItemUploaded( const TQString &/*localId*/, const KURL &remoteURL )
-{
- kdDebug() << "GroupwareUploadJob::slotItemUploaded, upload successful: "<< remoteURL.url() << endl;
-
- const TQString &remote = remoteURL.path();
- const TQString &local = adaptor()->idMapper()->localId( remote );
- if ( !local.isEmpty() ) {
- // TODO: Is the deleted status reset in the resource?
-// adaptor()->itemUploaded( local, remoteURL );
- }
-
- KPIM::GroupwareUploadItem::List allit( mChangedItems );
- allit += mAddedItems;
- allit += mItemsUploading;
- allit += mItemsUploadError;
-
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == remoteURL.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mChangedItems.remove( item );
- mAddedItems.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.remove( item );
- mItemsUploaded.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-
-void GroupwareUploadJob::slotItemUploadedNew( const TQString &localId, const KURL &remoteURL )
-{
- kdDebug() << "GroupwareUploadJob::slotItemUploadedNew, upload successful: "<< remoteURL.url() << endl;
-
- const TQString &remote = remoteURL.path();
- // TODO: For a new item this won't return anything, so we need to insert the
- // local<=>remote id map when creating the upload job... And maybe
- const TQString &local = adaptor()->idMapper()->localId( remote );
- if ( !localId.isEmpty() ) {
- adaptor()->deleteItem( localId );
- }
- if ( !local.isEmpty() ) {
-// adaptor()->itemUploadedNew( local, remoteURL );
- }
-
- KPIM::GroupwareUploadItem::List allit( mChangedItems );
- allit += mAddedItems;
- allit += mItemsUploading;
- allit += mItemsUploadError;
-
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == remoteURL.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mChangedItems.remove( item );
- mAddedItems.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.remove( item );
- mItemsUploaded.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-void GroupwareUploadJob::slotItemDeleteError( const KURL &remoteURL, const TQString &/*error*/ )
-{
- // TODO: Add to error list, remove from uploading and toUpload list
- kdDebug() << "GroupwareUploadJob::slotItemDeleteError, removal not successful: "<< remoteURL.url() << endl;
- KPIM::GroupwareUploadItem::List allit( mDeletedItems );
- allit += mItemsUploading;
- allit += mItemsUploaded;
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == remoteURL.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mDeletedItems.remove( item );
- mItemsUploaded.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-void GroupwareUploadJob::slotItemUploadError( const KURL &remoteURL, const TQString &/*error*/ )
-{
- // TODO: Add to error list, remove from uploading and toUpload list
- kdDebug() << "GroupwareUploadJob::slotItemUploadError, removal not successful: "<< remoteURL.url() << endl;
- KPIM::GroupwareUploadItem::List allit( mChangedItems );
- allit += mItemsUploading;
- allit += mItemsUploaded;
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == remoteURL.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mChangedItems.remove( item );
- mItemsUploaded.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-void GroupwareUploadJob::slotItemUploadNewError( const TQString &/*localID*/, const TQString &remoteURL )
-{
- kdDebug(5006) << "GroupwareUploadJob::slotItemUploadNewError, removal not successful: "<< remoteURL << endl;
- KPIM::GroupwareUploadItem::List allit( mAddedItems );
- allit += mItemsUploading;
- allit += mItemsUploaded;
- const KURL &url( remoteURL );
-
- KPIM::GroupwareUploadItem::List::Iterator it = allit.begin();
- for ( ; it != allit.end(); ++it ) {
- if ( (*it)->url().path() == url.path() ) {
-kdDebug()<<"Found it in the list!"<<endl;
- KPIM::GroupwareUploadItem *item = (*it);
- mAddedItems.remove( item );
- mItemsUploaded.remove( item );
- mItemsUploading.remove( item );
- mItemsUploadError.append( item );
- }
- }
-
- if ( mUploadProgress ) {
- mUploadProgress->incCompletedItems();
- mUploadProgress->updateProgress();
- }
-}
-
-
-void GroupwareUploadJob::cancelSave()
-{
- if ( mUploadJob ) mUploadJob->kill();
- mUploadJob = 0;
- if ( mUploadProgress ) mUploadProgress->setComplete();
- mUploadProgress = 0;
-}
-
-void GroupwareUploadJob::uploadCompleted()
-{
- if ( !mItemsUploadError.isEmpty() ) {
- error( i18n("1 item could not be uploaded.", "%n items could not be uploaded.", mItemsUploadError.count() ) );
- }
- KPIM::GroupwareUploadItem::List items( mAddedItems );
- items += mChangedItems;
- items += mDeletedItems;
- items += mItemsUploading;
- items += mItemsUploaded;
- items += mItemsUploadError;
-
- mAddedItems.clear();
- mChangedItems.clear();
- mDeletedItems.clear();
- mItemsUploading.clear();
- mItemsUploaded.clear();
- mItemsUploadError.clear();
- items.setAutoDelete( true );
- items.clear();
-
- if ( mUploadProgress ) {
- mUploadProgress->setComplete();
- mUploadProgress = 0;
- }
- success();
-
-}
-#include "groupwareuploadjob.moc"
diff --git a/kresources/lib/groupwareuploadjob.h b/kresources/lib/groupwareuploadjob.h
deleted file mode 100644
index b3a0ff75..00000000
--- a/kresources/lib/groupwareuploadjob.h
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_GROUPWAREUPLOADJOB_H
-#define KPIM_GROUPWAREUPLOADJOB_H
-
-#include "groupwareresourcejob.h"
-
-#include <kurl.h>
-#include <tqstringlist.h>
-#include <groupwaredataadaptor.h>
-
-namespace TDEIO {
- class Job;
- class TransferJob;
- class DeleteJob;
-}
-
-namespace KPIM {
-
-class GroupwareDataAdaptor;
-class ProgressItem;
-
-/**
- This class provides a resource for accessing a Groupware kioslave-based
- calendar.
-*/
-class GroupwareUploadJob : public GroupwareJob
-{
- Q_OBJECT
-
- public:
- GroupwareUploadJob( GroupwareDataAdaptor *adaptor );
-
- KPIM::GroupwareUploadItem::List addedItems() const
- {
- return mAddedItems;
- }
- void setAddedItems( const KPIM::GroupwareUploadItem::List &items )
- {
- mAddedItems = items;
- }
- KPIM::GroupwareUploadItem::List changedItems() const
- {
- return mChangedItems;
- }
- void setChangedItems( const KPIM::GroupwareUploadItem::List &items )
- {
- mChangedItems = items;
- }
- KPIM::GroupwareUploadItem::List deletedItems() const
- {
- return mDeletedItems;
- }
- void setDeletedItems( const KPIM::GroupwareUploadItem::List &items )
- {
- mDeletedItems = items;
- }
-
- void kill();
-
- protected slots:
- void deleteItem();
- void uploadItem();
- void uploadNewItem();
-
- protected slots:
- void run();
-
- void cancelSave();
-
- void slotDeletionJobResult( TDEIO::Job *job );
- void slotDeletionJobData( TDEIO::Job *, const TQByteArray & );
- void slotUploadJobResult( TDEIO::Job *job );
- void slotUploadJobData( TDEIO::Job *, const TQByteArray & );
- void slotUploadNewJobResult( TDEIO::Job *job );
- void slotUploadNewJobData( TDEIO::Job *, const TQByteArray & );
-
- void slotItemDeleted( const TQString &localID, const KURL &remoteURL );
- void slotItemUploaded( const TQString &localID, const KURL &remoteURL );
- void slotItemUploadedNew( const TQString &localID, const KURL &remoteURL );
-
- void slotItemDeleteError( const KURL &remoteURL, const TQString &error );
- void slotItemUploadError( const KURL &remoteURL, const TQString &error );
- void slotItemUploadNewError( const TQString &localID, const TQString &error );
-
- void uploadCompleted();
-
- private:
- KPIM::GroupwareUploadItem::List mAddedItems;
- KPIM::GroupwareUploadItem::List mChangedItems;
- KPIM::GroupwareUploadItem::List mDeletedItems;
-
- KPIM::GroupwareUploadItem::List mItemsUploading;
- KPIM::GroupwareUploadItem::List mItemsUploaded;
- KPIM::GroupwareUploadItem::List mItemsUploadError;
-
- TQString mDeletionJobData;
- TQString mUploadJobData;
- TQString mUploadNewJobData;
-
- TDEIO::TransferJob *mUploadJob;
- TDEIO::Job *mDeletionJob;
- KPIM::ProgressItem *mUploadProgress;
-
-};
-
-}
-
-#endif
-
-
diff --git a/kresources/lib/kabc_resourcegroupwarebase.cpp b/kresources/lib/kabc_resourcegroupwarebase.cpp
deleted file mode 100644
index 4700dd1f..00000000
--- a/kresources/lib/kabc_resourcegroupwarebase.cpp
+++ /dev/null
@@ -1,262 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (C) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupwarebase.h"
-#include "kresources_groupwareprefs.h"
-
-#include "folderlister.h"
-#include "addressbookadaptor.h"
-#include "groupwaredownloadjob.h"
-#include "groupwareuploadjob.h"
-
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-ResourceGroupwareBase::ResourceGroupwareBase( const TDEConfig *config )
- : ResourceCached( config ),
- mPrefs(0), mFolderLister(0), mAdaptor(0), mDownloadJob(0), mUploadJob(0)
-{
- if ( config ) readConfig( config );
-}
-
-ResourceGroupwareBase::~ResourceGroupwareBase()
-{
- delete mPrefs;
- mPrefs = 0;
-}
-
-KPIM::GroupwareDownloadJob *ResourceGroupwareBase::createDownloadJob(
- AddressBookAdaptor *adaptor )
-{
- return new KPIM::GroupwareDownloadJob( adaptor );
-}
-
-KPIM::GroupwareUploadJob *ResourceGroupwareBase::createUploadJob(
- AddressBookAdaptor *adaptor )
-{
- return new KPIM::GroupwareUploadJob( adaptor );
-}
-
-void ResourceGroupwareBase::setPrefs( KPIM::GroupwarePrefsBase *newprefs )
-{
- if ( !newprefs ) return;
- if ( mPrefs ) delete mPrefs;
- mPrefs = newprefs;
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->readConfig();
- if ( mFolderLister ) mFolderLister->readConfig( mPrefs );
-}
-
-void ResourceGroupwareBase::setFolderLister( KPIM::FolderLister *folderLister )
-{
- if ( !folderLister ) return;
- if ( mFolderLister ) delete mFolderLister;
- mFolderLister = folderLister;
- if ( mPrefs ) mFolderLister->readConfig( mPrefs );
- if ( mAdaptor ) {
- mAdaptor->setFolderLister( mFolderLister );
- mFolderLister->setAdaptor( mAdaptor );
- }
-}
-
-void ResourceGroupwareBase::setAdaptor( AddressBookAdaptor *adaptor )
-{
- if ( !adaptor ) return;
- if ( mAdaptor ) delete mAdaptor;
- mAdaptor = adaptor;
- mAdaptor->setFolderLister( mFolderLister );
- if ( mFolderLister ) mFolderLister->setAdaptor( mAdaptor );
- mAdaptor->setDownloadProgressMessage( i18n("Downloading addressbook") );
- mAdaptor->setUploadProgressMessage( i18n("Uploading addressbook") );
- if ( prefs() ) {
- mAdaptor->setBaseURL( prefs()->url() );
- mAdaptor->setUser( prefs()->user() );
- mAdaptor->setPassword( prefs()->password() );
- }
- mAdaptor->setIdMapper( &idMapper() );
- mAdaptor->setResource( this );
-}
-
-void ResourceGroupwareBase::init()
-{
- mDownloadJob = 0;
-}
-
-KPIM::GroupwarePrefsBase *ResourceGroupwareBase::createPrefs()
-{
- return new KPIM::GroupwarePrefsBase();
-}
-
-
-
-void ResourceGroupwareBase::readConfig( const TDEConfig */*config*/ )
-{
- kdDebug(5700) << "KABC::ResourceGroupwareBase::readConfig()" << endl;
-// ResourceCached::readConfig( config );
- if ( mPrefs ) {
- mPrefs->readConfig();
- if ( mFolderLister )
- mFolderLister->readConfig( mPrefs );
- }
-}
-
-void ResourceGroupwareBase::writeConfig( TDEConfig *config )
-{
- Resource::writeConfig( config );
-
- if ( mPrefs ) {
- if ( mFolderLister )
- mFolderLister->writeConfig( mPrefs );
- mPrefs->writeConfig();
- }
-}
-
-Ticket *ResourceGroupwareBase::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceGroupwareBase::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-bool ResourceGroupwareBase::doOpen()
-{
- return true;
-}
-
-void ResourceGroupwareBase::doClose()
-{
- kdDebug(5800) << "ResourceGroupwareBase::doClose()" << endl;
-
- if ( mDownloadJob ) mDownloadJob->kill();
-}
-
-bool ResourceGroupwareBase::load()
-{
- return asyncLoad();
-}
-
-bool ResourceGroupwareBase::asyncLoad()
-{
- if ( mDownloadJob ) {
- kdWarning() << "Download still in progress" << endl;
- return false;
- }
-
- mAddrMap.clear();
- loadCache();
-
- mDownloadJob = createDownloadJob( mAdaptor );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
-
- return true;
-}
-
-void ResourceGroupwareBase::slotDownloadJobResult( KPIM::GroupwareJob *job )
-{
- kdDebug(5800) << "ResourceGroupwareBase::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- kdError() << "job failed: " << job->errorString() << endl;
- } else {
- emit loadingFinished( this );
- if ( addressBook() )
- addressBook()->emitAddressBookChanged();
- }
-
- mDownloadJob = 0;
-}
-
-bool ResourceGroupwareBase::save( Ticket *ticket )
-{
- return asyncSave( ticket );
-}
-
-bool ResourceGroupwareBase::asyncSave( Ticket* )
-{
- if ( mUploadJob ) {
- // FIXME: If the user cancels, need to reset the mUploadJob variable to 0.
- kdWarning() << "Upload still in progress." << endl;
- return false;
- }
-
- mUploadJob = createUploadJob( mAdaptor );
- connect( mUploadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
-
- KABC::Addressee::List addr;
- KABC::Addressee::List::Iterator it;
- KPIM::GroupwareUploadItem::List addedItems, changedItems, deletedItems;
-
- addr = addedAddressees();
- for( it = addr.begin(); it != addr.end(); ++it ) {
- addedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Added ) );
- }
- // TODO: Check if the item has changed on the server...
- // In particular, check if the version we based our change on is still current
- // on the server
- addr = changedAddressees();
- for( it = addr.begin(); it != addr.end(); ++it ) {
- changedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Changed ) );
- }
- addr = deletedAddressees();
- for( it = addr.begin(); it != addr.end(); ++it ) {
- deletedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Deleted ) );
- }
-
- mUploadJob->setAddedItems( addedItems );
- mUploadJob->setChangedItems( changedItems );
- mUploadJob->setDeletedItems( deletedItems );
-
- return true;
-}
-
-void ResourceGroupwareBase::slotUploadJobResult( KPIM::GroupwareJob *job )
-{
- kdDebug(5800) << "ResourceGroupwareBase::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- kdError() << "job failed: " << job->errorString() << endl;
- } else {
- // FIXME
- }
-
- mUploadJob = 0;
-}
-
-
-#include "kabc_resourcegroupwarebase.moc"
diff --git a/kresources/lib/kabc_resourcegroupwarebase.h b/kresources/lib/kabc_resourcegroupwarebase.h
deleted file mode 100644
index 28ce5199..00000000
--- a/kresources/lib/kabc_resourcegroupwarebase.h
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (C) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWARE_H
-#define KABC_RESOURCEGROUPWARE_H
-
-#include <kurl.h>
-#include <kabcresourcecached.h>
-#include <tdepimmacros.h>
-
-class TDEConfig;
-
-namespace KPIM {
-class GroupwareJob;
-class GroupwareDownloadJob;
-class GroupwareUploadJob;
-class FolderLister;
-class GroupwarePrefsBase;
-}
-
-namespace KABC {
-
-class AddressBookAdaptor;
-
-class KDE_EXPORT ResourceGroupwareBase : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupwareBase( const TDEConfig * );
- ~ResourceGroupwareBase();
-
- void readConfig( const TDEConfig * );
- void writeConfig( TDEConfig * );
-
- KPIM::GroupwarePrefsBase *prefs() const { return mPrefs; }
- void setPrefs( KPIM::GroupwarePrefsBase *prefs );
-
- KPIM::FolderLister *folderLister() const { return mFolderLister; }
- void setFolderLister( KPIM::FolderLister *folderLister );
-
- AddressBookAdaptor *adaptor() const { return mAdaptor; }
- void setAdaptor( AddressBookAdaptor *adaptor );
-
- bool doOpen();
- void doClose();
-
- Ticket *requestSaveTicket();
- void releaseSaveTicket( Ticket* );
-
- bool load();
- bool asyncLoad();
- bool save( Ticket * );
- bool asyncSave( Ticket * );
-
- protected:
- void init();
-
- KPIM::GroupwarePrefsBase *createPrefs();
- virtual KPIM::GroupwareDownloadJob *createDownloadJob(
- AddressBookAdaptor *adaptor );
- virtual KPIM::GroupwareUploadJob *createUploadJob(
- AddressBookAdaptor *adaptor );
-
- private slots:
- void slotDownloadJobResult( KPIM::GroupwareJob * );
- void slotUploadJobResult( KPIM::GroupwareJob * );
-
- private:
- KPIM::GroupwarePrefsBase *mPrefs;
- KPIM::FolderLister *mFolderLister;
- AddressBookAdaptor *mAdaptor;
-
- KPIM::GroupwareDownloadJob *mDownloadJob;
- KPIM::GroupwareUploadJob *mUploadJob;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp b/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp
deleted file mode 100644
index 6609a3b2..00000000
--- a/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourcegroupwarebaseconfig.h"
-
-#include "kabc_resourcegroupwarebase.h"
-#include "kresources_groupwareprefs.h"
-#include "folderconfig.h"
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <kurlrequester.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-using namespace KABC;
-
-ResourceGroupwareBaseConfig::ResourceGroupwareBaseConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 7, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUser, 1, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mPassword, 2, 1 );
-
- TQFrame *hline = new TQFrame( this );
- hline->setFrameStyle( TQFrame::HLine | TQFrame::Sunken );
-
- mainLayout->addMultiCellWidget( hline, 3, 3, 0, 1 );
-
- mFolderConfig = new KPIM::FolderConfig( this );
- connect( mFolderConfig, TQT_SIGNAL( updateFoldersClicked() ),
- TQT_SLOT( updateFolders() ) );
- mainLayout->addMultiCellWidget( mFolderConfig, 4, 4, 0, 1 );
-}
-
-void ResourceGroupwareBaseConfig::loadSettings( KRES::Resource *res )
-{
- mResource = dynamic_cast<ResourceGroupwareBase*>( res );
-
- if ( !mResource ) {
- kdDebug(5700) << "ResourceGroupwareBaseConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- mURL->setURL( mResource->prefs()->url() );
- mUser->setText( mResource->prefs()->user() );
- mPassword->setText( mResource->prefs()->password() );
-
- mFolderConfig->setFolderLister( mResource->folderLister() );
- mFolderConfig->updateFolderList();
-}
-
-void ResourceGroupwareBaseConfig::saveSettings( KRES::Resource *res )
-{
- ResourceGroupwareBase *resource = dynamic_cast<ResourceGroupwareBase*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceGroupwareBaseConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
-
- mFolderConfig->saveSettings();
-}
-
-void ResourceGroupwareBaseConfig::updateFolders()
-{
- KURL url = mURL->url();
- url.setUser( mUser->text() );
- url.setPass( mPassword->text() );
-
- mFolderConfig->retrieveFolderList( url );
-}
-
-#include "kabc_resourcegroupwarebaseconfig.moc"
diff --git a/kresources/lib/kabc_resourcegroupwarebaseconfig.h b/kresources/lib/kabc_resourcegroupwarebaseconfig.h
deleted file mode 100644
index 47a801ae..00000000
--- a/kresources/lib/kabc_resourcegroupwarebaseconfig.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEGROUPWAREBASECONFIG_H
-#define KABC_RESOURCEGROUPWAREBASECONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KLineEdit;
-class KURLRequester;
-
-namespace KPIM {
-class FolderConfig;
-}
-
-namespace KABC {
-
-class ResourceGroupwareBase;
-
-class KDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceGroupwareBaseConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- protected slots:
- void updateFolders();
-
- private:
- KURLRequester *mURL;
- KLineEdit *mUser;
- KLineEdit *mPassword;
- KPIM::FolderConfig *mFolderConfig;
-
- ResourceGroupwareBase *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/kcal_cachesettingsdlg.cpp b/kresources/lib/kcal_cachesettingsdlg.cpp
deleted file mode 100644
index 20b48ad9..00000000
--- a/kresources/lib/kcal_cachesettingsdlg.cpp
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_cachesettingsdlg.h"
-
-#include "kcal_resourcegroupwarebase.h"
-#include "kresources_groupwareprefs.h"
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <klineedit.h>
-#include <kdialog.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-
-using namespace KCal;
-
-CacheSettingsDialog::CacheSettingsDialog( TQWidget* parent, const char* name )
- : KDialogBase( parent, name, true, i18n("Resource Cache Settings"), KDialogBase::Close )
-{
- TQWidget *mainWidget = new TQWidget( this );
- setMainWidget( mainWidget );
-
- TQGridLayout *mainLayout = new TQGridLayout( mainWidget, 2, 2 );
- mainLayout->setSpacing( KDialog::spacingHint() );
-
- mReloadConfig = new KCal::ResourceCachedReloadConfig( mainWidget );
- mainLayout->addMultiCellWidget( mReloadConfig, 1, 3, 2, 2 );
-
- mSaveConfig = new KCal::ResourceCachedSaveConfig( mainWidget );
- mainLayout->addMultiCellWidget( mSaveConfig, 4, 4, 2, 2 );
-}
-
-void CacheSettingsDialog::loadSettings( KRES::Resource *resource )
-{
- kdDebug(7000) << "KCal::CacheSettingsDialog::loadSettings()" << endl;
-
- ResourceGroupwareBase *res = static_cast<ResourceGroupwareBase *>( resource );
- if ( res ) {
- if ( !res->prefs() ) {
- kdError() << "No PREF" << endl;
- return;
- }
-
- mReloadConfig->loadSettings( res );
- mSaveConfig->loadSettings( res );
-
- } else {
- kdError(5700) << "CacheSettingsDialog::loadSettings(): "
- "no ResourceGroupwareBase, cast failed" << endl;
- }
-}
-
-void CacheSettingsDialog::saveSettings( KRES::Resource *resource )
-{
- ResourceGroupwareBase *res = static_cast<ResourceGroupwareBase*>( resource );
- if ( res ) {
- mReloadConfig->saveSettings( res );
- mSaveConfig->saveSettings( res );
- } else {
- kdError(5700) << "CacheSettingsDialog::saveSettings(): "
- "no ResourceGroupwareBase, cast failed" << endl;
- }
-}
-
-#include "kcal_cachesettingsdlg.moc"
diff --git a/kresources/lib/kcal_cachesettingsdlg.h b/kresources/lib/kcal_cachesettingsdlg.h
deleted file mode 100644
index 1a6b369a..00000000
--- a/kresources/lib/kcal_cachesettingsdlg.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_CACHESETTINGSDLG_H
-#define KCAL_CACHESETTINGSDLG_H
-
-#include <kdialogbase.h>
-#include <tdepimmacros.h>
-
-
-namespace KRES {
-class Resource;
-}
-
-namespace KCal {
-
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-
-/**
- Configuration widget for groupware kioslave resource.
- @see KCalOpenGroupware
-*/
-class KDE_EXPORT CacheSettingsDialog : public KDialogBase
-{
- Q_OBJECT
-
- public:
- CacheSettingsDialog( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- private:
- KCal::ResourceCachedReloadConfig *mReloadConfig;
- KCal::ResourceCachedSaveConfig *mSaveConfig;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/kcal_resourcegroupwarebase.cpp b/kresources/lib/kcal_resourcegroupwarebase.cpp
deleted file mode 100644
index 118fc662..00000000
--- a/kresources/lib/kcal_resourcegroupwarebase.cpp
+++ /dev/null
@@ -1,410 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupwarebase.h"
-#include "kresources_groupwareprefs.h"
-
-#include "libkcal/confirmsavedialog.h"
-#include "folderlister.h"
-#include "calendaradaptor.h"
-#include "groupwaredownloadjob.h"
-#include "groupwareuploadjob.h"
-
-#include <libkcal/icalformat.h>
-#include <kio/job.h>
-#include <klocale.h>
-
-#include <tqapplication.h>
-
-using namespace KCal;
-
-ResourceGroupwareBase::ResourceGroupwareBase()
- : ResourceCached( 0 ), mPrefs(0), mFolderLister(0),
- mLock( true ), mAdaptor(0), mDownloadJob(0), mUploadJob(0)
-{
-}
-
-ResourceGroupwareBase::ResourceGroupwareBase( const TDEConfig *config )
- : ResourceCached( config ), mPrefs(0), mFolderLister(0),
- mLock( true ), mAdaptor(0), mDownloadJob(0), mUploadJob(0)
-{
- if ( config ) readConfig( config );
-}
-
-ResourceGroupwareBase::~ResourceGroupwareBase()
-{
- disableChangeNotification();
-
- delete mPrefs;
- mPrefs = 0;
-}
-
-KPIM::GroupwarePrefsBase *ResourceGroupwareBase::createPrefs()
-{
- return new KPIM::GroupwarePrefsBase();
-}
-
-
-bool ResourceGroupwareBase::addEvent( Event *event )
-{
- if ( adaptor() && ( adaptor()->supports( KPIM::FolderLister::Event ) ||
- adaptor()->supports( KPIM::FolderLister::All ) ) ) {
- return ResourceCached::addEvent( event, TQString() );
- } else return false;
-}
-
-bool ResourceGroupwareBase::addTodo( Todo *todo )
-{
- if ( adaptor() && ( adaptor()->supports( KPIM::FolderLister::Todo ) ||
- adaptor()->supports( KPIM::FolderLister::All ) ) ) {
- return ResourceCached::addTodo( todo, TQString() );
- } else return false;
-}
-
-bool ResourceGroupwareBase::addJournal( Journal *journal )
-{
- if ( adaptor() && ( adaptor()->supports( KPIM::FolderLister::Journal ) ||
- adaptor()->supports( KPIM::FolderLister::All ) ) ) {
- return ResourceCached::addJournal( journal, TQString() );
- } else return false;
-}
-
-
-KPIM::GroupwareDownloadJob *ResourceGroupwareBase::createDownloadJob(
- CalendarAdaptor *adaptor )
-{
- return new KPIM::GroupwareDownloadJob( adaptor );
-}
-
-KPIM::GroupwareUploadJob *ResourceGroupwareBase::createUploadJob(
- CalendarAdaptor *adaptor )
-{
- return new KPIM::GroupwareUploadJob( adaptor );
-}
-
-void ResourceGroupwareBase::setPrefs( KPIM::GroupwarePrefsBase *newprefs )
-{
- if ( !newprefs ) return;
- if ( mPrefs ) delete mPrefs;
- mPrefs = newprefs;
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->readConfig();
- if ( mFolderLister ) mFolderLister->readConfig( mPrefs );
-}
-
-void ResourceGroupwareBase::setFolderLister( KPIM::FolderLister *folderLister )
-{
- if ( !folderLister ) return;
- if ( mFolderLister ) delete mFolderLister;
- mFolderLister = folderLister;
- if ( mPrefs ) mFolderLister->readConfig( mPrefs );
- if ( adaptor() ) {
- adaptor()->setFolderLister( mFolderLister );
- mFolderLister->setAdaptor( adaptor() );
- }
-}
-
-void ResourceGroupwareBase::setAdaptor( CalendarAdaptor *adaptor )
-{
- if ( !adaptor ) return;
- if ( mAdaptor ) delete mAdaptor;
- mAdaptor = adaptor;
- mAdaptor->setFolderLister( mFolderLister );
- if ( mFolderLister ) mFolderLister->setAdaptor( mAdaptor );
- // TODO: Set the prgreess status in the up/download jobs, and set
- // the resource name as the label. This should be done in the
- // up/download jobs, but these don't have access to the resource's
- // name, do they?
-/* mAdaptor->setDownloadProgressMessage( i18n("Downloading calendar") );
- mAdaptor->setUploadProgressMessage( i18n("Uploading calendar") );*/
- if ( prefs() ) {
- mAdaptor->setBaseURL( prefs()->url() );
- mAdaptor->setUser( prefs()->user() );
- mAdaptor->setPassword( prefs()->password() );
- }
- mAdaptor->setIdMapper( &idMapper() );
- mAdaptor->setResource( this );
-}
-
-void ResourceGroupwareBase::init()
-{
- mDownloadJob = 0;
- mIsShowingError = false;
-
- enableChangeNotification();
-}
-
-KPIM::GroupwarePrefsBase *ResourceGroupwareBase::prefs()
-{
- return mPrefs;
-}
-
-void ResourceGroupwareBase::readConfig( const TDEConfig *config )
-{
- kdDebug(5800) << "KCal::ResourceGroupwareBase::readConfig()" << endl;
- ResourceCached::readConfig( config );
- if ( mPrefs ) {
- mPrefs->readConfig();
- if ( mFolderLister )
- mFolderLister->readConfig( mPrefs );
- }
-}
-
-void ResourceGroupwareBase::writeConfig( TDEConfig *config )
-{
- kdDebug(5800) << "KCal::ResourceGroupwareBase::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
- ResourceCached::writeConfig( config );
-
- if ( mPrefs ) {
- if ( mFolderLister )
- mFolderLister->writeConfig( mPrefs );
- mPrefs->writeConfig();
- }
-}
-
-bool ResourceGroupwareBase::doOpen()
-{
- if ( !adaptor() )
- return false;
- if ( adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResNeedsLogon ) {
- TDEIO::Job *loginJob = adaptor()->createLoginJob( prefs()->url(), prefs()->user(), prefs()->password() );
- if ( !loginJob ) {
- return false;
- } else {
- mLoginFinished = false;
- connect( loginJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoginJobResult( TDEIO::Job* ) ) );
- enter_loop();
- return mLoginFinished;
- }
- }
- return true;
-}
-
-// BEGIN:COPIED
-// TODO: Get rid of this hack, which is copied from TDEIO::NetAccess, which is
-// LGPL'ed and
-// Copyright (C) 1997 Torben Weis (weis@kde.org)
-// Copyright (C) 1998 Matthias Ettrich (ettrich@kde.org)
-// Copyright (C) 1999 David Faure (faure@kde.org)
-// If a troll sees this, he kills me
-void tqt_enter_modal( TQWidget *widget );
-void tqt_leave_modal( TQWidget *widget );
-
-void ResourceGroupwareBase::enter_loop()
-{
- TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQ_NoFocus );
- tqt_enter_modal(&dummy);
- tqApp->enter_loop();
- tqt_leave_modal(&dummy);
-}
-// END:COPIED
-
-void ResourceGroupwareBase::slotLoginJobResult( TDEIO::Job *job )
-{
- if ( !adaptor() ) return;
- mLoginFinished = adaptor()->interpretLoginJobResult( job );
- tqApp->exit_loop();
-}
-
-void ResourceGroupwareBase::doClose()
-{
- ResourceCached::doClose();
- if ( mDownloadJob ) mDownloadJob->kill();
-
- if ( adaptor() &&
- adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResNeedsLogoff ) {
- TDEIO::Job *logoffJob = adaptor()->createLogoffJob( prefs()->url(), prefs()->user(), prefs()->password() );
- connect( logoffJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLogoffJobResult( TDEIO::Job* ) ) );
- // TODO: Do we really need to block while waiting for the job to return?
- enter_loop();
- }
-}
-
-void ResourceGroupwareBase::slotLogoffJobResult( TDEIO::Job *job )
-{
- if ( !adaptor() ) return;
- adaptor()->interpretLogoffJobResult( job );
- // TODO: Do we really need to block while waiting for the job to return?
- tqApp->exit_loop();
-}
-
-bool ResourceGroupwareBase::doLoad()
-{
- kdDebug(5800) << "ResourceGroupwareBase::load()" << endl;
-
- if ( mIsShowingError ) {
- kdDebug(5800) << "Still showing error" << endl;
- return true;
- }
-
- if ( mDownloadJob ) {
- kdWarning() << "Download still in progress" << endl;
- return false;
- }
-
- mCalendar.close();
- clearChanges();
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
- emit resourceChanged( this );
-
- mDownloadJob = createDownloadJob( adaptor() );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
-
- return true;
-}
-
-void ResourceGroupwareBase::slotDownloadJobResult( KPIM::GroupwareJob *job )
-{
- kdDebug(5800) << "ResourceGroupwareBase::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- mIsShowingError = true;
- loadError( job->errorString() );
- mIsShowingError = false;
- } else {
- kdDebug(5800) << "Successfully downloaded data" << endl;
-
- clearChanges();
- saveCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
- emit resourceLoaded( this );
- }
-
- mDownloadJob = 0;
-}
-
-bool ResourceGroupwareBase::doSave()
-{
- kdDebug(5800) << "KCal::ResourceGroupwareBase::doSave()" << endl;
-
- saveCache();
-
- if ( !hasChanges() ) {
- kdDebug(5800) << "No changes" << endl;
- return true;
- }
- // TODO: Implement confirming of single changes i.e. it should be possible
- // to upload only certain changes and discard the rest. This is
- // particularly important for resources like the blogging resource,
- // where uploading would mean a republication of the blog, not only
- // a modifications.
- if ( !confirmSave() ) return false;
-
- mUploadJob = createUploadJob( adaptor() );
- connect( mUploadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
-
- Incidence::List inc;
- Incidence::List::Iterator it;
- KPIM::GroupwareUploadItem::List addedItems, changedItems, deletedItems;
-
- inc = addedIncidences();
- for( it = inc.begin(); it != inc.end(); ++it ) {
- addedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Added ) );
- }
- // TODO: Check if the item has changed on the server...
- // In particular, check if the version we based our change on is still current
- // on the server
- inc = changedIncidences();
- for( it = inc.begin(); it != inc.end(); ++it ) {
- changedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Changed ) );
- }
- inc = deletedIncidences();
- for( it = inc.begin(); it != inc.end(); ++it ) {
- deletedItems.append( adaptor()->newUploadItem( *it,
- KPIM::GroupwareUploadItem::Deleted ) );
- }
-
- mUploadJob->setAddedItems( addedItems );
- mUploadJob->setChangedItems( changedItems );
- mUploadJob->setDeletedItems( deletedItems );
-
- // FIXME: Calling clearChanges() here is not the ideal way since the
- // upload might fail, but there is no other place to call it...
- clearChanges();
- return true;
-}
-
-void ResourceGroupwareBase::slotUploadJobResult( KPIM::GroupwareJob *job )
-{
- kdDebug(5800) << "ResourceGroupwareBase::slotUploadJobResult(): " << endl;
-
- if ( job->error() ) {
- mIsShowingError = true;
- loadError( job->errorString() );
- mIsShowingError = false;
- } else {
- kdDebug(5800) << "Successfully uploaded data" << endl;
- /*
- * After the put the server might have expanded recurring events and will
- * also change the uids of the uploaded events. Remove them from the cache
- * and get the fresh delta and download.
- */
-
- if ( !mDownloadJob ) {
- mDownloadJob = createDownloadJob( adaptor() );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
- } else {
- kdWarning() << k_funcinfo << "Download still in progress. "
- "Can't happen. (TM)" << endl;
- }
- }
-
- mDownloadJob = 0;
-}
-
-// FIXME: Put this into ResourceCached
-bool ResourceGroupwareBase::confirmSave()
-{
- if ( !hasChanges() ) return true;
-
- ConfirmSaveDialog dlg( resourceName(), 0 );
-
- dlg.addIncidences( addedIncidences(), i18n("Added") );
- dlg.addIncidences( changedIncidences(), i18n("Changed") );
- dlg.addIncidences( deletedIncidences(), i18n("Deleted") );
-
- int result = dlg.exec();
- return result == TQDialog::Accepted;
-}
-
-KABC::Lock *ResourceGroupwareBase::lock()
-{
- return &mLock;
-}
-
-#include "kcal_resourcegroupwarebase.moc"
diff --git a/kresources/lib/kcal_resourcegroupwarebase.h b/kresources/lib/kcal_resourcegroupwarebase.h
deleted file mode 100644
index f6b46dbf..00000000
--- a/kresources/lib/kcal_resourcegroupwarebase.h
+++ /dev/null
@@ -1,119 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEGROUPWAREBASE_H
-#define KCAL_RESOURCEGROUPWAREBASE_H
-
-#include <kurl.h>
-#include <libkcal/resourcecached.h>
-#include <tdepimmacros.h>
-#include <kabc/locknull.h>
-
-namespace TDEIO {
-class Job;
-}
-
-namespace KPIM {
-class GroupwareJob;
-class GroupwareDownloadJob;
-class GroupwareUploadJob;
-class FolderLister;
-class GroupwarePrefsBase;
-}
-
-
-namespace KCal {
-
-class CalendarAdaptor;
-
-/**
- This class provides a resource for accessing a Groupware kioslave-based
- calendar.
-*/
-class KDE_EXPORT ResourceGroupwareBase : public ResourceCached
-{
- Q_OBJECT
-
- public:
- ResourceGroupwareBase();
-
- ResourceGroupwareBase( const TDEConfig * );
- virtual ~ResourceGroupwareBase();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- KPIM::GroupwarePrefsBase *prefs();
- KPIM::FolderLister *folderLister() { return mFolderLister; }
-
- bool doOpen();
- void doClose();
-
- bool doLoad();
- bool doSave();
-
- KABC::Lock *lock();
-
- bool addEvent( Event *event );
- bool addTodo( Todo *todo );
- bool addJournal( Journal *journal );
-
- protected:
- void init();
-
- bool confirmSave();
-
- KPIM::GroupwarePrefsBase *createPrefs();
- void setPrefs( KPIM::GroupwarePrefsBase *prefs );
- void setFolderLister( KPIM::FolderLister *folderLister );
- void setAdaptor( CalendarAdaptor *adaptor );
- CalendarAdaptor *adaptor() const { return mAdaptor; }
-
- virtual KPIM::GroupwareDownloadJob *createDownloadJob( CalendarAdaptor *adaptor );
- virtual KPIM::GroupwareUploadJob *createUploadJob( CalendarAdaptor *adaptor );
-
- protected slots:
- void slotLoginJobResult( TDEIO::Job *job );
- void slotLogoffJobResult( TDEIO::Job *job );
- void slotDownloadJobResult( KPIM::GroupwareJob * );
- void slotUploadJobResult( KPIM::GroupwareJob * );
-
- private:
- void enter_loop();
-
- KPIM::GroupwarePrefsBase *mPrefs;
- KPIM::FolderLister *mFolderLister;
- KABC::LockNull mLock;
- CalendarAdaptor *mAdaptor;
-
- KPIM::GroupwareDownloadJob *mDownloadJob;
- KPIM::GroupwareUploadJob *mUploadJob;
-
- bool mIsShowingError;
-
- bool mLoginFinished; // temp variable for the login job
-
-};
-
-}
-
-#endif
diff --git a/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp b/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp
deleted file mode 100644
index ed8a63f9..00000000
--- a/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcegroupwarebaseconfig.h"
-
-#include "kcal_cachesettingsdlg.h"
-#include "kcal_resourcegroupwarebase.h"
-#include "kresources_groupwareprefs.h"
-#include "folderconfig.h"
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <klineedit.h>
-#include <kdialog.h>
-#include <kpushbutton.h>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqhbox.h>
-
-
-using namespace KCal;
-
-ResourceGroupwareBaseConfig::ResourceGroupwareBaseConfig( TQWidget* parent,
- const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
-
- TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 );
- mainLayout->setSpacing( KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n("URL:"), this );
- mainLayout->addWidget( label, 1, 0 );
- mUrl = new KLineEdit( this );
- mainLayout->addWidget( mUrl, 1, 1 );
-
- label = new TQLabel( i18n("User:"), this );
- mainLayout->addWidget( label, 2, 0 );
- mUserEdit = new KLineEdit( this );
- mainLayout->addWidget( mUserEdit, 2, 1 );
-
- label = new TQLabel( i18n("Password:"), this );
- mainLayout->addWidget( label, 3, 0 );
- mPasswordEdit = new KLineEdit( this );
- mainLayout->addWidget( mPasswordEdit, 3, 1 );
- mPasswordEdit->setEchoMode( KLineEdit::Password );
-
- mFolderConfig = new KPIM::FolderConfig( this );
- connect( mFolderConfig, TQT_SIGNAL( updateFoldersClicked() ),
- TQT_SLOT( updateFolders() ) );
- mainLayout->addMultiCellWidget( mFolderConfig, 4, 4, 0, 1 );
-
- TQHBox *hBox = new TQHBox( this );
- mCacheSettingsButton = new KPushButton( i18n("Configure Cache Settings..."), hBox );
- mainLayout->addMultiCellWidget( hBox, 5, 5, 0, 1 );
- connect( mCacheSettingsButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( showCacheSettings() ) );
-
- mCacheDialog = new CacheSettingsDialog( this );
-}
-
-void ResourceGroupwareBaseConfig::loadSettings( KRES::Resource *resource )
-{
- kdDebug(7000) << "KCal::ResourceGroupwareBaseConfig::loadSettings()" << endl;
-
- ResourceGroupwareBase *res = static_cast<ResourceGroupwareBase *>( resource );
- if ( res ) {
- if ( !res->prefs() ) {
- kdError() << "No PREF" << endl;
- return;
- }
-
- mUrl->setText( res->prefs()->url() );
- mUserEdit->setText( res->prefs()->user() );
- mPasswordEdit->setText( res->prefs()->password() );
- if ( mCacheDialog ) mCacheDialog->loadSettings( res );
-
- mFolderConfig->setFolderLister( res->folderLister() );
- mFolderConfig->updateFolderList();
- } else {
- kdError(5700) << "KCalResourceGroupwareBaseConfig::loadSettings(): "
- "no KCalOpenGroupware, cast failed" << endl;
- }
-}
-
-void ResourceGroupwareBaseConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceGroupwareBase *res = static_cast<ResourceGroupwareBase*>( resource );
- if ( res ) {
- res->prefs()->setUrl( mUrl->text() );
- res->prefs()->setUser( mUserEdit->text() );
- res->prefs()->setPassword( mPasswordEdit->text() );
- if ( mCacheDialog ) mCacheDialog->saveSettings( res );
- mFolderConfig->saveSettings();
- } else {
- kdError(5700) << "KCalResourceGroupwareBaseConfig::saveSettings(): "
- "no KCalOpenGroupware, cast failed" << endl;
- }
-}
-
-void ResourceGroupwareBaseConfig::updateFolders()
-{
- KURL url = mUrl->text();
- url.setUser( mUserEdit->text() );
- url.setPass( mPasswordEdit->text() );
-
- mFolderConfig->retrieveFolderList( url );
-}
-
-void ResourceGroupwareBaseConfig::showCacheSettings()
-{
- if ( mCacheDialog ) mCacheDialog->exec();
-}
-
-#include "kcal_resourcegroupwarebaseconfig.moc"
diff --git a/kresources/lib/kcal_resourcegroupwarebaseconfig.h b/kresources/lib/kcal_resourcegroupwarebaseconfig.h
deleted file mode 100644
index e326d0d8..00000000
--- a/kresources/lib/kcal_resourcegroupwarebaseconfig.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEGROUPWAREBASECONFIG_H
-#define KCAL_RESOURCEGROUPWAREBASECONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class KPushButton;
-class KLineEdit;
-
-namespace KPIM {
-class FolderConfig;
-}
-namespace KRES {
-class Resource;
-}
-
-namespace KCal {
-
-class CacheSettingsDialog;
-
-/**
- Configuration widget for groupware kioslave resource.
-
- @see KCalOpenGroupware
-*/
-class KDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- ResourceGroupwareBaseConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- protected slots:
- void updateFolders();
- void showCacheSettings();
-
- private:
- KLineEdit *mUrl;
- KLineEdit *mUserEdit;
- KLineEdit *mPasswordEdit;
- KPushButton *mCacheSettingsButton;
-
- CacheSettingsDialog *mCacheDialog;
- KPIM::FolderConfig *mFolderConfig;
-};
-
-}
-
-#endif
diff --git a/kresources/lib/kresources_groupwareprefs.kcfg b/kresources/lib/kresources_groupwareprefs.kcfg
deleted file mode 100644
index a56c14d9..00000000
--- a/kresources/lib/kresources_groupwareprefs.kcfg
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_groupwarerc"/>
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Server URL</label>
- </entry>
- <entry key="User" type="String" >
- <label>User Name</label>
- </entry>
- <entry key="Password" type="String" >
- <label>Password</label>
- </entry>
- </group>
- <group name="Folders">
- <!--entry key="FolderIds" type="StringList">
- <label>All folder IDs on the server</label>
- </entry>
- <entry key="FolderNames" type="StringList">
- <label>All folder names on the server</label>
- </entry-->
- <entry key="ActiveFolders" type="StringList">
- <label>All active folders from the server</label>
- </entry>
- <entry key="FolderNumber" type="UInt">
- <label>Number of folders on the server and in the config file</label>
- </entry>
- <entry name="Folder$(nr)" type="StringList">
- <parameter name="nr" type="Int" max="100"/>
- </entry>
- <entry name="DefaultDestinations" type="StringList">
- <label>Default destinations for the various types</label>
- <whatsthis>These are the default destinations for the different data
-types in the following order:
-Event, Todo, Journal, Contact, All, Unknown</whatsthis>
-<!-- I tried using a parametrized entry using an enum, but the config
-compiler from 3.3 is severely broken in that respect... -->
-</entry>
- <!--entry name="DefaultDestination$(Type)" type="String">
- <parameter name="Type" type="Enum">
- <values>
- <value>Event</value>
- <value>Todo</value>
- <value>Journal</value>
- <value>Contact</value>
- <value>All</value>
- <value>Unknown</value>
- </values>
- </parameter>
- <default></default>
- </entry-->
- </group>
-</kcfg>
diff --git a/kresources/lib/kresources_groupwareprefs.kcfgc b/kresources/lib/kresources_groupwareprefs.kcfgc
deleted file mode 100644
index 178dc9ac..00000000
--- a/kresources/lib/kresources_groupwareprefs.kcfgc
+++ /dev/null
@@ -1,8 +0,0 @@
-ClassName=GroupwarePrefsBase
-File=kresources_groupwareprefs.kcfg
-GlobalEnums=false
-IncludeFiles=libtdepim/kresourceprefs.h
-Inherits=KResourcePrefs
-Mutators=true
-NameSpace=KPIM
-Singleton=false
diff --git a/kresources/lib/webdavhandler.cpp b/kresources/lib/webdavhandler.cpp
deleted file mode 100644
index fea7a0b1..00000000
--- a/kresources/lib/webdavhandler.cpp
+++ /dev/null
@@ -1,194 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-
-#include <kdebug.h>
-
-#include <tqdatetime.h>
-
-extern "C" {
- #include <libical/ical.h>
-}
-
-
-#include "webdavhandler.h"
-
-WebdavHandler::WebdavHandler()
-{
-}
-
-
-KURL WebdavHandler::toDAV( const KURL& url )
-{
- KURL result( url );
-
- if ( result.protocol() == "http" ) {
- if ( result.port() == 443 ) {
- // OpenGroupware.org returns 'http://server:443' instead of 'https://server'
- result.setProtocol( "webdavs" );
- result.setPort( 0 );
- } else
- result.setProtocol( "webdav" );
- } else if ( result.protocol() == "https" )
- result.setProtocol( "webdavs" );
-
- return result;
-}
-
-
-
-TQDomElement WebdavHandler::addElement( TQDomDocument &doc, TQDomNode &node,
- const TQString &tag, const TQString &value )
-{
- TQDomElement el = doc.createElement( tag );
- node.appendChild( el );
- if ( !value.isNull() ) {
- TQDomText txt = doc.createTextNode( value );
- el.appendChild( txt );
- }
- return el;
-}
-
-TQDomElement WebdavHandler::addElementNS( TQDomDocument &doc, TQDomNode &node,
- const TQString &ns, const TQString &tag, const TQString &value )
-{
- TQDomElement el = doc.createElementNS( ns, tag );
- node.appendChild( el );
- if ( !value.isNull() ) {
- TQDomText txt = doc.createTextNode( value );
- el.appendChild( txt );
- }
- return el;
-}
-
-TQDomElement WebdavHandler::addDavElement( TQDomDocument &doc, TQDomNode &node,
- const TQString &tag, const TQString &value )
-{
- return addElementNS( doc, node, "DAV:", tag, value );
-}
-
-bool WebdavHandler::extractBool( const TQDomElement &node, const TQString &entry, bool &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() ) {
- value = (element.text() != "0");
- return true;
- }
- return false;
-}
-
-bool WebdavHandler::extractLong( const TQDomElement &node, const TQString &entry, long &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() ) {
- value = element.text().toLong();
- return true;
- }
- return false;
-}
-
-bool WebdavHandler::extractFloat( const TQDomElement &node, const TQString &entry, float &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() ) {
- value = element.text().toFloat();
- return true;
- }
- return false;
-}
-
-bool WebdavHandler::extractDateTime( const TQDomElement &node, const TQString &entry, TQDateTime &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() && !element.text().isEmpty() ) {
- value = TQDateTime::fromString( element.text(), Qt::ISODate );
- return true;
- }
- return false;
-}
-
-bool WebdavHandler::extractString( const TQDomElement &node, const TQString &entry, TQString &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() ) {
- value = element.text();
- return true;
- }
- return false;
-}
-
-bool WebdavHandler::extractStringList( const TQDomElement &node, const TQString &entry, TQStringList &value )
-{
- TQDomElement element = node.namedItem( entry ).toElement();
- if ( !element.isNull() ) {
- value.clear();
- TQDomNodeList list = element.elementsByTagNameNS( "xml:", "v" );
- for( uint i=0; i < list.count(); i++ ) {
- TQDomElement item = list.item(i).toElement();
- value.append( item.text() );
- }
- return true;
- }
- return false;
-}
-
-
-const TQString WebdavHandler::getEtagFromHeaders( const TQString& headers )
-{
- int start = headers.find( "etag:", 0, false );
- if ( start < 0 ) return TQString();
- start += 6;
- return headers.mid( start, headers.find( "\n", start ) - start );
-}
-
-//TODO: should not call libical functions directly -- better to make
-// a new libkcal abstraction method.
-TQDateTime WebdavHandler::utcAsZone( const TQDateTime& utc, const TQString& timeZoneId )
-{
- int daylight;
- TQDateTime epoch;
- epoch.setTime_t( 0 );
- time_t v = epoch.secsTo( utc );
- struct icaltimetype tt =
- icaltime_from_timet_with_zone( v, 0 /*is_date*/,
- icaltimezone_get_builtin_timezone( "UTC" ) );
- int offset = icaltimezone_get_utc_offset(
- icaltimezone_get_builtin_timezone( timeZoneId.latin1() ),
- &tt, &daylight );
-kdDebug() << "Calculated offset of: " << offset << " of timezone: " << timeZoneId << endl;
- return utc.addSecs( offset );
-}
-
-//TODO: should not call libical functions directly -- better to make
-// a new libkcal abstraction method.
-TQDateTime WebdavHandler::zoneAsUtc( const TQDateTime& zone, const TQString& timeZoneId )
-{
- int daylight;
- TQDateTime epoch;
- epoch.setTime_t( 0 );
- time_t v = epoch.secsTo( zone );
- struct icaltimetype tt = icaltime_from_timet( v, 0 ); // 0: is_date=false
- int offset = icaltimezone_get_utc_offset(
- icaltimezone_get_builtin_timezone( timeZoneId.latin1() ),
- &tt, &daylight );
- return zone.addSecs( - offset );
-}
diff --git a/kresources/lib/webdavhandler.h b/kresources/lib/webdavhandler.h
deleted file mode 100644
index 0bfb33e9..00000000
--- a/kresources/lib/webdavhandler.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2004 Till Adam <adam@kde.org>
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef WEBDAVHANDLER_H
-#define WEBDAVHANDLER_H
-
-#include <tqstring.h>
-#include <tqstringlist.h>
-#include <tqdom.h>
-#include <tqdatetime.h>
-#include <kurl.h>
-#include <tdepimmacros.h>
-
-class KDE_EXPORT WebdavHandler
-{
- public:
- WebdavHandler();
-
- static KURL toDAV( const KURL& url );
-
-
- static TQDomElement addElementNS( TQDomDocument &doc, TQDomNode &node,
- const TQString &ns, const TQString &tag,
- const TQString &value = TQString() );
- static TQDomElement addElement( TQDomDocument &, TQDomNode &,
- const TQString &tag, const TQString &value = TQString() );
- static TQDomElement addDavElement( TQDomDocument &, TQDomNode &,
- const TQString &tag, const TQString &value = TQString() );
-
- static bool extractBool( const TQDomElement &node,
- const TQString &entry, bool &value );
- static bool extractLong( const TQDomElement &node,
- const TQString &entry, long &value );
- static bool extractFloat( const TQDomElement &node,
- const TQString &entry, float &value );
- static bool extractDateTime( const TQDomElement &node,
- const TQString &entry, TQDateTime &value );
- static bool extractString( const TQDomElement &node,
- const TQString &entry, TQString &value );
- static bool extractStringList( const TQDomElement &node,
- const TQString &entry, TQStringList &value );
-
- /**
- * Returns the value of the "etag" header if it can be found in the headers.
- */
- static const TQString getEtagFromHeaders( const TQString& );
-
-
- /**
- * Return the representation of utc time in the time zone indicated by timeZoneId
- */
- static TQDateTime utcAsZone( const TQDateTime& utc, const TQString& timeZoneId );
-
- /**
- * Return the UTC representation of local time in the time zone indicated by timeZoneId
- */
- static TQDateTime zoneAsUtc( const TQDateTime& zone, const TQString& timeZoneId );
-};
-
-#endif
diff --git a/kresources/newexchange/CMakeLists.txt b/kresources/newexchange/CMakeLists.txt
deleted file mode 100644
index 23e1f958..00000000
--- a/kresources/newexchange/CMakeLists.txt
+++ /dev/null
@@ -1,79 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}/../lib
- ${CMAKE_CURRENT_SOURCE_DIR}/../lib
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES kcal_newexchange.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-install( FILES kabc_newexchange.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-
-##### kcal_newexchange (module) #################
-
-tde_add_kpart( kcal_newexchange AUTOMOC
- SOURCES kcal_resourceexchange_plugin.cpp
- LINK kcal_newexchange-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabc_newexchange (module) #################
-
-tde_add_kpart( kabc_newexchange AUTOMOC
- SOURCES kabc_resourceexchange_plugin.cpp
- LINK kabc_newexchange-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### knewexchange (static) #####################
-
-tde_add_library( knewexchange STATIC_PIC
- SOURCES
- exchangeglobals.cpp exchangeconvertercalendar.cpp
- exchangeconvertercontact.cpp
-)
-
-
-##### kcal_newexchange (shared) #################
-
-tde_add_library( kcal_newexchange SHARED AUTOMOC
- SOURCES
- exchangecalendaradaptor.cpp kcal_resourceexchange.cpp
- VERSION 1.0.0
- LINK knewexchange-static kgroupwaredav-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kabc_newexchange (shared) #################
-
-tde_add_library( kabc_newexchange SHARED AUTOMOC
- SOURCES
- exchangeaddressbookadaptor.cpp kabc_resourceexchange.cpp
- VERSION 1.0.0
- LINK knewexchange-static kgroupwaredav-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/newexchange/Incidence.mapping b/kresources/newexchange/Incidence.mapping
deleted file mode 100644
index ef0914b5..00000000
--- a/kresources/newexchange/Incidence.mapping
+++ /dev/null
@@ -1,177 +0,0 @@
-GENERAL Properties (for all types):
-===================================
-
-WebDAV property | Incidence:: method
----------------------------------------------+----------------------
-DAV:contentclass | "urn:content-classes:appointment" / :task / :message
-DAV:getcontenttype | "message/rfc822"
-http://schemas.microsoft.com/mapi/proptag/0x001A001F | "IPM.Appointment" / .Task / .Journal/.Post
-http://schemas.microsoft.com/exchange/outlookmessageclass | "IPM.Appointment"
-DAV:getetag | FINGERPRINT
-DAV:href | CUSTOM
-DAV:creationdate | created()
-DAV:getlastmodified | lastModified()
-DAV:isreadonly | isReadOnly()
-http://schemas.microsoft.com/repl/repl-uid | schedulingID()
- |
-DAV:uid | uid()
-urn:schemas:mailheader:subject | summary()
-urn:schemas:httpmail:subject | summary() (welches der beiden?)
-urn:schemas:httpmail:textdescription | description()
-urn:schemas:httpmail:date | ? (datestamp, no method in libkcal!)
-DAV:comment | comments()
- |
-urn:schemas-microsoft-com:office:office#Keywords | categories()
- |
-http://schemas.microsoft.com/exchange/sensitivity | secrecy()
-urn:schemas:httpmail:priority | priority()
- |
-urn:schemas:httpmail:from | organizer()
-urn:schemas:httpmail:to | attendees(), required
-urn:schemas:httpmail:cc | attendees(), optional
- | resources ???
- |
-urn:schemas:httpmail:hasattachment | attachments() ???
-
-
-
-
-Event:
-======
-See
--) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_urn_content-classes_appointment.asp
--) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_schema_dav.asp
--) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_schema_httpmail.asp
-
-h="http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/"
-
-
-WebDAV property | Incidence:: method
----------------------------------------------+----------------------
-urn:schemas:calendar:created | created() ?, siehe DAV:creationdate
-urn:schemas:calendar:lastmodified | lastModified() ?, siehe DAV:getlastmodified
-urn:schemas:calendar:dtstamp | ??
-urn:schemas:calendar:sequence | revision()
- |
-urn:schemas:calendar:location | location()
- |
-//urn:schemas:calendar:organizer | organizer()
-//urn:schemas:calendar:method | ??
-//urn:schemas:calendar:responserequested | ??
-//urn:schemas:calendar:meetingstatus | ??
-//urn:schemas:calendar:replytime | ??
-
-urn:schemas:calendar:busystatus | status()
-urn:schemas:calendar:transparent | transparency(): Event::Transparent, Event::Opaque
- |
-urn:schemas:calendar:timezone | ??
-urn:schemas:calendar:alldayevent | doesFloat()
-urn:schemas:calendar:dtstart | dtStart()
-urn:schemas:calendar:dtend | dtEnd()
-urn:schemas:calendar:duration | duration()
- |
-urn:schemas:calendar:rrule | recurrence(), doesRecur()
-urn:schemas:calendar:rdate | --
-urn:schemas:calendar:exrule | --
-urn:schemas:calendar:exdate | recurrence()->exDates(), recurrence()->exDateTimes()
-urn:schemas:calendar:recurrenceid | recurrenceId() ?? (protected?)
-urn:schemas:calendar:instancetype | ??
- |
-urn:schemas:calendar:reminderoffset | alarms()
- |
-urn:schemas:calendar:resources | resources()
- |
-? | custom items?
-
-
-No correspondence:
-==================
-urn:schemas:calendar:timezoneid
-urn:schemas:calendar:geolatitude
-urn:schemas:calendar:geolongitude
-urn:schemas:calendar:contacturl
-urn:schemas:calendar:descriptionurl
-urn:schemas:calendar:locationurl
-urn:schemas:httpmail:htmldescription
-urn:schemas:httpmail:priority
-urn:schemas:calendar:recurrenceidrange
-urn:schemas:contacts:billinginformation
-http://schemas.microsoft.com/exchange/companies
-http://schemas.microsoft.com/exchange/mileage
-urn:schemas:httpmail:normalizedsubject
-DAV:displayname
-DAV:id
-
-
-Incidence::pilotId()
-Incidence::syncStatus()
-Incidence::relatedToUid()
-
-
-
-
-
-Task:
-=====
-For the mapping of the MAPI properties and the hex codes to access them via
-WebDAV, see http://www.cdolive.com/cdo10.htm
-
-h1="http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/" (CdoPropSetID2)
-h2="http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/" (CdoPropSetID4)
-b='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/'
-oder:
-b="urn:schemas-microsoft-com:datatypes"
-
-
-WebDAV property | Incidence:: method
----------------------------------------------+----------------------
-?? -------------------------- | revision()
------------------------------ | location()
------------------------------ | status()
------------------------------ | doesFloat()
- |
-h1:0x00008104 b:dt="dateTime.tz" | dtStart() (or h2:0x00008516), z.B. 2003-09-11T18:45:00.00Z
-h1:0x00008105 b:dt="dateTime.tz" | dtDue() (or h2:0x00008517)
-h1:0x00008106 | duration()
- |
-h1:0x0000811C b:dt="boolean" | isCompleted() (0/1)
-h1:0x00008102 b:dt='float' | percentComplete(), 0.0-1.0
-h1:0x0000810f b:dt="dateTime.tz" | completed()
------------------------------ | hasCompletedDate()
- |
-h1:0x00008126 b:dt="boolean" | doesRecur()
------------------------------ | recurrence()
------------------------------ | recurrence()->exDates(), recurrence()->exDateTimes()
------------------------------ | recurrenceId() ?? (protected?)
- |
-h2:0x00008503 b:dt="boolean" (reminder set: 0/1) | alarms()
-h2:0x00008502 b:dt="dateTime.tz" | ? (reminder date/time)
-h2:0x0000851E | ReminderPlaySound
-h2:0x0000851F | ReminderSoundFile
- |
-h1:0x00008101 b:dt='int' | status: 0_Open, 1_InProgress, 2_Completed, 3_WaitingForSomeoneElse, 4_Deferred
- |
-
-
-No correspondence:
-==================
-Incidence::pilotId()
-Incidence::syncStatus()
-Incidence::relatedToUid()
-Incidence::custom()
-
-h1:0x00008103 TeamTask (b:dt="boolean")
-h1:0x00008110 ActualWork: In minutes
-h1:0x00008111 TotalWork: In minutes
-h1:0x00008129 assignment
-
-
-Journal:
-========
-
-#define E2K_NS_OUTLOOK_JOURNAL E2K_NS_MAPI_ID "{0006200A-0000-0000-C000-000000000046}/"
-
-WebDAV property | Journal:: method
-----------------------------------------------------------+---------------------------------
-urn:schemas:httpmail:importance | ?
-urn:schemas:httpmail:date | dtStart()
diff --git a/kresources/newexchange/Makefile.am b/kresources/newexchange/Makefile.am
deleted file mode 100644
index b4d4a9b4..00000000
--- a/kresources/newexchange/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/lib \
- -I$(top_builddir)/kresources/lib $(all_includes)
-
-lib_LTLIBRARIES = libkabc_newexchange.la libkcal_newexchange.la
-noinst_LTLIBRARIES = libknewexchange.la
-
-libknewexchange_la_SOURCES = exchangeglobals.cpp exchangeconvertercalendar.cpp exchangeconvertercontact.cpp
-
-libkcal_newexchange_la_SOURCES = exchangecalendaradaptor.cpp kcal_resourceexchange.cpp
-libkcal_newexchange_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_newexchange_la_LIBADD = \
- libknewexchange.la ../lib/libkgroupwaredav.la \
- $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la \
- -lkabc
-
-libkabc_newexchange_la_SOURCES = kabc_resourceexchange.cpp exchangeaddressbookadaptor.cpp
-libkabc_newexchange_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkabc_newexchange_la_LIBADD = \
- libknewexchange.la ../lib/libkgroupwaredav.la \
- $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la \
- -lkabc
-
-kde_module_LTLIBRARIES = kcal_newexchange.la kabc_newexchange.la
-
-kcal_newexchange_la_SOURCES = kcal_resourceexchange_plugin.cpp
-kcal_newexchange_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kcal_newexchange_la_LIBADD = libkcal_newexchange.la
-
-kabc_newexchange_la_SOURCES = kabc_resourceexchange_plugin.cpp
-kabc_newexchange_la_LDFLAGS = $(all_libraries) -module -no-undefined $(KDE_PLUGIN)
-kabc_newexchange_la_LIBADD = libkabc_newexchange.la
-
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_newexchange.desktop
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_newexchange.desktop
-
-METASOURCES = AUTO
-
-kcal_resourceexchange.lo kabc_resourceexchange.lo: ../lib/kresources_groupwareprefs.h
-
diff --git a/kresources/newexchange/Person.mapping b/kresources/newexchange/Person.mapping
deleted file mode 100644
index d7571e77..00000000
--- a/kresources/newexchange/Person.mapping
+++ /dev/null
@@ -1,184 +0,0 @@
-http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_schema_contacts_c.asp
-http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_urn_content-classes_person.asp
-
-/* KDE4: addressee does not have any creation or modification date :-(( */
-/* KDE4: read-only not supported by libkabc */
-
-WebDAV property | Addressee:: method
----------------------------------------------+----------------------
-DAV:contentclass | "urn:content-classes:appointment"
-http://schemas.microsoft.com/exchange/outlookmessageclass | "IPM.Contact"
-DAV:getetag | FINGERPRINT
-DAV:href | CUSTOM
-DAV:creationdate | created()
-DAV:getlastmodified | lastModified()
-DAV:isreadonly | isReadOnly()
-//urn:schemas:calendar:dtstamp | ??
-//urn:schemas:calendar:sequence | revision()
-//http://schemas.microsoft.com/repl/uid | schedulingID()
-
-urn:schemas:contacts:cn | uid()
-urn:schemas:contacts:uid | uid()
- |
-urn:schemas:contacts:fileas (niceName) | formattedName()
-//urn:schemas:contacts:cn | formattedName()
-urn:schemas:contacts:givenName | givenName()
-urn:schemas:contacts:initials | -
-urn:schemas:contacts:middlename | additionalName()
-urn:schemas:contacts:namesuffix | suffix()
-urn:schemas:contacts:personaltitle | prefix()
-urn:schemas:contacts:sn (surname) | familyName()
- |
-urn:schemas:contacts:title | role() / title()
- |
-urn:schemas:contacts:o (org.) | organization()
-urn:schemas:contacts:department | custom( "KADDRESSBOOK", "X-Department" )
-urn:schemas:contacts:roomnumber | custom( "KADDRESSBOOK", "X-Office" )
-urn:schemas:contacts:profession | custom( "KADDRESSBOOK", "X-Profession" )
-urn:schemas:contacts:manager | custom( "KADDRESSBOOK", "X-ManagersName" )
-urn:schemas:contacts:secretarycn | custom( "KADDRESSBOOK", "X-AssistantsName" )
- |
-urn:schemas:contacts:email1 | emails();
-urn:schemas:contacts:email2 | -"-
-urn:schemas:contacts:email3 | -"-
- |
-urn:schemas:contacts:personalHomePage | -
-urn:schemas:contacts:businesshomepage | url()
- |
-urn:schemas:calendar:fburl | KCal::FreeBusyUrlStore::self()->readUrl( addr.preferredEmail() )
- |
-urn:schemas-microsoft-com:office:office#Keywords | categories()
- |
-DAV:sensitivity | secrecy()
- |
-urn:schemas:contacts:telephoneNumber | phoneNumber( Home )
-urn:schemas:contacts:telephonenumber2 | phoneNumber( Home )
-urn:schemas:contacts:officetelephonenumber | phoneNumber( Work )
-urn:schemas:contacts:office2telephonenumber | phoneNumber( Work )
-urn:schemas:contacts:secretaryphone | phoneNumber( Work )
-urn:schemas:contacts:organizationmainphone | phoneNumber( Work )
-urn:schemas:contacts:otherTelephone | phoneNumber( )
-urn:schemas:contacts:homePhone | phoneNumber( Home )
-urn:schemas:contacts:homephone2 | phoneNumber( Home )
-urn:schemas:contacts:mobile | phoneNumber( Cell | Pref )
-urn:schemas:contacts:othermobile | phoneNumber( Cell )
-urn:schemas:contacts:facsimiletelephonenumber| phoneNumber( Fax )
-urn:schemas:contacts:homefax | phoneNumber( Fax | Home )
-urn:schemas:contacts:otherfax | phoneNumber( Fax | Work)
-urn:schemas:contacts:pager | phoneNumber( Pager | Work )
-urn:schemas:contacts:otherpager | phoneNumber( Pager )
-urn:schemas:contacts:internationalisdnnumber |
- (isdn number) | phoneNumber( Isdn )
-urn:schemas:contacts:callbackphone | phoneNumber( Msg )
-urn:schemas:contacts:telexnumber | phoneNumber( Bbs )
-urn:schemas:contacts:ttytddphone | phoneNumber( Pcs )
- |
- |
-// work address: |
-urn:schemas:contacts:workaddress | address(Work|Pref).
-urn:schemas:contacts:street | address(Work|Pref).street()
-urn:schemas:contacts:postofficebox | address(Work|Pref).postOfficeBox()
-urn:schemas:contacts:l (city) | address(Work|Pref).locality()
-urn:schemas:contacts:postalcode | address(Work|Pref).postalCode()
-urn:schemas:contacts:st (work state) | address(Work|Pref).region()
-urn:schemas:contacts:co (full ctry/region) | address(Work|Pref).country()
-urn:schemas:contacts:c (ctry/region abbrev.)| address(Work|Pref).countryCode()
- |
-// home address: |
-urn:schemas:contacts:homepostaladdress | address(Home).
-urn:schemas:contacts:homeStreet | address(Home).street()
-urn:schemas:contacts:homepostofficebox | address(Home).postOfficeBox()
-urn:schemas:contacts:homeCity | address(Home).locality()
-urn:schemas:contacts:homePostalCode | address(Home).postalCode()
-urn:schemas:contacts:homeState | address(Home).region()
-urn:schemas:contacts:homeCountry | address(Home).country()
-urn:schemas:contacts:homeCountrycode | address(Home).countryCode()
- |
-// mailing address: |
-urn:schemas:contacts:mailingpostaladdress | address(Postal).
-urn:schemas:contacts:mailingstreet | address(Postal).street()
-urn:schemas:contacts:mailingpostofficebox | address(Postal).postOfficeBox()
-urn:schemas:contacts:mailingcity | address(Postal).locality()
-urn:schemas:contacts:mailingpostalcode | address(Postal).postalCode()
-urn:schemas:contacts:mailingstate | address(Postal).region()
-urn:schemas:contacts:mailingcountry | address(Postal).country()
-urn:schemas:contacts:mailingcountrycode | address(Postal).countryCode()
- |
-// other address: |
-urn:schemas:contacts:otherpostaladdress | address().
-urn:schemas:contacts:otherstreet | address().street()
-urn:schemas:contacts:otherpostofficebox | address().postOfficeBox()
-urn:schemas:contacts:othercity | address().locality()
-urn:schemas:contacts:otherpostalcode | address().postalCode()
-urn:schemas:contacts:otherstate | address().region()
-urn:schemas:contacts:othercountry | address().country()
-urn:schemas:contacts:othercountrycode | address().countryCode()
- |
- |
-urn:schemas:contacts:nickname | nickName()
-urn:schemas:contacts:spousecn | custom( "KADDRESSBOOK", "X-SpousesName" )
- |
-urn:schemas:contacts:bday | birthday()
-urn:schemas:contacts:weddinganniversary | custom( "KADDRESSBOOK", "X-Anniversary" )
- |
-? | timeZone()
- |
-urn:schemas:calendar:geolatitude | geo()
-urn:schemas:calendar:geolongitude | geo()
-urn:schemas:contacts:mapurl | -
-urn:schemas:contacts:location | -
- |
-urn:schemas:httpmail:textdescription | note()
- |
-urn:schemas:contacts:usercertificate | keys()
- |
-- | custom( app, name )
- |
-// http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/0x00008025 | Journal
-// http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/0x00008056 | NetMeeting
-http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/0x00008062 | IM Address
-
-
-
-KABC::Addressee method not used:
-logo()
-photo()
-sound()
-agent()
-revision()
-productId()
-mailer()
-
-
-KABC::Address methods not used:
-id()
-type()
-extended ()
-
-
- Not used:
-urn:schemas:contacts:computernetworkname
-urn:schemas:contacts:customerid
-urn:schemas:contacts:dn
-urn:schemas:contacts:employeenumber
-urn:schemas:contacts:fileasid
-urn:schemas:contacts:ftpsite
-urn:schemas:contacts:gender
-urn:schemas:contacts:governmentid
-urn:schemas:contacts:hobbies
-urn:schemas:contacts:homelatitude
-urn:schemas:contacts:homelongitude
-urn:schemas:contacts:hometimezone
-urn:schemas:contacts:language
-urn:schemas:contacts:mailingaddressid
-urn:schemas:contacts:othertimezone
-urn:schemas:contacts:proxyaddresses
-urn:schemas:contacts:referredby
-urn:schemas:contacts:secretaryurl
-urn:schemas:contacts:sourceurl
-urn:schemas:httpmail:hasattachment
-urn:schemas:httpmail:htmldescription
-urn:schemas:httpmail:outbox
-urn:schemas:httpmail:subject
-urn:schemas:mailheader:subject
-
diff --git a/kresources/newexchange/exchangeaddressbookadaptor.cpp b/kresources/newexchange/exchangeaddressbookadaptor.cpp
deleted file mode 100644
index 7e8ae8bb..00000000
--- a/kresources/newexchange/exchangeaddressbookadaptor.cpp
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangeaddressbookadaptor.h"
-#include "exchangeconvertercontact.h"
-#include <davgroupwareglobals.h>
-#include "exchangeglobals.h"
-#include <webdavhandler.h>
-#include <kdebug.h>
-#include <kio/davjob.h>
-
-using namespace KABC;
-
-ExchangeAddressBookUploadItem::ExchangeAddressBookUploadItem( AddressBookAdaptor *adaptor, KABC::Addressee addr, KPIM::GroupwareUploadItem::UploadType type )
- : GroupwareUploadItem( type )
-{
- if ( adaptor && !addr.isEmpty() ) {
- mItemType = KPIM::FolderLister::Contact;
-
- setUrl( addr.custom( adaptor->identifier(), "storagelocation" ) );
- setUid( addr.uid() );
-
- ExchangeConverterContact format;
- mDavData = format.createWebDAV( addr );
- }
-}
-
-TDEIO::TransferJob *ExchangeAddressBookUploadItem::createUploadJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &/*baseurl*/ )
-{
-kdDebug()<<"ExchangeAddressBookUploadItem::createUploadJob"<<endl;
- Q_ASSERT( adaptor );
- if ( !adaptor ) return 0;
- KURL upUrl( url() );
- adaptor->adaptUploadUrl( upUrl );
- kdDebug() << "Uploading to: " << upUrl.prettyURL() << endl;
- TDEIO::DavJob *job = TDEIO::davPropPatch( upUrl, mDavData, false );
- return job;
-}
-
-TDEIO::TransferJob *ExchangeAddressBookUploadItem::createUploadNewJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"ExchangeAddressBookUploadItem::createUploadNewJob"<<endl;
- KURL url( baseurl );
- // TODO: Check that this URL doesn't exist yet
- url.addPath( uid() + ".EML" );
- setUrl( url );
-//url.addPath("newItem.EML");
-kdDebug()<<"Upload path: "<<url.url()<<endl;
- return createUploadJob( adaptor, url );
-}
-
-ExchangeAddressBookAdaptor::ExchangeAddressBookAdaptor() : DavAddressBookAdaptor()
-{
-}
-
-void ExchangeAddressBookAdaptor::customAdaptDownloadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-}
-
-void ExchangeAddressBookAdaptor::customAdaptUploadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-// url.setPath( url.path() + "/NewItem.EML" );
-}
-
-TQString ExchangeAddressBookAdaptor::defaultNewItemName( KPIM::GroupwareUploadItem *item ) {
- if ( item ) return item->uid()+".EML";
- else return TQString();
-}
-
-
-KPIM::GroupwareUploadItem *ExchangeAddressBookAdaptor::newUploadItem( KABC::Addressee addr,
- KPIM::GroupwareUploadItem::UploadType type )
-{
- return new ExchangeAddressBookUploadItem( this, addr, type );
-}
diff --git a/kresources/newexchange/exchangeaddressbookadaptor.h b/kresources/newexchange/exchangeaddressbookadaptor.h
deleted file mode 100644
index cbf5ac6f..00000000
--- a/kresources/newexchange/exchangeaddressbookadaptor.h
+++ /dev/null
@@ -1,102 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_EXCHANGEADDRESSBOOKADAPTOR_H
-#define KABC_EXCHANGEADDRESSBOOKADAPTOR_H
-
-#include "exchangeglobals.h"
-
-#include <groupwareresourcejob.h>
-#include <davaddressbookadaptor.h>
-
-#include <folderlister.h>
-
-#include <kabc/addressee.h>
-#include <kurl.h>
-#include <tqdom.h>
-
-namespace KABC {
-
-class ExchangeAddressBookUploadItem : public KPIM::GroupwareUploadItem
-{
- public:
- ExchangeAddressBookUploadItem( AddressBookAdaptor *adaptor, KABC::Addressee addr, UploadType type );
- virtual ~ExchangeAddressBookUploadItem() {}
-/**/ virtual TDEIO::TransferJob *createUploadJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl );
-/**/ virtual TDEIO::TransferJob *createUploadNewJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl );
-
- protected:
- ExchangeAddressBookUploadItem( UploadType type ) : KPIM::GroupwareUploadItem( type ) {}
- TQDomDocument mDavData;
-};
-
-class ExchangeAddressBookAdaptor : public DavAddressBookAdaptor
-{
- public:
- ExchangeAddressBookAdaptor();
-
- void customAdaptDownloadUrl( KURL &url );
- void customAdaptUploadUrl( KURL &url );
- TQString mimeType() const { return "message/rfc822"; }
- TQCString identifier() const { return "KABCResourceExchange"; }
- TQString defaultNewItemName( KPIM::GroupwareUploadItem *item );
- long flags() const { return GWResBatchDelete; }
-
-
-
- // Creating Jobs
- TDEIO::Job *createListFoldersJob( const KURL &url )
- { return ExchangeGlobals::createListFoldersJob( url ); }
- TDEIO::TransferJob *createListItemsJob( const KURL &url )
- { return ExchangeGlobals::createListItemsJob( url ); }
- TDEIO::TransferJob *createDownloadJob( const KURL &url, KPIM::FolderLister::ContentType ctype )
- { return ExchangeGlobals::createDownloadJob( this, url, ctype ); }
- TDEIO::Job *createRemoveJob( const KURL &uploadurl, const KPIM::GroupwareUploadItem::List &deletedItems )
- { return ExchangeGlobals::createRemoveJob( uploadurl, deletedItems ); }
-
-
-
- // Interpreting Jobs
- bool interpretListItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return ExchangeGlobals::interpretListItemsJob( this, job, jobData ); }
- bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return ExchangeGlobals::interpretAddressBookDownloadItemsJob( this, job, jobData ); }
-
-
-
-
-/**/ KPIM::GroupwareUploadItem *newUploadItem( KABC::Addressee addr,
- KPIM::GroupwareUploadItem::UploadType type );
-
-
-
-
- bool getFolderHasSubs( const TQDomNode &folderNode )
- { return ExchangeGlobals::getFolderHasSubs( folderNode ); }
- KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode )
- { return ExchangeGlobals::getContentType( folderNode ); }
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/exchangecalendaradaptor.cpp b/kresources/newexchange/exchangecalendaradaptor.cpp
deleted file mode 100644
index 89c9b742..00000000
--- a/kresources/newexchange/exchangecalendaradaptor.cpp
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangecalendaradaptor.h"
-#include "exchangeglobals.h"
-#include "exchangeconvertercalendar.h"
-#include <davgroupwareglobals.h>
-#include <webdavhandler.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kio/davjob.h>
-#include <libkcal/resourcecached.h>
-#include "davcalendaradaptor.h"
-
-using namespace KCal;
-
-ExchangeCalendarUploadItem::ExchangeCalendarUploadItem( CalendarAdaptor *adaptor, KCal::Incidence *incidence, KPIM::GroupwareUploadItem::UploadType type )
- : GroupwareUploadItem( type )
-{
- if ( incidence && adaptor ) {
- if ( incidence->type() == "Event" ) mItemType = KPIM::FolderLister::Event;
- else if ( incidence->type() == "Todo" ) mItemType = KPIM::FolderLister::Todo;
- else if ( incidence->type() == "Journal" ) mItemType = KPIM::FolderLister::Journal;
-kdDebug()<<"mItemType=="<<mItemType<<endl;
-
- setUrl( incidence->customProperty( adaptor->identifier(), "storagelocation" ) );
- setUid( incidence->uid() );
-
- ExchangeConverterCalendar format;
- format.setTimeZone( adaptor->resource()->timeZoneId() );
- mDavData = format.createWebDAV( incidence );
- }
-}
-
-TDEIO::TransferJob *ExchangeCalendarUploadItem::createUploadJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseUrl )
-{
-kdDebug()<<"ExchangeCalendarUploadItem::createUploadJob, adaptor="<<adaptor<<", URL="<<baseUrl.url()<<endl;
- Q_ASSERT( adaptor );
- if ( !adaptor ) return 0;
- KURL upUrl( url() );
- adaptor->adaptUploadUrl( upUrl );
- kdDebug() << "Uploading to: " << upUrl.prettyURL() << endl;
-
- TDEIO::DavJob *job = TDEIO::davPropPatch( upUrl, mDavData, false );
- return job;
-}
-
-TDEIO::TransferJob *ExchangeCalendarUploadItem::createUploadNewJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl )
-{
-kdDebug()<<"ExchangeCalendarUploadItem::createUploadNewJob"<<endl;
- KURL url( baseurl );
- // TODO: Check if this URL doesn't exist yet!
- url.addPath( uid() + ".EML" );
- setUrl( url );
-//url.addPath("newItem.EML");
-kdDebug()<<"Upload path: "<<url.url()<<endl;
- return createUploadJob( adaptor, url );
-}
-
-
-
-ExchangeCalendarAdaptor::ExchangeCalendarAdaptor() : DavCalendarAdaptor()
-{
- /* FIXME Set the progress item messages from the concrete job?*/
- setDownloadProgressMessage( i18n( "Downloading items" ) );
- setUploadProgressMessage( i18n( "Uploading items" ) );
-}
-
-void ExchangeCalendarAdaptor::customAdaptDownloadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-}
-
-void ExchangeCalendarAdaptor::customAdaptUploadUrl( KURL &url )
-{
- url = WebdavHandler::toDAV( url );
-// url.setPath( url.path() + "/NewItem.EML" );
-}
-
-
-/* Removing items: old version of the exchange resource: If the event is part
- of a sequence of recurring event, we need to delete the master!
-void ExchangeDelete::findUidSingleMaster( TQString const& uid )
-{
- TQString query =
- "SELECT \"DAV:href\", \"urn:schemas:calendar:uid\"\r\n"
- "FROM Scope('shallow traversal of \"\"')\r\n"
- "WHERE \"urn:schemas:calendar:uid\" = '" + uid + "'\r\n"
- " AND (\"urn:schemas:calendar:instancetype\" = 0\r\n"
- " OR \"urn:schemas:calendar:instancetype\" = 1)\r\n";
-
- TDEIO::DavJob* job = TDEIO::davSearch( mAccount->calendarURL(), "DAV:", "sql", query, false );
- job->setWindow( mWindow );
- connect(job, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFindUidResult(TDEIO::Job *)));
-}
-
-*/
-
-
-TQString ExchangeCalendarAdaptor::defaultNewItemName( KPIM::GroupwareUploadItem *item ) {
- if ( item ) return item->uid()+".EML";
- else return TQString();
-}
-
-KPIM::GroupwareUploadItem *ExchangeCalendarAdaptor::newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type )
-{
- return new ExchangeCalendarUploadItem( this, it, type );
-}
-
-bool ExchangeCalendarAdaptor::interpretUploadJob( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- kdDebug(7000) << "ExchangeCalendarAdaptor::interpretUploadJob " << endl;
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>(job);
- bool error = job->error();
- const TQString err = job->errorString();
-
- if ( davjob ) {
- if ( error ) {
- emit itemUploadError( davjob->url(), err );
- return false;
- } else {
- TQDomDocument doc( davjob->response() );
- // TODO: extract the href and the items that got a 404. If there's
- // something important among them, issue the "usual" not-all-settings-uploaded
- // warning to the user.
-
- // We don't know the local id here (and we don't want to extract it from
- // the idMapper, that's the task of the receiver
- emit itemUploaded( uidFromJob( job ), davjob->url() );
- }
- return true;
- } else {
- return false;
- }
-}
-
-bool ExchangeCalendarAdaptor::interpretUploadNewJob( TDEIO::Job *job, const TQString &/*jobData*/ )
-{
-// TODO: How does the incidence mapper know the old/new ids???
- kdDebug(7000) << "ExchangeCalendarAdaptor::interpretUploadNewJob " << endl;
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>(job);
- bool error = job->error();
- const TQString err = job->errorString();
-
- if ( davjob ) {
- if ( error ) {
- emit itemUploadNewError( idMapper()->localId( davjob->url().path() ), err );
- return false;
- } else {
- TQDomDocument doc( davjob->response() );
- // TODO: extract the href and the items that got a 404. If there's
- // something important among them, issue the "usual" not-all-settings-uploaded
- // warning to the user.
-
- // We don't know the local id here (and we don't want to extract it from
- // the idMapper, that's the task of the receiver
- emit itemUploadedNew( uidFromJob( job ), davjob->url() );
- }
- return true;
- } else {
- return false;
- }
-}
-
diff --git a/kresources/newexchange/exchangecalendaradaptor.h b/kresources/newexchange/exchangecalendaradaptor.h
deleted file mode 100644
index 4f8d1da2..00000000
--- a/kresources/newexchange/exchangecalendaradaptor.h
+++ /dev/null
@@ -1,99 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KPIM_EXCHANGECALENDARADAPTOR_H
-#define KPIM_EXCHANGECALENDARADAPTOR_H
-
-#include "exchangeglobals.h"
-
-#include <groupwareresourcejob.h>
-#include <davcalendaradaptor.h>
-#include <kurl.h>
-#include <tqdom.h>
-
-namespace KCal {
-
-class Incidence;
-
-class ExchangeCalendarUploadItem : public KPIM::GroupwareUploadItem
-{
- public:
- ExchangeCalendarUploadItem( CalendarAdaptor *adaptor, KCal::Incidence *incidence, UploadType type );
- virtual ~ExchangeCalendarUploadItem() {}
- virtual TDEIO::TransferJob *createUploadNewJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &baseurl );
- virtual TDEIO::TransferJob *createUploadJob(
- KPIM::GroupwareDataAdaptor *adaptor, const KURL &url );
-
- protected:
- ExchangeCalendarUploadItem( UploadType type ) : KPIM::GroupwareUploadItem( type ) {}
- TQDomDocument mDavData;
-};
-
-class ExchangeCalendarAdaptor : public DavCalendarAdaptor
-{
- public:
- ExchangeCalendarAdaptor();
-
- void customAdaptDownloadUrl( KURL &url );
- void customAdaptUploadUrl( KURL &url );
- TQString mimeType() const { return "message/rfc822"; }
- TQCString identifier() const { return "KCalResourceExchange"; }
- TQString defaultNewItemName( KPIM::GroupwareUploadItem *item );
- long flags() const { return GWResBatchDelete; }
-
-
-
- // Creating Jobs
- TDEIO::Job *createListFoldersJob( const KURL &url )
- { return ExchangeGlobals::createListFoldersJob( url ); }
- TDEIO::TransferJob *createListItemsJob( const KURL &url )
- { return ExchangeGlobals::createListItemsJob( url ); }
- TDEIO::TransferJob *createDownloadJob( const KURL &url, KPIM::FolderLister::ContentType ctype )
- { return ExchangeGlobals::createDownloadJob( this, url, ctype ); }
- TDEIO::Job *createRemoveJob( const KURL &uploadurl, const KPIM::GroupwareUploadItem::List &deletedItems )
- { return ExchangeGlobals::createRemoveJob( uploadurl, deletedItems ); }
-
-
- // Interpreting Jobs
- bool interpretListItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return ExchangeGlobals::interpretListItemsJob( this, job, jobData ); }
- bool interpretDownloadItemsJob( TDEIO::Job *job, const TQString &jobData )
- { return ExchangeGlobals::interpretCalendarDownloadItemsJob( this, job, jobData ); }
- bool interpretUploadJob( TDEIO::Job *job, const TQString &/*jobData*/ );
- bool interpretUploadNewJob( TDEIO::Job *job, const TQString &/*jobData*/ );
-
-
-
- KPIM::GroupwareUploadItem *newUploadItem( KCal::Incidence*it,
- KPIM::GroupwareUploadItem::UploadType type );
-
-
-
- bool getFolderHasSubs( const TQDomNode &folderNode )
- { return ExchangeGlobals::getFolderHasSubs( folderNode ); }
- KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode )
- { return ExchangeGlobals::getContentType( folderNode ); }
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/exchangeconvertercalendar.cpp b/kresources/newexchange/exchangeconvertercalendar.cpp
deleted file mode 100644
index bf2a66db..00000000
--- a/kresources/newexchange/exchangeconvertercalendar.cpp
+++ /dev/null
@@ -1,820 +0,0 @@
-/*
- This file is part of the exchange resource.
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
- Parts are derived from the old libkpimexchange library:
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangeconvertercalendar.h"
-#include <webdavhandler.h>
-#include <libkcal/incidence.h>
-#include <libkcal/event.h>
-#include <libkcal/journal.h>
-#include <libkcal/todo.h>
-#include <libkcal/icalformat.h>
-#include <libemailfunctions/email.h>
-
-#include <kdebug.h>
-
-using namespace KCal;
-
-#define TaskNamespace1 "http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/"
-#define TaskProp_Status "0x00008101"
-#define TaskProp_PercentCompleted "0x00008102"
-#define TaskProp_DtStart "0x00008104"
-#define TaskProp_DtDue "0x00008105"
-#define TaskProp_Duration "0x00008106"
-#define TaskProp_CompletionDate "0x0000810f"
-#define TaskProp_IsCompleted "0x0000811C"
-#define TaskProp_Owner "0x0000811F"
-#define TaskProp_DoesRecur "0x00008126"
-
-#define TaskNamespace2 "http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/"
-#define TaskProp_ReminderTime "0x00008502"
-#define TaskProp_ReminderSet "0x00008503"
-#define TaskProp_ReminderPlaySound "0x0000851E"
-#define TaskProp_ReminderSoundFile "0x0000851F"
-#define TaskProp_ContactNames "0x0000853A"
-
-
-ExchangeConverterCalendar::ExchangeConverterCalendar()
-{
-}
-
-void ExchangeConverterCalendar::setTimeZone( const TQString &id )
-{
- // kdDebug() << "Setting timezone to: " << id << endl;
- mFormat.setTimeZone( id, true );
-}
-
-#define propertyDAV( prop ) \
- WebdavHandler::addElement( doc, root, "d:"prop )
-#define propertyNS( ns, prop ) \
- WebdavHandler::addElementNS( doc, root, ns, prop )
-#define propertyCalendar( prop ) \
- WebdavHandler::addElement( doc, root, "c:"prop )
-#define propertyHTTPMail( prop ) \
- WebdavHandler::addElement( doc, root, "m:"prop )
-#define propertyMailHeader( prop ) \
- WebdavHandler::addElement( doc, root, "h:"prop )
-#define property( prop ) \
- WebdavHandler::addElement( doc, root, prop )
-
-void ExchangeConverterCalendar::createRequestIncidence( TQDomDocument &doc, TQDomElement &root )
-{
- propertyDAV( "contentclass" );
- propertyDAV( "getcontenttype" );
- propertyNS( "http://schemas.microsoft.com/exchange/", "outlookmessageclass" );
- propertyDAV( "getetag" );
- propertyDAV( "href" );
- propertyDAV( "isreadonly" );
- propertyNS( "http://schemas.microsoft.com/repl/", "repl-uid" );
- propertyHTTPMail( "subject" );
- propertyHTTPMail( "textdescription" );
- propertyHTTPMail( "date" );
- propertyDAV( "comment" );
- propertyNS( "urn:schemas-microsoft-com:office:office", "Keywords" );
- propertyNS( "http://schemas.microsoft.com/exchange/", "sensitivity" );
- propertyHTTPMail( "priority" );
- propertyHTTPMail( "from" );
- propertyHTTPMail( "to" );
- propertyHTTPMail( "cc" );
- propertyHTTPMail( "bcc" );
- propertyHTTPMail( "hasattachment" );
-}
-
-void ExchangeConverterCalendar::createRequestAppointment( TQDomDocument &doc, TQDomElement &root )
-{
- createRequestIncidence( doc, root );
- TQDomAttr att_c = doc.createAttribute( "xmlns:c" );
- att_c.setValue( "urn:schemas:calendar:" );
- doc.documentElement().setAttributeNode( att_c );
- propertyCalendar( "uid" );
- propertyCalendar( "created" );
- propertyCalendar( "lastmodified" );
- propertyCalendar( "dtstamp" );
- propertyCalendar( "sequence" );
- propertyCalendar( "location" );
- propertyCalendar( "busystatus" );
- propertyCalendar( "transparent" );
- propertyCalendar( "timezone" );
- propertyCalendar( "alldayevent" );
- propertyCalendar( "dtstart" );
- propertyCalendar( "dtend" );
- propertyCalendar( "duration" );
- propertyCalendar( "rrule" );
- propertyCalendar( "rdate" );
- propertyCalendar( "exrule" );
- propertyCalendar( "exdate" );
- propertyCalendar( "recurrenceid" );
- propertyCalendar( "instancetype" );
- propertyCalendar( "reminderoffset" );
- propertyCalendar( "resources" );
-}
-
-#define propertyTask1( prop ) \
- WebdavHandler::addElement( doc, props, "t1:"prop )
-#define propertyTask2( prop ) \
- WebdavHandler::addElement( doc, props, "t2:"prop )
-
-void ExchangeConverterCalendar::createRequestTask( TQDomDocument &doc, TQDomElement &props )
-{
- createRequestIncidence( doc, props );
-
- TQDomElement root = doc.documentElement();
-
- TQDomAttr att_t1 = doc.createAttribute( "xmlns:t1" );
- att_t1.setValue( TaskNamespace1 );
- root.setAttributeNode( att_t1 );
-
- TQDomAttr att_t2 = doc.createAttribute( "xmlns:t2" );
- att_t2.setValue( TaskNamespace2 );
- root.setAttributeNode( att_t2 );
-
- // TODO: Insert the correct namespaces here:
-// propertyTask1( TaskProp_UID );
- propertyDAV( "creationdate" );
- propertyDAV( "getlastmodified" );
- propertyTask1( TaskProp_Owner );
- propertyTask2( TaskProp_ContactNames );
- propertyTask1( TaskProp_DtStart );
- propertyTask1( TaskProp_DtDue );
- propertyTask1( TaskProp_Duration );
- propertyTask1( TaskProp_IsCompleted );
- propertyTask1( TaskProp_PercentCompleted );
- propertyTask1( TaskProp_CompletionDate );
- propertyTask1( TaskProp_DoesRecur );
- // What to do about recurrence rules?
- propertyTask2( TaskProp_ReminderSet );
- propertyTask2( TaskProp_ReminderTime );
- propertyTask2( TaskProp_ReminderPlaySound );
- propertyTask2( TaskProp_ReminderSoundFile );
- propertyTask1( TaskProp_Status );
-}
-#undef propertyTask1
-#undef propertyTask2
-
-void ExchangeConverterCalendar::createRequestJournal( TQDomDocument &doc, TQDomElement &root )
-{
- createRequestIncidence( doc, root );
- propertyDAV( "uid" );
- propertyDAV( "creationdate" );
- propertyDAV( "getlastmodified" );
-}
-#undef propertyDAV
-#undef propertyNS
-#undef propertyCalendar
-#undef propertyHTTPMail
-#undef propertyMailHeader
-#undef property
-
-bool ExchangeConverterCalendar::readTZ( const TQDomElement &node, Incidence */*incidence*/ )
-{
- TQString timezoneid;
- if ( WebdavHandler::extractString( node, "timezoneid", timezoneid ) ) {
- // kdDebug() << "DEBUG: timezoneid = " << timezoneid << endl;
- }
-
- TQString timezone;
- if ( WebdavHandler::extractString( node, "timezone", timezone ) ) {
- // kdDebug() << "DEBUG: timezone = " << timezone << endl;
- }
-
- // TODO:
-/* // mFormat is used for parsing recurrence rules.
- TQString localTimeZoneId;
- if ( mCalendar ) {
- mFormat.setTimeZone( mCalendar->timeZoneId(), !mCalendar->isLocalTime() );
- localTimeZoneId = mCalendar->timeZoneId();
- } else {
- localTimeZoneId = "UTC";
- // If no mCalendar, stay in UTC
- }
-*/
- return true;
-}
-
-bool ExchangeConverterCalendar::readIncidence( const TQDomElement &node, Incidence *incidence )
-{
-kdDebug()<<"ExchangeConverterCalendar::readIncidencd"<<endl;
- TQDateTime tmpdt;
- bool tmpbool;
- TQString tmpstr;
- long tmplng;
- TQStringList tmplst;
-
- readTZ( node, incidence );
-
- if ( WebdavHandler::extractString( node, "getetag", tmpstr ) )
- incidence->setCustomProperty( "TDEPIM-Exchange-Resource", "fingerprint", tmpstr );
- if ( WebdavHandler::extractString( node, "href", tmpstr ) )
- incidence->setCustomProperty( "TDEPIM-Exchange-Resource", "href", tmpstr );
-
- // FIXME: use repl-uid as scheduling id?
- if ( WebdavHandler::extractString( node, "textdescription", tmpstr ) )
- incidence->setDescription( tmpstr );
- if ( WebdavHandler::extractString( node, "subject", tmpstr ) )
- incidence->setSummary( tmpstr );
- if ( WebdavHandler::extractStringList( node, "Keywords", tmplst ) )
- incidence->setCategories( tmplst );
-
- // Use "created" or "creationdate"?
- if ( WebdavHandler::extractBool( node, "isreadonly" , tmpbool ) )
- incidence->setReadOnly( tmpbool );
-
- // FIXME: Ignore the comment for now
-
- // Exchange sentitivity values:
- // 0 None, 1 Personal, 2 Private, 3 Company Confidential
- if ( WebdavHandler::extractLong( node, "sensitivity", tmplng ) ) {
- switch( tmplng ) {
- case 0: incidence->setSecrecy( KCal::Incidence::SecrecyPublic ); break;
- case 1:
- case 2: incidence->setSecrecy( KCal::Incidence::SecrecyPrivate ); break;
- case 3: incidence->setSecrecy( KCal::Incidence::SecrecyConfidential ); break;
- default: kdWarning() << "Unknown sensitivity: " << tmplng << endl;
- }
- }
-
- if ( WebdavHandler::extractBool( node, "hasattachment", tmpbool ) && tmpbool ) {
- // FIXME: Extract attachments...
- }
-
- if ( WebdavHandler::extractLong( node, "priority", tmplng ) )
- incidence->setPriority( tmplng );
-
- // FIXME: Use the urn:schemes:httpmail:date property for what?
-
- // Organizer, required and optional Attendees:
- if ( WebdavHandler::extractString( node, "from", tmpstr ) )
- incidence->setOrganizer( tmpstr );
- if ( WebdavHandler::extractString( node, "to", tmpstr ) ) {
- TQStringList atts( KPIM::splitEmailAddrList( tmpstr ) );
- for ( TQStringList::Iterator it = atts.begin(); it != atts.end(); ++it ) {
- TQString name, email;
- KPIM::getNameAndMail( *it, name, email );
- Attendee *att = new Attendee( name, email );
- att->setRole( KCal::Attendee::ReqParticipant );
- // FIXME: Retrieve the other attendee properties somehow...
- // urn:schemas:calendar:method
- // urn:schemas:calendar:responserequested
- // urn:schemas:calendar:meetingstatus
- // urn:schemas:calendar:replytime
- incidence->addAttendee( att );
- }
- }
- if ( WebdavHandler::extractString( node, "cc", tmpstr ) ) {
- TQStringList atts( KPIM::splitEmailAddrList( tmpstr ) );
- for ( TQStringList::Iterator it = atts.begin(); it != atts.end(); ++it ) {
- TQString name, email;
- KPIM::getNameAndMail( *it, name, email );
- Attendee *att = new Attendee( name, email );
- att->setRole( KCal::Attendee::OptParticipant );
- // FIXME: Retrieve the other attendee properties somehow...
- // urn:schemas:calendar:method
- // urn:schemas:calendar:responserequested
- // urn:schemas:calendar:meetingstatus
- // urn:schemas:calendar:replytime
- incidence->addAttendee( att );
- }
- }
-
- return true;
-}
-
-/* FIXME: Handle recurrences
-void ExchangeDownload::handleRecurrence( TQString uid )
-{
- // kdDebug() << "Handling recurrence info for uid=" << uid << endl;
- TQString query =
- "SELECT \"DAV:href\", \"urn:schemas:calendar:instancetype\"\r\n"
- "FROM Scope('shallow traversal of \"\"')\r\n"
- "WHERE \"urn:schemas:calendar:uid\" = '" + uid + "'\r\n"
- " AND (\"urn:schemas:calendar:instancetype\" = 1)\r\n";
-// " OR \"urn:schemas:calendar:instancetype\" = 3)\r\n" // FIXME: exception are not handled
-
- // kdDebug() << "Exchange master query: " << endl << query << endl;
-
- TDEIO::DavJob* job = TDEIO::davSearch( mAccount->calendarURL(), "DAV:", "sql",
- query, false );
- TDEIO::Scheduler::scheduleJob( job );
- job->setWindow( mWindow );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotMasterResult( TDEIO::Job * ) ) );
-}
-*/
-
-bool ExchangeConverterCalendar::readEvent( const TQDomElement &node, Event *event )
-{
- if ( !readIncidence( node, event ) ) return false;
-kdDebug()<<"ExchangeConverterCalendar::readEvent"<<endl;
-
- TQDateTime tmpdt;
- TQString tmpstr;
- long tmplng;
- bool tmpbool;
-
- // The UID is absolutely required!
- if ( WebdavHandler::extractString( node, "uid", tmpstr ) ) {
- event->setUid( tmpstr );
- } else {
-kdDebug()<<"ExchangeConverterCalendar::readIncidence: ERROR: No UID given"<<endl;
- return false;
- }
- if ( WebdavHandler::extractDateTime( node, "created", tmpdt ) )
- event->setCreated( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- if ( WebdavHandler::extractDateTime( node, "lastmodified", tmpdt ) )
- event->setLastModified( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- // FIXME: Retrieve time zone: "timezone"
- // FIXME: Use the "recurrenceid" prop for the recurrenceId of the event (which is protected!)
-
- // FIXME: Retrieve MICROSOFT-CDO-* tags first
-
- if ( WebdavHandler::extractLong( node, "sequence", tmplng ) )
- event->setRevision( tmplng );
-
- if ( WebdavHandler::extractString( node, "location", tmpstr ) )
- event->setLocation( tmpstr );
-
- // FIXME: Use "organizer" here instead of the From: person?
-/* if ( WebdavHandler::extractString( node, "organizer", tmpstr ) )
- incidence->setOrganizer( tmpstr );*/
-
- if ( WebdavHandler::extractDateTime( node, "dtstart", tmpdt ) ) {
- event->setDtStart( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- }
-
- bool allDay = false;
- if ( WebdavHandler::extractBool( node, "alldayevent", allDay ) )
- event->setFloats( allDay );
-
- if ( WebdavHandler::extractLong( node, "duration", tmplng ) ) {
- if (allDay)
- tmplng--; // Otherwise event extends into next day
- event->setDuration( tmplng );
- // kdDebug() << "DURATION " << tmplng << "\n";
- } else if ( WebdavHandler::extractDateTime( node, "dtend", tmpdt ) ) {
- event->setDtEnd( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- }
-
- // FIXME: Here we have two different props for the same thing?!?!?
- if ( WebdavHandler::extractLong( node, "transparent", tmplng ) )
- event->setTransparency( tmplng>0 ? Event::Transparent : Event::Opaque );
- if ( WebdavHandler::extractString( node, "busystatus", tmpstr ) ) {
- if ( tmpstr == "FREE" )
- event->setTransparency( KCal::Event::Transparent );
- if ( tmpstr == "BUSY" )
- event->setTransparency( KCal::Event::Opaque );
- }
-
- if ( WebdavHandler::extractLong( node, "reminderoffset", tmplng ) ) {
- // Duration before event in seconds
- KCal::Duration offset( -tmplng );
- KCal::Alarm *alarm = event->newAlarm();
- alarm->setStartOffset( offset );
- alarm->setEnabled( true );
- alarm->setType( KCal::Alarm::Display);
- // TODO: multiple alarms;
- }
-
-
- if ( WebdavHandler::extractString( node, "rrule", tmpstr ) && !tmpstr.isEmpty() ) {
- kdDebug() << "Got rrule: " << tmpstr << endl;
- // Timezone should be handled automatically
- // because we used mFormat.setTimeZone() earlier
- // FIXME: Implement this using the format!
- RecurrenceRule *rrule = event->recurrence()->defaultRRule( true );
- if ( ! mFormat.fromString( rrule, tmpstr ) ) {
- kdError() << "ERROR parsing rrule " << tmpstr << endl;
- event->recurrence()->addRRule( rrule );
- }
- }
-
- TQStringList tmplst;
- if ( WebdavHandler::extractStringList( node, "exdate", tmplst ) ) {
- TQStringList::Iterator it = tmplst.begin();
- KCal::DateList exdates;
- for ( ; it != tmplst.end(); ++it ) {
- exdates.append( /*utcAsZone(*/ TQDateTime::fromString( *it, Qt::ISODate )/*,
- localTimeZoneId )*/.date() );
- }
- event->recurrence()->setExDates( exdates );
- }
- // FIXME: use rdate and exrule!
-/* FIXME: Recurring events, they are split up
- TQDomElement instancetypeElement = prop.namedItem( "instancetype" ).toElement();
- if ( instancetypeElement.isNull() ) {
- kdError() << "Error: no instance type in Exchange server reply" << endl;
- continue;
- }
- int instanceType = instancetypeElement.text().toInt();
- //kdDebug() << "Instance type: " << instanceType << endl;
-
- if ( recurrence && instanceType > 0 ) {
- TQDomElement uidElement = prop.namedItem( "uid" ).toElement();
- if ( uidElement.isNull() ) {
- kdError() << "Error: no uid in Exchange server reply" << endl;
- continue;
- }
- TQString uid = uidElement.text();
- if ( ! m_uids.contains( uid ) ) {
- m_uids[uid] = 1;
- handleRecurrence(uid);
- successCount++;
- }
- continue;
- }
-*/
-
-
- // FIXME: read the resources from the "resources" tag
-
- // FIXME: Custom fields not yet implemented
- return true;
-}
-
-bool ExchangeConverterCalendar::readTodo( const TQDomElement &node, Todo *todo )
-{
- if ( !readIncidence( node, todo ) ) return false;
-kdDebug()<<"ExchangeConverterCalendar::readTodo"<<endl;
-
- // FIXME: Retrieve time zone: "timezone"
- // FIXME: What to with TaskProp_Owner and TaskProp_ContactNames?
-
- TQDateTime tmpdt;
- float tmpfloat;
- long tmplong;
- bool tmpbool;
- TQString tmpstr;
-
- // The UID is absolutely required!
- // FIXME: Which field shall be used as uid???
-/* if ( WebdavHandler::extractString( node, "uid", tmpstr ) ) {
- todo->setUid( tmpstr );
- } else {
-kdDebug()<<"ExchangeConverterCalendar::readIncidence: ERROR: No UID given"<<endl;
- return false;
- }*/
-// if ( WebdavHandler::extractDateTime( node, "created", tmpdt ) )
-/* FIXME: creation and last modification dates:
- if ( WebdavHandler::extractDateTime( node, "creationdate", tmpdt ) )
- incidence->setCreated( tmpdt );
- if ( WebdavHandler::extractDateTime( node, "getlastmodified", tmpdt ) )
- incidence->setLastModified( tmpdt );*/
-
- if ( WebdavHandler::extractDateTime( node, TaskProp_DtStart, tmpdt ) )
- todo->setDtStart( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- if ( WebdavHandler::extractDateTime( node, TaskProp_DtDue, tmpdt ) )
- todo->setDtDue( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- if ( WebdavHandler::extractLong( node, TaskProp_Duration, tmplong ) )
- todo->setDuration( tmplong );
-
- if ( WebdavHandler::extractBool( node, TaskProp_IsCompleted, tmpbool ) && tmpbool ) {
- todo->setCompleted( tmpbool );
- if ( tmpbool && WebdavHandler::extractDateTime( node, TaskProp_CompletionDate, tmpdt ) ) {
- todo->setCompleted( WebdavHandler::utcAsZone( tmpdt, mFormat.timeZoneId() ) );
- }
- }
- if ( WebdavHandler::extractFloat( node, TaskProp_PercentCompleted, tmpfloat ) )
- todo->setPercentComplete( (int)(tmpfloat*100) );
-
- // FIXME: Recurrence, using TaskProp_DoesRecur
- // What to do about recurrence rules?
-
- // FIXME: Reminders, use TaskProp_ReminderSet, TaskProp_ReminderTime,
- // TaskProp_ReminderPlaySound, TaskProp_ReminderSoundFile, TaskProp_Status
- // But how do I get the offset?
-
- return true;
-}
-
-bool ExchangeConverterCalendar::readJournal( const TQDomElement &node, Journal *journal )
-{
- if ( !readIncidence( node, journal ) ) return false;
-kdDebug()<<"ExchangeConverterCalendar::readJournal"<<endl;
- TQDateTime tmpdt;
- TQString tmpstr;
- // The UID is absolutely required!
- // FIXME: Which field shall be used as UID?
- if ( WebdavHandler::extractString( node, "uid", tmpstr ) ) {
- journal->setUid( tmpstr );
- } else {
-kdDebug()<<"ExchangeConverterCalendar::readJournal: ERROR: No UID given"<<endl;
- return false;
- }
-/* FIXME: creation and last modification times:
- if ( WebdavHandler::extractDateTime( node, "created", tmpdt ) )
- incidence->setCreated( tmpdt );
- if ( WebdavHandler::extractDateTime( node, "lastmodified", tmpdt ) )
- incidence->setLastModified( tmpdt );*/
-
- if ( WebdavHandler::extractDateTime( node, "date", tmpdt ) )
- journal->setDtStart( tmpdt );
- return true;
-}
-
-Incidence::List ExchangeConverterCalendar::parseWebDAV( const TQDomDocument& davdata )
-{
- TQDomElement prop = davdata.documentElement().namedItem( "response" )
- .namedItem( "propstat" ).namedItem( "prop" ).toElement();
- if ( prop.isNull() ) return Incidence::List();
-
- TQString contentclass;
- bool success = WebdavHandler::extractString( prop, "contentclass", contentclass );
- if ( !success ) return Incidence::List();
-
- Incidence *incidence = 0;
- success = false;
- if ( contentclass == "urn:content-classes:appointment" ) {
- Event *event = new Event();
- success = readEvent( prop, event );
- incidence = event;
- } else if ( contentclass == "urn:content-classes:task" ) {
- Todo *todo = new Todo();
- success = readTodo( prop, todo );
- incidence = todo;
- } else if ( contentclass == "urn:content-classes:journal" ||
- contentclass == "urn:content-classes:message" ) {
- Journal *journal = new Journal();
- success = readJournal( prop, journal );
- incidence = journal;
- }
-
- Incidence::List list;
- if ( success ) {
- list.append( incidence );
- }
- return list;
-}
-
-
-#define domDavProperty( name, value ) \
- WebdavHandler::addElement( mDoc, mElement, "d:"name, value )
-#define domProperty( NS, name, value ) \
- WebdavHandler::addElementNS( mDoc, mElement, NS, name, value )
-#define domCalendarProperty( name, value ) \
- WebdavHandler::addElement( mDoc, mElement, "c:"name, value )
-#define domHTTPMailProperty( name, value ) \
- WebdavHandler::addElement( mDoc, mElement, "m:"name, value )
-#define domMailHeaderProperty( name, value ) \
- WebdavHandler::addElement( mDoc, mElement, "h:"name, value )
-
-
-
-
-class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Visitor
-{
- public:
- createWebDAVVisitor() : Visitor() {}
- bool act( TQDomDocument doc, TQDomElement el, IncidenceBase *incidence, const TQString &timeZoneId )
- {
- mDoc = doc;
- mElement = el;
- mTimeZoneId = timeZoneId;
- return incidence->accept( *this );
- }
- protected:
- void addBoolProp( TQDomElement &el ) { el.setAttribute( "b:dt", "boolean" ); }
- void addDateProp( TQDomElement &el ) { el.setAttribute( "b:dt", "dateTime.tz" ); }
- void addFloatProp( TQDomElement &el ) { el.setAttribute( "b:dt", "float" ); }
- void addIntProp( TQDomElement &el ) { el.setAttribute( "b:dt", "int" ); }
- TQString timePropString( const TQDateTime &dt ) { return dt.toString( Qt::ISODate )+"Z"; }
-
- bool visitIncidence( Incidence *incidence )
- {
- TQString tmpstr;
- domDavProperty( "isreadonly", (incidence->isReadOnly())?"1":"0" );
- // FIXME: scheduling ID
-// domProperty( "http://schemas.microsoft.com/repl/", "repl-uid", ??? );
- domHTTPMailProperty( "subject", incidence->summary() );
- domHTTPMailProperty( "textdescription", incidence->description() );
- // FIXME: timestampt, comments and categories
-// domHTTPMailProperty( "date", ??? ); // timestamp not available in libkcal
-// domDavProperty( "comment", incidence->comments() ); // libkcal has a TQStringlist, not one string
-// domProperty( "urn:schemas-microsoft-com:office:office", "Keywords", ??? ); // It's a <v>entyr1</v><v>entry2</v> String list!
- tmpstr = TQString();
- switch ( incidence->secrecy() ) {
- case KCal::Incidence::SecrecyPublic: tmpstr = "0"; break;
- case KCal::Incidence::SecrecyPrivate: tmpstr = "2"; break;
- case KCal::Incidence::SecrecyConfidential: tmpstr = "3"; break;
- default: break;
- }
- if ( !tmpstr.isEmpty() )
- domProperty( "http://schemas.microsoft.com/exchange/", "sensitivity", tmpstr );
-
- domHTTPMailProperty( "priority", TQString::number(incidence->priority()) );
-
- domMailHeaderProperty( "from", incidence->organizer().fullName() );
-
- // Attendees:
- tmpstr = TQString();
- TQStringList reqattnames;
- TQStringList optattnames;
- Attendee::List atts = incidence->attendees();
- for ( Attendee::List::Iterator it = atts.begin(); it != atts.end(); ++it ) {
- switch ( (*it)->role() ) {
- case KCal::Attendee::Chair:
- case KCal::Attendee::ReqParticipant:
- reqattnames << (*it)->fullName();
- break;
- case KCal::Attendee::OptParticipant:
- case KCal::Attendee::NonParticipant:
- optattnames << (*it)->fullName();
- break;
- default: break;
- }
- }
-
- domMailHeaderProperty( "to", reqattnames.join(", ") );
-
- domMailHeaderProperty( "cc", optattnames.join(", ") );
-
- // FIXME: Attachments: propertyHTTPMail( "hasattachment" );
-
- return true;
- }
- bool visit( Event *event )
- {
- if ( !visitIncidence(event) ) return false;
-
- TQDomAttr att_c = mDoc.createAttribute( "xmlns:c" );
- att_c.setValue( "urn:schemas:calendar:" );
- mDoc.documentElement().setAttributeNode( att_c );
-
- domDavProperty( "contentclass", "urn:content-classes:appointment" );
- domProperty( "http://schemas.microsoft.com/exchange/",
- "outlookmessageclass", "IPM.Appointment" );
- domCalendarProperty( "uid", event->uid() );
- TQDomElement el = domCalendarProperty( "created", timePropString( WebdavHandler::zoneAsUtc( event->created(), mTimeZoneId ) ) );
- addDateProp( el );
- el = domCalendarProperty( "lastmodified", timePropString( WebdavHandler::zoneAsUtc( event->lastModified(), mTimeZoneId ) ) );
- addDateProp( el );
- // FIXME: domCalendarProperty( "dtstamp", ??);
-// FIXME: domCalendarProperty( "sequence", event->sequence() );
- domCalendarProperty( "location", event->location() );
-
- TQString tmpstr;
- switch ( event->transparency() ) {
- case KCal::Event::Transparent: tmpstr = "FREE"; break;
- case KCal::Event::Opaque: tmpstr = "BUSY"; break;
- }
- if ( !tmpstr.isEmpty() )
- domCalendarProperty( "busystatus", tmpstr );
-// FIXME: What do do with the "transparent" property?
-// FIXME: Use the "timezone" property...
- domCalendarProperty( "alldayevent", event->doesFloat()?"1":"0" );
- el = domCalendarProperty( "dtstart", timePropString( WebdavHandler::zoneAsUtc( event->dtStart(), mTimeZoneId ) ) );
- addDateProp( el );
- if ( event->hasEndDate() ) {
- el = domCalendarProperty( "dtend", timePropString( WebdavHandler::zoneAsUtc( event->dtEnd(), mTimeZoneId ) ) );
- addDateProp( el );
- } else {
- domCalendarProperty( "duration", TQString::number( event->duration() ) );
- }
- // FIXME: Convert the recurrence rule to a string:
- if ( event->doesRecur() ) {
-// tmpstr = event->recurrence().....
-// domCalendarProperty( "rrule", tmpstr );
- // FIXME: Use "rdate" and "exrule"
- // FIXME: Use "exdate", what's the syntax?
- // FIXME: use the "instancetype" property
- }
- // FIXME: RecurrenceID is protected!
-// domCalendarProperty( "recurrenceid", event->recurrenceId() );
- // FIXME: "reminderoffset"
- // FIXME: "resources" Alarm::List alarms = event->alarms();
-
- Alarm::List::ConstIterator it;
- Alarm::List alarms = event->alarms();
- for( it = alarms.begin(); it != alarms.end(); ++it ) {
- if ((*it)->hasStartOffset()) {
- domCalendarProperty( "reminderoffset", TQString::number( (*it)->startOffset().asSeconds() * -1 ) );
- } else {
- kdDebug() << "ExchangeConverterCalendar::createWebDAVVisitor: Alarm type not supported\n";
- }
- }
-
- return true;
- }
- bool visit( Todo *todo )
- {
- if ( !visitIncidence(todo) ) return false;
-
- TQDomAttr att_t1 = mDoc.createAttribute( "xmlns:t1" );
- att_t1.setValue( TaskNamespace1 );
- mDoc.documentElement().setAttributeNode( att_t1 );
-
- TQDomAttr att_t2 = mDoc.createAttribute( "xmlns:t2" );
- att_t2.setValue( TaskNamespace2 );
- mDoc.documentElement().setAttributeNode( att_t2 );
-
-
- domDavProperty( "contentclass", "urn:content-classes:task" );
- domProperty( "http://schemas.microsoft.com/exchange/",
- "outlookmessageclass", "IPM.Task" );
-
-/* FIXME:
- domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
- // TODO
-/*propertyTask1( TaskProp_Owner );
- propertyTask2( TaskProp_ContactNames );
- propertyTask1( TaskProp_DtStart );
- propertyTask1( TaskProp_DtDue );
- propertyTask1( TaskProp_Duration );
- propertyTask1( TaskProp_IsCompleted );
- propertyTask1( TaskProp_PercentCompleted );
- propertyTask1( TaskProp_CompetionDate );
- propertyTask1( TaskProp_DoesRecur );
- // What to do about recurrence rules?
- propertyTask2( TaskProp_ReminderSet );
- propertyTask2( TaskProp_ReminderTime );
- propertyTask2( TaskProp_ReminderPlaySound );
- propertyTask2( TaskProp_ReminderSoundFile );
- propertyTask1( TaskProp_Status );*/
- return true;
- }
- bool visit( Journal *journal )
- {
- if ( !visitIncidence(journal) ) return false;
- domDavProperty( "contentclass", "urn:content-classes:journal" );
- domProperty( "http://schemas.microsoft.com/exchange/",
- "outlookmessageclass", "IPM.Journal" );
-/* FIXME:
- domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
- // TODO
- return true;
- }
-
- protected:
- TQDomDocument mDoc;
- TQDomElement mElement;
- TQString mTimeZoneId;
-};
-
-// Prefixes for the namespaces:
-// d... DAV:
-// b... urn:schemas-microsoft-com:datatypes
-// c... calendar
-// m... httpmail
-// h... httpheader
-// p... mapi
-// o... office
-//
-
-TQDomDocument ExchangeConverterCalendar::createWebDAV( Incidence *incidence )
-{
- // TODO
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propertyupdate" );
- TQDomElement set = WebdavHandler::addElement( doc, root, "d:set" );
- TQDomElement prop = WebdavHandler::addElement( doc, set, "d:prop" );
-
- TQDomAttr att_b = doc.createAttribute( "xmlns:b" );
- att_b.setValue( "urn:schemas-microsoft-com:datatypes" );
- root.setAttributeNode( att_b );
-
- TQDomAttr att_h = doc.createAttribute( "xmlns:h" );
- att_h.setValue( "urn:schemas:mailheader:" );
- root.setAttributeNode( att_h );
-
- TQDomAttr att_m = doc.createAttribute( "xmlns:m" );
- att_m.setValue( "urn:schemas:httpmail:" );
- root.setAttributeNode( att_m );
-
-// TQDomAttr att1 = doc.createAttributeNS( "do:whatever:you:like", "x:attname");
-// att1.setValue( "value" );
-// prop.setAttributeNodeNS( att1 );
-// root.setAttributeNodeNS( att1 );
-// set.setAttributeNode( att1 );
-// // prop.setAttributeNS ( "xmlns:b", "xmlns:b", "urn:schemas-microsoft-com:datatypes" );
-
- ExchangeConverterCalendar::createWebDAVVisitor v;
- v.act( doc, prop, incidence, mFormat.timeZoneId() );
- kdDebug() << "ExchangeConverterCalendar::createWebDAVVisitor=" << doc.toString() << "\n";
-
- return doc;
-}
-#undef domDavProperty
-#undef domProperty
-#undef domCalendarProperty
-#undef domHTTPMailProperty
-#undef domMailHeaderProperty
diff --git a/kresources/newexchange/exchangeconvertercalendar.h b/kresources/newexchange/exchangeconvertercalendar.h
deleted file mode 100644
index a561d0cd..00000000
--- a/kresources/newexchange/exchangeconvertercalendar.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- This file is part of the exchange resource.
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KCal_EXCHANGECONVERTERCONTACT_H
-#define KCal_EXCHANGECONVERTERCONTACT_H
-
-#include <tqstring.h>
-#include <tqdom.h>
-
-#include <libkcal/incidence.h>
-#include <libkcal/icalformat.h>
-
-namespace KCal {
-class ICalFormat;
-
-class ExchangeConverterCalendar
-{
- public:
-
- ExchangeConverterCalendar();
-
- void setTimeZone( const TQString &id );
-
- static void createRequestAppointment( TQDomDocument &doc, TQDomElement &root );
- static void createRequestTask( TQDomDocument &doc, TQDomElement &root );
- static void createRequestJournal( TQDomDocument &doc, TQDomElement &root );
-
- TQDomDocument createWebDAV( Incidence *incidence );
-
- Incidence::List parseWebDAV( const TQDomDocument& davdata );
- bool readIncidence( const TQDomElement &node, Incidence *incidence );
-
- protected:
- static void createRequestIncidence( TQDomDocument &doc, TQDomElement &root );
- bool readEvent( const TQDomElement &node, Event *event );
- bool readTodo( const TQDomElement &node, Todo *todo );
- bool readJournal( const TQDomElement &node, Journal *journal );
- bool readTZ( const TQDomElement &node, Incidence *incidence );
-
- KCal::ICalFormat mFormat;
- class createWebDAVVisitor;
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/exchangeconvertercontact.cpp b/kresources/newexchange/exchangeconvertercontact.cpp
deleted file mode 100644
index e8de19cb..00000000
--- a/kresources/newexchange/exchangeconvertercontact.cpp
+++ /dev/null
@@ -1,625 +0,0 @@
-/*
- This file is part of the exchange resource.
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangeconvertercontact.h"
-#include <libkcal/freebusyurlstore.h>
-#include <webdavhandler.h>
-#include <kdebug.h>
-
-
-using namespace KABC;
-
-ExchangeConverterContact::ExchangeConverterContact()
-{
-}
-
-
-#define propertyDAV( prop ) \
- WebdavHandler::addElement( doc, props, "d:" prop )
-#define propertyNS( ns, prop ) \
- WebdavHandler::addElementNS( doc, props, ns, prop )
-#define propertyContact( prop ) \
- WebdavHandler::addElement( doc, props, "c:" prop )
-#define propertyCalendar( prop ) \
- WebdavHandler::addElement( doc, props, "cal:" prop )
-#define propertyHTTPMail( prop ) \
- WebdavHandler::addElement( doc, props, "m:" prop )
-#define property( prop ) \
- Webdavhandler::addElement( doc, props, prop )
-
-void ExchangeConverterContact::createRequest( TQDomDocument &doc, TQDomElement &props )
-{
- TQDomAttr att_c = doc.createAttribute( "xmlns:c" );
- att_c.setValue( "urn:schemas:contacts:" );
- doc.documentElement().setAttributeNode( att_c );
- TQDomAttr att_cal = doc.createAttribute( "xmlns:cal" );
- att_cal.setValue( "urn:schemas:calendar:" );
- doc.documentElement().setAttributeNode( att_cal );
-
- propertyDAV( "contentclass" );
- propertyDAV( "getcontenttype" );
- propertyNS( "http://schemas.microsoft.com/exchange/", "outlookmessageclass" );
- propertyDAV( "getetag" );
- propertyDAV( "href" );
- propertyDAV( "creationdate" );
- propertyDAV( "getlastmodified" );
- propertyDAV( "isreadonly" );
- propertyContact( "cn" );
-// propertyContact( "uid" );
- propertyDAV( "uid" );
- propertyContact( "fileas" );
- propertyContact( "cn" );
- propertyContact( "givenName" );
- propertyContact( "initials" );
- propertyContact( "middlename" );
- propertyContact( "namesuffix" );
- propertyContact( "personaltitle" );
- propertyContact( "sn" );
- propertyContact( "title" );
- propertyContact( "o" );
- propertyContact( "department" );
- propertyContact( "roomnumber" );
- propertyContact( "profession" );
- propertyContact( "manager" );
- propertyContact( "secretarycn" );
- propertyContact( "email1" );
- propertyContact( "email2" );
- propertyContact( "email3" );
- propertyContact( "personalHomePage" );
- propertyContact( "businesshomepage" );
- propertyContact( "fburl" );
- // TODO: Does this work?
-// propertyNS( "urn:schemas-microsoft-com:office:office", "Keywords" );
- propertyDAV( "sensitivity" );
- propertyContact( "telephoneNumber" );
- propertyContact( "telephonenumber2" );
- propertyContact( "officetelephonenumber" );
- propertyContact( "office2telephonenumber" );
- propertyContact( "secretaryphone" );
- propertyContact( "organizationmainphone" );
- propertyContact( "otherTelephone" );
- propertyContact( "homePhone" );
- propertyContact( "homephone2" );
- propertyContact( "mobile" );
- propertyContact( "othermobile" );
- propertyContact( "facsimiletelephonenumber" );
- propertyContact( "homefax" );
- propertyContact( "otherfax" );
- propertyContact( "pager" );
- propertyContact( "otherpager" );
- propertyContact( "internationalisdnnumber" );
- propertyContact( "callbackphone" );
- propertyContact( "telexnumber" );
- propertyContact( "ttytddphone" );
- propertyContact( "workaddress" );
- propertyContact( "street" );
- propertyContact( "postofficebox" );
- propertyContact( "l" );
- propertyContact( "postalcode" );
- propertyContact( "st" );
- propertyContact( "co" );
- propertyContact( "c" );
- propertyContact( "homepostaladdress" );
- propertyContact( "homeStreet" );
- propertyContact( "homepostofficebox" );
- propertyContact( "homeCity" );
- propertyContact( "homePostalCode" );
- propertyContact( "homeState" );
- propertyContact( "homeCountry" );
- propertyContact( "homeCountrycode" );
- propertyContact( "mailingpostaladdress" );
- propertyContact( "mailingstreet" );
- propertyContact( "mailingpostofficebox" );
- propertyContact( "mailingcity" );
- propertyContact( "mailingpostalcode" );
- propertyContact( "mailingstate" );
- propertyContact( "mailingcountry" );
- propertyContact( "mailingcountrycode" );
- propertyContact( "otherpostaladdress" );
- propertyContact( "otherstreet" );
- propertyContact( "otherpostofficebox" );
- propertyContact( "othercity" );
- propertyContact( "otherpostalcode" );
- propertyContact( "otherstate" );
- propertyContact( "othercountry" );
- propertyContact( "othercountrycode" );
- propertyContact( "nickname" );
- propertyContact( "spousecn" );
- propertyContact( "bday" );
- propertyContact( "weddinganniversary" );
- propertyCalendar( "geolatitude" );
- propertyCalendar( "geolongitude" );
- propertyContact( "mapurl" );
- propertyContact( "location" );
- propertyHTTPMail( "textdescription" );
- propertyHTTPMail( "date" );
- propertyContact( "usercertificate" );
-}
-#undef propertyDAV
-#undef propertyNS
-#undef propertyContact
-#undef propertyCalendar
-#undef propertyHTTPMail
-#undef property
-
-
-bool ExchangeConverterContact::extractAddress( const TQDomElement &node,
- Addressee &addressee, int type,
- const TQString &street, const TQString &pobox, const TQString &location,
- const TQString &postalcode, const TQString &state, const TQString &country,
- const TQString &/*countycode*/ )
-{
- bool haveAddr = false;
- Address addr( type );
- TQString tmpstr;
-
- if ( WebdavHandler::extractString( node, street, tmpstr ) ) {
- addr.setStreet( tmpstr );
- haveAddr = true;
- }
- if ( WebdavHandler::extractString( node, pobox, tmpstr ) ) {
- addr.setPostOfficeBox( tmpstr );
- haveAddr = true;
- }
- if ( WebdavHandler::extractString( node, location, tmpstr ) ) {
- addr.setLocality( tmpstr );
- haveAddr = true;
- }
- if ( WebdavHandler::extractString( node, postalcode, tmpstr ) ) {
- addr.setPostalCode( tmpstr );
- haveAddr = true;
- }
- if ( WebdavHandler::extractString( node, state, tmpstr ) ) {
- addr.setRegion( tmpstr );
- haveAddr = true;
- }
- if ( WebdavHandler::extractString( node, country, tmpstr ) ) {
- addr.setCountry( tmpstr );
- haveAddr = true;
- }
-// if ( WebdavHandler::extractString( node, countrycode, tmpstr ) ) {
-// addr.setCountryCode( tmpstr );
-// haveAddr = true;
-// }
- if ( haveAddr ) {
- addressee.insertAddress( addr );
- }
- return haveAddr;
-}
-
-
-/**
-For the complete list of Exchange <=> KABC field mappings see the file
-Person.mapping */
-bool ExchangeConverterContact::readAddressee( const TQDomElement &node, Addressee &addressee )
-{
- TQString tmpstr;
- long tmplng;
-
- // The UID is absolutely required!
- if ( WebdavHandler::extractString( node, "uid", tmpstr ) ) {
- addressee.setUid( tmpstr );
- } else {
- kdDebug()<<"Addressee does not have a UID"<<endl;
- return false;
- }
- if ( WebdavHandler::extractString( node, "getetag", tmpstr ) )
- addressee.insertCustom( "TDEPIM-Exchange-Resource", "fingerprint", tmpstr );
- if ( WebdavHandler::extractString( node, "href", tmpstr ) )
- addressee.insertCustom( "TDEPIM-Exchange-Resource", "href", tmpstr );
-
-/* KDE4: addressee does not have any creation or modification date :-(( */
-/* KDE4: read-only not supported by libkabc */
-
- // Name: first, family, pre/postfixes, common name
- if ( WebdavHandler::extractString( node, "fileas", tmpstr ) ||
- WebdavHandler::extractString( node, "cn", tmpstr ) )
- addressee.setFormattedName( tmpstr );
- if ( WebdavHandler::extractString( node, "givenName", tmpstr ) )
- addressee.setGivenName( tmpstr );
- if ( WebdavHandler::extractString( node, "middlename", tmpstr ) )
- addressee.setAdditionalName( tmpstr );
- if ( WebdavHandler::extractString( node, "sn", tmpstr ) )
- addressee.setFamilyName( tmpstr );
- //urn:schemas:contacts:initials not used -
- if ( WebdavHandler::extractString( node, "namesuffix", tmpstr ) )
- addressee.setSuffix( tmpstr );
- if ( WebdavHandler::extractString( node, "personaltitle", tmpstr ) )
- addressee.setPrefix( tmpstr );
-
- // Role
- if ( WebdavHandler::extractString( node, "title", tmpstr ) )
- addressee.setRole( tmpstr );
-
- // Company-Related settings
- if ( WebdavHandler::extractString( node, "o", tmpstr ) )
- addressee.setOrganization( tmpstr );
- if ( WebdavHandler::extractString( node, "department", tmpstr ) )
- {
-#if KDE_IS_VERSION(3,5,8)
- addressee.setDepartment( tmpstr );
-#else
- addressee.insertCustom( "KADDRESSBOOK", "X-Department", tmpstr );
-#endif
- }
- if ( WebdavHandler::extractString( node, "roomnumber", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-Office", tmpstr );
- if ( WebdavHandler::extractString( node, "profession", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-Profession", tmpstr );
- if ( WebdavHandler::extractString( node, "manager", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-ManagersName", tmpstr );
-
- if ( WebdavHandler::extractString( node, "secretarycn", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-AssistantsName", tmpstr );
-
-
- // Web-Related settings
- if ( WebdavHandler::extractString( node, "email1", tmpstr ) )
- addressee.insertEmail( tmpstr, true );
- if ( WebdavHandler::extractString( node, "email2", tmpstr ) )
- addressee.insertEmail( tmpstr );
- if ( WebdavHandler::extractString( node, "email3", tmpstr ) )
- addressee.insertEmail( tmpstr );
-
- // No kabc field for personalHomePage
- if ( WebdavHandler::extractString( node, "businesshomepage", tmpstr ) )
- addressee.setUrl( tmpstr );
-
- if ( WebdavHandler::extractString( node, "fburl", tmpstr ) ) {
- KCal::FreeBusyUrlStore::self()->writeUrl( addressee.preferredEmail(), tmpstr );
- KCal::FreeBusyUrlStore::self()->sync();
- }
-
-
- // General stuff:
- TQStringList tmplst;
- if ( WebdavHandler::extractStringList( node, "Keywords", tmplst ) )
- addressee.setCategories( tmplst );
- // Exchange sentitivity values:
- // 0 None, 1 Personal, 2 Private, 3 Company Confidential
- if ( WebdavHandler::extractLong( node, "sensitivity", tmplng ) ) {
- switch( tmplng ) {
- case 0: addressee.setSecrecy( KABC::Secrecy::Public ); break;
- case 1:
- case 2: addressee.setSecrecy( KABC::Secrecy::Private ); break;
- case 3: addressee.setSecrecy( KABC::Secrecy::Confidential ); break;
- default: kdWarning() << "Unknown sensitivity: " << tmplng << endl;
- }
- }
-
-#define insertPhone( name, type ) \
- if ( WebdavHandler::extractString( node, name, tmpstr ) ) \
- addressee.insertPhoneNumber( KABC::PhoneNumber( tmpstr, type ) );
- // Phone numbers
- insertPhone( "telephoneNumber", PhoneNumber::Work );
-//insertPhone( "telephonenumber2", PhoneNumber::Work );
- insertPhone( "officetelephonenumber", PhoneNumber::Work );
-//insertPhone( "office2telephonenumber", PhoneNumber::Work );
-//insertPhone( "secretaryphone", PhoneNumber::Work );
-//insertPhone( "organizationmainphone", PhoneNumber::Work );
- insertPhone( "otherTelephone", 0 );
- insertPhone( "homePhone", PhoneNumber::Home );
-//insertPhone( "homephone2", PhoneNumber::Home );
- insertPhone( "mobile", PhoneNumber::Cell );
-//insertPhone( "othermobile", PhoneNumber::Cell );
- insertPhone( "facsimiletelephonenumber",PhoneNumber::Fax );
- insertPhone( "homefax", PhoneNumber::Fax | PhoneNumber::Home );
- insertPhone( "otherfax", PhoneNumber::Fax | PhoneNumber::Work );
- insertPhone( "pager", PhoneNumber::Pager | PhoneNumber::Work );
- insertPhone( "otherpager", PhoneNumber::Pager );
- insertPhone( "internationalisdnnumber", PhoneNumber::Isdn );
- insertPhone( "callbackphone", PhoneNumber::Msg );
- insertPhone( "telexnumber", PhoneNumber::Bbs );
- insertPhone( "ttytddphone", PhoneNumber::Pcs );
-#undef insertPhone
-
- // Addresses: Work, Home, Mailing and Other:
- extractAddress( node, addressee, Address::Work | Address::Pref,
- "street", "postofficebox", "l", "postalcode", "st", "co", "c" );
- extractAddress( node, addressee, Address::Home,
- "homeStreet", "homepostofficebox", "homeCity", "homePostalCode",
- "homeState", "homeCountry", "homeCountrycode" );
- // Exchange doesn't support writing/changing the mailing address fields,
- // so don't download it. It's equal to either the home or work address anyway
-/* extractAddress( node, addressee, Address::Postal,
- "mailingstreet", "mailingpostofficebox", "mailingcity", "mailingpostalcode",
- "mailingstate", "mailingcountry", "mailingcountrycode" );*/
- extractAddress( node, addressee, 0,
- "otherstreet", "otherpostofficebox", "othercity", "otherpostalcode",
- "otherstate", "othercountry", "othercountrycode" );
-
-
- if ( WebdavHandler::extractString( node, "nickname", tmpstr ) )
- addressee.setNickName( tmpstr );
- if ( WebdavHandler::extractString( node, "spousecn", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-SpousesName", tmpstr );
-
- TQDateTime tmpdt;
- if ( WebdavHandler::extractDateTime( node, "bday", tmpdt ) )
- addressee.setBirthday( tmpdt.date() );
- if ( WebdavHandler::extractString( node, "weddinganniversary", tmpstr ) )
- addressee.insertCustom( "KADDRESSBOOK", "X-Anniversary", tmpstr );
-
-// TODO? timeZone()
-
- float lt,lng;
- if ( WebdavHandler::extractFloat( node, "geolatitude", lt ) &&
- WebdavHandler::extractFloat( node, "geolongitude", lng ) )
- addressee.setGeo( Geo( lt, lng ) );
- // TODO: mapurl
- // TODO: location
-
- if ( WebdavHandler::extractString( node, "textdescription", tmpstr ) )
- addressee.setNote( tmpstr );
-
-// if ( WebdavHandler::extractString( node, "usercertificate", tmpstr ) )
-// addressee.setKeys()
-
- return true;
-}
-
-Addressee::List ExchangeConverterContact::parseWebDAV( const TQDomDocument& davdata )
-{
- // TODO: Handle multiple addressees per reply!
- Addressee::List list;
-
- TQDomElement prop = davdata.documentElement().namedItem( "response" )
- .namedItem( "propstat" ).namedItem( "prop" ).toElement();
- if ( prop.isNull() ) {
-kdDebug()<<"ExchangeConverterContact::parseWebDAV, no response->propstat->prop element!"<<endl;
- return list;
- }
-
- TQString contentclass;
- bool success = WebdavHandler::extractString( prop, "contentclass", contentclass );
- if ( !success ) {
-kdDebug()<<"ExchangeConverterContact::parseWebDAV, No contentclass entry"<<endl;
- return list;
- }
-
- success = false;
- Addressee addressee;
- if ( contentclass == "urn:content-classes:person" ) {
- success = readAddressee( prop, addressee );
- }
-
- if ( success ) {
- list.append( addressee );
- } else {
-
- }
- return list;
-}
-
-#define domDavProperty( name, value ) \
- WebdavHandler::addElement( doc, prop, "d:" name, value );
-#define domProperty( NS, name, value ) \
- WebdavHandler::addElementNS( doc, prop, NS, name, value );
-#define domContactProperty( name, value ) \
- WebdavHandler::addElement( doc, prop, "c:" name, value );
-#define domCalendarProperty( name, value ) \
- WebdavHandler::addElement( doc, prop, "cal:" name, value );
-#define domPhoneProperty( name, type ) \
- domContactProperty( name, addr.phoneNumber( type ).number() );
-
-
-TQDomDocument ExchangeConverterContact::createWebDAV( Addressee addr )
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propertyupdate" );
- TQDomElement set = WebdavHandler::addElement( doc, root, "d:set" );
- TQDomElement prop = WebdavHandler::addElement( doc, set, "d:prop" );
-
- TQDomAttr att_c = doc.createAttribute( "xmlns:c" );
- att_c.setValue( "urn:schemas:contacts:" );
- doc.documentElement().setAttributeNode( att_c );
-
- TQDomAttr att_b = doc.createAttribute( "xmlns:b" );
- att_b.setValue( "urn:schemas-microsoft-com:datatypes" );
- root.setAttributeNode( att_b );
-
- domDavProperty( "contentclass", "urn:content-classes:person" );
- domProperty( "http://schemas.microsoft.com/exchange/",
- "outlookmessageclass", "IPM.Contact" );
-// domContactProperty( "uid", addr.uid() );
-
- domContactProperty( "fileas", addr.formattedName() );
- domContactProperty( "givenName", addr.givenName() );
- domContactProperty( "middlename", addr.additionalName() );
- domContactProperty( "sn", addr.familyName() );
- domContactProperty( "namesuffix", addr.suffix() );
- domContactProperty( "personaltitle", addr.prefix() );
-
- domContactProperty( "title", addr.role() );
- domContactProperty( "o", addr.organization() );
-#if KDE_IS_VERSION(3,5,8)
- domContactProperty( "department", addr.department() );
-#else
- domContactProperty( "department", addr.custom( "KADDRESSBOOK", "X-Department" ) );
-#endif
- domContactProperty( "roomnumber", addr.custom( "KADDRESSBOOK", "X-Office" ) );
- domContactProperty( "profession", addr.custom( "KADDRESSBOOK", "X-Profession" ) );
- domContactProperty( "manager", addr.custom( "KADDRESSBOOK", "X-ManagersName" ) );
- domContactProperty( "secretarycn", addr.custom( "KADDRESSBOOK", "X-AssistantsName" ) );
-
- TQStringList emails = addr.emails();
- TQString prefemail = addr.preferredEmail();
- if ( emails.contains( prefemail ) )
- emails.remove( prefemail );
- emails.prepend( prefemail );
- if ( emails.count() > 0 ) {
- domContactProperty( "email1", emails[0] );
- }
- if ( emails.count() > 1 ) {
- domContactProperty( "email2", emails[1] );
- }
- if ( emails.count() > 2 ) {
- domContactProperty( "email3", emails[2] );
- }
-
- // No value for "personalHomePage"
- domContactProperty( "businesshomepage", addr.url().url() );
-
- TQString fburl = KCal::FreeBusyUrlStore::self()->readUrl( addr.preferredEmail() );
- if ( !fburl.isEmpty() ) {
- domContactProperty( "fburl", fburl );
- }
-
-/* FIXME: This doesn't work!
- TQStringList cats = addr.categories();
- if ( cats.isEmpty() ) {
- TQDomElement catsnode = WebdavHandler::addElementNS( doc, prop,
- "urn:schemas-microsoft-com:office:office", "Keywords" );
- for ( TQStringList::Iterator it = cats.begin(); it != cats.end(); ++it ) {
- WebdavHandler::addElementNS( doc, catsnode, "xml:", "v", *it );
- }
- } else {
-// TQDomElement catsnode = addProperty( doc, prop,
-// "urn:schemas-microsoft-com:office:office", "Keywords", "" );
- }*/
-
- // Exchange sentitivity values:
- // 0 None, 1 Personal, 2 Private, 3 Company Confidential
- TQString value;
- switch ( addr.secrecy().type() ) {
- case KABC::Secrecy::Private: value = "2"; break;
- case KABC::Secrecy::Confidential: value = "3"; break;
- default: value = "0";
- }
- domDavProperty( "sensitivity", value );
-
- // Phone numbers
- domPhoneProperty( "telephoneNumber", PhoneNumber::Work );
-// domPhoneProperty( "telephonenumber2", PhoneNumber::Work );
- domPhoneProperty( "officetelephonenumber", PhoneNumber::Work );
-// domPhoneProperty( "office2telephonenumber", PhoneNumber::Work );
-// domPhoneProperty( "secretaryphone", PhoneNumber::Work );
-// domPhoneProperty( "organizationmainphone", PhoneNumber::Work );
- domPhoneProperty( "otherTelephone", 0 );
- domPhoneProperty( "homePhone", PhoneNumber::Home );
-// domPhoneProperty( "homephone2", PhoneNumber::Home );
- domPhoneProperty( "mobile", PhoneNumber::Cell );
- domPhoneProperty( "othermobile", PhoneNumber::Cell | PhoneNumber::Home );
- domPhoneProperty( "facsimiletelephonenumber", PhoneNumber::Fax );
- domPhoneProperty( "homefax", PhoneNumber::Fax | PhoneNumber::Home );
- domPhoneProperty( "otherfax", PhoneNumber::Fax | PhoneNumber::Work );
- domPhoneProperty( "pager", PhoneNumber::Pager | PhoneNumber::Work );
- domPhoneProperty( "otherpager", PhoneNumber::Pager );
- domPhoneProperty( "internationalisdnnumber", PhoneNumber::Isdn );
- domPhoneProperty( "callbackphone", PhoneNumber::Msg );
- domPhoneProperty( "telexnumber", PhoneNumber::Bbs );
- domPhoneProperty( "ttytddphone", PhoneNumber::Pcs );
-
-
-// work address:
- Address workaddr = addr.address( Address::Work | Address::Pref );
- if ( !workaddr.isEmpty() ) {
- domContactProperty( "street", workaddr.street() );
- domContactProperty( "postofficebox", workaddr.postOfficeBox() );
- domContactProperty( "l", workaddr.locality() );
- domContactProperty( "postalcode", workaddr.postalCode() );
- domContactProperty( "st", workaddr.region() );
- domContactProperty( "co", workaddr.country() );
- // domContactProperty( "c", workaddr.countryCode() );
- }
-
- // home address:
- Address homeaddr = addr.address( Address::Home );
- if ( !homeaddr.isEmpty() ) {
- domContactProperty( "homeStreet", homeaddr.street() );
- domContactProperty( "homepostofficebox", homeaddr.postOfficeBox() );
- domContactProperty( "homeCity", homeaddr.locality() );
- domContactProperty( "homePostalCode", homeaddr.postalCode() );
- domContactProperty( "homeState", homeaddr.region() );
- domContactProperty( "homeCountry", homeaddr.country() );
- // domContactProperty( "homeCountrycode", homeaddr.countryCode() );
- }
-
- // mailing address:
- // Exchange doesn't support writing/changing the mailing address fields
-/* Address mailingaddr = addr.address( Address::Postal );
- if ( !mailingaddr.isEmpty() ) {
- domContactProperty( "mailingstreet", mailingaddr.street() );
- domContactProperty( "mailingpostofficebox", mailingaddr.postOfficeBox() );
- domContactProperty( "mailingcity", mailingaddr.locality() );
- domContactProperty( "mailingpostalcode", mailingaddr.postalCode() );
- domContactProperty( "mailingstate", mailingaddr.region() );
- domContactProperty( "mailingcountry", mailingaddr.country() );
- // domContactProperty( "mailingcountrycode", mailingaddr.countryCode() );
- }*/
-
- // other address:
- Address otheraddr = addr.address( 0 );
- if ( !otheraddr.isEmpty() ) {
- domContactProperty( "otherstreet", otheraddr.street() );
- domContactProperty( "otherpostofficebox", otheraddr.postOfficeBox() );
- domContactProperty( "othercity", otheraddr.locality() );
- domContactProperty( "otherpostalcode", otheraddr.postalCode() );
- domContactProperty( "otherstate", otheraddr.region() );
- domContactProperty( "othercountry", otheraddr.country() );
- // domContactProperty( "othercountrycode", otheraddr.countryCode() );
- }
-
-
- domContactProperty( "nickname", addr.nickName() );
- domContactProperty( "spousecn", addr.custom( "KADDRESSBOOK", "X-SpousesName" ) );
-
- // TODO: Birthday and Anniversary:
- // FIXME: Exchange uses the date in the form 8/13, i.e. possibly without a
- // year! How shall I deal with this?
-/* TQDate dt = addr.birthday().date();
- TQString str = (dt.isValid())?(dt.toString( TQt::ISODate )):(TQString());
- if ( !str.isEmpty() ) {
- TQDomElement el = domContactProperty( "bday", str );
- el.setAttribute( "b:dt", "date" );
- }
- dt = TQDate::fromString( addr.custom( "KADDRESSBOOK", "X-Anniversary" ), TQt::ISODate );
- str = (dt.isValid())?(dt.toString( TQt::ISODate )):(TQString());
- if ( !str.isEmpty() ) {
- TQDomElement el = domContactProperty( "weddinganniversary", str );
- el.setAttribute( "b:dt", "date" );
- }*/
-
-// ? TODO: timeZone()
-/*
- KABC::Geo geo = addr.geo();
- if ( geo.isValid() ) {
- // TODO: Do we need to set any other attribute to make it a float?
- TQDomAttr att_cal = doc.createAttribute( "xmlns:cal" );
- att_cal.setValue( "urn:schemas:calendar:" );
- doc.documentElement().setAttributeNode( att_cal );
- TQDomElement el = domCalendarProperty( "geolatitude", TQString::number( geo.latitude() ) );
- el.setAttribute( "b:dt", "float" );
- el = domCalendarProperty( "geolongitude", TQString::number( geo.longitude() ) );
- el.setAttribute( "b:dt", "float" );
- }
-*/
- domContactProperty( "textdescription", addr.note() );
-
- // TODO:usercertificate
- // TODO: custom fields
-kdDebug()<<"DOM document: "<<doc.toString() << endl;
-
- return doc;
-}
-#undef domDavProperty
-#undef domProperty
-#undef domContactProperty
-#undef domPhoneProperty
diff --git a/kresources/newexchange/exchangeconvertercontact.h b/kresources/newexchange/exchangeconvertercontact.h
deleted file mode 100644
index 191abccb..00000000
--- a/kresources/newexchange/exchangeconvertercontact.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- This file is part of the exchange resource.
- Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KABC_EXCHANGECONVERTERCONTACT_H
-#define KABC_EXCHANGECONVERTERCONTACT_H
-
-#include <tqstring.h>
-#include <tqdom.h>
-
-#include <kabc/addressee.h>
-
-namespace KABC {
-
-class ExchangeConverterContact
-{
- public:
-
- ExchangeConverterContact();
-
- static void createRequest( TQDomDocument &doc, TQDomElement &root );
-
- TQDomDocument createWebDAV( Addressee addr );
-
- Addressee::List parseWebDAV( const TQDomDocument& davdata );
- bool readAddressee( const TQDomElement &node, Addressee &addressee );
-
- protected:
- bool extractAddress( const TQDomElement &node, Addressee &addressee, int type,
- const TQString &street, const TQString &pobox, const TQString &location,
- const TQString &postalcode, const TQString &state, const TQString &country,
- const TQString &countycode );
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/exchangeglobals.cpp b/kresources/newexchange/exchangeglobals.cpp
deleted file mode 100644
index f2d90cd6..00000000
--- a/kresources/newexchange/exchangeglobals.cpp
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangeglobals.h"
-#include <webdavhandler.h>
-#include <groupwaredataadaptor.h>
-#include "exchangeconvertercalendar.h"
-#include "exchangeconvertercontact.h"
-#include <calendaradaptor.h>
-#include <addressbookadaptor.h>
-
-#include <libkcal/resourcecached.h>
-#include <libemailfunctions/idmapper.h>
-#include <kio/job.h>
-#include <kio/davjob.h>
-#include <kdebug.h>
-
-KPIM::FolderLister::ContentType ExchangeGlobals::getContentType( const TQDomElement &prop )
-{
- const TQString &contentclass = prop.namedItem("contentclass").toElement().text();
-kdDebug()<<"contentclass: "<<contentclass<<endl;
- return getContentType( contentclass );
-}
-
-KPIM::FolderLister::ContentType ExchangeGlobals::getContentType( const TQString &contentclass )
-{
- if ( contentclass == "urn:content-classes:appointment" )
- return KPIM::FolderLister::Event;
- if ( contentclass == "urn:content-classes:task" )
- return KPIM::FolderLister::Todo;
- if ( contentclass == "urn:content-classes:message" )
- return KPIM::FolderLister::Message;
- if ( contentclass == "urn:content-classes:person" )
- return KPIM::FolderLister::Contact;
- return KPIM::FolderLister::Unknown;
-}
-
-
-KPIM::FolderLister::ContentType ExchangeGlobals::getContentType( const TQDomNode &folderNode )
-{
-kdDebug()<<"ExchangeGlobals::getContentType(...)"<<endl;
- TQDomNode n4;
- for( n4 = folderNode.firstChild(); !n4.isNull(); n4 = n4.nextSibling() ) {
- TQDomElement e = n4.toElement();
-
- if ( e.tagName() == "contentclass" ) {
- TQString contentclass( e.text() );
- if ( contentclass == "urn:content-classes:contactfolder" )
- return KPIM::FolderLister::Contact;
- if ( contentclass == "urn:content-classes:calendarfolder" )
- return KPIM::FolderLister::Event;
- if ( contentclass == "urn:content-classes:taskfolder" )
- return KPIM::FolderLister::Todo;
- if ( contentclass == "urn:content-classes:journalfolder" )
- return KPIM::FolderLister::Journal;
- if ( contentclass == "urn:content-classes:folder" )
- return KPIM::FolderLister::Folder;
- }
- }
- return KPIM::FolderLister::Unknown;
-}
-
-bool ExchangeGlobals::getFolderHasSubs( const TQDomNode &folderNode )
-{
- TQString hassubs = folderNode.namedItem( "hassubs" ).toElement().text();
- return hassubs == "1";
-}
-
-
-
-
-TDEIO::Job *ExchangeGlobals::createListFoldersJob( const KURL &url )
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" );
- TQDomElement prop = WebdavHandler::addElement( doc, root, "d:prop" );
- WebdavHandler::addElement( doc, prop, "d:displayname" );
- WebdavHandler::addElement( doc, prop, "d:contentclass" );
- WebdavHandler::addElement( doc, prop, "d:hassubs" );
-
- kdDebug(7000) << "props: " << doc.toString() << endl;
- return TDEIO::davPropFind( url, doc, "1", false );
-}
-
-
-TDEIO::TransferJob *ExchangeGlobals::createListItemsJob( const KURL &url )
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" );
- TQDomElement prop = WebdavHandler::addElement( doc, root, "d:prop" );
- WebdavHandler::addElement( doc, prop, "d:getetag" );
- WebdavHandler::addElement( doc, prop, "d:contentclass" );
- kdDebug(5800) << "props = "<< doc.toString() << endl;
- return TDEIO::davPropFind( url, doc, "1", false );
-}
-
-
-TDEIO::TransferJob *ExchangeGlobals::createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor,
- const KURL &url, KPIM::FolderLister::ContentType ctype )
-{
-kdDebug() << "ExchangeGlobals::createDownloadJob()" << endl;
-kdDebug() << "ctype=" << ctype << endl;
-kdDebug() << "Person=" << KPIM::FolderLister::Contact << ", "
- << "Appointment=" << KPIM::FolderLister::Event << ", "
- << "Task=" << KPIM::FolderLister::Todo << ", "
- << "Journal=" << KPIM::FolderLister::Journal << ", "
- << "Message=" << KPIM::FolderLister::Message << endl;
- // Don't use an <allprop/> request!
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" );
- TQDomElement prop = WebdavHandler::addElement( doc, root, "d:prop" );
- TQDomAttr att_h = doc.createAttribute( "xmlns:h" );
- att_h.setValue( "urn:schemas:mailheader:" );
- root.setAttributeNode( att_h );
-
- TQDomAttr att_m = doc.createAttribute( "xmlns:m" );
- att_m.setValue( "urn:schemas:httpmail:" );
- root.setAttributeNode( att_m );
-
- switch ( ctype ) {
- case KPIM::FolderLister::Event:
- KCal::ExchangeConverterCalendar::createRequestAppointment( doc, prop );
- break;
- case KPIM::FolderLister::Todo:
- KCal::ExchangeConverterCalendar::createRequestTask( doc, prop );
- break;
- case KPIM::FolderLister::Journal:
- case KPIM::FolderLister::Message:
- KCal::ExchangeConverterCalendar::createRequestJournal( doc, prop );
- break;
- case KPIM::FolderLister::Contact:
- KABC::ExchangeConverterContact::createRequest( doc, prop );
- break;
- default:
- break;
- }
-
- kdDebug(7000) << "doc: " << doc.toString() << endl;
- KURL authURL = url;
- TDEIO::DavJob *job = TDEIO::davPropFind( authURL, doc, "0", false );
-/* KURL httpurl( url );
- TQString proto("http");
- httpurl.setProtocol( proto );
- TDEIO::TransferJob *job = TDEIO::get(httpurl, false, false);
- job->addMetaData("customHTTPHeader", "Translate: f");
- job->addMetaData("cache", "reload");*/
- return job;
-}
-
-
-TDEIO::Job *ExchangeGlobals::createRemoveJob( const KURL &uploadurl,
- const KPIM::GroupwareUploadItem::List &deletedItems )
-{
- TQStringList urls;
- KPIM::GroupwareUploadItem::List::const_iterator it;
- kdDebug() << " ExchangeGlobals::createRemoveJob: , URL="<<uploadurl.url()<<endl;
- for ( it = deletedItems.begin(); it != deletedItems.end(); ++it ) {
- //kdDebug(7000) << "Delete: " << endl << format.toICalString(*it) << endl;
- kdDebug() << "Delete: " << (*it)->url().url() << endl;
- KURL url( uploadurl );
- url.setPath( (*it)->url().path() );
- if ( !url.isEmpty() )
- urls << url.url();
- kdDebug() << "Delete (Mod) : " << url.url() << endl;
- }
- return TDEIO::del( urls, false, false );
-}
-
-
-
-
-// FIXME: This is exactly the same code as in the OGo resource, except that
-// it calls getContentType of the ExchangeGlobals class, instead of the one
-// from OGoGlobals!!!!
-bool ExchangeGlobals::interpretListItemsJob( KPIM::GroupwareDataAdaptor *adaptor,
- TDEIO::Job *job, const TQString &/*jobData*/ )
-{
-kdDebug()<<"ExchangeGlobals::interpretListItemsJob"<<endl;
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob *>(job);
-
- if ( !davjob ) {
- return false;
- }
- TQDomDocument doc = davjob->response();
-
- kdDebug(7000) << " Doc: " << doc.toString() << endl;
- kdDebug(7000) << " IdMapper: " << adaptor->idMapper()->asString() << endl;
-
- TQDomElement docElem = doc.documentElement();
- TQDomNode n = docElem.firstChild();
- while( !n.isNull() ) {
- TQDomElement e = n.toElement(); // try to convert the node to an element.
- n = n.nextSibling();
- if ( e.isNull() )
- continue;
-
- const KURL &entry( e.namedItem("href").toElement().text() );
- TQDomElement propstat = e.namedItem("propstat").toElement();
- if ( propstat.isNull() )
- continue;
- TQDomElement prop = propstat.namedItem( "prop" ).toElement();
- if ( prop.isNull() )
- continue;
- TQDomElement elem = prop.namedItem("getetag").toElement();
- const TQString &newFingerprint = elem.text();
- if ( elem.isNull() || newFingerprint.isEmpty() )
- continue;
-
- KPIM::FolderLister::ContentType type = getContentType( prop );
-
- if (type != KPIM::FolderLister::Unknown) { // Don't queue bad entries
- adaptor->processDownloadListItem( entry, newFingerprint, type );
- }
- }
-
- return true;
-}
-
-
-bool ExchangeGlobals::interpretCalendarDownloadItemsJob( KCal::CalendarAdaptor *adaptor,
- TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>(job);
- if ( !davjob || !adaptor ) return false;
-
-kdDebug() << "ExchangeGlobals::interpretCalendarDownloadItemsJob(): TQDomDocument="
- << endl << davjob->response().toString() << endl;
- KCal::ExchangeConverterCalendar conv;
- conv.setTimeZone( adaptor->resource()->timeZoneId() );
- KCal::Incidence::List incidences = conv.parseWebDAV( davjob->response() );
-
- bool res = false;
- KCal::Incidence::List::Iterator it = incidences.begin();
- for ( ; it != incidences.end(); ++it ) {
- TQString fpr = (*it)->customProperty( "TDEPIM-Exchange-Resource", "fingerprint" );
- KURL href( (*it)->customProperty( "TDEPIM-Exchange-Resource", "href" ) );
- adaptor->calendarItemDownloaded( (*it), (*it)->uid(), href, fpr, href.prettyURL() );
- res = true;
- }
- return res;
-}
-
-
-bool ExchangeGlobals::interpretAddressBookDownloadItemsJob(
- KABC::AddressBookAdaptor *adaptor, TDEIO::Job *job, const TQString &/*jobData*/ )
-{
- TDEIO::DavJob *davjob = dynamic_cast<TDEIO::DavJob*>(job);
- if ( !davjob || !adaptor ) return false;
-
-kdDebug() << "ExchangeGlobals::interpretAddressBookDownloadItemsJob(): TQDomDocument="
- << endl << davjob->response().toString() << endl;
- KABC::ExchangeConverterContact conv;
- KABC::Addressee::List addressees = conv.parseWebDAV( davjob->response() );
-
- bool res = false;
- KABC::Addressee::List::Iterator it = addressees.begin();
- for ( ; it != addressees.end(); ++it ) {
- TQString fpr = (*it).custom( "TDEPIM-Exchange-Resource", "fingerprint" );
- KURL href( (*it).custom( "TDEPIM-Exchange-Resource", "href" ) );
- adaptor->addressbookItemDownloaded( (*it), (*it).uid(), href, fpr, href.prettyURL() );
- res = true;
- }
- return res;
-}
-
-
-
diff --git a/kresources/newexchange/exchangeglobals.h b/kresources/newexchange/exchangeglobals.h
deleted file mode 100644
index 5d75bc42..00000000
--- a/kresources/newexchange/exchangeglobals.h
+++ /dev/null
@@ -1,70 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef EXCHANGEGLOBALS_H
-#define EXCHANGEGLOBALS_H
-
-#include <kurl.h>
-#include <groupwareuploadjob.h>
-#include <tqdom.h>
-
-namespace TDEIO {
-class Job;
-class TransferJob;
-}
-
-namespace KPIM {
-class GroupwareDataAdaptor;
-class GroupwareUploadItem;
-}
-namespace KABC {
-class AddressBookAdaptor;
-}
-namespace KCal {
-class CalendarAdaptor;
-}
-
-class ExchangeGlobals
-{
- public:
- ExchangeGlobals() {}
- static KPIM::FolderLister::ContentType getContentType( const TQDomElement &prop );
- static KPIM::FolderLister::ContentType getContentType( const TQString &contentclass );
- static KPIM::FolderLister::ContentType getContentType( const TQDomNode &folderNode );
- static bool getFolderHasSubs( const TQDomNode &folderNode );
-
-
- static TDEIO::Job *createListFoldersJob( const KURL &url );
- static TDEIO::TransferJob *createListItemsJob( const KURL &url );
- static TDEIO::TransferJob *createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor,
- const KURL &url, KPIM::FolderLister::ContentType ctype );
- static TDEIO::Job *createRemoveJob( const KURL &uploadurl,
- const KPIM::GroupwareUploadItem::List &deletedItems );
-
-
- static bool interpretListItemsJob( KPIM::GroupwareDataAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData );
- static bool interpretCalendarDownloadItemsJob( KCal::CalendarAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData );
- static bool interpretAddressBookDownloadItemsJob( KABC::AddressBookAdaptor *adaptor,
- TDEIO::Job *job, const TQString &jobData );
-};
-
-#endif
diff --git a/kresources/newexchange/kabc_newexchange.desktop b/kresources/newexchange/kabc_newexchange.desktop
deleted file mode 100644
index c48d5f3c..00000000
--- a/kresources/newexchange/kabc_newexchange.desktop
+++ /dev/null
@@ -1,51 +0,0 @@
-[Desktop Entry]
-Name=Addressbook on an Exchange Server (experimental)
-Name[af]=Adresboek op 'n Exchange bediener (eksperimenteel)
-Name[bg]=Адресник на сървър Exchange (експериментално)
-Name[ca]=Llibreta d'adreces a un servidor Exchange (experimental)
-Name[cs]=Kniha adres na serveru Exchange (experimentální)
-Name[da]=Adressebog på en Exchange-server (eksperimentel)
-Name[de]=Adressbuch auf einem Exchange-Server (experimentell)
-Name[el]=Βιβλίο διευθύνσεων σε εξυπηρετητή Exchange (πειραματικό)
-Name[es]=Libreta de direcciones en un servidor Exchange (experimental)
-Name[et]=Aadressiraamat Exchange-serveris (eksperimentaalne)
-Name[eu]=Helbide-liburua Exchange zerbitzari batean (esperimentala)
-Name[fa]=کتاب نشانی روی یک کارساز مبادله )تجربی(
-Name[fi]=Osoitekirja Exchange-palvelimella (kokeellinen)
-Name[fr]=Carnet d'adresse sur un serveur Exchange (expérimental)
-Name[fy]=Adresboek op in Exchange-tsjinner (eksperimenteel)
-Name[ga]=Leabhar Seoltaí ar Fhreastalaí Exchange (trialach)
-Name[gl]=Caderno de enderezos no Servidor Exchange2000 (experimental)
-Name[hu]=Exchange-kiszolgáló címjegyzéke (kísérleti)
-Name[is]=Vistfangaskrá Exchange þjóni (á tilraunarstigi)
-Name[it]=Rubrica indirizzi su un server Exchange (sperimentale)
-Name[ja]=Exchange サーバのアドレス帳 (実験版)
-Name[kk]=Exchange серверіндегі адрестік кітапша (сынақтағы)
-Name[km]=សៀវភៅ​អាសយដ្ឋាន​លើ​ម៉ាស៊ីន​បម្រើ Exchange (សម្រាប់​អ្នក​មាន​បទពិសោធន៍)
-Name[lt]=Adresų knygelė Exchange serveryje (eksperimentine tvarka)
-Name[mk]=Адресар на Exchange-сервер (експериментално)
-Name[ms]=Buku Alamat pada pelayan Exchange (ujikaji)
-Name[nb]=Adressebok på en Exchange-tjener (forsøksvis)
-Name[nds]=Adressbook op en Exchange-Server (warrt utprobeert)
-Name[ne]=एक्सचेन्ज सर्भरमा ठेगाना पुस्तिका (प्रयोगात्मक)
-Name[nl]=Adresboek op een Exchange-server (experimenteel)
-Name[nn]=Adressebok på ein Exchange-tenar (eksperimentelt)
-Name[pl]=Książka adresowa na serwerze Exchange (eksperymentalne)
-Name[pt]=Livro de endereços em servidor Exchange (experimental)
-Name[pt_BR]=Livro de Endereços em um Servidor Exchange (experimenal)
-Name[ru]=Адресная книга на сервере Exchange (экспериментально)
-Name[sk]=Adresár na Exchange serveri (experimentálne)
-Name[sl]=Adresar na strežniku Exchange (poskusno)
-Name[sr]=Адресар на Exchange серверу (експериментално)
-Name[sr@Latn]=Adresar na Exchange serveru (eksperimentalno)
-Name[sv]=Adressbok på en Exchange-server (experimentell)
-Name[ta]=IMAP சேவையக வழியாக கேஅஞ்சலில் நாள்காட்டி(சோதனைக்குரியது)
-Name[tr]=Bir Exchange Sunucusu üzerinde Adres Defteri (deneyimsel)
-Name[uk]=Адресна книга на сервері Exchange (експериментальне)
-Name[zh_CN]=Exchange 服务器上的地址簿(试验性)
-Name[zh_TW]=Exchanger 伺服器的通訊錄(實驗中)
-X-TDE-Library=kabc_newexchange
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=newexchange
diff --git a/kresources/newexchange/kabc_newexchange_final.desktop b/kresources/newexchange/kabc_newexchange_final.desktop
deleted file mode 100644
index 19cdda43..00000000
--- a/kresources/newexchange/kabc_newexchange_final.desktop
+++ /dev/null
@@ -1,48 +0,0 @@
-[Desktop Entry]
-Name=Addressbook on an Exchange Server
-Name[af]=Adresboek op 'n Exchange bediener
-Name[bg]=Адресник на сървър Exchange
-Name[br]=Karned chomlec'hioù war ur servijer Exchange
-Name[ca]=Llibreta d'adreces a un servidor Exchange
-Name[cs]=Kniha adres na serveru Exchange
-Name[da]=Adressebog på en Exchange-server
-Name[de]=Adressbuch auf einem Exchange-Server
-Name[el]=Βιβλίο διευθύνσεων σε εξυπηρετητή Exchange
-Name[es]=Libreta de direcciones en un servidor Exchange
-Name[et]=Aadressiraamat Exchange-serveris
-Name[eu]=Helbide-liburua Exchange zerbitzari (esperimentala)
-Name[fa]=کتاب نشانی روی یک کارساز مبادله
-Name[fi]=Osoitekirja Exchange-palvelimella
-Name[fr]=Carnet d'adresse sur un serveur Exchange
-Name[fy]=Adresboek op in Exchange-tsjinner
-Name[ga]=Leabhar Seoltaí ar Fhreastalaí Exchange
-Name[gl]=Caderno de enderezos nun Servidor Exchange
-Name[he]=פנקס כתובות בשרת Exchange
-Name[hu]=Exchange-kiszolgáló címjegyzéke
-Name[is]=Vistfangaskrá á Exchange þjóni
-Name[it]=Rubrica indirizzi su un server Exchange
-Name[ja]=Exchange サーバのアドレス帳
-Name[kk]=Exchange серверіндегі адрестік кітапша
-Name[km]=សៀវភៅ​អាសយដ្ឋាន​លើ​ម៉ាស៊ីន​បម្រើ Exchange
-Name[lt]=Adresų knygelė Exchange serveryje
-Name[mk]=Адресар на Exchange-сервер
-Name[ms]=Buku alamat pada pelayan Exchange
-Name[nb]=Adressebok på en Exchange-tjener
-Name[nds]=Adressbook op en Exchange-Server
-Name[ne]=एक्सचेन्ज सर्भरमा ठेगाना पुस्तिका
-Name[nl]=Adresboek op een Exchange-server
-Name[nn]=Adressebok på ein Exchange-tenar
-Name[pl]=Książka adresowa na serwerze Exchange
-Name[pt]=Livro de endereços em servidor Exchange
-Name[pt_BR]=Livro de Endereços em um Servidor Exchange
-Name[ru]=Адресная книга на сервере Exchange
-Name[sk]=Adresár na Exchange serveri
-Name[sl]=Adresar na strežniko Exchange
-Name[sr]=Адресар на Exchange серверу
-Name[sr@Latn]=Adresar na Exchange serveru
-Name[sv]=Adressbok på en Exchange-server
-Name[ta]=ஒருமாற்று சேவகனில் முகவரிப்புத்தகம்
-Name[tr]=Bir Exchange Sunucusu üzerinde Adres Defteri
-Name[uk]=Адресна книга на сервері Exchange
-Name[zh_CN]=Exchange 服务器上的地址簿
-Name[zh_TW]=Exchanger 伺服器上的通訊錄
diff --git a/kresources/newexchange/kabc_resourceexchange.cpp b/kresources/newexchange/kabc_resourceexchange.cpp
deleted file mode 100644
index 8c3ca2d1..00000000
--- a/kresources/newexchange/kabc_resourceexchange.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangeaddressbookadaptor.h"
-
-#include "kabc_resourceexchange.h"
-#include "groupwaredownloadjob.h"
-#include "groupwareuploadjob.h"
-#include "kresources_groupwareprefs.h"
-
-#include <klocale.h>
-
-using namespace KABC;
-
-ResourceExchange::ResourceExchange( const TDEConfig *config )
- : ResourceGroupwareBase( config )
-{
- init();
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Exchange Server" ) );
- }
-}
-
-void ResourceExchange::init()
-{
- setType( "ResourceExchange" );
- setPrefs( createPrefs() );
- setFolderLister( new KPIM::FolderLister( KPIM::FolderLister::AddressBook ) );
- setAdaptor( new ExchangeAddressBookAdaptor() );
-
- ResourceGroupwareBase::init();
-}
-
-#include "kabc_resourceexchange.moc"
diff --git a/kresources/newexchange/kabc_resourceexchange.h b/kresources/newexchange/kabc_resourceexchange.h
deleted file mode 100644
index 941f9179..00000000
--- a/kresources/newexchange/kabc_resourceexchange.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCEEXCHANGE_H
-#define KABC_RESOURCEEXCHANGE_H
-
-#include <kabc_resourcegroupwarebase.h>
-
-namespace KABC {
-
-class KDE_EXPORT ResourceExchange : public ResourceGroupwareBase
-{
- Q_OBJECT
-
-
- public:
- ResourceExchange( const TDEConfig * );
-/* ResourceExchange( const KURL &url,
- const TQString &user, const TQString &password );*/
- protected:
- void init();
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/kabc_resourceexchange_plugin.cpp b/kresources/newexchange/kabc_resourceexchange_plugin.cpp
deleted file mode 100644
index adc0b685..00000000
--- a/kresources/newexchange/kabc_resourceexchange_plugin.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabc_resourceexchange.h"
-#include "kabc_resourcegroupwarebaseconfig.h"
-
-using namespace KABC;
-
-typedef KRES::PluginFactory<ResourceExchange,ResourceGroupwareBaseConfig> ExchangeFactory;
-K_EXPORT_COMPONENT_FACTORY( kabc_newexchange, ExchangeFactory )
diff --git a/kresources/newexchange/kcal_newexchange.desktop b/kresources/newexchange/kcal_newexchange.desktop
deleted file mode 100644
index 4b5b335b..00000000
--- a/kresources/newexchange/kcal_newexchange.desktop
+++ /dev/null
@@ -1,51 +0,0 @@
-[Desktop Entry]
-Name=Calendar on an Exchange Server (experimental)
-Name[af]=Kalender op 'n Exchange bediener (eksperimenteel)
-Name[bg]=Календар на сървър Exchange (експериментално)
-Name[ca]=Calendari a un servidor Exchange (experimental)
-Name[cs]=Kalendář na serveru Exchange (experimentální)
-Name[da]=Kalender på en Exchange-server (eksperimentel)
-Name[de]=Kalender auf einem Exchange-Server (experimentell)
-Name[el]=Ημερολόγιο σε εξυπηρετητή Exchange (πειραματικό)
-Name[es]=Calendario en un servidor Exchange (experimental)
-Name[et]=Kalender Exchange-serveris (eksperimentaalne)
-Name[eu]=Egutegia Exchange zerbitzari batean (esperimentala)
-Name[fa]=تقویم روی یک کارساز مبادله )تجربی(
-Name[fi]=Kalenteri Exchange-palvelimella (kokeellinen)
-Name[fr]=Agenda sur un serveur Exchange (expérimental)
-Name[fy]=Aginda op in Exchange-tsjinner (eksperimenteel)
-Name[ga]=Féilire ar Fhreastalaí Exchange (trialach)
-Name[gl]=Calendario nun servidor Exchange (experimental)
-Name[hu]=Exchange 2000-kiszolgáló naptára (kísérleti)
-Name[is]=Dagatal á Exchange þjóni (á tilraunarstigi)
-Name[it]=Calendario su un server Exchange (sperimentale)
-Name[ja]=Exchange サーバのカレンダー (実験版)
-Name[kk]=Exchange серверіндегі күнтізбе (сынақтағы)
-Name[km]=ប្រតិទិន​លើ​ម៉ាស៊ីន​បម្រើ Exchange (សម្រាប់​អ្នក​មាន​បទពិសោធន៍)
-Name[lt]=Kalendorius Exchange serveryje (eksperimentine tvarka)
-Name[mk]=Календар на Exchange-сервер (експериментално)
-Name[ms]=Kalendar pada pelayan Exchange (ujikaji)
-Name[nb]=Kalender på en Exchange-tjener (forsøksvis)
-Name[nds]=Kalenner op en Exchange-Server (warrt utprobeert)
-Name[ne]=एक्सचेन्ज सर्भरमा क्यालेन्डर (प्रयोगात्मक)
-Name[nl]=Agenda op een Exchange-server (experimenteel)
-Name[nn]=Kalender på ein Exchange-tenar (eksperimentelt)
-Name[pl]=Kalendarz na serwerze Exchange (eksperymentalne)
-Name[pt]=Calendário em servidor Exchange (experimental)
-Name[pt_BR]=Calendário em um Servidor Exchange (experimental)
-Name[ru]=Календарь на сервере Exchange (экспериментально)
-Name[sk]=Kalendár na Exchange serveri (experimentálne)
-Name[sl]=Koledar na strežniku Exchange (poskusno)
-Name[sr]=Календар на Exchange серверу (експериментално)
-Name[sr@Latn]=Kalendar na Exchange serveru (eksperimentalno)
-Name[sv]=Kalender på en Exchange-server (experimentell)
-Name[ta]=பரிமாற்ற சேவகனில் நாட்காட்டி (சோதனைக்குரியது)
-Name[tr]=Bir Exchange Sunucusu üzerinde Takvim (deneyimsel)
-Name[uk]=Календар на сервері Exchange (експериментальне)
-Name[zh_CN]=Exchange 服务器上的日历(试验性)
-Name[zh_TW]=Exchanger 伺服器上的行事曆(實驗中)
-X-TDE-Library=kcal_newexchange
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=newexchange
diff --git a/kresources/newexchange/kcal_newexchange_final.desktop b/kresources/newexchange/kcal_newexchange_final.desktop
deleted file mode 100644
index 01904c54..00000000
--- a/kresources/newexchange/kcal_newexchange_final.desktop
+++ /dev/null
@@ -1,48 +0,0 @@
-[Desktop Entry]
-Hidden=true
-Name=Calendar on an Exchange Server
-Name[af]=Kalender op 'n Exchange bediener
-Name[bg]=Календар на сървър Exchange
-Name[br]=Deiziadur en ur servijer Exchange
-Name[ca]=Calendari a un servidor Exchange
-Name[cs]=Kalendář na serveru Exchange
-Name[da]=Kalender på en Exchange-server
-Name[de]=Kalender auf einem Exchange-Server
-Name[el]=Ημερολόγιο σε εξυπηρετητή Exchange
-Name[es]=Calendario en un servidor Exchange
-Name[et]=Kalender Exchange-serveris
-Name[eu]=Egutegia Exchange zerbitzari batean
-Name[fa]=تقویم روی یک کارساز مبادله
-Name[fi]=Kalenteri Exchange-palvelimella
-Name[fr]=Agenda sur un serveur Exchange
-Name[fy]=Aginda op in Exchange-tsjinner
-Name[ga]=Féilire ar Fhreastalaí Exchange
-Name[gl]=Calendario nun servidor Exchange
-Name[hu]=Exchange 2000-kiszolgáló naptára
-Name[is]=Dagatal á Exchange þjóni
-Name[it]=Calendario su un server Exchange
-Name[ja]=Exchange サーバのカレンダー
-Name[kk]=Exchange серверіндегі күнтізбе
-Name[km]=ប្រតិទិន​លើ​ម៉ាស៊ីន​បម្រើ Exchange
-Name[lt]=Kalendorius Exchange serveryje
-Name[mk]=Календар на Exchange-сервер
-Name[ms]=Kalendar pada pelayan Exchange
-Name[nb]=Kalender på en Exchange-tjener
-Name[nds]=Kalenner op en Exchange-Server
-Name[ne]=एक्सचेन्ज सर्भरमा क्यालेन्डर
-Name[nl]=Agenda op een Exchange-server
-Name[nn]=Kalender på ein Exchange-tenar
-Name[pl]=Kalendarz na serwerze Exchange
-Name[pt]=Calendário em servidor Exchange
-Name[pt_BR]=Calendário em um Servidor Exchange
-Name[ru]=Календарь на сервере Exchange
-Name[sk]=Kalendár na Exchange serveri
-Name[sl]=Koledar na strežniku Exchange
-Name[sr]=Календар на Exchange серверу
-Name[sr@Latn]=Kalendar na Exchange serveru
-Name[sv]=Kalender på en Exchange-server
-Name[ta]=ஒரு பரிமாற்ற சேவகனில் நாட்காட்சி
-Name[tr]=Bir Exchange Sunucusu üzerinde Takvim
-Name[uk]=Календар на сервері Exchange
-Name[zh_CN]=Exchange 服务器上的日历
-Name[zh_TW]=Exchanger 伺服器上的行事曆
diff --git a/kresources/newexchange/kcal_resourceexchange.cpp b/kresources/newexchange/kcal_resourceexchange.cpp
deleted file mode 100644
index eff1fa6b..00000000
--- a/kresources/newexchange/kcal_resourceexchange.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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 General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "exchangecalendaradaptor.h"
-
-#include "kcal_resourceexchange.h"
-#include <groupwaredownloadjob.h>
-#include <groupwareuploadjob.h>
-#include <kresources_groupwareprefs.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-ResourceExchange::ResourceExchange()
- : ResourceGroupwareBase()
-{
- init();
-}
-
-ResourceExchange::ResourceExchange( const TDEConfig *config )
- : ResourceGroupwareBase( config )
-{
- init();
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Exchange Server" ) );
- }
-}
-
-void ResourceExchange::init()
-{
- setType( "ResourceExchange" );
- setPrefs( createPrefs() );
- setFolderLister( new KPIM::FolderLister( KPIM::FolderLister::Calendar ) );
- setAdaptor( new ExchangeCalendarAdaptor() );
-
- ResourceGroupwareBase::init();
-}
-
-#include "kcal_resourceexchange.moc"
diff --git a/kresources/newexchange/kcal_resourceexchange.h b/kresources/newexchange/kcal_resourceexchange.h
deleted file mode 100644
index 823ed9a7..00000000
--- a/kresources/newexchange/kcal_resourceexchange.h
+++ /dev/null
@@ -1,46 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEEXCHANGE_H
-#define KCAL_RESOURCEEXCHANGE_H
-
-#include <kcal_resourcegroupwarebase.h>
-
-namespace KCal {
-
-/**
- This class provides a resource for accessing an Exchange server
-*/
-class KDE_EXPORT ResourceExchange : public ResourceGroupwareBase
-{
- Q_OBJECT
-
- public:
- ResourceExchange();
- ResourceExchange( const TDEConfig * );
-
- protected:
- void init();
-};
-
-}
-
-#endif
diff --git a/kresources/newexchange/kcal_resourceexchange_plugin.cpp b/kresources/newexchange/kcal_resourceexchange_plugin.cpp
deleted file mode 100644
index 6130e0dc..00000000
--- a/kresources/newexchange/kcal_resourceexchange_plugin.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourceexchange.h"
-#include "kcal_resourcegroupwarebaseconfig.h"
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceExchange, ResourceGroupwareBaseConfig > ExchangeFactory;
-K_EXPORT_COMPONENT_FACTORY( kcal_newexchange, ExchangeFactory )
diff --git a/kresources/remote/CMakeLists.txt b/kresources/remote/CMakeLists.txt
deleted file mode 100644
index d1a4b57b..00000000
--- a/kresources/remote/CMakeLists.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### headers ###################################
-
-install( FILES
- resourceremoteconfig.h resourceremote.h
- DESTINATION ${INCLUDE_INSTALL_DIR}/libkcal )
-
-
-##### other data ################################
-
-install( FILES
- remote.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### kcal_remote (module) ######################
-
-tde_add_kpart( kcal_remote AUTOMOC
- SOURCES resourceremote_plugin.cpp
- LINK kcal_resourceremote-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcal_resourceremote (shared) ##############
-
-tde_add_library( kcal_resourceremote SHARED AUTOMOC
- SOURCES
- resourceremote.cpp resourceremoteconfig.cpp
- VERSION 1.0.0
- LINK tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/remote/Makefile.am b/kresources/remote/Makefile.am
deleted file mode 100644
index a2dfe4f6..00000000
--- a/kresources/remote/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_resourceremote.la
-libkcal_resourceremote_la_LDFLAGS = $(all_libraries) -no-undefined \
- -version-info 1:0:0
-libkcal_resourceremote_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-libkcal_resourceremote_la_SOURCES = resourceremote.cpp resourceremoteconfig.cpp
-
-kde_module_LTLIBRARIES = kcal_remote.la
-
-kcal_remote_la_SOURCES = resourceremote_plugin.cpp
-kcal_remote_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_remote_la_LIBADD = libkcal_resourceremote.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-libkcalincludedir = $(includedir)/libkcal
-libkcalinclude_HEADERS = resourceremoteconfig.h resourceremote.h
-
-servicedir = $(kde_servicesdir)/kresources/kcal
-service_DATA = remote.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_remote.pot
diff --git a/kresources/remote/remote.desktop b/kresources/remote/remote.desktop
deleted file mode 100644
index 4b003173..00000000
--- a/kresources/remote/remote.desktop
+++ /dev/null
@@ -1,57 +0,0 @@
-[Desktop Entry]
-Name=Calendar in Remote File
-Name[af]=Kalender in 'n afgeleë lêer
-Name[bg]=Календар в отдалечен файл
-Name[br]=Deiziadur e restr a-bell
-Name[bs]=Kalendar u udaljenoj datoteci
-Name[ca]=Calendari a un fitxer remot
-Name[cs]=Kalendář ve vzdáleném souboru
-Name[cy]=Calendr mewn Ffeil Pell
-Name[da]=Kalender i ekstern fil
-Name[de]=Kalender in Datei auf Fremdrechner
-Name[el]=Ημερολόγιο σε απομακρυσμένο αρχείο
-Name[es]=Calendario en un archivo remoto
-Name[et]=Kalender võrgufailis
-Name[eu]=Egutegia urruneko fitxategi batean
-Name[fa]=تقویم در پروندۀ دور
-Name[fi]=Kalenteri etätiedostossa
-Name[fr]=Calendrier dans un fichier distant
-Name[fy]=Aginda yn ekstern triem
-Name[ga]=Féilire i gCianchomhad
-Name[gl]=Calendario en ficheiro remoto
-Name[hi]=रिमोट फ़ाइल में कैलेन्डर
-Name[hu]=Távoli fájlban tárolt naptár
-Name[is]=Dagatal í fjarlægri skrá
-Name[it]=Calendario in file remoto
-Name[ja]=リモートファイルのカレンダー
-Name[kk]=Қашықтағы файлдағы күнтізбе
-Name[km]=ប្រតិទិន​នៅ​ក្នុង​ឯកសារ​នៅ​ឆ្ងាយ
-Name[lt]=Kalendorius nutolusioje byloje
-Name[mk]=Календар во оддалечена датотека
-Name[ms]=Kalendar dalam Fail Jauh
-Name[nb]=Kalender i fil på nettverk
-Name[nds]=Kalenner as Datei op en anner Reekner
-Name[ne]=टाढाको फाइलको क्यालेन्डर
-Name[nl]=Agenda in extern bestand
-Name[nn]=Kalender i ekstern fil
-Name[pl]=Kalendarz w pliku zdalnym
-Name[pt]=Calendário num Ficheiro Remoto
-Name[pt_BR]=Calendário em Arquivo Remoto
-Name[ro]=Calendar în fişier distant
-Name[ru]=Календарь во внешнем файле
-Name[sk]=Kalendár vo vzdialenom súbore
-Name[sl]=Koledar v oddaljeni datoteki
-Name[sr]=Календар у удаљеном фајлу
-Name[sr@Latn]=Kalendar u udaljenom fajlu
-Name[sv]=Kalender i fjärrfil
-Name[ta]=தொலைதூர கோப்பில் உள்ள நாள்காட்டி
-Name[tg]=Тақвимот дар файли хурӯҷӣ
-Name[tr]=Uzak Dosyadaki Takvim
-Name[uk]=Календар у віддаленому файлі
-Name[zh_CN]=远程文件中的日历
-Name[zh_TW]=遠端檔案的行事曆
-X-TDE-Library=kcal_remote
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=remote
diff --git a/kresources/remote/resourceremote.cpp b/kresources/remote/resourceremote.cpp
deleted file mode 100644
index 3803ecbe..00000000
--- a/kresources/remote/resourceremote.cpp
+++ /dev/null
@@ -1,352 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003,2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-#include <stdlib.h>
-
-#include <tqdatetime.h>
-#include <tqstring.h>
-#include <tqptrlist.h>
-
-#include <kdebug.h>
-#include <kurl.h>
-#include <kio/job.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <kstandarddirs.h>
-
-#include <libkcal/icalformat.h>
-#include <libkcal/exceptions.h>
-#include <libkcal/incidence.h>
-#include <libkcal/event.h>
-#include <libkcal/todo.h>
-#include <libkcal/journal.h>
-#include <libkcal/filestorage.h>
-
-#include <kabc/lock.h>
-
-#include <kresources/configwidget.h>
-
-#include "resourceremoteconfig.h"
-
-#include "resourceremote.h"
-
-using namespace KCal;
-
-ResourceRemote::ResourceRemote( const TDEConfig *config )
- : ResourceCached( config ), mUseProgressManager( true ), mUseCacheFile( true )
-{
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "Remote Calendar" ) );
- }
-
- init();
-}
-
-ResourceRemote::ResourceRemote( const KURL &downloadUrl, const KURL &uploadUrl )
- : ResourceCached( 0 ), mUseProgressManager( false ), mUseCacheFile( false )
-{
- mDownloadUrl = downloadUrl;
-
- if ( uploadUrl.isEmpty() ) {
- mUploadUrl = mDownloadUrl;
- } else {
- mUploadUrl = uploadUrl;
- }
-
- init();
-}
-
-ResourceRemote::~ResourceRemote()
-{
- close();
-
- if ( mDownloadJob ) mDownloadJob->kill();
- if ( mUploadJob ) mUploadJob->kill();
-
- delete mLock;
-}
-
-void ResourceRemote::init()
-{
- mDownloadJob = 0;
- mUploadJob = 0;
-
- mProgress = 0;
-
- setType( "remote" );
-
- mLock = new KABC::Lock( cacheFile() );
-
- enableChangeNotification();
-}
-
-void ResourceRemote::readConfig( const TDEConfig *config )
-{
- TQString url = config->readEntry( "DownloadUrl" );
- mDownloadUrl = KURL( url );
-
- url = config->readEntry( "UploadUrl" );
- mUploadUrl = KURL( url );
-
- ResourceCached::readConfig( config );
-}
-
-void ResourceRemote::writeConfig( TDEConfig *config )
-{
- kdDebug(5800) << "ResourceRemote::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
- config->writeEntry( "DownloadUrl", mDownloadUrl.url() );
- config->writeEntry( "UploadUrl", mUploadUrl.url() );
-
- ResourceCached::writeConfig( config );
-}
-
-void ResourceRemote::setDownloadUrl( const KURL &url )
-{
- mDownloadUrl = url;
-}
-
-KURL ResourceRemote::downloadUrl() const
-{
- return mDownloadUrl;
-}
-
-void ResourceRemote::setUploadUrl( const KURL &url )
-{
- mUploadUrl = url;
-}
-
-KURL ResourceRemote::uploadUrl() const
-{
- return mUploadUrl;
-}
-
-void ResourceRemote::setUseProgressManager( bool useProgressManager )
-{
- mUseProgressManager = useProgressManager;
-}
-
-bool ResourceRemote::useProgressManager() const
-{
- return mUseProgressManager;
-}
-
-void ResourceRemote::setUseCacheFile( bool useCacheFile )
-{
- mUseCacheFile = useCacheFile;
-}
-
-bool ResourceRemote::useCacheFile() const
-{
- return mUseCacheFile;
-}
-
-bool ResourceRemote::doLoad()
-{
- kdDebug(5800) << "ResourceRemote::load()" << endl;
-
- if ( mDownloadJob ) {
- kdWarning() << "ResourceRemote::load(): download still in progress."
- << endl;
- return true;
- }
- if ( mUploadJob ) {
- kdWarning() << "ResourceRemote::load(): upload still in progress."
- << endl;
- return false;
- }
-
- mCalendar.close();
-
- if ( mUseCacheFile ) {
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
- }
-
- clearChanges();
-
- emit resourceChanged( this );
-
- if ( mLock->lock() )
- {
- kdDebug() << "Download from: " << mDownloadUrl << endl;
-
- mDownloadJob = TDEIO::file_copy( mDownloadUrl, KURL( cacheFile() ), -1, true,
- false, !mUseProgressManager );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadJobResult( TDEIO::Job * ) ) );
- if ( mUseProgressManager ) {
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotPercent( TDEIO::Job *, unsigned long ) ) );
- mProgress = KPIM::ProgressManager::createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading Calendar") );
-
- mProgress->setProgress( 0 );
- }
- }
- else
- kdDebug() << "ResourceRemote::load(): cache file is locked - something else must be loading the file" << endl;
- return true;
-}
-
-void ResourceRemote::slotPercent( TDEIO::Job *, unsigned long percent )
-{
- kdDebug() << "ResourceRemote::slotPercent(): " << percent << endl;
-
- mProgress->setProgress( percent );
-}
-
-void ResourceRemote::slotLoadJobResult( TDEIO::Job *job )
-{
- if ( job->error() ) {
- // TODO: Should detect 404, 401 etc. vs host not found and prompt to create new resource only when 404 is returned
- TQString warningString = TQString("<b>") + i18n("Remote data access failure") + TQString("</b><p>") + i18n("Detailed information") \
- + TQString(":<br>") + job->errorString() + TQString("<p>") + i18n("What would you like to do?");
- int rc = KMessageBox::warningContinueCancel(0,
- warningString, i18n("Remote Data Access Failure"), i18n("&Continue with cached resource"));
- if ( rc == KMessageBox::Continue ) {
- mCalendar.close();
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
- }
- //job->showErrorDialog( 0 );
- } else {
- kdDebug(5800) << "ResourceRemote::slotLoadJobResult() success" << endl;
-
- mCalendar.close();
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
- }
-
- mDownloadJob = 0;
- if ( mProgress ) {
- mProgress->setComplete();
- mProgress = 0;
- }
-
- mLock->unlock();
- emit resourceLoaded( this );
-}
-
-bool ResourceRemote::doSave()
-{
- kdDebug(5800) << "ResourceRemote::save()" << endl;
-
- if ( readOnly() || !hasChanges() ) {
- emit resourceSaved( this );
- return true;
- }
-
- if ( mDownloadJob ) {
- kdWarning() << "ResourceRemote::save(): download still in progress."
- << endl;
- return false;
- }
- if ( mUploadJob ) {
- kdWarning() << "ResourceRemote::save(): upload still in progress."
- << endl;
- return false;
- }
-
- mChangedIncidences = allChanges();
-
- saveCache();
-
- mUploadJob = TDEIO::file_copy( KURL( cacheFile() ), mUploadUrl, -1, true );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotSaveJobResult( TDEIO::Job * ) ) );
-
- return true;
-}
-
-bool ResourceRemote::isSaving()
-{
- return mUploadJob;
-}
-
-void ResourceRemote::slotSaveJobResult( TDEIO::Job *job )
-{
- if ( job->error() ) {
- job->showErrorDialog( 0 );
- } else {
- kdDebug(5800) << "ResourceRemote::slotSaveJobResult() success" << endl;
-
- Incidence::List::ConstIterator it;
- for( it = mChangedIncidences.begin(); it != mChangedIncidences.end();
- ++it ) {
- clearChange( *it );
- }
- mChangedIncidences.clear();
- }
-
- mUploadJob = 0;
-
- emit resourceSaved( this );
-}
-
-KABC::Lock *ResourceRemote::lock()
-{
- return mLock;
-}
-
-void ResourceRemote::dump() const
-{
- ResourceCalendar::dump();
- kdDebug(5800) << " DownloadUrl: " << mDownloadUrl.url() << endl;
- kdDebug(5800) << " UploadUrl: " << mUploadUrl.url() << endl;
- kdDebug(5800) << " ReloadPolicy: " << reloadPolicy() << endl;
-}
-
-void ResourceRemote::addInfoText( TQString &txt ) const
-{
- txt += "<br>";
- txt += i18n("URL: %1").arg( mDownloadUrl.prettyURL() );
-}
-
-bool ResourceRemote::setValue( const TQString &key, const TQString &value )
-{
- if ( key == "URL" ) {
- setUploadUrl( KURL( value ) );
- setDownloadUrl( KURL( value ) );
- return true;
- } else if ( key == "DownloadURL" ) {
- setDownloadUrl( KURL( value ) );
- return true;
- } else if ( key == "UploadURL" ) {
- setUploadUrl( KURL( value ) );
- return true;
- } else
- return ResourceCached::setValue( key, value );
-}
-
-#include "resourceremote.moc"
diff --git a/kresources/remote/resourceremote.h b/kresources/remote/resourceremote.h
deleted file mode 100644
index 2c3fd5fa..00000000
--- a/kresources/remote/resourceremote.h
+++ /dev/null
@@ -1,132 +0,0 @@
- /*
- This file is part of libkcal.
-
- Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEREMOTEDIR_H
-#define KCAL_RESOURCEREMOTEDIR_H
-
-#include <tqptrlist.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-
-#include <kurl.h>
-#include <kconfig.h>
-#include <kdirwatch.h>
-#include <tdepimmacros.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <libkcal/incidence.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-
-#include <libkcal/resourcecached.h>
-
-namespace TDEIO {
-class FileCopyJob;
-class Job;
-}
-
-namespace KCal {
-
-/**
- This class provides a calendar stored as a remote file.
-*/
-class KDE_EXPORT ResourceRemote : public ResourceCached
-{
- Q_OBJECT
-
-
- friend class ResourceRemoteConfig;
-
- public:
- /**
- Create resource from configuration information stored in TDEConfig object.
- */
- ResourceRemote( const TDEConfig * );
- /**
- Create remote resource.
-
- @param downloadUrl URL used to download iCalendar file
- @param uploadUrl URL used to upload iCalendar file
- */
- ResourceRemote( const KURL &downloadUrl, const KURL &uploadUrl = KURL() );
- virtual ~ResourceRemote();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- void setDownloadUrl( const KURL & );
- KURL downloadUrl() const;
-
- void setUploadUrl( const KURL & );
- KURL uploadUrl() const;
-
- void setUseProgressManager( bool useProgressManager );
- bool useProgressManager() const;
-
- void setUseCacheFile( bool useCacheFile );
- bool useCacheFile() const;
-
- KABC::Lock *lock();
-
- bool isSaving();
-
- void dump() const;
-
- bool setValue( const TQString &key, const TQString &value );
-
-
- protected slots:
- void slotLoadJobResult( TDEIO::Job * );
- void slotSaveJobResult( TDEIO::Job * );
-
- void slotPercent( TDEIO::Job *, unsigned long percent );
-
- protected:
- bool doLoad();
- bool doSave();
-
- void addInfoText( TQString & ) const;
-
- private:
- void init();
-
- KURL mDownloadUrl;
- KURL mUploadUrl;
-
- bool mUseProgressManager;
- bool mUseCacheFile;
-
- TDEIO::FileCopyJob *mDownloadJob;
- TDEIO::FileCopyJob *mUploadJob;
-
- KPIM::ProgressItem *mProgress;
-
- Incidence::List mChangedIncidences;
-
- KABC::Lock *mLock;
-
- class Private;
- Private *d;
-};
-
-}
-
-#endif
diff --git a/kresources/remote/resourceremote_plugin.cpp b/kresources/remote/resourceremote_plugin.cpp
deleted file mode 100644
index 67eaa92f..00000000
--- a/kresources/remote/resourceremote_plugin.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "resourceremoteconfig.h"
-#include "resourceremote.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory<ResourceRemote,ResourceRemoteConfig> RemoteFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_remote, RemoteFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kcal_remote()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_remote" );
- return new RemoteFactory;
- }
-}
diff --git a/kresources/remote/resourceremoteconfig.cpp b/kresources/remote/resourceremoteconfig.cpp
deleted file mode 100644
index 67d7f4b9..00000000
--- a/kresources/remote/resourceremoteconfig.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2003,2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <kmessagebox.h>
-#include <kstandarddirs.h>
-#include <kdialog.h>
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include "resourceremote.h"
-
-#include "resourceremoteconfig.h"
-
-using namespace KCal;
-
-ResourceRemoteConfig::ResourceRemoteConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 );
- mainLayout->setSpacing( KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "Download from:" ), this );
-
- mDownloadUrl = new KURLRequester( this );
- mDownloadUrl->setMode( KFile::File );
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mDownloadUrl, 1, 1 );
-
- label = new TQLabel( i18n( "Upload to:" ), this );
- mUploadUrl = new KURLRequester( this );
- mUploadUrl->setMode( KFile::File );
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mUploadUrl, 2, 1 );
-
- mReloadConfig = new ResourceCachedReloadConfig( this );
- mainLayout->addMultiCellWidget( mReloadConfig, 3, 3, 0, 1 );
-
- mSaveConfig = new ResourceCachedSaveConfig( this );
- mainLayout->addMultiCellWidget( mSaveConfig, 4, 4, 0, 1 );
-}
-
-void ResourceRemoteConfig::loadSettings( KRES::Resource *resource )
-{
- ResourceRemote *res = static_cast<ResourceRemote *>( resource );
- if ( res ) {
- mDownloadUrl->setURL( res->downloadUrl().url() );
- mUploadUrl->setURL( res->uploadUrl().url() );
- mReloadConfig->loadSettings( res );
- mSaveConfig->loadSettings( res );
- } else {
- kdError(5700) << "ResourceRemoteConfig::loadSettings(): no ResourceRemote, cast failed" << endl;
- }
-}
-
-void ResourceRemoteConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceRemote* res = static_cast<ResourceRemote*>( resource );
- if ( res ) {
- res->setDownloadUrl( KURL( mDownloadUrl->url() ) );
- res->setUploadUrl( KURL( mUploadUrl->url() ) );
- mReloadConfig->saveSettings( res );
- mSaveConfig->saveSettings( res );
-
-
- if ( mUploadUrl->url().isEmpty() && !resource->readOnly() ) {
- KMessageBox::information( this, i18n( "You have specified no upload URL, "
- "the calendar will be read-only." ), "RemoteResourseNoUploadURL" );
- resource->setReadOnly( true );
- }
- } else {
- kdError(5700) << "ResourceRemoteConfig::saveSettings(): no ResourceRemote, cast failed" << endl;
- }
-}
-
-#include "resourceremoteconfig.moc"
diff --git a/kresources/remote/resourceremoteconfig.h b/kresources/remote/resourceremoteconfig.h
deleted file mode 100644
index 595a5d73..00000000
--- a/kresources/remote/resourceremoteconfig.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- This file is part of libkcal.
-
- Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
- Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCEREMOTECONFIG_H
-#define KCAL_RESOURCEREMOTECONFIG_H
-
-#include <tqradiobutton.h>
-#include <tqbuttongroup.h>
-#include <kurlrequester.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-#include <tdepimmacros.h>
-
-namespace KCal {
-
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-
-/**
- Configuration widget for remote resource.
-
- @see ResourceRemote
-*/
-class KDE_EXPORT ResourceRemoteConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- ResourceRemoteConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- private:
- KURLRequester *mDownloadUrl;
- KURLRequester *mUploadUrl;
-
- ResourceCachedReloadConfig *mReloadConfig;
- ResourceCachedSaveConfig *mSaveConfig;
-
- class Private;
- Private *d;
-};
-
-}
-
-#endif
diff --git a/kresources/scalix/CMakeLists.txt b/kresources/scalix/CMakeLists.txt
deleted file mode 100644
index ca7fc523..00000000
--- a/kresources/scalix/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-add_subdirectory( shared )
-add_subdirectory( kabc )
-add_subdirectory( kcal )
-add_subdirectory( kioslave )
-add_subdirectory( knotes )
-add_subdirectory( scalixadmin )
diff --git a/kresources/scalix/Makefile.am b/kresources/scalix/Makefile.am
deleted file mode 100644
index 1a58c7ec..00000000
--- a/kresources/scalix/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-SUBDIRS = shared kabc kcal kioslave knotes scalixadmin
-
-messages: rc.cpp
- $(XGETTEXT) shared/*.cpp kabc/*.cpp kcal/*.cpp knotes/*.cpp -o $(podir)/kres_scalix.pot
diff --git a/kresources/scalix/README b/kresources/scalix/README
deleted file mode 100644
index 34a00e9a..00000000
--- a/kresources/scalix/README
+++ /dev/null
@@ -1,9 +0,0 @@
-The Scalix Resource is based on the code of the Kolab resource as both
-groupware servers use a similar storage concept (storing pim items as
-email attachments on an IMAP server).
-
-However the Scalix Resource has several modifications, e.g. the XML storage
-type was removed and freebusy handling is done via a separated KIO slave.
-
-If you have any problems, questions or suggestions contact me under
- Tobias Koenig <tokoe@kde.org>
diff --git a/kresources/scalix/kabc/CMakeLists.txt b/kresources/scalix/kabc/CMakeLists.txt
deleted file mode 100644
index c900f92b..00000000
--- a/kresources/scalix/kabc/CMakeLists.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES scalix.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-install(
- FILES ../uninstall.desktop
- RENAME imap.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-
-##### kabc_scalix (module) ######################
-
-tde_add_kpart( kabc_scalix AUTOMOC
- SOURCES resourcescalix_plugin.cpp
- LINK kabcscalix-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabcscalix (shared) #######################
-
-tde_add_library( kabcscalix SHARED AUTOMOC
- SOURCES resourcescalix.cpp contact.cpp
- VERSION 0.0.0
- LINK resourcescalixshared-static kgroupwarebase-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/scalix/kabc/Makefile.am b/kresources/scalix/kabc/Makefile.am
deleted file mode 100644
index a9fbf202..00000000
--- a/kresources/scalix/kabc/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/scalix/shared -I$(top_srcdir) $(all_includes)
-
-# The scalix wizard links to this library too
-lib_LTLIBRARIES = libkabcscalix.la
-
-libkabcscalix_la_SOURCES = resourcescalix.cpp contact.cpp
-libkabcscalix_la_LDFLAGS = $(all_libraries) -no-undefined
-libkabcscalix_la_LIBADD = \
- $(top_builddir)/kresources/scalix/shared/libresourcescalixshared.la \
- -lkresources -lkabc
-
-kde_module_LTLIBRARIES = kabc_scalix.la
-
-noinst_HEADERS = resourcescalix.h
-
-kabc_scalix_la_SOURCES = resourcescalix_plugin.cpp
-kabc_scalix_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-kabc_scalix_la_LIBADD = libkabcscalix.la
-
-servicedir = $(kde_servicesdir)/kresources/kabc
-service_DATA = scalix.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop
diff --git a/kresources/scalix/kabc/contact.cpp b/kresources/scalix/kabc/contact.cpp
deleted file mode 100644
index 457a34e7..00000000
--- a/kresources/scalix/kabc/contact.cpp
+++ /dev/null
@@ -1,377 +0,0 @@
-/*
- * This file is part of the scalix resource.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqdom.h>
-
-#include <libtdepim/distributionlist.h>
-#include <kstaticdeleter.h>
-
-#include "contact.h"
-
-using namespace Scalix;
-
-static TQMap<TQString, TQString> *s_distListMap = 0;
-static KStaticDeleter< TQMap<TQString, TQString> > sd;
-
-static TQString custom( const TQString &name, const KABC::Addressee &addr, const TQString &defaultValue = TQString() )
-{
- const TQString value = addr.custom( "Scalix", name );
- if ( value.isEmpty() )
- return defaultValue;
- else
- return value;
-}
-
-static void setCustom( const TQString &name, const TQString &value, KABC::Addressee &addr )
-{
- addr.insertCustom( "Scalix", name, value );
-}
-
-TQString Contact::toXml( const KABC::Addressee &addr )
-{
- /**
- * Handle distribution lists.
- */
- if ( KPIM::DistributionList::isDistributionList( addr ) ) {
- if ( s_distListMap )
- return (*s_distListMap)[ addr.uid() ];
- else
- return TQString();
- }
-
- /**
- * Handle normal contacts.
- */
- TQString xml;
- xml += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
- xml += "<contact>\n";
-
- xml += "<direct_ref>" + addr.uid() + "</direct_ref>\n";
- xml += "<sensitivity>" + custom( "sensitivity", addr, "0" ) + "</sensitivity>\n";
-
- xml += "<message_class>IPM.Contact</message_class>\n";
- xml += "<is_recurring>" + custom( "is_recurring", addr, "false" ) + "</is_recurring>\n";
- xml += "<reminder_set>" + custom( "reminder_set", addr, "false" ) + "</reminder_set>\n";
- xml += "<send_rich_info>" + custom( "send_rich_info", addr, "false" ) + "</send_rich_info>\n";
- xml += "<subject>" + addr.formattedName() + "</subject>\n";
- xml += "<last_modification_time>" + addr.revision().toString( Qt::ISODate ) + "</last_modification_time>\n";
-
- xml += "<display_name_prefix>" + addr.prefix() + "</display_name_prefix>\n";
- xml += "<first_name>" + addr.givenName() + "</first_name>\n";
- xml += "<middle_name>" + addr.additionalName() + "</middle_name>\n";
- xml += "<last_name>" + addr.familyName() + "</last_name>\n";
- xml += "<suffix>" + addr.suffix() + "</suffix>\n";
- xml += "<display_name>" + addr.assembledName() + "</display_name>\n";
- xml += "<file_as>" + addr.formattedName() + "</file_as>\n";
- xml += "<nickname>" + addr.nickName() + "</nickname>\n";
-
- xml += "<web_page_address>" + addr.url().url() + "</web_page_address>\n";
- xml += "<company_name>" + addr.organization() + "</company_name>\n";
- xml += "<job_title>" + addr.title() + "</job_title>\n";
-
- TQStringList emails = addr.emails();
- for ( uint i = 0; i < 3; ++i ) {
- TQString type, address, comment, display;
-
- if ( i < emails.count() ) {
- type = "SMTP";
- address = emails[ i ];
-
- /**
- * If the contact was created by kontact use the email address as
- * display name and the formatted name as comment, otherwise we use
- * the values from the server.
- */
- if ( custom( "comes_from_scalix", addr ) != "true" ) {
- comment = addr.formattedName();
- display = emails[ i ];
- } else {
- comment = custom( TQString( "email%1_address_with_comment" ).arg( i + 1 ), addr );
- display = custom( TQString( "email%1_display_name" ).arg( i + 1 ), addr );
- }
- }
-
- xml += TQString( "<email%1_address_type>" ).arg( i + 1 ) + type +
- TQString( "</email%1_address_type>" ).arg( i + 1 ) +"\n";
- xml += TQString( "<email%1_address>" ).arg( i + 1 ) + address +
- TQString( "</email%1_address>" ).arg( i + 1 ) +"\n";
- xml += TQString( "<email%1_address_with_comment>" ).arg( i + 1 ) + comment +
- TQString( "</email%1_address_with_comment>" ).arg( i + 1 ) + "\n";
- xml += TQString( "<email%1_display_name>" ).arg( i + 1 ) + display +
- TQString( "</email%1_display_name>" ).arg( i + 1 ) + "\n";
- }
-
- KABC::PhoneNumber phone = addr.phoneNumber( KABC::PhoneNumber::Home );
- xml += "<home_phone_number>" + phone.number() + "</home_phone_number>\n";
-
- phone = addr.phoneNumber( KABC::PhoneNumber::Work );
- xml += "<work_phone_number>" + phone.number() + "</work_phone_number>\n";
-
- phone = addr.phoneNumber( KABC::PhoneNumber::Work | KABC::PhoneNumber::Fax );
- xml += "<work_fax_number>" + phone.number() + "</work_fax_number>\n";
-
- phone = addr.phoneNumber( KABC::PhoneNumber::Cell );
- xml += "<mobile_phone_number>" + phone.number() + "</mobile_phone_number>\n";
-
- const KABC::Address workAddress = addr.address( KABC::Address::Work );
- xml += "<work_address_street>" + workAddress.street() + "</work_address_street>\n";
- xml += "<work_address_zip>" + workAddress.postalCode() + "</work_address_zip>\n";
- xml += "<work_address_city>" + workAddress.locality() + "</work_address_city>\n";
- xml += "<work_address_state>" + workAddress.region() + "</work_address_state>\n";
- xml += "<work_address_country>" + workAddress.country() + "</work_address_country>\n";
-
- const KABC::Address homeAddress = addr.address( KABC::Address::Home );
- xml += "<home_address_street>" + homeAddress.street() + "</home_address_street>\n";
- xml += "<home_address_zip>" + homeAddress.postalCode() + "</home_address_zip>\n";
- xml += "<home_address_city>" + homeAddress.locality() + "</home_address_city>\n";
- xml += "<home_address_state>" + homeAddress.region() + "</home_address_state>\n";
- xml += "<home_address_country>" + homeAddress.country() + "</home_address_country>\n";
-
- const KABC::Address otherAddress = addr.address( KABC::Address::Dom );
- xml += "<other_address_street>" + otherAddress.street() + "</other_address_street>\n";
- xml += "<other_address_zip>" + otherAddress.postalCode() + "</other_address_zip>\n";
- xml += "<other_address_city>" + otherAddress.locality() + "</other_address_city>\n";
- xml += "<other_address_state>" + otherAddress.region() + "</other_address_state>\n";
- xml += "<other_address_country>" + otherAddress.country() + "</other_address_country>\n";
-
- if ( homeAddress.type() & KABC::Address::Pref )
- xml += "<selected_mailing_address>1</selected_mailing_address>\n";
- else if ( workAddress.type() & KABC::Address::Pref )
- xml += "<selected_mailing_address>2</selected_mailing_address>\n";
- else if ( otherAddress.type() & KABC::Address::Pref )
- xml += "<selected_mailing_address>3</selected_mailing_address>\n";
-
- xml += "<im_address>" + addr.custom( "KADDRESSBOOK", "X-IMAddress" ) + "</im_address>\n";
- xml += "<manager>" + addr.custom( "KADDRESSBOOK", "X-ManagersName" ) + "</manager>\n";
- xml += "<department>" + addr.custom( "KADDRESSBOOK", "X-Department" ) + "</department>\n";
- xml += "<assistant>" + addr.custom( "KADDRESSBOOK", "X-AssistantsName" ) + "</assistant>\n";
- xml += "<profession>" + addr.custom( "KADDRESSBOOK", "X-Profession" ) + "</profession>\n";
- xml += "<office_location>" + addr.custom( "KADDRESSBOOK", "X-Office" ) + "</office_location>\n";
- xml += "<spouse>" + addr.custom( "KADDRESSBOOK", "X-SpousesName" ) + "</spouse>\n";
-
- xml += "<bday>" + addr.birthday().toString( Qt::ISODate ) + "</bday>\n";
- xml += "<anniversary>" + addr.custom( "KADDRESSBOOK", "X-Anniversary" ) + "</anniversary>\n";
-
- xml += "<mapi_charset>" + custom( "mapi_charset", addr, "UTF8" ) + "</mapi_charset>";
-
- xml += "</contact>\n";
-
- return xml;
-}
-
-KABC::Addressee Contact::fromXml( const TQString &xml )
-{
- TQDomDocument document;
-
- TQString errorMsg;
- int errorLine, errorColumn;
- if ( !document.setContent( xml, true, &errorMsg, &errorLine, &errorColumn ) ) {
- tqDebug( "Error parsing XML in Scalix::Contact::fromXml: %s (%d,%d)", errorMsg.latin1(), errorLine, errorColumn );
- return KABC::Addressee();
- }
-
- TQDomElement contactElement = document.documentElement();
- if ( contactElement.tagName() != "contact" ) {
- if ( contactElement.tagName() == "distlist" ) {
- const TQDomNodeList names = contactElement.elementsByTagName( "display_name" );
- const TQString listName = ( names.count() == 1 ? names.item( 0 ).toElement().text() : "Scalix Dummy List" );
-
- /**
- * As we can't provide distribution list functionality we store the entry
- * here and return it on save.
- */
- KPIM::DistributionList list;
- list.setName( listName );
-
- if ( !s_distListMap )
- sd.setObject( s_distListMap, new TQMap<TQString, TQString>() );
-
- s_distListMap->insert( list.uid(), xml );
-
- return list;
- } else {
- tqDebug( "Error interpreting XML in Scalix::Contact::fromXml: no 'contact' or 'distlist' tag found" );
- return KABC::Addressee();
- }
- }
-
- TQString emails[ 3 ];
- KABC::Address homeAddress( KABC::Address::Home );
- KABC::Address workAddress( KABC::Address::Work );
- KABC::Address otherAddress( KABC::Address::Dom );
-
- KABC::Addressee addr;
- setCustom( "comes_from_scalix", "true", addr );
-
- TQDomNode node = contactElement.firstChild();
- while ( !node.isNull() ) {
- TQDomElement element = node.toElement();
- if ( !element.isNull() ) {
- if ( element.tagName() == "direct_ref" )
- addr.setUid( element.text() );
- else if ( element.tagName() == "sensitivity" )
- setCustom( "sensitivity", element.text(), addr );
- else if ( element.tagName() == "is_recurring" )
- setCustom( "is_recurring", element.text(), addr );
- else if ( element.tagName() == "reminder_set" )
- setCustom( "reminder_set", element.text(), addr );
- else if ( element.tagName() == "send_rich_info" )
- setCustom( "send_rich_info", element.text(), addr );
- else if ( element.tagName() == "last_modification_time" )
- addr.setRevision( TQDateTime::fromString( element.text(), Qt::ISODate ) );
-
- // name
- else if ( element.tagName() == "display_name_prefix" )
- addr.setPrefix( element.text() );
- else if ( element.tagName() == "first_name" )
- addr.setGivenName( element.text() );
- else if ( element.tagName() == "middle_name" )
- addr.setAdditionalName( element.text() );
- else if ( element.tagName() == "last_name" )
- addr.setFamilyName( element.text() );
- else if ( element.tagName() == "suffix" )
- addr.setSuffix( element.text() );
- else if ( element.tagName() == "file_as" )
- addr.setFormattedName( element.text() );
- else if ( element.tagName() == "nickname" )
- addr.setNickName( element.text() );
-
- // job
- else if ( element.tagName() == "web_page_address" )
- addr.setUrl( element.text() );
- else if ( element.tagName() == "company_name" )
- addr.setOrganization( element.text() );
- else if ( element.tagName() == "job_title" )
- addr.setTitle( element.text() );
-
- // emails
- else if ( element.tagName().startsWith( "email" ) ) {
- if ( element.tagName() == "email1_address" )
- emails[ 0 ] = element.text();
- else if ( element.tagName() == "email2_address" )
- emails[ 1 ] = element.text();
- else if ( element.tagName() == "email3_address" )
- emails[ 2 ] = element.text();
- else
- setCustom( element.tagName(), element.text(), addr );
- }
-
- // phone numbers
- else if ( element.tagName() == "home_phone_number" )
- addr.insertPhoneNumber( KABC::PhoneNumber( element.text(), KABC::PhoneNumber::Home ) );
- else if ( element.tagName() == "work_phone_number" )
- addr.insertPhoneNumber( KABC::PhoneNumber( element.text(), KABC::PhoneNumber::Work ) );
- else if ( element.tagName() == "work_fax_number" )
- addr.insertPhoneNumber( KABC::PhoneNumber( element.text(), KABC::PhoneNumber::Work | KABC::PhoneNumber::Fax ) );
- else if ( element.tagName() == "mobile_phone_number" )
- addr.insertPhoneNumber( KABC::PhoneNumber( element.text(), KABC::PhoneNumber::Cell ) );
-
- // address (work)
- else if ( element.tagName() == "work_address_street" )
- workAddress.setStreet( element.text() );
- else if ( element.tagName() == "work_address_zip" )
- workAddress.setPostalCode( element.text() );
- else if ( element.tagName() == "work_address_city" )
- workAddress.setLocality( element.text() );
- else if ( element.tagName() == "work_address_state" )
- workAddress.setRegion( element.text() );
- else if ( element.tagName() == "work_address_country" )
- workAddress.setCountry( element.text() );
-
- // address (home)
- else if ( element.tagName() == "home_address_street" )
- homeAddress.setStreet( element.text() );
- else if ( element.tagName() == "home_address_zip" )
- homeAddress.setPostalCode( element.text() );
- else if ( element.tagName() == "home_address_city" )
- homeAddress.setLocality( element.text() );
- else if ( element.tagName() == "home_address_state" )
- homeAddress.setRegion( element.text() );
- else if ( element.tagName() == "home_address_country" )
- homeAddress.setCountry( element.text() );
-
- // address (other)
- else if ( element.tagName() == "other_address_street" )
- otherAddress.setStreet( element.text() );
- else if ( element.tagName() == "other_address_zip" )
- otherAddress.setPostalCode( element.text() );
- else if ( element.tagName() == "other_address_city" )
- otherAddress.setLocality( element.text() );
- else if ( element.tagName() == "other_address_state" )
- otherAddress.setRegion( element.text() );
- else if ( element.tagName() == "other_address_country" )
- otherAddress.setCountry( element.text() );
-
- else if ( element.tagName() == "selected_mailing_address" )
- switch ( element.text().toInt() ) {
- case 1:
- homeAddress.setType( homeAddress.type() | KABC::Address::Pref );
- break;
- case 2:
- workAddress.setType( workAddress.type() | KABC::Address::Pref );
- break;
- case 3:
- otherAddress.setType( otherAddress.type() | KABC::Address::Pref );
- break;
- default:
- Q_ASSERT( !"Unknown selected_mailing_address enum" );
- break;
- }
-
- // misc
- else if ( element.tagName() == "im_address" )
- addr.insertCustom( "KADDRESSBOOK", "X-IMAddress", element.text() );
- else if ( element.tagName() == "manager" )
- addr.insertCustom( "KADDRESSBOOK", "X-ManagersName", element.text() );
- else if ( element.tagName() == "department" )
- addr.insertCustom( "KADDRESSBOOK", "X-Department", element.text() );
- else if ( element.tagName() == "assistant" )
- addr.insertCustom( "KADDRESSBOOK", "X-AssistantsName", element.text() );
- else if ( element.tagName() == "profession" )
- addr.insertCustom( "KADDRESSBOOK", "X-Profession", element.text() );
- else if ( element.tagName() == "office_location" )
- addr.insertCustom( "KADDRESSBOOK", "X-Office", element.text() );
- else if ( element.tagName() == "spouse" )
- addr.insertCustom( "KADDRESSBOOK", "X-SpousesName", element.text() );
-
- else if ( element.tagName() == "bday" )
- addr.setBirthday( TQDateTime::fromString( element.text(), Qt::ISODate ) );
- else if ( element.tagName() == "anniversary" )
- addr.insertCustom( "KADDRESSBOOK", "X-Anniversary", element.text() );
- else
- setCustom( element.tagName(), element.text(), addr );
- }
-
- node = node.nextSibling();
- }
-
- for ( int i = 0; i < 3; ++i )
- if ( !emails[ i ].isEmpty() )
- addr.insertEmail( emails[ i ] );
-
- if ( !homeAddress.isEmpty() )
- addr.insertAddress( homeAddress );
- if ( !workAddress.isEmpty() )
- addr.insertAddress( workAddress );
- if ( !otherAddress.isEmpty() )
- addr.insertAddress( otherAddress );
-
- return addr;
-}
diff --git a/kresources/scalix/kabc/contact.h b/kresources/scalix/kabc/contact.h
deleted file mode 100644
index ad095a8d..00000000
--- a/kresources/scalix/kabc/contact.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This file is part of the scalix resource.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef SCALIX_CONTACT_H
-#define SCALIX_CONTACT_H
-
-#include <kabc/addressee.h>
-
-namespace Scalix {
-
-class Contact
-{
- public:
- static TQString toXml( const KABC::Addressee &addr );
- static KABC::Addressee fromXml( const TQString &xml );
-};
-
-}
-
-#endif
diff --git a/kresources/scalix/kabc/resourcescalix.cpp b/kresources/scalix/kabc/resourcescalix.cpp
deleted file mode 100644
index 42aef92d..00000000
--- a/kresources/scalix/kabc/resourcescalix.cpp
+++ /dev/null
@@ -1,628 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-#include <kdebug.h>
-#include <kglobal.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <ktempfile.h>
-#include <kio/observer.h>
-#include <kio/uiserver_stub.h>
-#include <kmainwindow.h>
-#include <kapplication.h>
-#include <dcopclient.h>
-
-#include <tqobject.h>
-#include <tqtimer.h>
-#include <tqstring.h>
-#include <tqfile.h>
-#include <tqapplication.h>
-
-#include <assert.h>
-
-#include "contact.h"
-
-using namespace Scalix;
-
-class ScalixFactory : public KRES::PluginFactoryBase
-{
- public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KABC::ResourceScalix( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kabc_scalix,ScalixFactory)
-
-static const char* s_kmailContentsType = "Contact";
-static const char* s_attachmentMimeTypeContact = "application/x-vnd.kolab.contact";
-static const char* s_attachmentMimeTypeDistList = "application/x-vnd.kolab.contact.distlist";
-static const char* s_inlineMimeType = "application/scalix-properties";
-
-KABC::ResourceScalix::ResourceScalix( const TDEConfig *config )
- : KPIM::ResourceABC( config ),
- Scalix::ResourceScalixBase( "ResourceScalix-KABC" ),
- mCachedSubresource( TQString() ), mLocked( false )
-{
- setType( "scalix" );
-}
-
-KABC::ResourceScalix::~ResourceScalix()
-{
- // The resource is deleted on exit (StdAddressBook's KStaticDeleter),
- // and it wasn't closed before that, so close here to save the config.
- if ( isOpen() ) {
- close();
- }
-}
-
-void KABC::ResourceScalix::loadSubResourceConfig( TDEConfig& config,
- const TQString& name,
- const TQString& label,
- bool writable )
-{
- TDEConfigGroup group( &config, name );
- bool active = group.readBoolEntry( "Active", true );
- int completionWeight = group.readNumEntry( "CompletionWeight", 80 );
- mSubResources.insert( name, Scalix::SubResource( active, writable, label,
- completionWeight ) );
-}
-
-bool KABC::ResourceScalix::doOpen()
-{
- TDEConfig config( configFile() );
-
- // Read the calendar entries
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, s_kmailContentsType ) )
- return false;
- mSubResources.clear();
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- for ( it = subResources.begin(); it != subResources.end(); ++it ) {
- loadSubResourceConfig( config, (*it).location, (*it).label, (*it).writable );
- }
-
- return true;
-}
-
-void KABC::ResourceScalix::doClose()
-{
- TDEConfig config( configFile() );
-
- Scalix::ResourceMap::ConstIterator it;
- for ( it = mSubResources.begin(); it != mSubResources.end(); ++it ) {
- config.setGroup( it.key() );
- config.writeEntry( "Active", it.data().active() );
- config.writeEntry( "CompletionWeight", it.data().completionWeight() );
- }
-}
-
-KABC::Ticket * KABC::ResourceScalix::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdError() << "no addressbook" << endl;
- return 0;
- }
- mLocked = true;
-
- return createTicket( this );
-}
-
-void KABC::ResourceScalix::releaseSaveTicket( Ticket* ticket )
-{
- mLocked = false;
- mCachedSubresource = TQString();
- delete ticket;
-}
-
-TQString KABC::ResourceScalix::loadContact( const TQString& contactData,
- const TQString& subResource,
- TQ_UINT32 sernum,
- KMailICalIface::StorageFormat )
-{
- KABC::Addressee addr = Contact::fromXml( contactData );
-
- addr.setResource( this );
- addr.setChanged( false );
- KABC::Resource::insertAddressee( addr ); // same as mAddrMap.insert( addr.uid(), addr );
- mUidMap[ addr.uid() ] = StorageReference( subResource, sernum );
- kdDebug(5650) << "Loaded contact uid=" << addr.uid() << " sernum=" << sernum << " fullName=" << addr.name() << endl;
- return addr.uid();
-}
-
-bool KABC::ResourceScalix::loadSubResource( const TQString& subResource )
-{
- bool scalixcontacts = loadSubResourceHelper( subResource, s_attachmentMimeTypeContact, KMailICalIface::StorageXML );
- bool scalixdistlists = loadSubResourceHelper( subResource, s_attachmentMimeTypeDistList, KMailICalIface::StorageXML );
- bool vcardstyle = loadSubResourceHelper( subResource, s_inlineMimeType, KMailICalIface::StorageIcalVcard );
- return scalixcontacts && scalixdistlists && vcardstyle;
-}
-
-bool KABC::ResourceScalix::loadSubResourceHelper( const TQString& subResource,
- const char* mimetype,
- KMailICalIface::StorageFormat format )
-{
- int count = 0;
- if ( !kmailIncidencesCount( count, mimetype, subResource ) ) {
- kdError() << "Communication problem in KABC::ResourceScalix::loadSubResourceHelper()\n";
- return false;
- }
- if ( !count )
- return true;
-
- // Read that many contacts at a time.
- // If this number is too small we lose time in kmail.
- // If it's too big the progressbar is jumpy.
- const int nbMessages = 200;
-
- (void)Observer::self(); // ensure kio_uiserver is running
- UIServer_stub uiserver( "kio_uiserver", "UIServer" );
- int progressId = 0;
- if ( count > 200 ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
- uiserver.totalFiles( progressId, count );
- uiserver.infoMessage( progressId, i18n( "Loading contacts..." ) );
- uiserver.transferring( progressId, "Contacts" );
- }
-
- for ( int startIndex = 0; startIndex < count; startIndex += nbMessages ) {
- TQMap<TQ_UINT32, TQString> lst;
-
- if ( !kmailIncidences( lst, mimetype, subResource, startIndex, nbMessages ) ) {
- kdError() << "Communication problem in ResourceScalix::load()\n";
- if ( progressId )
- uiserver.jobFinished( progressId );
- return false;
- }
-
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
- loadContact( it.data(), subResource, it.key(), format );
- }
- if ( progressId ) {
- uiserver.processedFiles( progressId, startIndex );
- uiserver.percent( progressId, 100 * startIndex / count );
- }
- }
-
- kdDebug(5650) << "Contacts scalix resource: got " << count << " contacts in " << subResource << endl;
-
- if ( progressId )
- uiserver.jobFinished( progressId );
- return true;
-}
-
-bool KABC::ResourceScalix::load()
-{
- mUidMap.clear();
- mAddrMap.clear();
-
- bool rc = true;
- Scalix::ResourceMap::ConstIterator itR;
- for ( itR = mSubResources.begin(); itR != mSubResources.end(); ++itR ) {
- if ( !itR.data().active() )
- // This resource is disabled
- continue;
-
- rc &= loadSubResource( itR.key() );
- }
-
- return rc;
-}
-
-bool KABC::ResourceScalix::save( Ticket* )
-{
- bool rc = true;
-
- for( ConstIterator it = begin(); it != end(); ++it )
- if( (*it).changed() ) {
- rc &= kmailUpdateAddressee( *it );
- }
-
- if ( !rc )
- kdDebug(5650) << k_funcinfo << " failed." << endl;
- return rc;
-}
-
-namespace Scalix {
-struct AttachmentList {
- TQStringList attachmentURLs;
- TQStringList attachmentNames;
- TQStringList attachmentMimeTypes;
- TQStringList deletedAttachments;
- TQValueList<KTempFile *> tempFiles;
-
- void addAttachment( const TQString& url, const TQString& name, const TQString& mimetype ) {
- attachmentURLs.append( url );
- attachmentNames.append( name );
- attachmentMimeTypes.append( mimetype );
- }
-
- void updatePictureAttachment( const TQImage& image, const TQString& name );
- void updateAttachment( const TQByteArray& data, const TQString& name, const char* mimetype );
-};
-} // namespace
-
-void AttachmentList::updatePictureAttachment( const TQImage& image, const TQString& name )
-{
- assert( !name.isEmpty() );
- if ( !image.isNull() ) {
- KTempFile* tempFile = new KTempFile;
- image.save( tempFile->file(), "PNG" );
- tempFile->close();
- KURL url;
- url.setPath( tempFile->name() );
- kdDebug(5650) << "picture saved to " << url.path() << endl;
- addAttachment( url.url(), name, "image/png" );
- } else {
- deletedAttachments.append( name );
- }
-}
-
-void AttachmentList::updateAttachment( const TQByteArray& data, const TQString& name, const char* mimetype )
-{
- assert( !name.isEmpty() );
- if ( !data.isNull() ) {
- KTempFile* tempFile = new KTempFile;
- tempFile->file()->writeBlock( data );
- tempFile->close();
- KURL url;
- url.setPath( tempFile->name() );
- kdDebug(5650) << "data saved to " << url.path() << endl;
- addAttachment( url.url(), name, mimetype );
- } else {
- deletedAttachments.append( name );
- }
-}
-
-bool KABC::ResourceScalix::kmailUpdateAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- TQString subResource;
- TQ_UINT32 sernum;
- if ( mUidMap.find( uid ) != mUidMap.end() ) {
- subResource = mUidMap[ uid ].resource();
- if ( !subresourceWritable( subResource ) ) {
- kdWarning() << "Wow! Something tried to update a non-writable addressee! Fix this caller: " << kdBacktrace() << endl;
- return false;
- }
- sernum = mUidMap[ uid ].serialNumber();
- } else {
- if ( !mCachedSubresource.isNull() ) {
- subResource = mCachedSubresource;
- } else {
- subResource = findWritableResource( mSubResources );
- // We were locked, remember the subresource we are working with until
- // we are unlocked
- if ( mLocked )
- mCachedSubresource = subResource;
- }
- if ( subResource.isEmpty() )
- return false;
- sernum = 0;
- }
-
- AttachmentList att;
- TQString subject = addr.formattedName();
-
- TQString mimetype = s_inlineMimeType;
-
- TQString data = Contact::toXml( addr );
-
- CustomHeaderMap customHeaders;
- customHeaders.insert( "X-Scalix-Class", "IPM.Contact" );
-
- bool rc = kmailUpdate( subResource, sernum, data, mimetype, subject,
- customHeaders,
- att.attachmentURLs, att.attachmentMimeTypes, att.attachmentNames,
- att.deletedAttachments );
- if ( !rc )
- kdDebug(5650) << "kmailUpdate returned false!" << endl;
- if ( rc ) {
- kdDebug(5650) << "kmailUpdate returned, now sernum=" << sernum << " for uid=" << uid << endl;
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- // This is ugly, but it's faster than doing
- // mAddrMap.find(addr.uid()), which would give the same :-(
- // Reason for this: The Changed attribute of Addressee should
- // be mutable
- const_cast<Addressee&>(addr).setChanged( false );
- }
-
- for( TQValueList<KTempFile *>::Iterator it = att.tempFiles.begin(); it != att.tempFiles.end(); ++it ) {
- (*it)->setAutoDelete( true );
- delete (*it);
- }
- return rc;
-}
-
-void KABC::ResourceScalix::insertAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- //kdDebug(5650) << k_funcinfo << uid << endl;
- bool ok = false;
- if ( mUidMap.contains( uid ) ) {
- mUidsPendingUpdate.append( uid );
- } else {
- mUidsPendingAdding.append( uid );
- }
-
- ok = kmailUpdateAddressee( addr );
-
- if ( ok )
- Resource::insertAddressee( addr );
-}
-
-void KABC::ResourceScalix::removeAddressee( const Addressee& addr )
-{
- const TQString uid = addr.uid();
- if ( mUidMap.find( uid ) == mUidMap.end() ) return;
- //kdDebug(5650) << k_funcinfo << uid << endl;
- const TQString resource = mUidMap[ uid ].resource();
- if ( !subresourceWritable( resource ) ) {
- kdWarning() << "Wow! Something tried to delete a non-writable addressee! Fix this caller: " << kdBacktrace() << endl;
- return;
- }
- /* The user told us to delete, tell KMail */
- kmailDeleteIncidence( resource,
- mUidMap[ uid ].serialNumber() );
- mUidsPendingDeletion.append( uid );
- mUidMap.remove( uid );
-
- Resource::removeAddressee( addr );
-}
-
-/*
- * These are the DCOP slots that KMail call to notify when something
- * changed.
- */
-bool KABC::ResourceScalix::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int format,
- const TQString& contactXML )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType || !subresourceActive( subResource ) )
- return false;
-
- // Load contact to find the UID
- const TQString uid = loadContact( contactXML, subResource, sernum,
- ( KMailICalIface::StorageFormat )format );
-
- //kdDebug(5650) << k_funcinfo << uid << endl;
-
- // Emit "addressbook changed" if this comes from kmail and not from the GUI
- if ( !mUidsPendingAdding.contains( uid )
- && !mUidsPendingUpdate.contains( uid ) ) {
- addressBook()->emitAddressBookChanged();
- } else {
- mUidsPendingAdding.remove( uid );
- mUidsPendingUpdate.remove( uid );
- }
-
- return true;
-}
-
-void KABC::ResourceScalix::fromKMailDelIncidence( const TQString& type,
- const TQString& subResource,
- const TQString& uid )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType || !subresourceActive( subResource ) )
- return;
-
- //kdDebug(5650) << k_funcinfo << uid << endl;
-
- // Can't be in both, by contract
- if ( mUidsPendingDeletion.contains( uid ) ) {
- mUidsPendingDeletion.remove( uid );
- } else if ( mUidsPendingUpdate.contains( uid ) ) {
- // It's good to know if was deleted, but we are waiting on a new one to
- // replace it, so let's just sit tight.
- } else {
- // We didn't trigger this, so KMail did, remove the reference to the uid
- mAddrMap.remove( uid );
- mUidMap.remove( uid );
- addressBook()->emitAddressBookChanged();
- }
-}
-
-void KABC::ResourceScalix::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- // Check if this is a contact
- if( type != s_kmailContentsType ) return;
-
- //kdDebug(5650) << k_funcinfo << endl;
-
- load(); // ### should call loadSubResource(subResource) probably
- addressBook()->emitAddressBookChanged();
-}
-
-void KABC::ResourceScalix::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& label,
- bool writable )
-{
- if( type != s_kmailContentsType ) return;
-
- if ( mSubResources.contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( "Contact" );
- loadSubResourceConfig( config, subResource, label, writable );
- loadSubResource( subResource );
- addressBook()->emitAddressBookChanged();
- emit signalSubresourceAdded( this, type, subResource );
-}
-
-void KABC::ResourceScalix::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- if( type != s_kmailContentsType ) return;
-
- if ( !mSubResources.contains( subResource ) )
- // Not registered
- return;
-
- // Ok, it's our job, and we have it here
- mSubResources.erase( subResource );
-
- TDEConfig config( configFile() );
- config.deleteGroup( subResource );
- config.sync();
-
- // Make a list of all uids to remove
- Scalix::UidMap::ConstIterator mapIt;
- TQStringList uids;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- if ( mapIt.data().resource() == subResource )
- // We have a match
- uids << mapIt.key();
-
- // Finally delete all the incidences
- if ( !uids.isEmpty() ) {
- TQStringList::ConstIterator it;
- for ( it = uids.begin(); it != uids.end(); ++it ) {
- mAddrMap.remove( *it );
- mUidMap.remove( *it );
- }
-
- addressBook()->emitAddressBookChanged();
- }
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-
-
-void KABC::ResourceScalix::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& /* type */,
- const TQString& folder )
-{
- // FIXME
- KMailICalIface::StorageFormat format = KMailICalIface::StorageXML;
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.begin(); it != map.end(); ++it ) {
- loadContact( it.data(), folder, it.key(), format );
- }
- if ( !addressBook() ){
- kdDebug(5650) << "asyncLoadResult() : addressBook() returning NULL pointer.\n";
- }else
- addressBook()->emitAddressBookChanged();
-}
-
-TQStringList KABC::ResourceScalix::subresources() const
-{
- return mSubResources.keys();
-}
-
-bool KABC::ResourceScalix::subresourceActive( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].active();
- }
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << subresource << " ): Safe bet\n";
-
- return true;
-}
-
-bool KABC::ResourceScalix::subresourceWritable( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].writable();
- }
- return false; //better a safe default
-}
-
-int KABC::ResourceScalix::subresourceCompletionWeight( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].completionWeight();
- }
-
- kdDebug(5650) << "subresourceCompletionWeight( " << subresource << " ): not found, using default\n";
-
- return 80;
-}
-
-TQString KABC::ResourceScalix::subresourceLabel( const TQString& subresource ) const
-{
- if ( mSubResources.contains( subresource ) ) {
- return mSubResources[ subresource ].label();
- }
-
- kdDebug(5650) << "subresourceLabel( " << subresource << " ): not found!\n";
- return TQString();
-}
-
-void KABC::ResourceScalix::setSubresourceCompletionWeight( const TQString& subresource, int completionWeight )
-{
- if ( mSubResources.contains( subresource ) ) {
- mSubResources[ subresource ].setCompletionWeight( completionWeight );
- } else {
- kdDebug(5650) << "setSubresourceCompletionWeight: subresource " << subresource << " not found" << endl;
- }
-}
-
-TQMap<TQString, TQString> KABC::ResourceScalix::uidToResourceMap() const
-{
- // TODO: Couldn't this be made simpler?
- TQMap<TQString, TQString> map;
- Scalix::UidMap::ConstIterator mapIt;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- map[ mapIt.key() ] = mapIt.data().resource();
- return map;
-}
-
-void KABC::ResourceScalix::setSubresourceActive( const TQString &subresource, bool active )
-{
- if ( mSubResources.contains( subresource ) ) {
- mSubResources[ subresource ].setActive( active );
- load();
- } else {
- kdDebug(5650) << "setSubresourceCompletionWeight: subresource " << subresource << " not found" << endl;
- }
-}
-
-#include "resourcescalix.moc"
diff --git a/kresources/scalix/kabc/resourcescalix.h b/kresources/scalix/kabc/resourcescalix.h
deleted file mode 100644
index dbb0b93c..00000000
--- a/kresources/scalix/kabc/resourcescalix.h
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KABC_RESOURCESCALIX_H
-#define KABC_RESOURCESCALIX_H
-
-#include <libtdepim/resourceabc.h>
-#include <dcopobject.h>
-#include "../shared/resourcescalixbase.h"
-#include "../shared/subresource.h"
-#include <kmail/kmailicalIface.h>
-#include <tdepimmacros.h>
-
-namespace KABC {
-
- class FormatPlugin;
-
-/**
- * This class implements a KAddressBook resource that keeps its
- * addresses in an Scalix folder in KMail (or other conforming email
- * clients).
- */
-class KDE_EXPORT ResourceScalix : public KPIM::ResourceABC,
- public Scalix::ResourceScalixBase
-{
- Q_OBJECT
-
-
-public:
- /**
- * Constructor
- */
- ResourceScalix( const TDEConfig* );
-
- /**
- * Destructor.
- */
- virtual ~ResourceScalix();
-
- /**
- * Open the contacts list
- */
- virtual bool doOpen();
-
- /**
- * Request a ticket, you have to pass through save() to
- * allow locking.
- */
- virtual Ticket *requestSaveTicket();
-
- /**
- Releases the ticket previousely requested with requestSaveTicket().
- The resource has to remove its locks in this function.
- */
- virtual void releaseSaveTicket( Ticket* );
-
- /**
- * Load all addressees to the addressbook
- */
- virtual bool load();
-
- /**
- * Save all addressees to the addressbook.
- *
- * @param ticket The ticket you get by requestSaveTicket()
- */
- virtual bool save( Ticket *ticket );
-
- /**
- Insert an addressee into the resource.
- */
- virtual void insertAddressee( const Addressee& );
-
- /**
- * Removes a addressee from resource. This method is mainly
- * used by record-based resources like LDAP or SQL.
- */
- virtual void removeAddressee( const Addressee& addr );
-
- // Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& id,
- const TQString& label, bool writable );
- void fromKMailDelSubresource( const TQString& type, const TQString& id );
-
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& contact );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& contact );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /// Return the list of subresources.
- TQStringList subresources() const;
-
- /// Is this subresource active?
- bool subresourceActive( const TQString& ) const;
- /// Is this subresource writabel?
- bool subresourceWritable( const TQString& ) const;
-
- virtual void setSubresourceActive( const TQString &, bool );
-
- /// Completion weight for a given subresource
- virtual int subresourceCompletionWeight( const TQString& ) const;
-
- /// Label for a given subresource
- virtual TQString subresourceLabel( const TQString& ) const;
-
- /// Set completion weight for a given subresource
- virtual void setSubresourceCompletionWeight( const TQString&, int );
-
- /// Give the uidmap. Used for ordered searching
- TQMap<TQString, TQString> uidToResourceMap() const;
-
-protected:
- bool kmailUpdateAddressee( const Addressee& );
-
- void doClose();
-
- void loadSubResourceConfig( TDEConfig& config, const TQString& name,
- const TQString& label, bool writable );
- bool loadSubResource( const TQString& subResource );
- bool loadSubResourceHelper( const TQString& subResource, const char* mimetype, KMailICalIface::StorageFormat format );
- TQString loadContact( const TQString& contactData, const TQString& subResource,
- TQ_UINT32 sernum, const KMailICalIface::StorageFormat format );
-
- TQString configFile() const {
- return Scalix::ResourceScalixBase::configFile( "kabc" );
- }
-
- // The list of subresources
- Scalix::ResourceMap mSubResources;
- TQString mCachedSubresource;
- bool mLocked;
-};
-
-}
-
-#endif // KABC_RESOURCESCALIX_H
diff --git a/kresources/scalix/kabc/resourcescalix_plugin.cpp b/kresources/scalix/kabc/resourcescalix_plugin.cpp
deleted file mode 100644
index bbf7a436..00000000
--- a/kresources/scalix/kabc/resourcescalix_plugin.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-using namespace Scalix;
-
-class ScalixFactory : public KRES::PluginFactoryBase
-{
- public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KABC::ResourceScalix( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kabc_scalix,ScalixFactory)
-
diff --git a/kresources/scalix/kabc/scalix.desktop b/kresources/scalix/kabc/scalix.desktop
deleted file mode 100644
index 3f483dff..00000000
--- a/kresources/scalix/kabc/scalix.desktop
+++ /dev/null
@@ -1,30 +0,0 @@
-[Desktop Entry]
-Name=Addressbook on Scalix Server via KMail
-Name[bg]=Адресник на сървъра Scalix през KMail
-Name[ca]=Llibreta d'adreces en un servidor Scalix mitjançant el KMail
-Name[da]=Adressebog på Scalix-server via KMail
-Name[de]=Adressbuch auf einem Scalix-Server via KMail
-Name[el]=Βιβλίο διευθύνσεων σε εξυπηρετητή Scalix μέσω του KMail
-Name[es]=Libreta de direcciones en servidor Scalix por medio de KMail
-Name[et]=Aadressiraamat Scalix-serveris (KMaili vahendusel)
-Name[fr]=Carnet d'adresses sur serveur Scalix via KMail
-Name[is]=Vistfangaskrá á Scalix-þjóni gegnum KMail
-Name[it]=Rubrica indirizzi su server Scalix via KMail
-Name[ja]=KMail 経由 Scalix サーバのアドレス帳
-Name[km]=សៀវភៅ​អាសយដ្ឋាន​នៅ​លើ​ម៉ាស៊ីន​បម្រើ Scalix តាម​រយៈ KMail
-Name[nds]=Adressbook op Scalix-Server över KMail
-Name[nl]=Adresboek op Scalix-server via KMail
-Name[pl]=Książka adresowa na serwerze Scalix za pośrednictwem KMaila
-Name[ru]=Адресная книга на сервере Scalix через KMail
-Name[sk]=Adresár na Scalix serveri pomocou KMail
-Name[sr]=Адресар на Scalix серверу преко KMail-а
-Name[sr@Latn]=Adresar na Scalix serveru preko KMail-a
-Name[sv]=Adressbok på Scalix-server via Kmail
-Name[tr]=KMail Aracılığı ile Scalix Sunucusunda Adres Defteri
-Name[zh_CN]=通过 KMail 访问 Scalix 服务器上的地址簿
-Name[zh_TW]=透過 KMail 取得 Scalix 伺服器上的通訊錄
-X-TDE-Library=kabc_scalix
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=scalix
diff --git a/kresources/scalix/kcal/CMakeLists.txt b/kresources/scalix/kcal/CMakeLists.txt
deleted file mode 100644
index 40d56921..00000000
--- a/kresources/scalix/kcal/CMakeLists.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES scalix.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-install(
- FILES ../uninstall.desktop
- RENAME imap.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-
-
-##### kcal_scalix (module) ######################
-
-tde_add_kpart( kcal_scalix AUTOMOC
- SOURCES resourcescalix_plugin.cpp
- LINK kcalscalix-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kcalscalix (shared) #######################
-
-tde_add_library( kcalscalix SHARED AUTOMOC
- SOURCES resourcescalix.cpp
- VERSION 0.0.0
- LINK resourcescalixshared-static kgroupwarebase-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/scalix/kcal/Makefile.am b/kresources/scalix/kcal/Makefile.am
deleted file mode 100644
index c124e48d..00000000
--- a/kresources/scalix/kcal/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/scalix/shared -I$(top_srcdir) \
- -I$(top_builddir)/libtdepim $(all_includes)
-
-# The scalix wizard links to this library too
-lib_LTLIBRARIES = libkcalscalix.la
-
-libkcalscalix_la_SOURCES = resourcescalix.cpp
-libkcalscalix_la_LDFLAGS = $(all_libraries) -no-undefined
-libkcalscalix_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/kresources/scalix/shared/libresourcescalixshared.la \
- -lkresources
-
-kde_module_LTLIBRARIES = kcal_scalix.la
-
-kcal_scalix_la_SOURCES = resourcescalix_plugin.cpp
-kcal_scalix_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-kcal_scalix_la_LIBADD = libkcalscalix.la
-
-servicedir = $(kde_servicesdir)/kresources/kcal
-service_DATA = scalix.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop
-
diff --git a/kresources/scalix/kcal/resourcescalix.cpp b/kresources/scalix/kcal/resourcescalix.cpp
deleted file mode 100644
index a757c81f..00000000
--- a/kresources/scalix/kcal/resourcescalix.cpp
+++ /dev/null
@@ -1,903 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- 2004 Till Adam <till@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-#include <kio/observer.h>
-#include <kio/uiserver_stub.h>
-#include <kapplication.h>
-#include <dcopclient.h>
-#include <libkcal/icalformat.h>
-#include <libtdepim/kincidencechooser.h>
-#include <kabc/locknull.h>
-#include <kmainwindow.h>
-#include <klocale.h>
-
-#include <tqobject.h>
-#include <tqtimer.h>
-#include <tqapplication.h>
-
-#include <assert.h>
-
-using namespace KCal;
-using namespace Scalix;
-
-static const char* kmailCalendarContentsType = "Calendar";
-static const char* kmailTodoContentsType = "Task";
-static const char* kmailJournalContentsType = "Journal";
-static const char* eventAttachmentMimeType = "application/x-vnd.kolab.event";
-static const char* todoAttachmentMimeType = "application/x-vnd.kolab.task";
-static const char* journalAttachmentMimeType = "application/x-vnd.kolab.journal";
-static const char* incidenceInlineMimeType = "text/calendar";
-
-
-ResourceScalix::ResourceScalix( const TDEConfig *config )
- : ResourceCalendar( config ), ResourceScalixBase( "ResourceScalix-libkcal" ),
- mCalendar( TQString::fromLatin1("UTC") ), mOpen( false )
-{
- setType( "scalix" );
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
-}
-
-ResourceScalix::~ResourceScalix()
-{
- // The resource is deleted on exit (StdAddressBook's KStaticDeleter),
- // and it wasn't closed before that, so close here to save the config.
- if ( mOpen ) {
- close();
- }
-}
-
-void ResourceScalix::loadSubResourceConfig( TDEConfig& config,
- const TQString& name,
- const TQString& label,
- bool writable,
- ResourceMap& subResource )
-{
- TDEConfigGroup group( &config, name );
- bool active = group.readBoolEntry( "Active", true );
- subResource.insert( name, Scalix::SubResource( active, writable, label ) );
-}
-
-bool ResourceScalix::openResource( TDEConfig& config, const char* contentType,
- ResourceMap& map )
-{
- // Read the subresource entries from KMail
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, contentType ) )
- return false;
- map.clear();
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- for ( it = subResources.begin(); it != subResources.end(); ++it )
- loadSubResourceConfig( config, (*it).location, (*it).label, (*it).writable, map );
- return true;
-}
-
-bool ResourceScalix::doOpen()
-{
- if ( mOpen )
- // Already open
- return true;
- mOpen = true;
-
- TDEConfig config( configFile() );
- config.setGroup( "General" );
- mProgressDialogIncidenceLimit = config.readNumEntry("ProgressDialogIncidenceLimit", 200);
-
- return openResource( config, kmailCalendarContentsType, mEventSubResources )
- && openResource( config, kmailTodoContentsType, mTodoSubResources )
- && openResource( config, kmailJournalContentsType, mJournalSubResources );
-}
-
-static void closeResource( TDEConfig& config, ResourceMap& map )
-{
- ResourceMap::ConstIterator it;
- for ( it = map.begin(); it != map.end(); ++it ) {
- config.setGroup( it.key() );
- config.writeEntry( "Active", it.data().active() );
- }
-}
-
-void ResourceScalix::doClose()
-{
- if ( !mOpen )
- // Not open
- return;
- mOpen = false;
-
- TDEConfig config( configFile() );
- closeResource( config, mEventSubResources );
- closeResource( config, mTodoSubResources );
- closeResource( config, mJournalSubResources );
-}
-
-bool ResourceScalix::loadSubResource( const TQString& subResource,
- const char* mimetype )
-{
- int count = 0;
- if ( !kmailIncidencesCount( count, mimetype, subResource ) ) {
- kdError(5650) << "Communication problem in ResourceScalix::load()\n";
- return false;
- }
-
- if ( !count )
- return true;
-
- const int nbMessages = 200; // read 200 mails at a time (see kabc resource)
-
- const TQString labelTxt = !strcmp(mimetype, "application/x-vnd.kolab.task") ? i18n( "Loading tasks..." )
- : !strcmp(mimetype, "application/x-vnd.kolab.journal") ? i18n( "Loading journals..." )
- : i18n( "Loading events..." );
- const bool useProgress = tqApp && tqApp->type() != TQApplication::Tty && count > mProgressDialogIncidenceLimit;
- if ( useProgress )
- (void)::Observer::self(); // ensure kio_uiserver is running
- UIServer_stub uiserver( "kio_uiserver", "UIServer" );
- int progressId = 0;
- if ( useProgress ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
- uiserver.totalFiles( progressId, count );
- uiserver.infoMessage( progressId, labelTxt );
- uiserver.transferring( progressId, labelTxt );
- }
-
- for ( int startIndex = 0; startIndex < count; startIndex += nbMessages ) {
- TQMap<TQ_UINT32, TQString> lst;
- if ( !kmailIncidences( lst, mimetype, subResource, startIndex, nbMessages ) ) {
- kdError(5650) << "Communication problem in ResourceScalix::load()\n";
- if ( progressId )
- uiserver.jobFinished( progressId );
- return false;
- }
-
- { // for RAII scoping below
- TemporarySilencer t( this );
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
- addIncidence( mimetype, it.data(), subResource, it.key() );
- }
- }
- if ( progressId ) {
- uiserver.processedFiles( progressId, startIndex );
- uiserver.percent( progressId, 100 * startIndex / count );
- }
- }
-
- if ( progressId )
- uiserver.jobFinished( progressId );
- return true;
-}
-
-bool ResourceScalix::doLoad()
-{
- mUidMap.clear();
-
- return loadAllEvents() & loadAllTodos() & loadAllJournals();
-}
-
-bool ResourceScalix::doLoadAll( ResourceMap& map, const char* mimetype )
-{
- bool rc = true;
- for ( ResourceMap::ConstIterator it = map.begin(); it != map.end(); ++it ) {
- if ( !it.data().active() )
- // This resource is disabled
- continue;
-
- rc &= loadSubResource( it.key(), mimetype );
- }
- return rc;
-}
-
-bool ResourceScalix::loadAllEvents()
-{
- removeIncidences( "Event" );
- mCalendar.deleteAllEvents();
- return doLoadAll( mEventSubResources, incidenceInlineMimeType );
-}
-
-bool ResourceScalix::loadAllTodos()
-{
- removeIncidences( "Todo" );
- mCalendar.deleteAllTodos();
- return doLoadAll( mTodoSubResources, incidenceInlineMimeType );
-}
-
-bool ResourceScalix::loadAllJournals()
-{
- removeIncidences( "Journal" );
- mCalendar.deleteAllJournals();
- return doLoadAll( mJournalSubResources, incidenceInlineMimeType );
-}
-
-void ResourceScalix::removeIncidences( const TQCString& incidenceType )
-{
- Scalix::UidMap::Iterator mapIt = mUidMap.begin();
- while ( mapIt != mUidMap.end() )
- {
- Scalix::UidMap::Iterator it = mapIt++;
- // Check the type of this uid: event, todo or journal.
- // Need to look up in mCalendar for that. Given the implementation of incidence(uid),
- // better call event(uid), todo(uid) etc. directly.
-
- // A faster but hackish way would probably be to check the type of the resource,
- // like mEventSubResources.find( it.data().resource() ) != mEventSubResources.end() ?
- const TQString& uid = it.key();
- if ( incidenceType == "Event" && mCalendar.event( uid ) )
- mUidMap.remove( it );
- else if ( incidenceType == "Todo" && mCalendar.todo( uid ) )
- mUidMap.remove( it );
- else if ( incidenceType == "Journal" && mCalendar.journal( uid ) )
- mUidMap.remove( it );
- }
-}
-
-bool ResourceScalix::doSave()
-{
- return true;
-}
-
-void ResourceScalix::incidenceUpdated( KCal::IncidenceBase* incidencebase )
-{
- if ( incidencebase->isReadOnly() ) return; // Should not happen (TM)
- incidencebase->setSyncStatus( KCal::Event::SYNCMOD );
- incidencebase->setLastModified( TQDateTime::currentDateTime() );
- // we should probably update the revision number here,
- // or internally in the Event itself when certain things change.
- // need to verify with ical documentation.
-
- const TQString uid = incidencebase->uid();
-
- if ( mUidsPendingUpdate.contains( uid ) || mUidsPendingAdding.contains( uid ) ) {
- /* We are currently processing this event ( removing and readding or
- * adding it ). If so, ignore this update. Keep the last of these around
- * and process once we hear back from KMail on this event. */
- mPendingUpdates.replace( uid, incidencebase );
- return;
- }
-
- TQString subResource;
- TQ_UINT32 sernum = 0;
- if ( mUidMap.contains( uid ) ) {
- subResource = mUidMap[ uid ].resource();
- sernum = mUidMap[ uid ].serialNumber();
- mUidsPendingUpdate.append( uid );
- }
- sendKMailUpdate( incidencebase, subResource, sernum );
-}
-
-void ResourceScalix::resolveConflict( KCal::Incidence* inc, const TQString& subresource, TQ_UINT32 sernum )
-{
- if ( ! inc )
- return;
- if ( ! mResolveConflict ) {
- // we should do no conflict resolution
- delete inc;
- return;
- }
- Incidence* local = mCalendar.incidence( inc->uid() );
- Incidence* localIncidence = 0;
- Incidence* addedIncidence = 0;
- if ( local ) {
- KIncidenceChooser* ch = new KIncidenceChooser();
- ch->setIncidence( local ,inc );
- if ( KIncidenceChooser::chooseMode == KIncidenceChooser::ask ) {
- connect ( this, TQT_SIGNAL( useGlobalMode() ), ch, TQT_SLOT ( useGlobalMode() ) );
- if ( ch->exec() )
- if ( KIncidenceChooser::chooseMode != KIncidenceChooser::ask )
- emit useGlobalMode() ;
- }
- Incidence* result = ch->getIncidence();
- delete ch;
- if ( result == local ) {
- localIncidence = local->clone();
- delete inc;
- } else if ( result == inc ) {
- addedIncidence = inc;
- } else if ( result == 0 ) { // take both
- localIncidence = local->clone();
- localIncidence->recreate();
- localIncidence->setSummary( i18n("Copy of: %1").arg(localIncidence->summary()) );
- addedIncidence = inc;
- }
- bool silent = mSilent;
- mSilent = false;
- deleteIncidence( local ); // remove local from kmail
- kmailDeleteIncidence( subresource, sernum );// remove new from kmail
- if ( localIncidence ) {
- addIncidence( localIncidence, subresource, 0 );
- mUidsPendingAdding.remove( localIncidence->uid() ); // we do want to inform KOrg also
- }
- if ( addedIncidence ) {
- addIncidence( addedIncidence, subresource, 0 );
- mUidsPendingAdding.remove( addedIncidence->uid() ); // we do want to inform KOrg also
- }
- mSilent = silent;
- }
-}
-void ResourceScalix::addIncidence( const char* mimetype, const TQString& data,
- const TQString& subResource, TQ_UINT32 sernum )
-{
- // This uses pointer comparison, so it only works if we use the static
- // objects defined in the top of the file
- Incidence *inc = mFormat.fromString( data );
- addIncidence( inc, subResource, sernum );
-}
-
-
-bool ResourceScalix::sendKMailUpdate( KCal::IncidenceBase* incidencebase, const TQString& subresource,
- TQ_UINT32 sernum )
-{
- const TQString& type = incidencebase->type();
- const char* mimetype = 0;
- TQString data;
- if ( type == "Event" ) {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Event *>(incidencebase),
- Scheduler::Publish );
- } else if ( type == "Todo" ) {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Todo *>(incidencebase),
- Scheduler::Publish );
- } else if ( type == "Journal" ) {
- mimetype = incidenceInlineMimeType;
- data = mFormat.createScheduleMessage( static_cast<KCal::Journal *>(incidencebase),
- Scheduler::Publish );
- } else {
- kdWarning(5006) << "Can't happen: unhandled type=" << type << endl;
- }
-
-// kdDebug() << k_funcinfo << "Data string:\n" << data << endl;
-
- KCal::Incidence* incidence = static_cast<KCal::Incidence *>( incidencebase );
- CustomHeaderMap customHeaders;
-
- if ( type == "Event" )
- customHeaders.insert( "X-Scalix-Class", "IPM.Appointment" );
- else if ( type == "Todo" )
- customHeaders.insert( "X-Scalix-Class", "IPM.Task" );
-
- TQString subject = incidence->summary();
-
- // behold, sernum is an in-parameter
- const bool rc = kmailUpdate( subresource, sernum, data, mimetype, subject, customHeaders );
- // update the serial number
- if ( mUidMap.contains( incidencebase->uid() ) ) {
- mUidMap[ incidencebase->uid() ].setSerialNumber( sernum );
- }
- return rc;
-}
-
-bool ResourceScalix::addIncidence( KCal::Incidence* incidence, const TQString& _subresource,
- TQ_UINT32 sernum )
-{
- Q_ASSERT( incidence );
- if ( !incidence ) return false;
- const TQString &uid = incidence->uid();
- TQString subResource = _subresource;
-
- Scalix::ResourceMap *map = &mEventSubResources; // don't use a ref here!
-
- const TQString& type = incidence->type();
- if ( type == "Event" )
- map = &mEventSubResources;
- else if ( type == "Todo" )
- map = &mTodoSubResources;
- else if ( type == "Journal" )
- map = &mJournalSubResources;
- else
- kdWarning() << "unknown type " << type << endl;
-
- if ( !mSilent ) { /* We got this one from the user, tell KMail. */
- // Find out if this event was previously stored in KMail
- bool newIncidence = _subresource.isEmpty();
- if ( newIncidence ) {
- subResource = findWritableResource( *map );
- }
-
- if ( subResource.isEmpty() )
- return false;
-
- mNewIncidencesMap.insert( uid, subResource );
-
- if ( !sendKMailUpdate( incidence, subResource, sernum ) ) {
- kdError(5650) << "Communication problem in ResourceScalix::addIncidence()\n";
- return false;
- } else {
- // KMail is doing it's best to add the event now, put a sticker on it,
- // so we know it's one of our transient ones
- mUidsPendingAdding.append( uid );
-
- /* Add to the cache immediately if this is a new event coming from
- * KOrganizer. It relies on the incidence being in the calendar when
- * addIncidence returns. */
- if ( newIncidence ) {
- mCalendar.addIncidence( incidence );
- incidence->registerObserver( this );
- }
- }
- } else { /* KMail told us */
- bool ourOwnUpdate = false;
- /* Check if we updated this one, which means kmail deleted and added it.
- * We know the new state, so lets just not do much at all. The old incidence
- * in the calendar remains valid, but the serial number changed, so we need to
- * update that */
- if ( ourOwnUpdate = mUidsPendingUpdate.contains( uid ) ) {
- mUidsPendingUpdate.remove( uid );
- mUidMap.remove( uid );
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- } else {
- /* This is a real add, from KMail, we didn't trigger this ourselves.
- * If this uid already exists in this folder, do conflict resolution,
- * unless the folder is read-only, in which case the user should not be
- * offered a means of putting mails in a folder she'll later be unable to
- * upload. Skip the incidence, in this case. */
- if ( mUidMap.contains( uid )
- && ( mUidMap[ uid ].resource() == subResource ) ) {
- if ( (*map)[ subResource ].writable() ) {
- resolveConflict( incidence, subResource, sernum );
- } else {
- kdWarning( 5650 ) << "Duplicate event in a read-only folder detected! "
- "Please inform the owner of the folder. " << endl;
- }
- return true;
- }
- /* Add to the cache if the add didn't come from KOrganizer, in which case
- * we've already added it, and listen to updates from KOrganizer for it. */
- if ( !mUidsPendingAdding.contains( uid ) ) {
- mCalendar.addIncidence( incidence );
- incidence->registerObserver( this );
- }
- if ( !subResource.isEmpty() && sernum != 0 ) {
- mUidMap[ uid ] = StorageReference( subResource, sernum );
- incidence->setReadOnly( !(*map)[ subResource ].writable() );
- }
- }
- /* Check if there are updates for this uid pending and if so process them. */
- if ( KCal::IncidenceBase *update = mPendingUpdates.find( uid ) ) {
- mSilent = false; // we do want to tell KMail
- mPendingUpdates.remove( uid );
- incidenceUpdated( update );
- } else {
- /* If the uid was added by KMail, KOrganizer needs to be told, so
- * schedule emitting of the resourceChanged signal. */
- if ( !mUidsPendingAdding.contains( uid ) ) {
- if ( !ourOwnUpdate ) mResourceChangedTimer.changeInterval( 100 );
- } else {
- mUidsPendingAdding.remove( uid );
- }
- }
-
- mNewIncidencesMap.remove( uid );
- }
- return true;
-}
-
-
-bool ResourceScalix::addEvent( KCal::Event* event )
-{
- if ( mUidMap.contains( event->uid() ) )
- return true; //noop
- else
- return addIncidence( event, TQString(), 0 );
-}
-
-bool ResourceScalix::addEvent( KCal::Event *event, const TQString &subresource )
-{
- Q_UNUSED( subresource ); // ResourceScalix does not support subresources
- return this->addEvent( event );
-}
-
-bool ResourceScalix::deleteIncidence( KCal::Incidence* incidence )
-{
- if ( incidence->isReadOnly() ) return false;
-
- const TQString uid = incidence->uid();
- if( !mUidMap.contains( uid ) ) return false; // Odd
- /* The user told us to delete, tell KMail */
- if ( !mSilent ) {
- kmailDeleteIncidence( mUidMap[ uid ].resource(),
- mUidMap[ uid ].serialNumber() );
- mUidsPendingDeletion.append( uid );
- incidence->unRegisterObserver( this );
- mCalendar.deleteIncidence( incidence );
- mUidMap.remove( uid );
- } else {
- assert( false ); // If this still happens, something is very wrong
- }
- return true;
-}
-
-bool ResourceScalix::deleteEvent( KCal::Event* event )
-{
- return deleteIncidence( event );
-}
-
-KCal::Event* ResourceScalix::event( const TQString& uid )
-{
- return mCalendar.event(uid);
-}
-
-KCal::Event::List ResourceScalix::rawEvents( EventSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawEvents( sortField, sortDirection );
-}
-
-KCal::Event::List ResourceScalix::rawEventsForDate( const TQDate& date,
- EventSortField sortField,
- SortDirection sortDirection )
-{
- return mCalendar.rawEventsForDate( date, sortField, sortDirection );
-}
-
-KCal::Event::List ResourceScalix::rawEventsForDate( const TQDateTime& qdt )
-{
- return mCalendar.rawEventsForDate( qdt );
-}
-
-KCal::Event::List ResourceScalix::rawEvents( const TQDate& start,
- const TQDate& end,
- bool inclusive )
-{
- return mCalendar.rawEvents( start, end, inclusive );
-}
-
-bool ResourceScalix::addTodo( KCal::Todo* todo )
-{
- if ( mUidMap.contains( todo->uid() ) )
- return true; //noop
- else
- return addIncidence( todo, TQString(), 0 );
-}
-
-bool ResourceScalix::addTodo( KCal::Todo *todo, const TQString &subresource )
-{
- Q_UNUSED( subresource ); // ResourceScalix does not support subresources
- return this->addTodo( todo );
-}
-
-bool ResourceScalix::deleteTodo( KCal::Todo* todo )
-{
- return deleteIncidence( todo );
-}
-
-KCal::Todo* ResourceScalix::todo( const TQString& uid )
-{
- return mCalendar.todo( uid );
-}
-
-KCal::Todo::List ResourceScalix::rawTodos( TodoSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawTodos( sortField, sortDirection );
-}
-
-KCal::Todo::List ResourceScalix::rawTodosForDate( const TQDate& date )
-{
- return mCalendar.rawTodosForDate( date );
-}
-
-bool ResourceScalix::addJournal( KCal::Journal* journal )
-{
- if ( mUidMap.contains( journal->uid() ) )
- return true; //noop
- else
- return addIncidence( journal, TQString(), 0 );
-}
-
-bool ResourceScalix::addJournal( KCal::Journal *journal, const TQString &subresource )
-{
- Q_UNUSED( subresource ); // ResourceScalix does not support subresources
- return this->addJournal( journal );
-}
-
-bool ResourceScalix::deleteJournal( KCal::Journal* journal )
-{
- return deleteIncidence( journal );
-}
-
-KCal::Journal* ResourceScalix::journal( const TQString& uid )
-{
- return mCalendar.journal(uid);
-}
-
-KCal::Journal::List ResourceScalix::rawJournals( JournalSortField sortField, SortDirection sortDirection )
-{
- return mCalendar.rawJournals( sortField, sortDirection );
-}
-
-KCal::Journal::List ResourceScalix::rawJournalsForDate( const TQDate &date )
-{
- return mCalendar.rawJournalsForDate( date );
-}
-
-KCal::Alarm::List ResourceScalix::alarms( const TQDateTime& from,
- const TQDateTime& to )
-{
- return mCalendar.alarms( from, to );
-}
-
-KCal::Alarm::List ResourceScalix::alarmsTo( const TQDateTime& to )
-{
- return mCalendar.alarmsTo(to);
-}
-
-void ResourceScalix::setTimeZoneId( const TQString& tzid )
-{
- mCalendar.setTimeZoneId( tzid );
- mFormat.setTimeZone( mCalendar.timeZoneId(), !mCalendar.isLocalTime() );
-}
-
-bool ResourceScalix::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int /*format*/,
- const TQString& data )
-{
- bool rc = true;
- TemporarySilencer t( this ); // RAII
- if ( type != kmailCalendarContentsType && type != kmailTodoContentsType
- && type != kmailJournalContentsType )
- // Not ours
- return false;
- if ( !subresourceActive( subResource ) ) return true;
-
- Incidence *inc = mFormat.fromString( data );
- if ( !inc )
- rc = false;
- else
- addIncidence( inc, subResource, sernum );
-
- return rc;
-}
-
-void ResourceScalix::fromKMailDelIncidence( const TQString& type,
- const TQString& subResource,
- const TQString& uid )
-{
- if ( type != kmailCalendarContentsType && type != kmailTodoContentsType
- && type != kmailJournalContentsType )
- // Not ours
- return;
- if ( !subresourceActive( subResource ) ) return;
-
- // Can't be in both, by contract
- if ( mUidsPendingDeletion.contains( uid ) ) {
- mUidsPendingDeletion.remove( uid );
- } else if ( mUidsPendingUpdate.contains( uid ) ) {
- // It's good to know if was deleted, but we are waiting on a new one to
- // replace it, so let's just sit tight.
- } else {
- // We didn't trigger this, so KMail did, remove the reference to the uid
- KCal::Incidence* incidence = mCalendar.incidence( uid );
- if( incidence ) {
- incidence->unRegisterObserver( this );
- mCalendar.deleteIncidence( incidence );
- }
- mUidMap.remove( uid );
- mResourceChangedTimer.changeInterval( 100 );
- }
-}
-
-void ResourceScalix::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- // TODO: Only load the specified subResource
- if ( type == "Calendar" )
- loadAllEvents();
- else if ( type == "Task" )
- loadAllTodos();
- else if ( type == "Journal" )
- loadAllJournals();
- else
- kdWarning(5006) << "KCal Scalix resource: fromKMailRefresh: unknown type " << type << endl;
- mResourceChangedTimer.changeInterval( 100 );
-}
-
-void ResourceScalix::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& label,
- bool writable )
-{
- ResourceMap* map = 0;
- const char* mimetype = 0;
- if ( type == kmailCalendarContentsType ) {
- map = &mEventSubResources;
- mimetype = eventAttachmentMimeType;
- } else if ( type == kmailTodoContentsType ) {
- map = &mTodoSubResources;
- mimetype = todoAttachmentMimeType;
- } else if ( type == kmailJournalContentsType ) {
- map = &mJournalSubResources;
- mimetype = journalAttachmentMimeType;
- } else
- // Not ours
- return;
-
- if ( map->contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( subResource );
-
- bool active = config.readBoolEntry( subResource, true );
- (*map)[ subResource ] = Scalix::SubResource( active, writable, label );
- loadSubResource( subResource, mimetype );
- emit signalSubresourceAdded( this, type, subResource, label );
-}
-
-void ResourceScalix::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- ResourceMap* map = subResourceMap( type );
- if ( !map ) // not ours
- return;
- if ( map->contains( subResource ) )
- map->erase( subResource );
- else
- // Not registered
- return;
-
- // Delete from the config file
- TDEConfig config( configFile() );
- config.deleteGroup( subResource );
- config.sync();
-
- // Make a list of all uids to remove
- Scalix::UidMap::ConstIterator mapIt;
- TQStringList uids;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- if ( mapIt.data().resource() == subResource )
- // We have a match
- uids << mapIt.key();
-
- // Finally delete all the incidences
- if ( !uids.isEmpty() ) {
- TemporarySilencer t( this );
- TQStringList::ConstIterator it;
- for ( it = uids.begin(); it != uids.end(); ++it ) {
- KCal::Incidence* incidence = mCalendar.incidence( *it );
- if( incidence )
- mCalendar.deleteIncidence( incidence );
- mUidMap.remove( *it );
- }
- }
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-TQStringList ResourceScalix::subresources() const
-{
- // Workaround: The ResourceView in KOrganizer wants to know this
- // before it opens the resource :-( Make sure we are open
- const_cast<ResourceScalix*>( this )->doOpen();
- return ( mEventSubResources.keys()
- + mTodoSubResources.keys()
- + mJournalSubResources.keys() );
-}
-
-const TQString
-ResourceScalix::labelForSubresource( const TQString& subresource ) const
-{
- if ( mEventSubResources.contains( subresource ) )
- return mEventSubResources[ subresource ].label();
- if ( mTodoSubResources.contains( subresource ) )
- return mTodoSubResources[ subresource ].label();
- if ( mJournalSubResources.contains( subresource ) )
- return mJournalSubResources[ subresource ].label();
- return subresource;
-}
-
-TQString ResourceScalix::subresourceIdentifier( Incidence *incidence )
-{
- TQString uid = incidence->uid();
- if ( mUidMap.contains( uid ) )
- return mUidMap[ uid ].resource();
- else
- if ( mNewIncidencesMap.contains( uid ) )
- return mNewIncidencesMap[ uid ];
- else
- return TQString();
-}
-
-void ResourceScalix::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- TemporarySilencer t( this );
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.begin(); it != map.end(); ++it )
- addIncidence( type.latin1(), it.data(), folder, it.key() );
-}
-
-bool ResourceScalix::subresourceActive( const TQString& subresource ) const
-{
- // Workaround: The ResourceView in KOrganizer wants to know this
- // before it opens the resource :-( Make sure we are open
- const_cast<ResourceScalix*>( this )->doOpen();
-
- if ( mEventSubResources.contains( subresource ) )
- return mEventSubResources[ subresource ].active();
- if ( mTodoSubResources.contains( subresource ) )
- return mTodoSubResources[ subresource ].active();
- if ( mJournalSubResources.contains( subresource ) )
- return mJournalSubResources[ subresource ].active();
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << subresource << " ): Safe bet\n";
-
- return true;
-}
-
-void ResourceScalix::setSubresourceActive( const TQString &subresource, bool v )
-{
- ResourceMap *map = 0;
-
- if ( mEventSubResources.contains( subresource ) )
- map = &mEventSubResources;
- if ( mTodoSubResources.contains( subresource ) )
- map = &mTodoSubResources;
- if ( mJournalSubResources.contains( subresource ) )
- map = &mJournalSubResources;
-
- if ( map && ( ( *map )[ subresource ].active() != v ) ) {
- ( *map )[ subresource ].setActive( v );
- doLoad(); // refresh the mCalendar cache
- mResourceChangedTimer.changeInterval( 100 );
- }
-}
-
-void ResourceScalix::slotEmitResourceChanged()
-{
- kdDebug(5650) << "KCal Scalix resource: emitting resource changed " << endl;
- mResourceChangedTimer.stop();
- emit resourceChanged( this );
-}
-
-KABC::Lock* ResourceScalix::lock()
-{
- return new KABC::LockNull( true );
-}
-
-
-Scalix::ResourceMap* ResourceScalix::subResourceMap( const TQString& contentsType )
-{
- if ( contentsType == kmailCalendarContentsType ) {
- return &mEventSubResources;
- } else if ( contentsType == kmailTodoContentsType ) {
- return &mTodoSubResources;
- } else if ( contentsType == kmailJournalContentsType ) {
- return &mJournalSubResources;
- }
- // Not ours
- return 0;
-}
-
-#include "resourcescalix.moc"
diff --git a/kresources/scalix/kcal/resourcescalix.h b/kresources/scalix/kcal/resourcescalix.h
deleted file mode 100644
index dcd78397..00000000
--- a/kresources/scalix/kcal/resourcescalix.h
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- 2004 Till Adam <till@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KCAL_RESOURCESCALIX_H
-#define KCAL_RESOURCESCALIX_H
-
-#include <tqtimer.h>
-
-#include <tdepimmacros.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcecalendar.h>
-#include "../shared/resourcescalixbase.h"
-
-namespace KCal {
-
-struct TemporarySilencer;
-
-class KDE_EXPORT ResourceScalix : public KCal::ResourceCalendar,
- public KCal::IncidenceBase::Observer,
- public Scalix::ResourceScalixBase
-{
- Q_OBJECT
-
- friend struct TemporarySilencer;
-
-public:
- ResourceScalix( const TDEConfig* );
- virtual ~ResourceScalix();
-
- /// Load resource data.
- bool doLoad();
-
- /// Save resource data.
- bool doSave();
-
- /// Open the notes resource.
- bool doOpen();
- /// Close the notes resource.
- void doClose();
-
- // The libkcal functions. See the resource for descriptions
- bool addEvent( KCal::Event* anEvent );
- bool addEvent( KCal::Event* anEvent, const TQString &subresource );
- bool deleteEvent( KCal::Event* );
- KCal::Event* event( const TQString &UniqueStr );
- KCal::Event::List rawEvents( EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Event::List rawEventsForDate(
- const TQDate& date,
- EventSortField sortField=EventSortUnsorted,
- SortDirection sortDirection=SortDirectionAscending );
- KCal::Event::List rawEventsForDate( const TQDateTime& qdt );
- KCal::Event::List rawEvents( const TQDate& start, const TQDate& end,
- bool inclusive = false );
-
- bool addTodo( KCal::Todo* todo );
- bool addTodo( KCal::Todo* todo, const TQString &subresource );
- bool deleteTodo( KCal::Todo* );
- KCal::Todo* todo( const TQString& uid );
- KCal::Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Todo::List rawTodosForDate( const TQDate& date );
-
- bool addJournal( KCal::Journal* );
- bool addJournal( KCal::Journal* journal, const TQString &subresource );
- bool deleteJournal( KCal::Journal* );
- KCal::Journal* journal( const TQString& uid );
- KCal::Journal::List rawJournals( JournalSortField sortField = JournalSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
- KCal::Journal::List rawJournalsForDate( const TQDate &date );
-
- KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
- KCal::Alarm::List alarmsTo( const TQDateTime& to );
-
- void setTimeZoneId( const TQString& tzid );
-
- bool deleteIncidence( KCal::Incidence* i );
-
- /// The ResourceScalixBase methods called by KMail
- bool fromKMailAddIncidence( const TQString& type, const TQString& subResource,
- TQ_UINT32 sernum, int format, const TQString& data );
- void fromKMailDelIncidence( const TQString& type, const TQString& subResource,
- const TQString& uid );
- void fromKMailRefresh( const TQString& type, const TQString& subResource );
-
- /// Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& subResource,
- const TQString& label, bool writable );
- void fromKMailDelSubresource( const TQString& type, const TQString& subResource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /** Return the list of subresources. */
- TQStringList subresources() const;
-
- /** Is this subresource active? */
- bool subresourceActive( const TQString& ) const;
- /** (De)activate the subresource */
- virtual void setSubresourceActive( const TQString &, bool );
-
- /** What is the label for this subresource? */
- virtual const TQString labelForSubresource( const TQString& resource ) const;
-
- virtual TQString subresourceIdentifier( Incidence *incidence );
-
- KABC::Lock* lock();
-
-signals:
- void useGlobalMode();
-protected slots:
- void slotEmitResourceChanged();
-
-private:
- void removeIncidences( const TQCString& incidenceType );
- void resolveConflict( KCal::Incidence*, const TQString& subresource, TQ_UINT32 sernum );
-
- void addIncidence( const char* mimetype, const TQString& xml,
- const TQString& subResource, TQ_UINT32 sernum );
-
- bool addIncidence( KCal::Incidence* i, const TQString& subresource,
- TQ_UINT32 sernum );
-/*
- void addEvent( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
- void addTodo( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
- void addJournal( const TQString& xml, const TQString& subresource,
- TQ_UINT32 sernum );
-*/
-
- bool loadAllEvents();
- bool loadAllTodos();
- bool loadAllJournals();
-
- bool doLoadAll( Scalix::ResourceMap& map, const char* mimetype );
-
- /// Reimplemented from IncidenceBase::Observer to know when an incidence was changed
- void incidenceUpdated( KCal::IncidenceBase* );
-
- bool openResource( TDEConfig& config, const char* contentType,
- Scalix::ResourceMap& map );
- void loadSubResourceConfig( TDEConfig& config, const TQString& name,
- const TQString& label, bool writable,
- Scalix::ResourceMap& subResource );
- bool loadSubResource( const TQString& subResource, const char* mimetype );
-
- TQString configFile() const {
- return ResourceScalixBase::configFile( "kcal" );
- }
-
- Scalix::ResourceMap* subResourceMap( const TQString& contentsType );
-
- bool sendKMailUpdate( KCal::IncidenceBase* incidence, const TQString& _subresource,
- TQ_UINT32 sernum );
-
-
- KCal::CalendarLocal mCalendar;
-
- // The list of subresources
- Scalix::ResourceMap mEventSubResources, mTodoSubResources, mJournalSubResources;
-
- bool mOpen; // If the resource is open, this is true
- TQDict<KCal::IncidenceBase> mPendingUpdates;
- TQTimer mResourceChangedTimer;
- ICalFormat mFormat;
-
- /**
- This map contains the association between a new added incidence
- and the subresource it belongs to.
- That's needed to return the correct mapping in subresourceIdentifier().
-
- We can't trust on mUidMap here, because it contains only non-pending uids.
- */
- TQMap<TQString, TQString> mNewIncidencesMap;
- int mProgressDialogIncidenceLimit;
-};
-
-struct TemporarySilencer {
- TemporarySilencer( ResourceScalix *_resource )
- {
- resource = _resource;
- oldValue = resource->mSilent;
- resource->mSilent = true;
- }
- ~TemporarySilencer()
- {
- resource->mSilent = oldValue;
- }
- ResourceScalix *resource;
- bool oldValue;
-};
-
-}
-
-#endif // KCAL_RESOURCESCALIX_H
diff --git a/kresources/scalix/kcal/resourcescalix_plugin.cpp b/kresources/scalix/kcal/resourcescalix_plugin.cpp
deleted file mode 100644
index 036c2f45..00000000
--- a/kresources/scalix/kcal/resourcescalix_plugin.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-class ScalixFactory : public KRES::PluginFactoryBase
-{
-public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new KCal::ResourceScalix( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY(kcal_scalix,ScalixFactory)
diff --git a/kresources/scalix/kcal/scalix.desktop b/kresources/scalix/kcal/scalix.desktop
deleted file mode 100644
index 06c5c818..00000000
--- a/kresources/scalix/kcal/scalix.desktop
+++ /dev/null
@@ -1,31 +0,0 @@
-[Desktop Entry]
-Name=Calendar on Scalix Server via KMail
-Name[bg]=Календар на сървъра Scalix през KMail
-Name[ca]=Calendari en un servidor Scalix mitjançant el KMail
-Name[da]=Kalender på Scalix-server via KMail
-Name[de]=Kalender auf einem Scalix-Server via KMail
-Name[el]=Ημερολόγιο σε εξυπηρετητή Scalix μέσω του KMail
-Name[es]=Calendario en servidor Scalix por medio de KMail
-Name[et]=Kalender Scalix-serveris (KMaili vahendusel)
-Name[fr]=Agenda sur serveur Scalix via KMail
-Name[is]=Dagatal á Scalix-þjóni gegnum KMail
-Name[it]=Calendario su server Scalix via KMail
-Name[ja]=KMail 経由 Scalix サーバのカレンダー
-Name[km]=ប្រតិទិន​នៅ​លើ​ម៉ាស៊ីន​បម្រើ Scalix តាម​រយៈ KMail
-Name[nds]=Kalenner op Scalix-Server över KMail
-Name[nl]=Agenda op Scalix-server via KMail
-Name[pl]=Kalendarz na serwerze Scalix za pośrednictwem KMaila
-Name[pt_BR]=Calendário em Servidor Scalix via KMail
-Name[ru]=Календарь на сервере Scalix через KMail
-Name[sk]=Kalendár na Scalix serveri pomocou KMail
-Name[sr]=Календар на Scalix серверу преко KMail-а
-Name[sr@Latn]=Kalendar na Scalix serveru preko KMail-a
-Name[sv]=Kalender på Scalix-server via Kmail
-Name[tr]=KMail Aracılığı ile Scalix Sunucusunda Takvim
-Name[zh_CN]=通过 KMail 访问 Scalix 服务器上的日历
-Name[zh_TW]=透過 KMail 取得 Scalix 伺服器上的行事曆
-X-TDE-Library=kcal_scalix
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=scalix
diff --git a/kresources/scalix/kioslave/CMakeLists.txt b/kresources/scalix/kioslave/CMakeLists.txt
deleted file mode 100644
index 7ba76f67..00000000
--- a/kresources/scalix/kioslave/CMakeLists.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install(
- FILES scalix.protocol scalixs.protocol
- DESTINATION ${SERVICES_INSTALL_DIR} )
-
-
-##### kio_scalix (module) #######################
-
-tde_add_kpart( kio_scalix AUTOMOC
- SOURCES scalix.cpp
- LINK tdepim-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kresources/scalix/kioslave/Makefile.am b/kresources/scalix/kioslave/Makefile.am
deleted file mode 100644
index 5607fb9d..00000000
--- a/kresources/scalix/kioslave/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_builddir)/libtdepim $(all_includes)
-
-noinst_HEADERS = scalix.h
-
-METASOURCES = AUTO
-
-kdelnkdir = $(kde_servicesdir)
-kdelnk_DATA = scalix.protocol scalixs.protocol
-
-kde_module_LTLIBRARIES = kio_scalix.la
-
-kio_scalix_la_SOURCES = scalix.cpp
-kio_scalix_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la $(LIB_KIO)
-kio_scalix_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kio_scalix.pot
diff --git a/kresources/scalix/kioslave/scalix.cpp b/kresources/scalix/kioslave/scalix.cpp
deleted file mode 100644
index 1b4cc7b8..00000000
--- a/kresources/scalix/kioslave/scalix.cpp
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (C) 2007 Trolltech ASA. All rights reserved.
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-#include <tqeventloop.h>
-
-#include <kapplication.h>
-#include <kcmdlineargs.h>
-#include <kdebug.h>
-#include <tdeversion.h>
-#include <kio/global.h>
-#include <klocale.h>
-
-#include <tdepimmacros.h>
-
-#include <stdlib.h>
-
-#include "scalix.h"
-
-extern "C" {
- KDE_EXPORT int kdemain( int argc, char **argv );
-}
-
-static const KCmdLineOptions options[] =
-{
- { "+protocol", I18N_NOOP( "Protocol name" ), 0 },
- { "+pool", I18N_NOOP( "Socket name" ), 0 },
- { "+app", I18N_NOOP( "Socket name" ), 0 },
- KCmdLineLastOption
-};
-
-int kdemain( int argc, char **argv )
-{
- putenv( strdup( "SESSION_MANAGER=" ) );
- TDEApplication::disableAutoDcopRegistration();
-
- TDECmdLineArgs::init( argc, argv, "kio_scalix", 0, 0, 0, 0 );
- TDECmdLineArgs::addCmdLineOptions( options );
- TDEApplication app( false, false );
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
- Scalix slave( args->arg( 0 ), args->arg( 1 ), args->arg( 2 ) );
- slave.dispatchLoop();
-
- return 0;
-}
-
-Scalix::Scalix( const TQCString &protocol, const TQCString &pool, const TQCString &app )
- : SlaveBase( protocol, pool, app )
-{
-}
-
-void Scalix::get( const KURL &url )
-{
- mimeType( "text/plain" );
-
- TQString path = url.path();
-
- if ( path.contains( "/freebusy/" ) ) {
- retrieveFreeBusy( url );
- } else {
- error( TDEIO::ERR_SLAVE_DEFINED, i18n( "Unknown path. Known path is '/freebusy/'" ) );
- }
-}
-
-void Scalix::put( const KURL& url, int, bool, bool )
-{
- TQString path = url.path();
-
- if ( path.contains( "/freebusy/" ) ) {
- publishFreeBusy( url );
- } else {
- error( TDEIO::ERR_SLAVE_DEFINED, i18n( "Unknown path. Known path is '/freebusy/'" ) );
- }
-}
-
-void Scalix::retrieveFreeBusy( const KURL &url )
-{
- /**
- * The url is of the following form:
- * scalix://user:password@host/freebusy/user@domain.ifb
- */
-
- // Extract user@domain (e.g. everything between '/freebusy/' and '.ifb')
- const TQString requestUser = url.path().mid( 10, url.path().length() - 14 );
-
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
-
- const TQString argument = TQString( "BEGIN:VFREEBUSY\nATTENDEE:MAILTO:%1\nEND:VFREEBUSY" ).arg( requestUser );
- const TQString command = TQString( "X-GET-ICAL-FREEBUSY {%1}" ).arg( argument.length() );
-
- stream << (int) 'X' << 'E' << command << argument;
-
- TQString imapUrl = TQString( "imap://%1@%3/" ).arg( url.pass().isEmpty() ?
- url.user() : url.user() + ":" + url.pass() )
- .arg( url.host() );
-
- mFreeBusyData = TQString();
-
- TDEIO::SimpleJob *job = TDEIO::special( imapUrl, packedArgs, false );
- connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
- this, TQT_SLOT( slotRetrieveResult( TDEIO::Job* ) ) );
-
- tqApp->eventLoop()->enterLoop();
-}
-
-void Scalix::publishFreeBusy( const KURL &url )
-{
- /**
- * The url is of the following form:
- * scalix://user:password@host/freebusy/path/to/calendar/user@domain
- */
- TQString requestUser, calendar;
- TQString path = url.path();
-
- // extract user name
- int lastSlash = path.findRev( '/' );
- if ( lastSlash != -1 )
- requestUser = path.mid( lastSlash + 1 );
-
- // extract calendar name
- int secondSlash = path.find( '/', 1 );
- if ( secondSlash != -1 )
- calendar = path.mid( secondSlash + 1, lastSlash - secondSlash - 1 );
-
- if ( requestUser.isEmpty() || calendar.isEmpty() ) {
- error( TDEIO::ERR_SLAVE_DEFINED, i18n( "No user or calendar given!" ) );
- return;
- };
-
- // read freebusy information
- TQByteArray data;
- while ( true ) {
- dataReq();
-
- TQByteArray buffer;
- const int newSize = readData(buffer);
- if ( newSize < 0 ) {
- // read error: network in unknown state so disconnect
- error( TDEIO::ERR_COULD_NOT_READ, i18n("KIO data supply error.") );
- return;
- }
-
- if ( newSize == 0 )
- break;
-
- unsigned int oldSize = data.size();
- data.resize( oldSize + buffer.size() );
- memcpy( data.data() + oldSize, buffer.data(), buffer.size() );
- }
-
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
-
- const TQString argument = TQString::fromUtf8( data );
- const TQString command = TQString( "X-PUT-ICAL-FREEBUSY Calendar {%1}" ).arg( argument.length() );
-
- stream << (int) 'X' << 'E' << command << argument;
-
- TQString imapUrl = TQString( "imap://%1@%3/" ).arg( url.pass().isEmpty() ?
- url.user() : url.user() + ":" + url.pass() )
- .arg( url.host() );
-
- TDEIO::SimpleJob *job = TDEIO::special( imapUrl, packedArgs, false );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
- this, TQT_SLOT( slotPublishResult( TDEIO::Job* ) ) );
-
- tqApp->eventLoop()->enterLoop();
-}
-
-void Scalix::slotInfoMessage( TDEIO::Job *job, const TQString &data )
-{
- if ( job->error() ) {
- // error is handled in slotResult
- return;
- }
-
- mFreeBusyData = data;
-}
-
-
-void Scalix::slotRetrieveResult( TDEIO::Job *job )
-{
- if ( job->error() ) {
- error( TDEIO::ERR_SLAVE_DEFINED, job->errorString() );
- } else {
- data( mFreeBusyData.utf8() );
- finished();
- }
-
- tqApp->eventLoop()->exitLoop();
-}
-
-void Scalix::slotPublishResult( TDEIO::Job *job )
-{
- if ( job->error() ) {
- error( TDEIO::ERR_SLAVE_DEFINED, job->errorString() );
- } else {
- finished();
- }
-
- tqApp->eventLoop()->exitLoop();
-}
-
-#include "scalix.moc"
diff --git a/kresources/scalix/kioslave/scalix.h b/kresources/scalix/kioslave/scalix.h
deleted file mode 100644
index dc034b7b..00000000
--- a/kresources/scalix/kioslave/scalix.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (C) 2007 Trolltech ASA. All rights reserved.
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SCALIX_H
-#define SCALIX_H
-
-#include <kio/job.h>
-#include <kio/slavebase.h>
-
-#include <tqobject.h>
-
-class Scalix : public TQObject, public TDEIO::SlaveBase
-{
- Q_OBJECT
-
-
- public:
- Scalix( const TQCString &protocol, const TQCString &pool, const TQCString &app );
-
- void get( const KURL &url );
- void put( const KURL &url, int permissions, bool overwrite, bool resume );
-
- private slots:
- void slotRetrieveResult( TDEIO::Job* );
- void slotPublishResult( TDEIO::Job* );
- void slotInfoMessage( TDEIO::Job*, const TQString& );
-
- private:
- void retrieveFreeBusy( const KURL& );
- void publishFreeBusy( const KURL& );
-
- TQString mFreeBusyData;
-};
-
-#endif
diff --git a/kresources/scalix/kioslave/scalix.protocol b/kresources/scalix/kioslave/scalix.protocol
deleted file mode 100644
index a527d77d..00000000
--- a/kresources/scalix/kioslave/scalix.protocol
+++ /dev/null
@@ -1,8 +0,0 @@
-[Protocol]
-DocPath=kioslave/scalix.html
-exec=kio_scalix
-input=none
-output=filesystem
-protocol=scalix
-reading=true
-writing=true
diff --git a/kresources/scalix/kioslave/scalixs.protocol b/kresources/scalix/kioslave/scalixs.protocol
deleted file mode 100644
index fd13db6a..00000000
--- a/kresources/scalix/kioslave/scalixs.protocol
+++ /dev/null
@@ -1,8 +0,0 @@
-[Protocol]
-DocPath=kioslave/scalix.html
-exec=kio_scalix
-input=none
-output=filesystem
-protocol=scalixs
-reading=true
-writing=true
diff --git a/kresources/scalix/knotes/CMakeLists.txt b/kresources/scalix/knotes/CMakeLists.txt
deleted file mode 100644
index 516690e0..00000000
--- a/kresources/scalix/knotes/CMakeLists.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/knotes
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-# FIXME this is a conflict
-
-install(
- FILES scalix.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes )
-
-install(
- FILES ../uninstall.desktop
- RENAME scalix.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes )
-
-
-##### knotes_scalix (module) ####################
-
-tde_add_kpart( knotes_scalix AUTOMOC
- SOURCES resourcescalix_plugin.cpp
- LINK knotesscalix-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### knotesscalix (shared) #####################
-
-tde_add_library( knotesscalix SHARED AUTOMOC
- SOURCES resourcescalix.cpp
- VERSION 0.0.0
- LINK resourcescalixshared-static kgroupwarebase-shared knotes-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/scalix/knotes/Makefile.am b/kresources/scalix/knotes/Makefile.am
deleted file mode 100644
index 56d7efe3..00000000
--- a/kresources/scalix/knotes/Makefile.am
+++ /dev/null
@@ -1,28 +0,0 @@
-METASOURCES = AUTO
-
-INCLUDES = -I$(top_srcdir)/kresources/scalix/shared \
- -I$(top_srcdir) -I$(top_srcdir)/knotes -I$(top_builddir)/libtdepim $(all_includes)
-
-# The scalix wizard links to this library too
-lib_LTLIBRARIES = libknotesscalix.la
-
-libknotesscalix_la_SOURCES = resourcescalix.cpp
-libknotesscalix_la_LDFLAGS = $(all_libraries) -no-undefined
-libknotesscalix_la_LIBADD = \
- $(top_builddir)/kresources/scalix/shared/libresourcescalixshared.la \
- $(top_builddir)/knotes/libknotesresources.la \
- $(top_builddir)/libkcal/libkcal.la \
- -lkresources -ltdeprint
-
-kde_module_LTLIBRARIES = knotes_scalix.la
-
-knotes_scalix_la_SOURCES = resourcescalix_plugin.cpp
-knotes_scalix_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
-knotes_scalix_la_LIBADD = libknotesscalix.la
-
-servicedir = $(kde_servicesdir)/kresources/knotes
-service_DATA = scalix.desktop
-
-install-data-local: $(srcdir)/../uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(servicedir)
- $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/scalix.desktop
diff --git a/kresources/scalix/knotes/resourcescalix.cpp b/kresources/scalix/knotes/resourcescalix.cpp
deleted file mode 100644
index 62b0daf4..00000000
--- a/kresources/scalix/knotes/resourcescalix.cpp
+++ /dev/null
@@ -1,425 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
- Copyright (c) 2004 Till Adam <adam@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-#include <knotes/resourcemanager.h>
-
-#include <libkcal/icalformat.h>
-
-#include <kdebug.h>
-#include <kglobal.h>
-
-using namespace Scalix;
-
-static const char* configGroupName = "Note";
-static const char* kmailContentsType = "Note";
-static const char* attachmentMimeType = "application/x-vnd.kolab.note";
-static const char* inlineMimeType = "text/calendar";
-
-ResourceScalix::ResourceScalix( const TDEConfig *config )
- : ResourceNotes( config ), ResourceScalixBase( "ResourceScalix-KNotes" ),
- mCalendar( TQString::fromLatin1("UTC") )
-{
- setType( "scalix" );
-}
-
-ResourceScalix::~ResourceScalix()
-{
-}
-
-bool ResourceScalix::doOpen()
-{
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
-
- // Get the list of Notes folders from KMail
- TQValueList<KMailICalIface::SubResource> subResources;
- if ( !kmailSubresources( subResources, kmailContentsType ) )
- return false;
-
- // Make the resource map from the folder list
- TQValueList<KMailICalIface::SubResource>::ConstIterator it;
- mSubResources.clear();
- for ( it = subResources.begin(); it != subResources.end(); ++it ) {
- const TQString subResource = (*it).location;
- const bool active = config.readBoolEntry( subResource, true );
- mSubResources[ subResource ] = Scalix::SubResource( active, (*it).writable, (*it).label );
- }
-
- return true;
-}
-
-void ResourceScalix::doClose()
-{
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
- Scalix::ResourceMap::ConstIterator it;
- for ( it = mSubResources.begin(); it != mSubResources.end(); ++it )
- config.writeEntry( it.key(), it.data().active() );
-}
-
-bool ResourceScalix::loadSubResource( const TQString& subResource,
- const TQString &mimetype )
-{
- // Get the list of journals
- int count = 0;
- if ( !kmailIncidencesCount( count, mimetype, subResource ) ) {
- kdError() << "Communication problem in ResourceScalix::load()\n";
- return false;
- }
-
- TQMap<TQ_UINT32, TQString> lst;
- if( !kmailIncidences( lst, mimetype, subResource, 0, count ) ) {
- kdError(5500) << "Communication problem in "
- << "ResourceScalix::getIncidenceList()\n";
- return false;
- }
-
- kdDebug(5500) << "Notes scalix resource: got " << lst.count() << " notes in " << subResource << endl;
-
- // Populate with the new entries
- const bool silent = mSilent;
- mSilent = true;
- TQMap<TQ_UINT32, TQString>::Iterator it;
- for ( it = lst.begin(); it != lst.end(); ++it ) {
- KCal::Journal* journal = addNote( it.data(), subResource, it.key(), mimetype );
- if ( !journal )
- kdDebug(5500) << "loading note " << it.key() << " failed" << endl;
- else
- manager()->registerNote( this, journal );
- }
- mSilent = silent;
-
- return true;
-}
-
-bool ResourceScalix::load()
-{
- // We get a fresh list of events, so clean out the old ones
- mCalendar.deleteAllEvents();
- mUidMap.clear();
-
- bool rc = true;
- Scalix::ResourceMap::ConstIterator itR;
- for ( itR = mSubResources.begin(); itR != mSubResources.end(); ++itR ) {
- if ( !itR.data().active() )
- // This subResource is disabled
- continue;
-
- TQString mimetype = inlineMimeType;
- rc &= loadSubResource( itR.key(), mimetype );
- mimetype = attachmentMimeType;
- rc &= loadSubResource( itR.key(), mimetype );
- }
-
- return rc;
-}
-
-bool ResourceScalix::save()
-{
- // Nothing to do here, we save everything in incidenceUpdated()
- return true;
-}
-
-bool ResourceScalix::addNote( KCal::Journal* journal )
-{
- return addNote( journal, TQString(), 0 );
-}
-
-KCal::Journal* ResourceScalix::addNote( const TQString& data, const TQString& subresource,
- TQ_UINT32 sernum, const TQString& )
-{
- KCal::Journal* journal = 0;
- // FIXME: This does not take into account the time zone!
- KCal::ICalFormat formatter;
- journal = static_cast<KCal::Journal*>( formatter.fromString( data ) );
-
- Q_ASSERT( journal );
- if( journal && !mUidMap.contains( journal->uid() ) )
- if ( addNote( journal, subresource, sernum ) )
- return journal;
- else
- delete journal;
- return 0;
-}
-
-bool ResourceScalix::addNote( KCal::Journal* journal,
- const TQString& subresource, TQ_UINT32 sernum )
-{
- kdDebug(5500) << "ResourceScalix::addNote( KCal::Journal*, '" << subresource << "', " << sernum << " )\n";
-
- journal->registerObserver( this );
-
- // Find out if this note was previously stored in KMail
- bool newNote = subresource.isEmpty();
- mCalendar.addJournal( journal );
-
- TQString resource =
- newNote ? findWritableResource( mSubResources ) : subresource;
- if ( resource.isEmpty() ) // canceled
- return false;
-
- if ( !mSilent ) {
- KCal::ICalFormat formatter;
- const TQString xml = formatter.toString( journal );
- kdDebug(5500) << k_funcinfo << "XML string:\n" << xml << endl;
-
- if( !kmailUpdate( resource, sernum, xml, attachmentMimeType, journal->uid() ) ) {
- kdError(5500) << "Communication problem in ResourceScalix::addNote()\n";
- return false;
- }
- }
-
- if ( !resource.isEmpty() && sernum != 0 ) {
- mUidMap[ journal->uid() ] = StorageReference( resource, sernum );
- return true;
- }
-
- return false;
-}
-
-bool ResourceScalix::deleteNote( KCal::Journal* journal )
-{
- const TQString uid = journal->uid();
- if ( !mUidMap.contains( uid ) )
- // Odd
- return false;
-
- if ( !mSilent ) {
- kmailDeleteIncidence( mUidMap[ uid ].resource(),
- mUidMap[ uid ].serialNumber() );
- }
- mUidMap.remove( uid );
- manager()->deleteNote( journal );
- mCalendar.deleteJournal( journal );
- return true;
-}
-
-KCal::Alarm::List ResourceScalix::alarms( const TQDateTime& from, const TQDateTime& to )
-{
- KCal::Alarm::List alarms;
- KCal::Journal::List notes = mCalendar.journals();
- KCal::Journal::List::ConstIterator note;
- for ( note = notes.begin(); note != notes.end(); ++note )
- {
- TQDateTime preTime = from.addSecs( -1 );
- KCal::Alarm::List::ConstIterator it;
- for( it = (*note)->alarms().begin(); it != (*note)->alarms().end(); ++it )
- {
- if ( (*it)->enabled() )
- {
- TQDateTime dt = (*it)->nextRepetition( preTime );
- if ( dt.isValid() && dt <= to )
- alarms.append( *it );
- }
- }
- }
-
- return alarms;
-}
-
-void ResourceScalix::incidenceUpdated( KCal::IncidenceBase* i )
-{
- TQString subResource;
- TQ_UINT32 sernum;
- if ( mUidMap.contains( i->uid() ) ) {
- subResource = mUidMap[ i->uid() ].resource();
- sernum = mUidMap[ i->uid() ].serialNumber();
- } else { // can this happen?
- subResource = findWritableResource( mSubResources );
- if ( subResource.isEmpty() ) // canceled
- return;
- sernum = 0;
- }
-
- KCal::Journal* journal = dynamic_cast<KCal::Journal*>( i );
- KCal::ICalFormat formatter;
- const TQString xml = formatter.toString( journal );
- if( !xml.isEmpty() && kmailUpdate( subResource, sernum, xml, attachmentMimeType, journal->uid() ) )
- mUidMap[ i->uid() ] = StorageReference( subResource, sernum );
-}
-
-/*
- * These are the DCOP slots that KMail call to notify when something
- * changed.
- */
-bool ResourceScalix::fromKMailAddIncidence( const TQString& type,
- const TQString& subResource,
- TQ_UINT32 sernum,
- int,
- const TQString& note )
-{
- // Check if this is a note
- if( type != kmailContentsType ) return false;
-
- const bool silent = mSilent;
- mSilent = true;
- TQString mimetype = inlineMimeType;
- KCal::Journal* journal = addNote( note, subResource, sernum, mimetype );
- if ( journal )
- manager()->registerNote( this, journal );
- mSilent = silent;
- return true;
-}
-
-void ResourceScalix::fromKMailDelIncidence( const TQString& type,
- const TQString& /*subResource*/,
- const TQString& uid )
-{
- // Check if this is a note
- if( type != kmailContentsType ) return;
-
- kdDebug(5500) << "ResourceScalix::fromKMailDelIncidence( " << type << ", " << uid
- << " )" << endl;
-
- const bool silent = mSilent;
- mSilent = true;
- KCal::Journal* j = mCalendar.journal( uid );
- if( j )
- deleteNote( j );
- mSilent = silent;
-}
-
-void ResourceScalix::fromKMailRefresh( const TQString& type,
- const TQString& /*subResource*/ )
-{
- if ( type == kmailContentsType )
- load(); // ### should call loadSubResource(subResource) probably
-}
-
-void ResourceScalix::fromKMailAddSubresource( const TQString& type,
- const TQString& subResource,
- const TQString& mimetype,
- bool writable )
-{
- if ( type != kmailContentsType )
- // Not ours
- return;
-
- if ( mSubResources.contains( subResource ) )
- // Already registered
- return;
-
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
-
- bool active = config.readBoolEntry( subResource, true );
- mSubResources[ subResource ] = Scalix::SubResource( active, writable, subResource );
- loadSubResource( subResource, mimetype );
- emit signalSubresourceAdded( this, type, subResource );
-}
-
-void ResourceScalix::fromKMailDelSubresource( const TQString& type,
- const TQString& subResource )
-{
- if ( type != configGroupName )
- // Not ours
- return;
-
- if ( !mSubResources.contains( subResource ) )
- // Not registered
- return;
-
- // Ok, it's our job, and we have it here
- mSubResources.erase( subResource );
-
- TDEConfig config( configFile() );
- config.setGroup( configGroupName );
- config.deleteEntry( subResource );
- config.sync();
-
- // Make a list of all uids to remove
- Scalix::UidMap::ConstIterator mapIt;
- TQStringList uids;
- for ( mapIt = mUidMap.begin(); mapIt != mUidMap.end(); ++mapIt )
- if ( mapIt.data().resource() == subResource )
- // We have a match
- uids << mapIt.key();
-
- // Finally delete all the incidences
- if ( !uids.isEmpty() ) {
- const bool silent = mSilent;
- mSilent = true;
- TQStringList::ConstIterator it;
- for ( it = uids.begin(); it != uids.end(); ++it ) {
- KCal::Journal* j = mCalendar.journal( *it );
- if( j )
- deleteNote( j );
- }
- mSilent = silent;
- }
-
- emit signalSubresourceRemoved( this, type, subResource );
-}
-
-void ResourceScalix::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- // We are only interested in notes
- if ( ( type != attachmentMimeType ) && ( type != inlineMimeType ) ) return;
- // Populate with the new entries
- const bool silent = mSilent;
- mSilent = true;
- TQString mimetype = inlineMimeType;
- for( TQMap<TQ_UINT32, TQString>::ConstIterator it = map.begin(); it != map.end(); ++it ) {
- KCal::Journal* journal = addNote( it.data(), folder, it.key(), mimetype );
- if ( !journal )
- kdDebug(5500) << "loading note " << it.key() << " failed" << endl;
- else
- manager()->registerNote( this, journal );
- }
- mSilent = silent;
-}
-
-
-TQStringList ResourceScalix::subresources() const
-{
- return mSubResources.keys();
-}
-
-bool ResourceScalix::subresourceActive( const TQString& res ) const
-{
- if ( mSubResources.contains( res ) ) {
- return mSubResources[ res ].active();
- }
-
- // Safe default bet:
- kdDebug(5650) << "subresourceActive( " << res << " ): Safe bet\n";
-
- return true;
-}
-
-
-#include "resourcescalix.moc"
diff --git a/kresources/scalix/knotes/resourcescalix.h b/kresources/scalix/knotes/resourcescalix.h
deleted file mode 100644
index 6a3676c1..00000000
--- a/kresources/scalix/knotes/resourcescalix.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KNOTES_RESOURCESCALIX_H
-#define KNOTES_RESOURCESCALIX_H
-
-#include <resourcenotes.h>
-#include <libkcal/incidencebase.h>
-#include <libkcal/calendarlocal.h>
-#include "../shared/resourcescalixbase.h"
-#include "../shared/subresource.h"
-#include <tdepimmacros.h>
-
-
-namespace Scalix {
-
-/**
- * This class implements a KNotes resource that keeps its
- * addresses in an IMAP folder in KMail (or other conforming email
- * clients).
- */
-class KDE_EXPORT ResourceScalix : public ResourceNotes,
- public KCal::IncidenceBase::Observer,
- public ResourceScalixBase
-{
- Q_OBJECT
-
-
-public:
- ResourceScalix( const TDEConfig* );
- virtual ~ResourceScalix();
-
- /// Load resource data.
- bool load();
-
- /// Save resource data.
- bool save();
-
- /// Open the notes resource.
- bool doOpen();
- /// Close the notes resource.
- void doClose();
-
- bool addNote( KCal::Journal* );
-
- bool deleteNote( KCal::Journal* );
-
- KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
-
- /// Reimplemented from IncidenceBase::Observer to know when a note was changed
- void incidenceUpdated( KCal::IncidenceBase* );
-
- /// The ResourceScalixBase methods called by KMail
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& note );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& uid );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
-
- /// Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const TQString& type, const TQString& resource,
- const TQString& label, bool writable );
- void fromKMailDelSubresource( const TQString& type, const TQString& resource );
-
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder );
-
- /** Return the list of subresources. */
- TQStringList subresources() const;
-
- /** Is this subresource active? */
- bool subresourceActive( const TQString& ) const;
-
-signals:
- void signalSubresourceAdded( Resource*, const TQString&, const TQString& );
- void signalSubresourceRemoved( Resource*, const TQString&, const TQString& );
-
-private:
- bool addNote( KCal::Journal* journal, const TQString& resource,
- TQ_UINT32 sernum );
- KCal::Journal* addNote( const TQString& data, const TQString& subresource,
- TQ_UINT32 sernum, const TQString &mimetype );
-
- bool loadSubResource( const TQString& resource, const TQString& mimetype );
-
- TQString configFile() const {
- return ResourceScalixBase::configFile( "knotes" );
- }
-
- KCal::CalendarLocal mCalendar;
-
- // The list of subresources
- Scalix::ResourceMap mSubResources;
-};
-
-}
-
-#endif // KNOTES_RESOURCESCALIX_H
diff --git a/kresources/scalix/knotes/resourcescalix_plugin.cpp b/kresources/scalix/knotes/resourcescalix_plugin.cpp
deleted file mode 100644
index 925c27b0..00000000
--- a/kresources/scalix/knotes/resourcescalix_plugin.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2002 - 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalix.h"
-
-class ScalixFactory : public KRES::PluginFactoryBase
-{
-public:
- KRES::Resource *resource( const TDEConfig *config )
- {
- return new Scalix::ResourceScalix( config );
- }
-
- KRES::ConfigWidget *configWidget( TQWidget* )
- {
- return 0;
- }
-};
-
-K_EXPORT_COMPONENT_FACTORY( knotes_scalix, ScalixFactory() )
diff --git a/kresources/scalix/knotes/scalix.desktop b/kresources/scalix/knotes/scalix.desktop
deleted file mode 100644
index 7669c7ae..00000000
--- a/kresources/scalix/knotes/scalix.desktop
+++ /dev/null
@@ -1,30 +0,0 @@
-[Desktop Entry]
-Name=Notes on Scalix Server via KMail
-Name[bg]=Бележки на сървъра Scalix през KMail
-Name[ca]=Notes en un servidor Scalix mitjançant el KMail
-Name[da]=Noter på Scalix-server via KMail
-Name[de]=Notizen auf einem Scalix-Server via KMail
-Name[el]=Σημειώσεις σε εξυπηρετητή Scalix μέσω του KMail
-Name[es]=Notas en servidor Scalix por medio de KMail
-Name[et]=Kalender Scalix-serveris (KMaili vahendusel)
-Name[fr]=Notes sur serveur Scalix via KMail
-Name[is]=Minnismiðar á Scalix-þjóni gegnum KMail
-Name[it]=Note su server Scalix via KMail
-Name[ja]=KMail 経由 Scalix サーバのメモ
-Name[km]=ចំណាំ​នៅលើ​ម៉ាស៊ីន​បម្រើ Scalix តាមរយៈ KMail
-Name[nds]=Notizen op Scalix-Server över KMail
-Name[nl]=Notities op Scalix-server via KMail
-Name[pl]=Notatki na serwerze Scalix za pośrednictwem KMaila
-Name[ru]=Заметки на сервере Scalix через KMail
-Name[sk]=Poznámky na Scalix serveri pomocou KMail
-Name[sr]=Белешке на Scalix серверу преко KMail-а
-Name[sr@Latn]=Beleške na Scalix serveru preko KMail-a
-Name[sv]=Anteckningar på Scalix-server via Kmail
-Name[tr]=KMail Aracılığı ile Scalix Sunucusunda Takvim
-Name[zh_CN]=通过 KMail 访问 Scalix 服务器上的日历
-Name[zh_TW]=透過 KMail 取得 Scalix 伺服器上的便條
-X-TDE-Library=knotes_scalix
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=notes
-X-TDE-ResourceType=scalix
diff --git a/kresources/scalix/scalixadmin/CMakeLists.txt b/kresources/scalix/scalixadmin/CMakeLists.txt
deleted file mode 100644
index f13d11a8..00000000
--- a/kresources/scalix/scalixadmin/CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### scalixadmin (executable) ##################
-
-tde_add_executable( scalixadmin AUTOMOC
- SOURCES
- main.cpp mainwindow.cpp passwordpage.cpp settings.cpp jobs.cpp
- otherusermanager.cpp otheruserview.cpp otheruserpage.cpp ldapview.cpp
- ldapdialog.cpp delegatemanager.cpp delegateview.cpp delegatepage.cpp
- delegatedialog.cpp outofofficepage.cpp
- LINK kabc-shared
- DESTINATION ${BIN_INSTALL_DIR}
-)
diff --git a/kresources/scalix/scalixadmin/Makefile.am b/kresources/scalix/scalixadmin/Makefile.am
deleted file mode 100644
index 3ec92c4f..00000000
--- a/kresources/scalix/scalixadmin/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-bin_PROGRAMS = scalixadmin
-
-INCLUDES = $(all_includes)
-
-scalixadmin_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-scalixadmin_LDADD = $(LIB_KABC)
-scalixadmin_SOURCES = main.cpp mainwindow.cpp passwordpage.cpp settings.cpp jobs.cpp \
- otherusermanager.cpp otheruserview.cpp otheruserpage.cpp ldapview.cpp ldapdialog.cpp \
- delegatemanager.cpp delegateview.cpp delegatepage.cpp delegatedialog.cpp \
- outofofficepage.cpp
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/scalixadmin.pot
diff --git a/kresources/scalix/scalixadmin/delegatedialog.cpp b/kresources/scalix/scalixadmin/delegatedialog.cpp
deleted file mode 100644
index 661f5743..00000000
--- a/kresources/scalix/scalixadmin/delegatedialog.cpp
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqcheckbox.h>
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqlineedit.h>
-#include <tqtoolbutton.h>
-
-#include <klocale.h>
-
-#include "jobs.h"
-#include "ldapdialog.h"
-
-#include "delegatedialog.h"
-
-DelegateDialog::DelegateDialog( TQWidget *parent )
- : KDialogBase( parent, "", true, "", Ok | Cancel, Ok, true )
-{
- TQWidget *page = new TQWidget( this );
- TQGridLayout *layout = new TQGridLayout( page, 5, 3, 11, 6 );
-
- TQLabel *label = new TQLabel( i18n( "User:" ), page );
- layout->addWidget( label, 0, 0 );
-
- mEmail = new TQLineEdit( page );
- layout->addWidget( mEmail, 0, 1 );
-
- TQToolButton *emailSelector = new TQToolButton( page );
- emailSelector->setUsesTextLabel( true );
- emailSelector->setTextLabel( i18n( "..." ) );
- layout->addWidget( emailSelector, 0, 2 );
-
- TQValueList<Scalix::DelegateTypes> types;
- types << Scalix::SendOnBehalfOf;
- types << Scalix::SeePrivate;
- types << Scalix::GetMeetings;
- types << Scalix::InsteadOfMe;
-
- int row = 1;
- for ( uint i = 0; i < types.count(); ++i ) {
- TQCheckBox *box = new TQCheckBox( Scalix::Delegate::rightsAsString( types[ i ] ), page );
- layout->addMultiCellWidget( box, row, row, 1, 2 );
-
- mRights.insert( types[ i ], box );
- row++;
- }
-
- connect( emailSelector, TQT_SIGNAL( clicked() ), TQT_SLOT( selectEmail() ) );
-
- setMainWidget( page );
-}
-
-void DelegateDialog::setDelegate( const Scalix::Delegate &delegate )
-{
- mEmail->setText( delegate.email() );
-
- TQMap<int, TQCheckBox*>::Iterator it;
- for ( it = mRights.begin(); it != mRights.end(); ++it )
- it.data()->setChecked( delegate.rights() & it.key() );
-}
-
-Scalix::Delegate DelegateDialog::delegate() const
-{
- int rights = 0;
-
- TQMap<int, TQCheckBox*>::ConstIterator it;
- for ( it = mRights.begin(); it != mRights.end(); ++it )
- if ( it.data()->isChecked() )
- rights |= it.key();
-
- return Scalix::Delegate( mEmail->text(), rights );
-}
-
-void DelegateDialog::selectEmail()
-{
- LdapDialog dlg( this );
- if ( !dlg.exec() )
- return;
-
- const TQString email = dlg.selectedUser();
- if ( email.isEmpty() )
- return;
-
- mEmail->setText( email );
-}
-
-#include "delegatedialog.moc"
diff --git a/kresources/scalix/scalixadmin/delegatedialog.h b/kresources/scalix/scalixadmin/delegatedialog.h
deleted file mode 100644
index 2f258113..00000000
--- a/kresources/scalix/scalixadmin/delegatedialog.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef DELEGATEDIALOG_H
-#define DELEGATEDIALOG_H
-
-#include <tqmap.h>
-
-#include <kdialogbase.h>
-
-class TQCheckBox;
-class TQLineEdit;
-
-namespace Scalix {
-class Delegate;
-}
-
-class DelegateDialog : public KDialogBase
-{
- Q_OBJECT
-
-
- public:
- DelegateDialog( TQWidget *parent = 0 );
-
- void setDelegate( const Scalix::Delegate &delegate );
- Scalix::Delegate delegate() const;
-
- private slots:
- void selectEmail();
-
- private:
- TQLineEdit *mEmail;
- TQMap<int, TQCheckBox*> mRights;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/delegatemanager.cpp b/kresources/scalix/scalixadmin/delegatemanager.cpp
deleted file mode 100644
index 686370d7..00000000
--- a/kresources/scalix/scalixadmin/delegatemanager.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include "delegatemanager.h"
-
-DelegateManager::DelegateManager()
-{
-}
-
-DelegateManager::~DelegateManager()
-{
-}
-
-void DelegateManager::addDelegate( const Scalix::Delegate &delegate )
-{
- mDelegates.append( delegate );
- emit changed();
-}
-
-void DelegateManager::clear()
-{
- mDelegates.clear();
-
- emit changed();
-}
-
-Scalix::Delegate::List DelegateManager::delegates() const
-{
- return mDelegates;
-}
-
-#include "delegatemanager.moc"
diff --git a/kresources/scalix/scalixadmin/delegatemanager.h b/kresources/scalix/scalixadmin/delegatemanager.h
deleted file mode 100644
index 05b0262d..00000000
--- a/kresources/scalix/scalixadmin/delegatemanager.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef DELEGATEMANAGER_H
-#define DELEGATEMANAGER_H
-
-#include <tqobject.h>
-#include <tqstringlist.h>
-
-#include "jobs.h"
-
-class DelegateManager : public TQObject
-{
- Q_OBJECT
-
-
- public:
- DelegateManager();
- ~DelegateManager();
-
- void addDelegate( const Scalix::Delegate &delegate );
- void clear();
-
- Scalix::Delegate::List delegates() const;
-
- signals:
- void changed();
-
- private:
- Scalix::Delegate::List mDelegates;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/delegatepage.cpp b/kresources/scalix/scalixadmin/delegatepage.cpp
deleted file mode 100644
index 169ff085..00000000
--- a/kresources/scalix/scalixadmin/delegatepage.cpp
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqlayout.h>
-#include <tqpushbutton.h>
-
-#include <kinputdialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-
-#include <unistd.h>
-
-#include "delegatedialog.h"
-#include "delegateview.h"
-#include "jobs.h"
-#include "settings.h"
-
-#include "delegatepage.h"
-
-DelegatePage::DelegatePage( TQWidget *parent )
- : TQWidget( parent )
-{
- TQGridLayout *layout = new TQGridLayout( this, 2, 3, 11, 6 );
-
- mView = new DelegateView( &mManager, this );
- layout->addMultiCellWidget( mView, 0, 0, 0, 2 );
-
- mAddButton = new TQPushButton( i18n( "Add Delegate..." ), this );
- layout->addWidget( mAddButton, 1, 0 );
-
- mEditButton = new TQPushButton( i18n( "Edit Delegate..." ), this );
- mEditButton->setEnabled( false );
- layout->addWidget( mEditButton, 1, 1 );
-
- mRemoveButton = new TQPushButton( i18n( "Remove Delegate" ), this );
- mRemoveButton->setEnabled( false );
- layout->addWidget( mRemoveButton, 1, 2 );
-
- connect( mView, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( selectionChanged() ) );
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addDelegate() ) );
- connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editDelegate() ) );
- connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeDelegate() ) );
-
- loadAllDelegates();
-}
-
-DelegatePage::~DelegatePage()
-{
-}
-
-void DelegatePage::loadAllDelegates()
-{
- Scalix::GetDelegatesJob *job = Scalix::getDelegates( Settings::self()->globalSlave(),
- Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( allDelegates( TDEIO::Job* ) ) );
-}
-
-void DelegatePage::addDelegate()
-{
- DelegateDialog dlg( this );
- dlg.setCaption( i18n( "Add Delegate" ) );
-
- if ( !dlg.exec() )
- return;
-
- const Scalix::Delegate delegate = dlg.delegate();
-
- if ( !delegate.isValid() )
- return;
-
- Scalix::SetDelegateJob *job = Scalix::setDelegate( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(),
- delegate.email(), delegate.rights() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateAdded( TDEIO::Job* ) ) );
-}
-
-void DelegatePage::editDelegate()
-{
- const Scalix::Delegate oldDelegate = mView->selectedDelegate();
- if ( !oldDelegate.isValid() )
- return;
-
- DelegateDialog dlg( this );
- dlg.setCaption( i18n( "Edit Delegate" ) );
-
- dlg.setDelegate( oldDelegate );
-
- if ( !dlg.exec() )
- return;
-
- const Scalix::Delegate delegate = dlg.delegate();
-
- if ( !delegate.isValid() )
- return;
-
- Scalix::SetDelegateJob *job = Scalix::setDelegate( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(),
- delegate.email(), delegate.rights() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateAdded( TDEIO::Job* ) ) );
-}
-
-void DelegatePage::removeDelegate()
-{
- const Scalix::Delegate delegate = mView->selectedDelegate();
- if ( !delegate.isValid() )
- return;
-
- Scalix::DeleteDelegateJob *job = Scalix::deleteDelegate( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(), delegate.email() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateRemoved( TDEIO::Job* ) ) );
-}
-
-void DelegatePage::allDelegates( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
-
- Scalix::GetDelegatesJob *delegateJob = static_cast<Scalix::GetDelegatesJob*>( job );
-
- mManager.clear();
-
- const Scalix::Delegate::List delegates = delegateJob->delegates();
- for ( uint i = 0; i < delegates.count(); ++i )
- mManager.addDelegate( delegates[ i ] );
-
- selectionChanged();
-}
-
-void DelegatePage::delegateAdded( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
- else
- loadAllDelegates(); // update the GUI
-}
-
-void DelegatePage::delegateRemoved( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
- else
- loadAllDelegates(); // update the GUI
-}
-
-void DelegatePage::selectionChanged()
-{
- bool state = ( mView->selectedItem() != 0 );
-
- mEditButton->setEnabled( state );
- mRemoveButton->setEnabled( state );
-}
-
-#include "delegatepage.moc"
diff --git a/kresources/scalix/scalixadmin/delegatepage.h b/kresources/scalix/scalixadmin/delegatepage.h
deleted file mode 100644
index 0523effe..00000000
--- a/kresources/scalix/scalixadmin/delegatepage.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef DELEGATEPAGE_H
-#define DELEGATEPAGE_H
-
-#include <tqwidget.h>
-
-#include "delegatemanager.h"
-
-class TQPushButton;
-class DelegateView;
-
-class DelegatePage : public TQWidget
-{
- Q_OBJECT
-
-
- public:
- DelegatePage( TQWidget *parent = 0 );
- ~DelegatePage();
-
- private slots:
- void loadAllDelegates();
- void addDelegate();
- void editDelegate();
- void removeDelegate();
-
- void delegateAdded( TDEIO::Job* );
- void delegateRemoved( TDEIO::Job* );
- void allDelegates( TDEIO::Job* );
-
- void selectionChanged();
-
- private:
- TQPushButton *mAddButton;
- TQPushButton *mEditButton;
- TQPushButton *mRemoveButton;
-
- DelegateManager mManager;
- DelegateView *mView;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/delegateview.cpp b/kresources/scalix/scalixadmin/delegateview.cpp
deleted file mode 100644
index 1031f460..00000000
--- a/kresources/scalix/scalixadmin/delegateview.cpp
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <klocale.h>
-
-#include "delegatemanager.h"
-
-#include "delegateview.h"
-
-class DelegateItem : public TQListViewItem
-{
- public:
- DelegateItem( TQListView *parent, const Scalix::Delegate &delegate )
- : TQListViewItem( parent ), mDelegate( delegate )
- {
- setText( 0, mDelegate.email() );
- setText( 1, Scalix::Delegate::rightsAsString( mDelegate.rights() ) );
- }
-
- Scalix::Delegate delegate() const { return mDelegate; }
-
- private:
- Scalix::Delegate mDelegate;
-};
-
-DelegateView::DelegateView( DelegateManager *manager, TQWidget *parent )
- : KListView( parent ), mManager( manager )
-{
- addColumn( i18n( "Delegate" ) );
- addColumn( i18n( "Rights" ) );
- setFullWidth( true );
- setAllColumnsShowFocus( true );
-
- connect( mManager, TQT_SIGNAL( changed() ), TQT_SLOT( delegateChanged() ) );
-
- delegateChanged();
-}
-
-Scalix::Delegate DelegateView::selectedDelegate() const
-{
- DelegateItem *item = dynamic_cast<DelegateItem*>( selectedItem() );
- if ( item )
- return item->delegate();
-
- return Scalix::Delegate();
-}
-
-void DelegateView::delegateChanged()
-{
- clear();
-
- const Scalix::Delegate::List delegates = mManager->delegates();
- for ( uint i = 0; i < delegates.count(); ++i )
- new DelegateItem( this, delegates[ i ] );
-}
-
-#include "delegateview.moc"
diff --git a/kresources/scalix/scalixadmin/delegateview.h b/kresources/scalix/scalixadmin/delegateview.h
deleted file mode 100644
index 5dfa379f..00000000
--- a/kresources/scalix/scalixadmin/delegateview.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef DELEGATEVIEW_H
-#define DELEGATEVIEW_H
-
-#include <klistview.h>
-
-namespace Scalix {
-class Delegate;
-}
-
-class DelegateManager;
-
-class DelegateView : public KListView
-{
- Q_OBJECT
-
-
- public:
- DelegateView( DelegateManager *manager, TQWidget *parent = 0 );
-
- Scalix::Delegate selectedDelegate() const;
-
- private slots:
- void delegateChanged();
-
- private:
- DelegateManager *mManager;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/jobs.cpp b/kresources/scalix/scalixadmin/jobs.cpp
deleted file mode 100644
index 49b0a8fe..00000000
--- a/kresources/scalix/scalixadmin/jobs.cpp
+++ /dev/null
@@ -1,306 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <kio/scheduler.h>
-#include <klocale.h>
-
-#include "jobs.h"
-
-using namespace Scalix;
-
-Delegate::Delegate()
- : mRights( -1 )
-{
-}
-
-Delegate::Delegate( const TQString &email, int rights )
- : mEmail( email ), mRights( rights )
-{
-}
-
-bool Delegate::isValid() const
-{
- return ( !mEmail.isEmpty() && mRights != -1 );
-}
-
-TQString Delegate::email() const
-{
- return mEmail;
-}
-
-int Delegate::rights() const
-{
- return mRights;
-}
-
-TQString Delegate::rightsAsString( int rights )
-{
- TQStringList rightNames;
-
- if ( rights & SendOnBehalfOf )
- rightNames.append( i18n( "Send on behalf of" ) );
- if ( rights & SeePrivate )
- rightNames.append( i18n( "See private" ) );
- if ( rights & GetMeetings )
- rightNames.append( i18n( "Get meetings" ) );
- if ( rights & InsteadOfMe )
- rightNames.append( i18n( "Instead of me" ) );
-
- return rightNames.join( ", " );
-}
-
-
-SetPasswordJob* Scalix::setPassword( TDEIO::Slave* slave, const KURL& url,
- const TQString &oldPassword, const TQString& newPassword )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-SCALIX-PASSWORD" ) << TQString( "%1 %2" ).arg( oldPassword ).arg( newPassword );
-
- SetPasswordJob* job = new SetPasswordJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-SetDelegateJob* Scalix::setDelegate( TDEIO::Slave* slave, const KURL& url, const TQString& email, int params )
-{
- TQStringList types;
- if ( params & SendOnBehalfOf )
- types.append( "SOBO" );
- if ( params & SeePrivate )
- types.append( "SEEPRIVATE" );
- if ( params & GetMeetings )
- types.append( "GETMEETINGS" );
- if ( params & InsteadOfMe )
- types.append( "INSTEADOFME" );
-
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-SET-DELEGATE" ) << TQString( "%1 %2" ).arg( email ).arg( types.join( " " ) );
-
- SetDelegateJob* job = new SetDelegateJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-DeleteDelegateJob* Scalix::deleteDelegate( TDEIO::Slave* slave, const KURL& url, const TQString& email )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-DELETE-DELEGATE" ) << email;
-
- DeleteDelegateJob* job = new DeleteDelegateJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-GetDelegatesJob* Scalix::getDelegates( TDEIO::Slave* slave, const KURL& url )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N' << TQString( "X-GET-DELEGATES" ) << TQString();
-
- GetDelegatesJob* job = new GetDelegatesJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-AddOtherUserJob* Scalix::addOtherUser( TDEIO::Slave* slave, const KURL& url, const TQString& email )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-ADD-OTHER-USER" ) << email;
-
- AddOtherUserJob* job = new AddOtherUserJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-DeleteOtherUserJob* Scalix::deleteOtherUser( TDEIO::Slave* slave, const KURL& url, const TQString& email )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-DELETE-OTHER-USER" ) << email;
-
- DeleteOtherUserJob* job = new DeleteOtherUserJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-GetOtherUsersJob* Scalix::getOtherUsers( TDEIO::Slave* slave, const KURL& url )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-GET-OTHER-USERS" ) << TQString();
-
- GetOtherUsersJob* job = new GetOtherUsersJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-SetOutOfOfficeJob* Scalix::setOutOfOffice( TDEIO::Slave* slave, const KURL& url, bool enabled, const TQString& msg )
-{
- const TQString argument = msg;
- const TQString command = TQString( "X-SET-OUT-OF-OFFICE %1 %2 {%3}" ).arg( enabled ? "ENABLED" : "DISABLED" )
- .arg( "UTF-8" )
- .arg( msg.utf8().length() );
-
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int) 'X' << (int)'E' << command << argument;
-
- SetOutOfOfficeJob* job = new SetOutOfOfficeJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-GetOutOfOfficeJob* Scalix::getOutOfOffice( TDEIO::Slave* slave, const KURL& url )
-{
- TQByteArray packedArgs;
- TQDataStream stream( packedArgs, IO_WriteOnly );
- stream << (int)'X' << (int)'N'
- << TQString( "X-GET-OUT-OF-OFFICE" ) << TQString();
-
- GetOutOfOfficeJob* job = new GetOutOfOfficeJob( url, packedArgs, false );
- TDEIO::Scheduler::assignJobToSlave( slave, job );
- return job;
-}
-
-SetPasswordJob::SetPasswordJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-SetDelegateJob::SetDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-DeleteDelegateJob::DeleteDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-GetDelegatesJob::GetDelegatesJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
-}
-
-Delegate::List GetDelegatesJob::delegates() const
-{
- return mDelegates;
-}
-
-void GetDelegatesJob::slotInfoMessage( TDEIO::Job*, const TQString &data )
-{
- /**
- * The passed data have the following form:
- *
- * "user1@host.com:right1,right2,right4 user2@host.com:right3,right5"
- */
- TQStringList delegates = TQStringList::split( ' ', data );
- for ( uint i = 0; i < delegates.count(); ++i ) {
- TQStringList delegate = TQStringList::split( ':', delegates[ i ] );
-
- const TQString email = delegate[ 0 ];
- int rights = 0;
-
- TQStringList rightsList = TQStringList::split( ',', delegate[ 1 ] );
- for ( uint j = 0; j < rightsList.count(); ++j ) {
- if ( rightsList[ j ] == "SOBO" )
- rights |= SendOnBehalfOf;
- else if ( rightsList[ j ] == "SEEPRIVATE" )
- rights |= SeePrivate;
- else if ( rightsList[ j ] == "GETMEETINGS" )
- rights |= GetMeetings;
- else if ( rightsList[ j ] == "INSTEADOFME" )
- rights |= InsteadOfMe;
- }
-
- mDelegates.append( Delegate( email, rights ) );
- }
-}
-
-AddOtherUserJob::AddOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-DeleteOtherUserJob::DeleteOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-GetOtherUsersJob::GetOtherUsersJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
-}
-
-TQStringList GetOtherUsersJob::otherUsers() const
-{
- return mOtherUsers;
-}
-
-void GetOtherUsersJob::slotInfoMessage( TDEIO::Job*, const TQString &data )
-{
- mOtherUsers = TQStringList::split( ' ', data );
-}
-
-SetOutOfOfficeJob::SetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
-}
-
-GetOutOfOfficeJob::GetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
- : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
-{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
-}
-
-bool GetOutOfOfficeJob::enabled() const
-{
- return mEnabled;
-}
-
-TQString GetOutOfOfficeJob::message() const
-{
- return mMessage;
-}
-
-void GetOutOfOfficeJob::slotInfoMessage( TDEIO::Job*, const TQString &data )
-{
- const TQStringList fields = TQStringList::split( '^', data );
-
- mEnabled = ( fields[ 0 ] == "ENABLED" );
- mMessage = fields[ 1 ];
-}
-
-#include "jobs.moc"
diff --git a/kresources/scalix/scalixadmin/jobs.h b/kresources/scalix/scalixadmin/jobs.h
deleted file mode 100644
index 0c73fb50..00000000
--- a/kresources/scalix/scalixadmin/jobs.h
+++ /dev/null
@@ -1,205 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <kio/job.h>
-
-#ifndef JOBS_H
-#define JOBS_H
-
-namespace Scalix {
-
- enum DelegateTypes
- {
- SendOnBehalfOf = 1,
- SeePrivate = 2,
- GetMeetings = 4,
- InsteadOfMe = 8
- };
-
- class SetPasswordJob;
- class SetDelegateJob;
- class DeleteDelegateJob;
- class GetDelegatesJob;
- class AddOtherUserJob;
- class DeleteOtherUserJob;
- class GetOtherUsersJob;
- class SetOutOfOfficeJob;
- class GetOutOfOfficeJob;
-
- class Delegate
- {
- public:
- typedef TQValueList<Delegate> List;
-
- Delegate();
- Delegate( const TQString &email, int rights );
-
- bool isValid() const;
-
- TQString email() const;
- int rights() const;
-
- static TQString rightsAsString( int rights );
-
- private:
- TQString mEmail;
- int mRights;
- };
-
- /**
- * Sets/Changes the password of the user encoded in @p url.
- */
- SetPasswordJob* setPassword( TDEIO::Slave* slave, const KURL& url, const TQString& oldPassword, const TQString& newPassword );
-
- /**
- * Adds a delegate represented by @p email with the given @p params for the user encoded in @p url.
- */
- SetDelegateJob* setDelegate( TDEIO::Slave* slave, const KURL& url, const TQString& email, int params );
-
- /**
- * Deletes the delegate represented by @p email for the user encoded in @p url.
- */
- DeleteDelegateJob* deleteDelegate( TDEIO::Slave* slave, const KURL& url, const TQString& email );
-
- /**
- * Retrieves the delegates for the user encoded in @p url.
- */
- GetDelegatesJob* getDelegates( TDEIO::Slave* slave, const KURL& url );
-
- /**
- * Adds the mailbox of another user represented by @p email to the users 'Other Users' namespace.
- */
- AddOtherUserJob* addOtherUser( TDEIO::Slave* slave, const KURL& url, const TQString& email );
-
- /**
- * Deletes the mailbox of another user represented by @p email from the users 'Other Users' namespace.
- */
- DeleteOtherUserJob* deleteOtherUser( TDEIO::Slave* slave, const KURL& url, const TQString& email );
-
- /**
- * Retrieves the list of all other users.
- */
- GetOtherUsersJob* getOtherUsers( TDEIO::Slave* slave, const KURL& url );
-
- /**
- * Sets the out-of-office data.
- *
- * @param enabled Whether the out-of-office functionality is enabled.
- * @param msg The out-of-office message.
- */
- SetOutOfOfficeJob* setOutOfOffice( TDEIO::Slave* slave, const KURL& url, bool enabled, const TQString& msg );
-
- /**
- * Retrieves the out-of-office data.
- */
- GetOutOfOfficeJob* getOutOfOffice( TDEIO::Slave* slave, const KURL& url );
-
-
- class SetPasswordJob : public TDEIO::SimpleJob
- {
- public:
- SetPasswordJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class SetDelegateJob : public TDEIO::SimpleJob
- {
- public:
- SetDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class DeleteDelegateJob : public TDEIO::SimpleJob
- {
- public:
- DeleteDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class GetDelegatesJob : public TDEIO::SimpleJob
- {
- Q_OBJECT
-
-
- public:
- GetDelegatesJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
-
- Delegate::List delegates() const;
-
- private slots:
- void slotInfoMessage( TDEIO::Job*, const TQString& );
-
- private:
- Delegate::List mDelegates;
- };
-
- class AddOtherUserJob : public TDEIO::SimpleJob
- {
- public:
- AddOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class DeleteOtherUserJob : public TDEIO::SimpleJob
- {
- public:
- DeleteOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class GetOtherUsersJob : public TDEIO::SimpleJob
- {
- Q_OBJECT
-
-
- public:
- GetOtherUsersJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
-
- TQStringList otherUsers() const;
-
- private slots:
- void slotInfoMessage( TDEIO::Job*, const TQString& );
-
- private:
- TQStringList mOtherUsers;
- };
-
- class SetOutOfOfficeJob : public TDEIO::SimpleJob
- {
- public:
- SetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- };
-
- class GetOutOfOfficeJob : public TDEIO::SimpleJob
- {
- Q_OBJECT
-
-
- public:
- GetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
-
- bool enabled() const;
- TQString message() const;
-
- private slots:
- void slotInfoMessage( TDEIO::Job*, const TQString& );
-
- private:
- bool mEnabled;
- TQString mMessage;
- };
-}
-
-#endif
diff --git a/kresources/scalix/scalixadmin/ldapdialog.cpp b/kresources/scalix/scalixadmin/ldapdialog.cpp
deleted file mode 100644
index 6af08c4d..00000000
--- a/kresources/scalix/scalixadmin/ldapdialog.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <klocale.h>
-
-#include "ldapview.h"
-
-#include "ldapdialog.h"
-
-LdapDialog::LdapDialog( TQWidget *parent )
- : KDialogBase( parent, "", true, "", Ok | Cancel, Ok, true )
-{
- setCaption( i18n( "User Account Selection" ) );
-
- mView = new LdapView( this );
- setMainWidget( mView );
-
- mView->setQuery( "cn=*" );
-
- resize( 400, 250 );
-}
-
-TQString LdapDialog::selectedUser() const
-{
- return mView->selectedUser();
-}
diff --git a/kresources/scalix/scalixadmin/ldapdialog.h b/kresources/scalix/scalixadmin/ldapdialog.h
deleted file mode 100644
index 9d822af1..00000000
--- a/kresources/scalix/scalixadmin/ldapdialog.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-#ifndef LDAPDIALOG_H
-#define LDAPDIALOG_H
-
-#include <kdialogbase.h>
-
-class LdapView;
-
-class LdapDialog : public KDialogBase
-{
- public:
- LdapDialog( TQWidget *parent = 0 );
-
- TQString selectedUser() const;
-
-
- private:
- LdapView *mView;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/ldapview.cpp b/kresources/scalix/scalixadmin/ldapview.cpp
deleted file mode 100644
index adf2fe3f..00000000
--- a/kresources/scalix/scalixadmin/ldapview.cpp
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <kabc/ldapclient.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-
-#include "settings.h"
-
-#include "ldapview.h"
-
-class LdapItem : public TQListViewItem
-{
- public:
- LdapItem( TQListView *parent, const TQString &text, const TQString &email )
- : TQListViewItem( parent )
- {
- setText( 0, text );
- setText( 1, email );
- }
-};
-
-
-LdapView::LdapView( TQWidget *parent )
- : KListView( parent )
-{
- addColumn( i18n( "User" ) );
- setFullWidth( true );
-
- mClient = new KABC::LdapClient;
-
- mClient->setHost( Settings::self()->ldapHost() );
- mClient->setPort( Settings::self()->ldapPort() );
- mClient->setBase( Settings::self()->ldapBase() );
- mClient->setBindDN( Settings::self()->ldapBindDn() );
- mClient->setPwdBindDN( Settings::self()->ldapPassword() );
-
- TQStringList attrs;
- attrs << "surname" << "mail";
- mClient->setAttrs( attrs );
-
- connect( mClient, TQT_SIGNAL( result( const KABC::LdapObject& ) ),
- this, TQT_SLOT( entryAdded( const KABC::LdapObject& ) ) );
- connect( mClient, TQT_SIGNAL( error( const TQString& ) ),
- this, TQT_SLOT( error( const TQString& ) ) );
-}
-
-LdapView::~LdapView()
-{
- mClient->cancelQuery();
- delete mClient;
-}
-
-TQString LdapView::selectedUser() const
-{
- TQListViewItem *item = selectedItem();
- if ( !item )
- return TQString();
- else
- return item->text( 1 );
-}
-
-void LdapView::setQuery( const TQString &query )
-{
- clear();
- mClient->startQuery( query );
-}
-
-void LdapView::entryAdded( const KABC::LdapObject &obj )
-{
- const TQString text = TQString( "%1 (%2)" ).arg( TQString(obj.attrs[ "surname" ].first()) )
- .arg( TQString(obj.attrs[ "mail" ].first()) );
-
- new LdapItem( this, text, obj.attrs[ "mail" ].first() );
-}
-
-void LdapView::error( const TQString &msg )
-{
- KMessageBox::error( this, msg );
-}
-
-#include "ldapview.moc"
diff --git a/kresources/scalix/scalixadmin/ldapview.h b/kresources/scalix/scalixadmin/ldapview.h
deleted file mode 100644
index 6af41aa7..00000000
--- a/kresources/scalix/scalixadmin/ldapview.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-#ifndef LDAPVIEW_H
-#define LDAPVIEW_H
-
-#include <klistview.h>
-
-namespace KABC {
-class LdapClient;
-class LdapObject;
-}
-
-class LdapView : public KListView
-{
- Q_OBJECT
-
-
- public:
- LdapView( TQWidget *parent = 0 );
- ~LdapView();
-
- TQString selectedUser() const;
-
- public slots:
- void setQuery( const TQString &query );
-
- private slots:
- void entryAdded( const KABC::LdapObject& );
- void error( const TQString& );
-
- private:
- KABC::LdapClient *mClient;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/main.cpp b/kresources/scalix/scalixadmin/main.cpp
deleted file mode 100644
index 6b9192a3..00000000
--- a/kresources/scalix/scalixadmin/main.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <kaboutdata.h>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
-#include <klocale.h>
-
-#include "mainwindow.h"
-
-static const char description[] = I18N_NOOP("Configuration Tool for Scalix Groupware Konnector");
-
-static KCmdLineOptions options[] =
-{
- KCmdLineLastOption
-};
-
-int main( int argc, char **argv )
-{
- TDEAboutData aboutData( "scalixadmin", I18N_NOOP("ScalixAdmin"), "1.0", description,
- TDEAboutData::License_GPL, "(c) 2007, Tobias Koenig" );
- aboutData.addAuthor( "Tobias Koenig",0, "tokoe@kde.org" );
- TDECmdLineArgs::init( argc, argv, &aboutData );
- TDECmdLineArgs::addCmdLineOptions( options );
-
- TDEApplication app;
-
- TDEGlobal::locale()->insertCatalogue( "scalixadmin" );
-
- MainWindow *window = new MainWindow;
- window->show();
-
- app.setMainWidget( window );
-
- return app.exec();
-}
diff --git a/kresources/scalix/scalixadmin/mainwindow.cpp b/kresources/scalix/scalixadmin/mainwindow.cpp
deleted file mode 100644
index 04e396d7..00000000
--- a/kresources/scalix/scalixadmin/mainwindow.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqvbox.h>
-
-#include <kglobal.h>
-#include <kiconloader.h>
-#include <kjanuswidget.h>
-#include <klocale.h>
-
-#include "delegatepage.h"
-#include "otheruserpage.h"
-#include "outofofficepage.h"
-#include "passwordpage.h"
-
-#include "mainwindow.h"
-
-MainWindow::MainWindow()
- : KMainWindow( 0 )
-{
- KJanusWidget *wdg = new KJanusWidget( this, "", KJanusWidget::IconList );
-
- TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "folder_yellow", KIcon::Desktop );
- TQVBox *page = wdg->addVBoxPage( i18n( "Other Accounts" ), i18n( "Register other accounts" ), icon );
- new OtherUserPage( page );
-
- icon = TDEGlobal::iconLoader()->loadIcon( "edu_languages", KIcon::Desktop );
- page = wdg->addVBoxPage( i18n( "Delegates" ), i18n( "Setup delegates for my account" ), icon );
- new DelegatePage( page );
-
- icon = TDEGlobal::iconLoader()->loadIcon( "kontact_summary_green", KIcon::Desktop );
- page = wdg->addVBoxPage( i18n( "Out of Office..." ), i18n( "Setup Out of Office Message" ), icon );
- new OutOfOfficePage( page );
-
- icon = TDEGlobal::iconLoader()->loadIcon( "password", KIcon::Desktop );
- page = wdg->addVBoxPage( i18n( "Password" ), i18n( "Change the password" ), icon );
- new PasswordPage( page );
-
- setCentralWidget( wdg );
-
- resize( 540, 450 );
-}
diff --git a/kresources/scalix/scalixadmin/mainwindow.h b/kresources/scalix/scalixadmin/mainwindow.h
deleted file mode 100644
index 38c95598..00000000
--- a/kresources/scalix/scalixadmin/mainwindow.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <kmainwindow.h>
-
-class MainWindow : public KMainWindow
-{
- public:
- MainWindow();
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/otherusermanager.cpp b/kresources/scalix/scalixadmin/otherusermanager.cpp
deleted file mode 100644
index a3c19de1..00000000
--- a/kresources/scalix/scalixadmin/otherusermanager.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include "otherusermanager.h"
-
-OtherUserManager::OtherUserManager()
-{
-}
-
-OtherUserManager::~OtherUserManager()
-{
-}
-
-void OtherUserManager::addOtherUser( const TQString &email )
-{
- if ( !mOtherUsers.contains( email ) ) {
- mOtherUsers.append( email );
- emit changed();
- }
-}
-
-void OtherUserManager::clear()
-{
- mOtherUsers.clear();
-
- emit changed();
-}
-
-TQStringList OtherUserManager::otherUsers() const
-{
- return mOtherUsers;
-}
-
-#include "otherusermanager.moc"
diff --git a/kresources/scalix/scalixadmin/otherusermanager.h b/kresources/scalix/scalixadmin/otherusermanager.h
deleted file mode 100644
index 26f33ee4..00000000
--- a/kresources/scalix/scalixadmin/otherusermanager.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef OTHERUSERMANAGER_H
-#define OTHERUSERMANAGER_H
-
-#include <tqobject.h>
-#include <tqstringlist.h>
-
-class OtherUserManager : public TQObject
-{
- Q_OBJECT
-
-
- public:
- OtherUserManager();
- ~OtherUserManager();
-
- void addOtherUser( const TQString &email );
- void clear();
-
- TQStringList otherUsers() const;
-
- signals:
- void changed();
-
- private:
- TQStringList mOtherUsers;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/otheruserpage.cpp b/kresources/scalix/scalixadmin/otheruserpage.cpp
deleted file mode 100644
index 3aac47c9..00000000
--- a/kresources/scalix/scalixadmin/otheruserpage.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqapplication.h>
-#include <tqlayout.h>
-#include <tqpushbutton.h>
-
-#include <dcopref.h>
-#include <kdcopservicestarter.h>
-#include <kinputdialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-
-#include <unistd.h>
-
-#include "jobs.h"
-#include "ldapdialog.h"
-#include "otheruserview.h"
-#include "settings.h"
-
-#include "otheruserpage.h"
-
-OtherUserPage::OtherUserPage( TQWidget *parent )
- : TQWidget( parent )
-{
- TQGridLayout *layout = new TQGridLayout( this, 2, 2, 11, 6 );
-
- mView = new OtherUserView( &mManager, this );
- layout->addMultiCellWidget( mView, 0, 0, 0, 1 );
-
- mAddButton = new TQPushButton( i18n( "Add Account..." ), this );
- layout->addWidget( mAddButton, 1, 0 );
-
- mDeleteButton = new TQPushButton( i18n( "Remove Account" ), this );
- mDeleteButton->setEnabled( false );
- layout->addWidget( mDeleteButton, 1, 1 );
-
- connect( mView, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( selectionChanged() ) );
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addUser() ) );
- connect( mDeleteButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeUser() ) );
-
- loadAllUsers();
-}
-
-OtherUserPage::~OtherUserPage()
-{
-}
-
-void OtherUserPage::loadAllUsers()
-{
- Scalix::GetOtherUsersJob *job = Scalix::getOtherUsers( Settings::self()->globalSlave(),
- Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( allUsers( TDEIO::Job* ) ) );
-}
-
-void OtherUserPage::addUser()
-{
- LdapDialog dlg( this );
- if ( !dlg.exec() )
- return;
-
- const TQString email = dlg.selectedUser();
- if ( email.isEmpty() )
- return;
-
- Scalix::AddOtherUserJob *job = Scalix::addOtherUser( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(), email );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( userAdded( TDEIO::Job* ) ) );
-}
-
-void OtherUserPage::removeUser()
-{
- const TQString email = mView->selectedUser();
- if ( email.isEmpty() )
- return;
-
- Scalix::DeleteOtherUserJob *job = Scalix::deleteOtherUser( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(), email );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( userRemoved( TDEIO::Job* ) ) );
-}
-
-void OtherUserPage::allUsers( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
-
- Scalix::GetOtherUsersJob *userJob = static_cast<Scalix::GetOtherUsersJob*>( job );
-
- mManager.clear();
-
- const TQStringList users = userJob->otherUsers();
- for ( uint i = 0; i < users.count(); ++i )
- mManager.addOtherUser( users[ i ] );
-
- selectionChanged();
-}
-
-void OtherUserPage::userAdded( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
- else
- loadAllUsers(); // update the GUI
-
- updateKmail();
-}
-
-void OtherUserPage::userRemoved( TDEIO::Job *job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
- else
- loadAllUsers(); // update the GUI
-
- updateKmail();
-}
-
-void OtherUserPage::selectionChanged()
-{
- mDeleteButton->setEnabled( mView->selectedItem() != 0 );
-}
-
-void OtherUserPage::updateKmail()
-{
- TQMessageBox *msg = new TQMessageBox( tqApp->mainWidget() );
- msg->setText( i18n( "Updating account..." ) );
- msg->show();
- tqApp->processEvents();
- sleep( 1 );
- tqApp->processEvents();
-
- TQString error;
- TQCString dcopService;
- int result = KDCOPServiceStarter::self()->
- findServiceFor( "DCOP/ResourceBackend/IMAP", TQString(),
- TQString(), &error, &dcopService );
- if ( result != 0 ) {
- KMessageBox::error( 0, i18n( "Unable to start KMail to trigger account update with Scalix server" ) );
- delete msg;
- return;
- }
-
- DCOPRef ref( dcopService, "KMailIface" );
-
- // loop until dcop iface is set up correctly
- TQStringList list;
- while ( list.isEmpty() ) {
- ref.call( "accounts()" ).get( list );
- }
-
- ref.call( "checkAccount(TQString)", i18n( "Scalix Server" ) );
-
- delete msg;
-}
-
-#include "otheruserpage.moc"
diff --git a/kresources/scalix/scalixadmin/otheruserpage.h b/kresources/scalix/scalixadmin/otheruserpage.h
deleted file mode 100644
index e8c5e269..00000000
--- a/kresources/scalix/scalixadmin/otheruserpage.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef OTHERUSERPAGE_H
-#define OTHERUSERPAGE_H
-
-#include <tqwidget.h>
-
-#include "otherusermanager.h"
-
-class TQPushButton;
-class OtherUserView;
-
-class OtherUserPage : public TQWidget
-{
- Q_OBJECT
-
-
- public:
- OtherUserPage( TQWidget *parent = 0 );
- ~OtherUserPage();
-
- private slots:
- void loadAllUsers();
- void addUser();
- void removeUser();
-
- void userAdded( TDEIO::Job* );
- void userRemoved( TDEIO::Job* );
- void allUsers( TDEIO::Job* );
-
- void selectionChanged();
-
- private:
- void updateKmail();
-
- TQPushButton *mAddButton;
- TQPushButton *mDeleteButton;
-
- OtherUserManager mManager;
- OtherUserView *mView;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/otheruserview.cpp b/kresources/scalix/scalixadmin/otheruserview.cpp
deleted file mode 100644
index 25a69428..00000000
--- a/kresources/scalix/scalixadmin/otheruserview.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <klocale.h>
-
-#include "otherusermanager.h"
-
-#include "otheruserview.h"
-
-class OtherUserItem : public TQListViewItem
-{
- public:
- OtherUserItem( TQListView *parent, const TQString &user )
- : TQListViewItem( parent ), mUser( user )
- {
- setText( 0, mUser );
- }
-
- TQString user() const { return mUser; }
-
- private:
- TQString mUser;
-};
-
-OtherUserView::OtherUserView( OtherUserManager *manager, TQWidget *parent )
- : KListView( parent ), mManager( manager )
-{
- addColumn( i18n( "Registered Accounts" ) );
- setFullWidth( true );
-
- connect( mManager, TQT_SIGNAL( changed() ), TQT_SLOT( userChanged() ) );
-
- userChanged();
-}
-
-TQString OtherUserView::selectedUser() const
-{
- OtherUserItem *item = dynamic_cast<OtherUserItem*>( selectedItem() );
- if ( item )
- return item->user();
-
- return TQString();
-}
-
-void OtherUserView::userChanged()
-{
- clear();
-
- TQStringList users = mManager->otherUsers();
- for ( uint i = 0; i < users.count(); ++i )
- new OtherUserItem( this, users[ i ] );
-}
-
-#include "otheruserview.moc"
diff --git a/kresources/scalix/scalixadmin/otheruserview.h b/kresources/scalix/scalixadmin/otheruserview.h
deleted file mode 100644
index b5d3ff00..00000000
--- a/kresources/scalix/scalixadmin/otheruserview.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef OTHERUSERVIEW_H
-#define OTHERUSERVIEW_H
-
-#include <klistview.h>
-
-class OtherUserManager;
-
-class OtherUserView : public KListView
-{
- Q_OBJECT
-
-
- public:
- OtherUserView( OtherUserManager *manager, TQWidget *parent = 0 );
-
- TQString selectedUser() const;
-
- private slots:
- void userChanged();
-
- private:
- OtherUserManager *mManager;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/outofofficepage.cpp b/kresources/scalix/scalixadmin/outofofficepage.cpp
deleted file mode 100644
index 4e34a914..00000000
--- a/kresources/scalix/scalixadmin/outofofficepage.cpp
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqbuttongroup.h>
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqpushbutton.h>
-#include <tqradiobutton.h>
-#include <tqtextedit.h>
-
-#include <klocale.h>
-#include <kmessagebox.h>
-
-#include "jobs.h"
-#include "settings.h"
-
-#include "outofofficepage.h"
-
-OutOfOfficePage::OutOfOfficePage( TQWidget *parent )
- : TQWidget( parent )
-{
- TQGridLayout *layout = new TQGridLayout( this, 4, 2, 11, 6 );
-
- TQButtonGroup *group = new TQButtonGroup( 1, Qt::Vertical, this );
-
- mDisabled = new TQRadioButton( i18n( "I am in the office" ), group );
- mDisabled->setChecked( true );
- mEnabled = new TQRadioButton( i18n( "I am out of the office" ), group );
-
- mLabel = new TQLabel( i18n( "Auto-reply once to each sender with the following text:" ), this );
- mMessage = new TQTextEdit( this );
- mSaveButton = new TQPushButton( i18n( "Save" ), this );
-
- layout->addMultiCellWidget( group, 0, 0, 0, 1 );
- layout->addMultiCellWidget( mLabel, 1, 1, 0, 1 );
- layout->addMultiCellWidget( mMessage, 2, 2, 0, 1 );
- layout->addWidget( mSaveButton, 3, 1 );
-
- statusChanged();
-
- connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( statusChanged() ) );
- connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( changed() ) );
- connect( mSaveButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( store() ) );
- connect( mMessage, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( changed() ) );
-
- load();
-}
-
-OutOfOfficePage::~OutOfOfficePage()
-{
-}
-
-void OutOfOfficePage::load()
-{
- Scalix::GetOutOfOfficeJob *job = Scalix::getOutOfOffice( Settings::self()->globalSlave(),
- Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( loaded( TDEIO::Job* ) ) );
-}
-
-void OutOfOfficePage::loaded( TDEIO::Job* job )
-{
- if ( job->error() ) {
- KMessageBox::error( this, job->errorString() );
- return;
- }
-
- Scalix::GetOutOfOfficeJob *outOfOfficeJob = static_cast<Scalix::GetOutOfOfficeJob*>( job );
-
- mEnabled->setChecked( outOfOfficeJob->enabled() );
- mMessage->setText( outOfOfficeJob->message() );
-
- statusChanged();
-
- mSaveButton->setEnabled( false );
-}
-
-void OutOfOfficePage::store()
-{
- Scalix::SetOutOfOfficeJob *job = Scalix::setOutOfOffice( Settings::self()->globalSlave(),
- Settings::self()->accountUrl(),
- mEnabled->isChecked(),
- mMessage->text() );
-
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( stored( TDEIO::Job* ) ) );
-
- mSaveButton->setEnabled( false );
-}
-
-void OutOfOfficePage::stored( TDEIO::Job* job )
-{
- if ( job->error() )
- KMessageBox::error( this, job->errorString() );
-}
-
-void OutOfOfficePage::statusChanged()
-{
- bool state = mEnabled->isChecked();
-
- mLabel->setEnabled( state );
- mMessage->setEnabled( state );
-}
-
-void OutOfOfficePage::changed()
-{
- mSaveButton->setEnabled( true );
-}
-
-#include "outofofficepage.moc"
diff --git a/kresources/scalix/scalixadmin/outofofficepage.h b/kresources/scalix/scalixadmin/outofofficepage.h
deleted file mode 100644
index f9863fa1..00000000
--- a/kresources/scalix/scalixadmin/outofofficepage.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef OUTOFOFFICEPAGE_H
-#define OUTOFOFFICEPAGE_H
-
-#include <tqwidget.h>
-
-class TQLabel;
-class TQPushButton;
-class TQRadioButton;
-class TQTextEdit;
-
-class OutOfOfficePage : public TQWidget
-{
- Q_OBJECT
-
-
- public:
- OutOfOfficePage( TQWidget *parent = 0 );
- ~OutOfOfficePage();
-
- private slots:
- void load();
- void loaded( TDEIO::Job* );
- void store();
- void stored( TDEIO::Job* );
- void statusChanged();
- void changed();
-
- private:
- TQRadioButton *mEnabled;
- TQRadioButton *mDisabled;
- TQLabel *mLabel;
- TQTextEdit *mMessage;
- TQPushButton *mSaveButton;
-
- bool mChanged;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/passwordpage.cpp b/kresources/scalix/scalixadmin/passwordpage.cpp
deleted file mode 100644
index 120de86f..00000000
--- a/kresources/scalix/scalixadmin/passwordpage.cpp
+++ /dev/null
@@ -1,190 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqapplication.h>
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqlineedit.h>
-#include <tqpushbutton.h>
-
-#include <kconfig.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <kstringhandler.h>
-#include <kwallet.h>
-
-#include "jobs.h"
-#include "settings.h"
-
-#include "passwordpage.h"
-
-PasswordPage::PasswordPage( TQWidget *parent )
- : TQWidget( parent ), mJob( 0 )
-{
- TQGridLayout *layout = new TQGridLayout( this, 2, 3, 11, 6 );
-
- TQLabel *label = new TQLabel( i18n( "New password:" ), this );
- layout->addWidget( label, 0, 0 );
-
- mPassword = new TQLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
- label->setBuddy( mPassword );
- layout->addWidget( mPassword, 0, 1 );
-
- label = new TQLabel( i18n( "Retype new password:" ), this );
- layout->addWidget( label, 1, 0 );
-
- mPasswordRetype = new TQLineEdit( this );
- mPasswordRetype->setEchoMode( TQLineEdit::Password );
- label->setBuddy( mPasswordRetype );
- layout->addWidget( mPasswordRetype, 1, 1 );
-
- mButton = new TQPushButton( i18n( "Change" ), this );
- mButton->setEnabled( false );
- layout->addWidget( mButton, 2, 1 );
-
- layout->setRowSpacing( 3, 1 );
-
- connect( mPassword, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( textChanged() ) );
- connect( mPasswordRetype, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( textChanged() ) );
- connect( mButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( buttonClicked() ) );
-}
-
-void PasswordPage::buttonClicked()
-{
- if ( !mJob ) {
- if ( mPassword->text() != mPasswordRetype->text() ) {
- KMessageBox::error( this, i18n( "The two passwords differ!" ) );
- return;
- }
-
- mJob = Scalix::setPassword( Settings::self()->globalSlave(), Settings::self()->accountUrl(),
- Settings::self()->accountPassword(), mPassword->text() );
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( finished( TDEIO::Job* ) ) );
-
- updateState( true );
- } else {
- mJob->kill();
- mJob = 0;
-
- updateState( false );
- }
-}
-
-void PasswordPage::updateState( bool isWorking )
-{
- if ( isWorking ) {
- mPassword->setEnabled( false );
- mPasswordRetype->setEnabled( false );
- mButton->setText( i18n( "Stop" ) );
- } else {
- mPassword->setEnabled( true );
- mPasswordRetype->setEnabled( true );
- mButton->setText( i18n( "Change" ) );
- }
-}
-
-void PasswordPage::textChanged()
-{
- mButton->setEnabled( !mPassword->text().isEmpty() &&
- !mPasswordRetype->text().isEmpty() );
-}
-
-void PasswordPage::finished( TDEIO::Job* job )
-{
- mJob = 0;
-
- updateState( false );
-
- if ( job->error() ) {
- KMessageBox::error( this, i18n( "Unable to change the password" ) + "\n" + job->errorString() );
- return;
- }
-
- // Update configuration files to the new password as well
-
- const TQString newPassword = mPassword->text();
-
- { // ScalixAdmin config
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "Account" );
- group.writeEntry( "pass", KStringHandler::obscure( newPassword ) );
- }
-
- { // ScalixWizard config
- TDEConfig config( "scalixrc" );
- TDEConfigGroup group( &config, "General" );
- group.writeEntry( "Password", KStringHandler::obscure( newPassword ) );
- }
-
- { // KMail config
- TDEConfig config( "kmailrc" );
-
- // Try to find account group for Scalix
- TQString scalixAccount;
- const TQStringList groupList = config.groupList();
- for ( uint i = 0; i < groupList.count(); ++i ) {
- if ( groupList[ i ].startsWith( "Account " ) ) {
- TDEConfigGroup group( &config, groupList[ i ] );
- if ( group.hasKey( "groupwareType" ) && group.readNumEntry( "groupwareType" ) == 2 ) {
- scalixAccount = groupList[ i ];
- break;
- }
- }
- }
-
- if ( scalixAccount.isEmpty() ) {
- tqWarning( "No Scalix Groupware Account found in kmailrc!" );
- return;
- }
-
- const int accountId = scalixAccount.mid( 8 ).toInt();
-
- TDEConfigGroup group( &config, scalixAccount );
-
- // Save only if the user choose it before
- bool storePassword = group.readBoolEntry( "store-passwd", false );
- if ( storePassword ) {
- // First try to store in KWallet
- if ( KWallet::Wallet::isEnabled() ) {
- WId window = 0;
- if ( tqApp->activeWindow() )
- window = tqApp->activeWindow()->winId();
-
- KWallet::Wallet *wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), window );
- if ( wallet ) {
- if ( !wallet->hasFolder( "kmail" ) )
- wallet->createFolder( "kmail" );
- wallet->setFolder( "kmail" );
- wallet->writePassword( "account-" + TQString::number( accountId ), newPassword );
- }
- } else {
- group.writeEntry( "pass", KStringHandler::obscure( newPassword ) );
- }
-
- TDEConfigGroup fileGroup( &config, TQString( "Folder-%1" ).arg( group.readNumEntry( "Folder" ) ) );
- fileGroup.writeEntry( "pass", KStringHandler::obscure( newPassword ) );
- }
- }
-
- KMessageBox::information( this, i18n( "Password was changed successfully" ) );
-}
-
-#include "passwordpage.moc"
diff --git a/kresources/scalix/scalixadmin/passwordpage.h b/kresources/scalix/scalixadmin/passwordpage.h
deleted file mode 100644
index 5255193e..00000000
--- a/kresources/scalix/scalixadmin/passwordpage.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef PASSWORDPAGE_H
-#define PASSWORDPAGE_H
-
-#include <tqwidget.h>
-
-class TQLineEdit;
-class TQPushButton;
-
-namespace TDEIO {
-class Job;
-}
-
-class PasswordPage : public TQWidget
-{
- Q_OBJECT
-
-
- public:
- PasswordPage( TQWidget *parent = 0 );
-
- private slots:
- void buttonClicked();
- void finished( TDEIO::Job* );
- void textChanged();
-
- private:
- void updateState( bool );
-
- TQLineEdit *mPassword;
- TQLineEdit *mPasswordRetype;
- TQPushButton *mButton;
-
- TDEIO::Job *mJob;
-};
-
-#endif
diff --git a/kresources/scalix/scalixadmin/settings.cpp b/kresources/scalix/scalixadmin/settings.cpp
deleted file mode 100644
index 279491c5..00000000
--- a/kresources/scalix/scalixadmin/settings.cpp
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <kconfig.h>
-#include <kio/scheduler.h>
-#include <kstringhandler.h>
-
-#include "settings.h"
-
-Settings* Settings::mSelf = 0;
-
-Settings::Settings()
-{
- mSlave = TDEIO::Scheduler::getConnectedSlave( accountUrl(),
- accountData() );
-}
-
-Settings::~Settings()
-{
-}
-
-Settings* Settings::self()
-{
- if ( !mSelf )
- mSelf = new Settings;
-
- return mSelf;
-}
-
-TDEIO::MetaData Settings::accountData() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "Account" );
-
- TDEIO::MetaData data;
- data.insert( "auth", group.readEntry( "auth" ) );
- data.insert( "tls", group.readBoolEntry( "use-tls" ) ? "on" : "off" );
-
- return data;
-}
-
-KURL Settings::accountUrl() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "Account" );
-
- KURL url;
- url.setProtocol( group.readBoolEntry( "use-ssl" ) ? "imaps" : "imap" );
- url.setUser( group.readEntry( "user" ) );
- url.setPass( KStringHandler::obscure( group.readEntry( "pass" ) ) );
- url.setHost( group.readEntry( "host" ) );
- url.setPort( group.readNumEntry( "port" ) );
-
- return url;
-}
-
-TQString Settings::accountPassword() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "Account" );
-
- return KStringHandler::obscure( group.readEntry( "pass" ) );
-}
-
-TDEIO::Slave* Settings::globalSlave() const
-{
- return mSlave;
-}
-
-TQString Settings::rulesWizardUrl() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "Misc" );
-
- TQString url = group.readEntry( "rulesWizardUrl" );
- if ( url.isEmpty() ) {
- TDEConfigGroup group( &config, "Account" );
- url = TQString( "http://%1/Scalix/rw/?username=%2" ).arg( group.readEntry( "host" ) )
- .arg( group.readEntry( "user" ) );
- }
-
- return url;
-}
-
-TQString Settings::ldapHost() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "LDAP" );
- return group.readEntry( "host" );
-}
-
-TQString Settings::ldapPort() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "LDAP" );
- return group.readEntry( "port" );
-}
-
-TQString Settings::ldapBase() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "LDAP" );
- return group.readEntry( "base" );
-}
-
-TQString Settings::ldapBindDn() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "LDAP" );
- return group.readEntry( "bindDn" );
-}
-
-TQString Settings::ldapPassword() const
-{
- TDEConfig config( "scalixadminrc" );
- TDEConfigGroup group( &config, "LDAP" );
- return group.readEntry( "password" );
-}
-
diff --git a/kresources/scalix/scalixadmin/settings.h b/kresources/scalix/scalixadmin/settings.h
deleted file mode 100644
index 29028f3b..00000000
--- a/kresources/scalix/scalixadmin/settings.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * This file is part of ScalixAdmin.
- *
- * Copyright (C) 2007 Trolltech ASA. All rights reserved.
- *
- * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef SETTINGS_H
-#define SETTINGS_H
-
-#include <kurl.h>
-#include <kio/global.h>
-#include <kio/slave.h>
-
-class Settings
-{
- public:
- ~Settings();
-
- static Settings* self();
-
- TDEIO::MetaData accountData() const;
- KURL accountUrl() const;
- TQString accountPassword() const;
-
- TDEIO::Slave *globalSlave() const;
-
- TQString rulesWizardUrl() const;
-
- TQString ldapHost() const;
- TQString ldapPort() const;
- TQString ldapBase() const;
- TQString ldapBindDn() const;
- TQString ldapPassword() const;
-
- private:
- Settings();
- TDEIO::Slave *mSlave;
-
- static Settings* mSelf;
-};
-
-#endif
diff --git a/kresources/scalix/shared/CMakeLists.txt b/kresources/scalix/shared/CMakeLists.txt
deleted file mode 100644
index 28ede16e..00000000
--- a/kresources/scalix/shared/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../../lib
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-
-##### resourcescalixshared (static) #############
-
-set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
-
-tde_add_library( resourcescalixshared STATIC_PIC AUTOMOC
- SOURCES
- resourcescalixbase.cpp kmailconnection.cpp scalixbase.cpp
- subresource.cpp kmailconnection.skel
- ${CMAKE_SOURCE_DIR}/kmail/kmailicalIface.stub
-)
diff --git a/kresources/scalix/shared/Makefile.am b/kresources/scalix/shared/Makefile.am
deleted file mode 100644
index 18bcbc0d..00000000
--- a/kresources/scalix/shared/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/lib $(all_includes)
-
-noinst_HEADERS = resourcescalixbase.h scalixbase.h subresource.h
-
-noinst_LTLIBRARIES = libresourcescalixshared.la
-
-libresourcescalixshared_la_SOURCES = \
- resourcescalixbase.cpp kmailconnection.cpp scalixbase.cpp \
- subresource.cpp \
- kmailconnection.skel kmailicalIface.stub
-libresourcescalixshared_la_METASOURCES = AUTO
-libresourcescalixshared_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la ../../lib/libkgroupwaredav.la
-libresourcescalixshared_la_LDFLAGS = -no-undefined
-
-kmailicalIface_DCOPIDLNG = true
-
-kmailicalIface_DIR = $(top_srcdir)/kmail
diff --git a/kresources/scalix/shared/kmailconnection.cpp b/kresources/scalix/shared/kmailconnection.cpp
deleted file mode 100644
index 5a157048..00000000
--- a/kresources/scalix/shared/kmailconnection.cpp
+++ /dev/null
@@ -1,281 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "kmailconnection.h"
-#include "resourcescalixbase.h"
-
-#include <kdebug.h>
-#include <dcopclient.h>
-#include <kapplication.h>
-#include <kdcopservicestarter.h>
-#include <klocale.h>
-
-#include "kmailicalIface_stub.h"
-
-
-using namespace Scalix;
-
-
-KMailConnection::KMailConnection( ResourceScalixBase* resource,
- const TQCString& objId )
- : DCOPObject( objId ), mResource( resource ), mKMailIcalIfaceStub( 0 )
-{
- // Make the connection to KMail ready
- mDCOPClient = new DCOPClient();
- mDCOPClient->attach();
- mDCOPClient->registerAs( objId, true );
-
- kapp->dcopClient()->setNotifications( true );
- connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ),
- this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
-}
-
-KMailConnection::~KMailConnection()
-{
- kapp->dcopClient()->setNotifications( false );
- delete mKMailIcalIfaceStub;
- mKMailIcalIfaceStub = 0;
- delete mDCOPClient;
- mDCOPClient = 0;
-}
-
-static const TQCString dcopObjectId = "KMailICalIface";
-bool KMailConnection::connectToKMail()
-{
- if ( !mKMailIcalIfaceStub ) {
- TQString error;
- TQCString dcopService;
- int result = KDCOPServiceStarter::self()->
- findServiceFor( "DCOP/ResourceBackend/IMAP", TQString(),
- TQString(), &error, &dcopService );
- if ( result != 0 ) {
- kdError(5650) << "Couldn't connect to the IMAP resource backend\n";
- // TODO: You might want to show "error" (if not empty) here,
- // using e.g. KMessageBox
- return false;
- }
-
- mKMailIcalIfaceStub = new KMailICalIface_stub( kapp->dcopClient(),
- dcopService, dcopObjectId );
-
- // Attach to the KMail signals
- if ( !connectKMailSignal( "incidenceAdded(TQString,TQString,TQ_UINT32,int,TQString)",
- "fromKMailAddIncidence(TQString,TQString,TQ_UINT32,int,TQString)" ) )
- kdError(5650) << "DCOP connection to incidenceAdded failed" << endl;
- if ( !connectKMailSignal( "incidenceDeleted(TQString,TQString,TQString)",
- "fromKMailDelIncidence(TQString,TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to incidenceDeleted failed" << endl;
- if ( !connectKMailSignal( "signalRefresh(TQString,TQString)",
- "fromKMailRefresh(TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to signalRefresh failed" << endl;
- if ( !connectKMailSignal( "subresourceAdded( TQString, TQString, TQString )",
- "fromKMailAddSubresource( TQString, TQString, TQString )" ) )
- kdError(5650) << "DCOP connection to subresourceAdded failed" << endl;
- if ( !connectKMailSignal( "subresourceDeleted(TQString,TQString)",
- "fromKMailDelSubresource(TQString,TQString)" ) )
- kdError(5650) << "DCOP connection to subresourceDeleted failed" << endl;
- if ( !connectKMailSignal( "asyncLoadResult(TQMap<TQ_UINT32, TQString>, TQString, TQString)",
- "fromKMailAsyncLoadResult(TQMap<TQ_UINT32, TQString>, TQString, TQString)" ) )
- kdError(5650) << "DCOP connection to asyncLoadResult failed" << endl;
- }
-
- return ( mKMailIcalIfaceStub != 0 );
-}
-
-bool KMailConnection::fromKMailAddIncidence( const TQString& type,
- const TQString& folder,
- TQ_UINT32 sernum,
- int format,
- const TQString& data )
-{
- if ( format != KMailICalIface::StorageXML
- && format != KMailICalIface::StorageIcalVcard )
- return false;
-// kdDebug(5650) << "KMailConnection::fromKMailAddIncidence( " << type << ", "
-// << folder << " ). iCal:\n" << ical << endl;
- return mResource->fromKMailAddIncidence( type, folder, sernum, format, data );
-}
-
-void KMailConnection::fromKMailDelIncidence( const TQString& type,
- const TQString& folder,
- const TQString& xml )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailDelIncidence( " << type << ", "
-// << folder << ", " << uid << " )\n";
- mResource->fromKMailDelIncidence( type, folder, xml );
-}
-
-void KMailConnection::fromKMailRefresh( const TQString& type, const TQString& folder )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailRefresh( " << type << ", "
-// << folder << " )\n";
- mResource->fromKMailRefresh( type, folder );
-}
-
-void KMailConnection::fromKMailAddSubresource( const TQString& type,
- const TQString& resource,
- const TQString& label )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailAddSubresource( " << type << ", "
-// << resource << " )\n";
- bool writable = true;
-
- // TODO: This should be told by KMail right away
- if ( connectToKMail() )
- writable = mKMailIcalIfaceStub->isWritableFolder( type, resource );
-
- mResource->fromKMailAddSubresource( type, resource, label, writable );
-}
-
-void KMailConnection::fromKMailDelSubresource( const TQString& type,
- const TQString& resource )
-{
-// kdDebug(5650) << "KMailConnection::fromKMailDelSubresource( " << type << ", "
-// << resource << " )\n";
- mResource->fromKMailDelSubresource( type, resource );
-}
-
-void KMailConnection::fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder )
-{
- mResource->fromKMailAsyncLoadResult( map, type, folder );
-}
-
-bool KMailConnection::connectKMailSignal( const TQCString& signal,
- const TQCString& method )
-{
- return connectDCOPSignal( "kmail", dcopObjectId, signal, method, false )
- && connectDCOPSignal( "kontact", dcopObjectId, signal, method, false );
-}
-
-bool KMailConnection::kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType )
-{
- if ( !connectToKMail() )
- return false;
-
- lst = mKMailIcalIfaceStub->subresourcesKolab( contentsType );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailIncidencesCount( int& count,
- const TQString& mimetype,
- const TQString& resource )
-{
- if ( !connectToKMail() )
- return false;
-
- count = mKMailIcalIfaceStub->incidencesKolabCount( mimetype, resource );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailIncidences( TQMap<TQ_UINT32, TQString>& lst,
- const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages )
-{
- if ( !connectToKMail() )
- return false;
-
- lst = mKMailIcalIfaceStub->incidencesKolab( mimetype, resource, startIndex, nbMessages );
- return mKMailIcalIfaceStub->ok();
-}
-
-
-bool KMailConnection::kmailGetAttachment( KURL& url,
- const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename )
-{
- if ( !connectToKMail() )
- return false;
-
- url = mKMailIcalIfaceStub->getAttachment( resource, sernum, filename );
- return mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailDeleteIncidence( const TQString& resource,
- TQ_UINT32 sernum )
-{
- return connectToKMail()
- && mKMailIcalIfaceStub->deleteIncidenceKolab( resource, sernum )
- && mKMailIcalIfaceStub->ok();
-}
-
-bool KMailConnection::kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& subject,
- const TQString& plainTextBody,
- const TQMap<TQCString, TQString>& customHeaders,
- const TQStringList& attachmentURLs,
- const TQStringList& attachmentMimetypes,
- const TQStringList& attachmentNames,
- const TQStringList& deletedAttachments )
-{
- //kdDebug(5006) << kdBacktrace() << endl;
- if ( connectToKMail() ) {
- sernum = mKMailIcalIfaceStub->update( resource, sernum, subject, plainTextBody, customHeaders,
- attachmentURLs, attachmentMimetypes, attachmentNames,
- deletedAttachments );
- return sernum && mKMailIcalIfaceStub->ok();
- } else
- return false;
-}
-
-bool KMailConnection::kmailStorageFormat( KMailICalIface::StorageFormat& type,
- const TQString& folder )
-{
- bool ok = connectToKMail();
- type = mKMailIcalIfaceStub->storageFormat( folder );
- return ok && mKMailIcalIfaceStub->ok();
-}
-
-
-bool KMailConnection::kmailTriggerSync( const TQString &contentsType )
-{
- bool ok = connectToKMail();
- return ok && mKMailIcalIfaceStub->triggerSync( contentsType );
-}
-
-void KMailConnection::unregisteredFromDCOP( const TQCString& appId )
-{
- if ( mKMailIcalIfaceStub && mKMailIcalIfaceStub->app() == appId ) {
- // Delete the stub so that the next time we need to talk to kmail,
- // we'll know that we need to start a new one.
- delete mKMailIcalIfaceStub;
- mKMailIcalIfaceStub = 0;
- }
-}
-
-#include "kmailconnection.moc"
diff --git a/kresources/scalix/shared/kmailconnection.h b/kresources/scalix/shared/kmailconnection.h
deleted file mode 100644
index 7fec6274..00000000
--- a/kresources/scalix/shared/kmailconnection.h
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef KMAILCONNECTION_H
-#define KMAILCONNECTION_H
-
-#include <dcopobject.h>
-#include <kmail/kmailicalIface.h>
-
-class KURL;
-class DCOPClient;
-class KMailICalIface_stub;
-
-namespace Scalix {
-
-class ResourceScalixBase;
-
-/**
- This class provides the kmail connectivity for IMAP resources.
-*/
-class KMailConnection : public TQObject, public DCOPObject {
- Q_OBJECT
-//
- K_DCOP
-
- // These are the methods called by KMail when the resource changes
-k_dcop:
- bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
- TQ_UINT32 sernum, int format, const TQString& xml );
- void fromKMailDelIncidence( const TQString& type, const TQString& resource,
- const TQString& xml );
- void fromKMailRefresh( const TQString& type, const TQString& resource );
- void fromKMailAddSubresource( const TQString& type, const TQString& resource, const TQString& label );
- void fromKMailDelSubresource( const TQString& type, const TQString& resource );
- void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map, const TQString& type,
- const TQString& folder );
-
-public:
- KMailConnection( ResourceScalixBase* resource, const TQCString& objId );
- virtual ~KMailConnection();
-
- /**
- * Do the connection to KMail.
- */
- bool connectToKMail();
-
- // Call the DCOP methods
- bool kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType );
- bool kmailIncidencesCount( int& count,
- const TQString& mimetype,
- const TQString& resource );
- bool kmailIncidences( TQMap<TQ_UINT32, TQString>& lst, const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages );
-
- bool kmailGetAttachment( KURL& url, const TQString& resource, TQ_UINT32 sernum,
- const TQString& filename );
- bool kmailDeleteIncidence( const TQString& resource, TQ_UINT32 sernum );
- bool kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& subject,
- const TQString& plainTextBody,
- const TQMap<TQCString, TQString>& customHeaders,
- const TQStringList& attachmentURLs,
- const TQStringList& attachmentMimetypes,
- const TQStringList& attachmentNames,
- const TQStringList& deletedAttachments );
-
- bool kmailStorageFormat( KMailICalIface::StorageFormat& type, const TQString& folder);
-
- bool kmailTriggerSync( const TQString& contentsType );
-
-private slots:
- virtual void unregisteredFromDCOP( const TQCString& );
-
-private:
- /** Connect a signal from KMail to a local slot. */
- bool connectKMailSignal( const TQCString&, const TQCString& );
-
- ResourceScalixBase* mResource;
- DCOPClient* mDCOPClient;
- KMailICalIface_stub* mKMailIcalIfaceStub;
-};
-
-}
-
-#endif // KMAILCONNECTION_H
diff --git a/kresources/scalix/shared/resourcescalixbase.cpp b/kresources/scalix/shared/resourcescalixbase.cpp
deleted file mode 100644
index de1aa915..00000000
--- a/kresources/scalix/shared/resourcescalixbase.cpp
+++ /dev/null
@@ -1,179 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "resourcescalixbase.h"
-#include "kmailconnection.h"
-
-#include <folderselectdialog.h>
-
-#include <klocale.h>
-#include <kstandarddirs.h>
-#include <kinputdialog.h>
-#include <kurl.h>
-#include <ktempfile.h>
-#include <kmessagebox.h>
-#include <tqtextstream.h>
-#include <kdebug.h>
-
-using namespace Scalix;
-
-static unsigned int uniquifier = 0;
-
-ResourceScalixBase::ResourceScalixBase( const TQCString& objId )
- : mSilent( false )
-{
- TDEGlobal::locale()->insertCatalogue( "kres_scalix" );
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TQString uniqueObjId = TQString( objId ) + TQString::number( uniquifier++ );
- mConnection = new KMailConnection( this, uniqueObjId.utf8() );
-}
-
-ResourceScalixBase::~ResourceScalixBase()
-{
- delete mConnection;
-}
-
-
-bool ResourceScalixBase::kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType ) const
-{
- return mConnection->kmailSubresources( lst, contentsType );
-}
-
-bool ResourceScalixBase::kmailTriggerSync( const TQString& contentsType ) const
-{
- return mConnection->kmailTriggerSync( contentsType );
-}
-
-
-bool ResourceScalixBase::kmailIncidencesCount( int &count,
- const TQString& mimetype,
- const TQString& resource ) const
-{
- return mConnection->kmailIncidencesCount( count, mimetype, resource );
-}
-
-bool ResourceScalixBase::kmailIncidences( TQMap<TQ_UINT32, TQString>& lst,
- const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages ) const
-{
- return mConnection->kmailIncidences( lst, mimetype, resource, startIndex, nbMessages );
-}
-
-bool ResourceScalixBase::kmailGetAttachment( KURL& url, const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename ) const
-{
- return mConnection->kmailGetAttachment( url, resource, sernum, filename );
-}
-
-bool ResourceScalixBase::kmailDeleteIncidence( const TQString& resource,
- TQ_UINT32 sernum )
-{
- return mSilent || mConnection->kmailDeleteIncidence( resource, sernum );
-}
-
-bool ResourceScalixBase::kmailUpdate( const TQString& resource,
- TQ_UINT32& sernum,
- const TQString& xml,
- const TQString& mimetype,
- const TQString& subject,
- const CustomHeaderMap& _customHeaders,
- const TQStringList& _attachmentURLs,
- const TQStringList& _attachmentMimetypes,
- const TQStringList& _attachmentNames,
- const TQStringList& deletedAttachments )
-{
- if ( mSilent )
- return true;
-
- TQString subj = subject;
- if ( subj.isEmpty() )
- subj = i18n("Internal kolab data: Do not delete this mail.");
-
- // ical style, simply put the data inline
- return mConnection->kmailUpdate( resource, sernum, subj, xml, _customHeaders,
- _attachmentURLs, _attachmentMimetypes, _attachmentNames, deletedAttachments );
-}
-
-TQString ResourceScalixBase::configFile( const TQString& type ) const
-{
- return locateLocal( "config",
- TQString( "kresources/scalix/%1rc" ).arg( type ) );
-}
-
-bool ResourceScalixBase::connectToKMail() const
-{
- return mConnection->connectToKMail();
-}
-
-TQString ResourceScalixBase::findWritableResource( const ResourceMap& resources )
-{
- // I have to use the label (shown in the dialog) as key here. But given how the
- // label is made up, it should be unique. If it's not, well the dialog would suck anyway...
- TQMap<TQString, TQString> possible;
- TQStringList labels;
- ResourceMap::ConstIterator it;
- for ( it = resources.begin(); it != resources.end(); ++it ) {
- if ( it.data().writable() && it.data().active() ) {
- // Writable and active possibility
- possible[ it.data().label() ] = it.key();
- }
- }
-
- if ( possible.isEmpty() ) { // None found!!
- kdWarning(5650) << "No writable resource found!" << endl;
- KMessageBox::error( 0, i18n( "No writable resource was found, saving will not be possible. Reconfigure KMail first." ) );
- return TQString();
- }
- if ( possible.count() == 1 )
- // Just one found
- return possible.begin().data(); // yes this is the subresource key, i.e. location
-
- // Several found, ask the user
- TQString chosenLabel = KPIM::FolderSelectDialog::getItem( i18n( "Select Resource Folder" ),
- i18n( "You have more than one writable resource folder. "
- "Please select the one you want to write to." ),
- possible.keys() );
- if ( chosenLabel.isEmpty() ) // cancelled
- return TQString();
- return possible[chosenLabel];
-}
-
-KMailICalIface::StorageFormat ResourceScalixBase::kmailStorageFormat( const TQString &folder ) const
-{
- KMailICalIface::StorageFormat format = (KMailICalIface::StorageFormat) 3;
- mConnection->kmailStorageFormat( format, folder );
- return format;
-}
diff --git a/kresources/scalix/shared/resourcescalixbase.h b/kresources/scalix/shared/resourcescalixbase.h
deleted file mode 100644
index 82c6e471..00000000
--- a/kresources/scalix/shared/resourcescalixbase.h
+++ /dev/null
@@ -1,180 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef RESOURCESCALIXBASE_H
-#define RESOURCESCALIXBASE_H
-
-#include <tqstring.h>
-#include <tqmap.h>
-#include <tqstringlist.h>
-
-#include "subresource.h"
-#include <kmail/kmailicalIface.h>
-
-class TQCString;
-class KURL;
-
-namespace Scalix {
-
-class KMailConnection;
-
-/**
- This class provides the kmail connectivity for IMAP resources.
-
- The main methods are:
-
- fromKMail...() : calls made _by_ KMail to add/delete data representation in the resource.
-
- kmail...() : calls _into_ KMail made by the resource.
-
- e.g. fromKMailAddIncidence() is called by KMail
- when a new iCard is there after an IMAP sync.
-
- By calling fromKMailAddIncidence() KMail notifies
- the resource about the new incidence, so in the
- addressbook a new address will appear like magic.
-
- e.g. kmailAddIncidence() is called by the resource when
- iCard must be stored by KMail because the user has added
- an address in the addressbook.
-
- By calling kmailAddIncidence() the resource causes
- KMail to store the new address in the (IMAP) folder.
-*/
-class ResourceScalixBase {
-public:
- ResourceScalixBase( const TQCString& objId );
- virtual ~ResourceScalixBase();
-
- // These are the methods called by KMail when the resource changes
- virtual bool fromKMailAddIncidence( const TQString& type,
- const TQString& resource,
- TQ_UINT32 sernum,
- int format,
- const TQString& data ) = 0;
- virtual void fromKMailDelIncidence( const TQString& type,
- const TQString& resource,
- const TQString& xml ) = 0;
- virtual void fromKMailRefresh( const TQString& type,
- const TQString& resource ) = 0;
- virtual void fromKMailAddSubresource( const TQString& type,
- const TQString& resource,
- const TQString& label,
- bool writable ) = 0;
- virtual void fromKMailDelSubresource( const TQString& type,
- const TQString& resource ) = 0;
-
- virtual void fromKMailAsyncLoadResult( const TQMap<TQ_UINT32, TQString>& map,
- const TQString& type,
- const TQString& folder ) = 0;
-protected:
- /// Do the connection to KMail.
- bool connectToKMail() const;
-
- // These are the KMail dcop function connections. The docs here say
- // "Get", which here means that the first argument is the return arg
-
- /// List all folders with a certain contentsType. Returns a TQMap with
- /// resourcename/writable pairs
- bool kmailSubresources( TQValueList<KMailICalIface::SubResource>& lst,
- const TQString& contentsType ) const;
-
- /// Get the number of messages in this folder.
- /// Used to iterate over kmailIncidences by chunks
- bool kmailIncidencesCount( int& count, const TQString& mimetype,
- const TQString& resource ) const;
-
- /// Get the mimetype attachments from a chunk of messages from this folder.
- /// Returns a TQMap with serialNumber/attachment pairs.
- bool kmailIncidences( TQMap<TQ_UINT32, TQString>& lst, const TQString& mimetype,
- const TQString& resource,
- int startIndex,
- int nbMessages ) const;
-
- bool kmailTriggerSync( const TQString& contentType ) const;
-
-public: // for Contact
- /// Get an attachment from a mail. Returns a URL to it. This can
- /// be called by the resource after obtaining the incidence.
- /// The resource must delete the temp file.
- bool kmailGetAttachment( KURL& url, const TQString& resource,
- TQ_UINT32 sernum,
- const TQString& filename ) const;
-
-protected:
- /// Delete an incidence.
- bool kmailDeleteIncidence( const TQString& resource, TQ_UINT32 sernum );
-
- KMailICalIface::StorageFormat kmailStorageFormat( const TQString& folder ) const;
-
- typedef TQMap<TQCString, TQString> CustomHeaderMap;
-
- /// Update an incidence. The list of attachments are URLs.
- /// The parameter sernum is updated with the right KMail serial number
- bool kmailUpdate( const TQString& resource, TQ_UINT32& sernum,
- const TQString& xml,
- const TQString& mimetype,
- const TQString& subject,
- const CustomHeaderMap& customHeaders = CustomHeaderMap(),
- const TQStringList& attachmentURLs = TQStringList(),
- const TQStringList& attachmentMimetypes = TQStringList(),
- const TQStringList& attachmentNames = TQStringList(),
- const TQStringList& deletedAttachments = TQStringList() );
-
- /// Get the full path of the config file.
- TQString configFile( const TQString& type ) const;
-
- /// If only one of these is writable, return that. Otherwise return null.
- TQString findWritableResource( const ResourceMap& resources );
-
- bool mSilent;
-
- /**
- * This is used to store a mapping from the XML UID to the KMail
- * serial number of the mail it's stored in. That provides a quick way
- * to access the storage in KMail.
- */
- UidMap mUidMap;
-
- /// This is used to distinguish operations triggered by the user,
- /// from operations triggered by KMail
- TQStringList mUidsPendingAdding;
- TQStringList mUidsPendingDeletion;
- TQStringList mUidsPendingUpdate;
-
-private:
- mutable KMailConnection* mConnection;
-};
-
-}
-
-#endif // RESOURCEKOLABBASE_H
diff --git a/kresources/scalix/shared/scalixbase.cpp b/kresources/scalix/shared/scalixbase.cpp
deleted file mode 100644
index d40bdb03..00000000
--- a/kresources/scalix/shared/scalixbase.cpp
+++ /dev/null
@@ -1,446 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "scalixbase.h"
-
-#include <kabc/addressee.h>
-#include <libkcal/journal.h>
-#include <libtdepim/kpimprefs.h>
-#include <kdebug.h>
-#include <tqfile.h>
-
-using namespace Scalix;
-
-
-ScalixBase::ScalixBase( const TQString& tz )
- : mCreationDate( TQDateTime::currentDateTime() ),
- mLastModified( TQDateTime::currentDateTime() ),
- mSensitivity( Public ), mTimeZoneId( tz ),
- mHasPilotSyncId( false ), mHasPilotSyncStatus( false )
-{
-}
-
-ScalixBase::~ScalixBase()
-{
-}
-
-void ScalixBase::setFields( const KCal::Incidence* incidence )
-{
- // So far unhandled KCal::IncidenceBase fields:
- // mPilotID, mSyncStatus, mFloats
-
- setUid( incidence->uid() );
- setBody( incidence->description() );
- setCategories( incidence->categoriesStr() );
- setCreationDate( localToUTC( incidence->created() ) );
- setLastModified( localToUTC( incidence->lastModified() ) );
- setSensitivity( static_cast<Sensitivity>( incidence->secrecy() ) );
- // TODO: Attachments
-}
-
-void ScalixBase::saveTo( KCal::Incidence* incidence ) const
-{
- incidence->setUid( uid() );
- incidence->setDescription( body() );
- incidence->setCategories( categories() );
- incidence->setCreated( utcToLocal( creationDate() ) );
- incidence->setLastModified( utcToLocal( lastModified() ) );
- incidence->setSecrecy( sensitivity() );
- // TODO: Attachments
-}
-
-void ScalixBase::setFields( const KABC::Addressee* addressee )
-{
- // An addressee does not have a creation date, so somehow we should
- // make one, if this is a new entry
-
- setUid( addressee->uid() );
- setBody( addressee->note() );
- setCategories( addressee->categories().join( "," ) );
-
- // Set creation-time and last-modification-time
- const TQString creationString = addressee->custom( "KOLAB", "CreationDate" );
- kdDebug(5006) << "Creation time string: " << creationString << endl;
- TQDateTime creationDate;
- if ( creationString.isEmpty() ) {
- creationDate = TQDateTime::currentDateTime();
- kdDebug(5006) << "Creation date set to current time\n";
- }
- else {
- creationDate = stringToDateTime( creationString );
- kdDebug(5006) << "Creation date loaded\n";
- }
- TQDateTime modified = addressee->revision();
- if ( !modified.isValid() )
- modified = TQDateTime::currentDateTime();
- setLastModified( modified );
- if ( modified < creationDate ) {
- // It's not possible that the modification date is earlier than creation
- creationDate = modified;
- kdDebug(5006) << "Creation date set to modification date\n";
- }
- setCreationDate( creationDate );
- const TQString newCreationDate = dateTimeToString( creationDate );
- if ( creationString != newCreationDate ) {
- // We modified the creation date, so store it for future reference
- const_cast<KABC::Addressee*>( addressee )
- ->insertCustom( "KOLAB", "CreationDate", newCreationDate );
- kdDebug(5006) << "Creation date modified. New one: " << newCreationDate << endl;
- }
-
- switch( addressee->secrecy().type() ) {
- case KABC::Secrecy::Private:
- setSensitivity( Private );
- break;
- case KABC::Secrecy::Confidential:
- setSensitivity( Confidential );
- break;
- default:
- setSensitivity( Public );
- }
-
- // TODO: Attachments
-}
-
-void ScalixBase::saveTo( KABC::Addressee* addressee ) const
-{
- addressee->setUid( uid() );
- addressee->setNote( body() );
- addressee->setCategories( TQStringList::split( ',', categories() ) );
- addressee->setRevision( lastModified() );
- addressee->insertCustom( "KOLAB", "CreationDate",
- dateTimeToString( creationDate() ) );
-
- switch( sensitivity() ) {
- case Private:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Private ) );
- break;
- case Confidential:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Confidential ) );
- break;
- default:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Public ) );
- break;
- }
-
- // TODO: Attachments
-}
-
-void ScalixBase::setUid( const TQString& uid )
-{
- mUid = uid;
-}
-
-TQString ScalixBase::uid() const
-{
- return mUid;
-}
-
-void ScalixBase::setBody( const TQString& body )
-{
- mBody = body;
-}
-
-TQString ScalixBase::body() const
-{
- return mBody;
-}
-
-void ScalixBase::setCategories( const TQString& categories )
-{
- mCategories = categories;
-}
-
-TQString ScalixBase::categories() const
-{
- return mCategories;
-}
-
-void ScalixBase::setCreationDate( const TQDateTime& date )
-{
- mCreationDate = date;
-}
-
-TQDateTime ScalixBase::creationDate() const
-{
- return mCreationDate;
-}
-
-void ScalixBase::setLastModified( const TQDateTime& date )
-{
- mLastModified = date;
-}
-
-TQDateTime ScalixBase::lastModified() const
-{
- return mLastModified;
-}
-
-void ScalixBase::setSensitivity( Sensitivity sensitivity )
-{
- mSensitivity = sensitivity;
-}
-
-ScalixBase::Sensitivity ScalixBase::sensitivity() const
-{
- return mSensitivity;
-}
-
-void ScalixBase::setPilotSyncId( unsigned long id )
-{
- mHasPilotSyncId = true;
- mPilotSyncId = id;
-}
-
-bool ScalixBase::hasPilotSyncId() const
-{
- return mHasPilotSyncId;
-}
-
-unsigned long ScalixBase::pilotSyncId() const
-{
- return mPilotSyncId;
-}
-
-void ScalixBase::setPilotSyncStatus( int status )
-{
- mHasPilotSyncStatus = true;
- mPilotSyncStatus = status;
-}
-
-bool ScalixBase::hasPilotSyncStatus() const
-{
- return mHasPilotSyncStatus;
-}
-
-int ScalixBase::pilotSyncStatus() const
-{
- return mPilotSyncStatus;
-}
-
-bool ScalixBase::loadEmailAttribute( TQDomElement& element, Email& email )
-{
- for ( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- TQString tagName = e.tagName();
-
- if ( tagName == "display-name" )
- email.displayName = e.text();
- else if ( tagName == "smtp-address" )
- email.smtpAddress = e.text();
- else
- // TODO: Unhandled tag - save for later storage
- kdDebug() << "Warning: Unhandled tag " << e.tagName() << endl;
- } else
- kdDebug() << "Node is not a comment or an element???" << endl;
- }
-
- return true;
-}
-
-void ScalixBase::saveEmailAttribute( TQDomElement& element, const Email& email,
- const TQString& tagName ) const
-{
- TQDomElement e = element.ownerDocument().createElement( tagName );
- element.appendChild( e );
- writeString( e, "display-name", email.displayName );
- writeString( e, "smtp-address", email.smtpAddress );
-}
-
-bool ScalixBase::loadAttribute( TQDomElement& element )
-{
- TQString tagName = element.tagName();
-
- if ( tagName == "uid" )
- setUid( element.text() );
- else if ( tagName == "body" )
- setBody( element.text() );
- else if ( tagName == "categories" )
- setCategories( element.text() );
- else if ( tagName == "creation-date" )
- setCreationDate( stringToDateTime( element.text() ) );
- else if ( tagName == "last-modification-date" )
- setLastModified( stringToDateTime( element.text() ) );
- else if ( tagName == "sensitivity" )
- setSensitivity( stringToSensitivity( element.text() ) );
- else if ( tagName == "product-id" )
- return true; // ignore this field
- else if ( tagName == "pilot-sync-id" )
- setPilotSyncId( element.text().toULong() );
- else if ( tagName == "pilot-sync-status" )
- setPilotSyncStatus( element.text().toInt() );
- else
- return false;
-
- // Handled here
- return true;
-}
-
-bool ScalixBase::saveAttributes( TQDomElement& element ) const
-{
- writeString( element, "product-id", productID() );
- writeString( element, "uid", uid() );
- writeString( element, "body", body() );
- writeString( element, "categories", categories() );
- writeString( element, "creation-date", dateTimeToString( creationDate() ) );
- writeString( element, "last-modification-date",
- dateTimeToString( lastModified() ) );
- writeString( element, "sensitivity", sensitivityToString( sensitivity() ) );
- if ( hasPilotSyncId() )
- writeString( element, "pilot-sync-id", TQString::number( pilotSyncId() ) );
- if ( hasPilotSyncStatus() )
- writeString( element, "pilot-sync-status", TQString::number( pilotSyncStatus() ) );
- return true;
-}
-
-bool ScalixBase::load( const TQString& xml )
-{
- TQString errorMsg;
- int errorLine, errorColumn;
- TQDomDocument document;
- bool ok = document.setContent( xml, &errorMsg, &errorLine, &errorColumn );
-
- if ( !ok ) {
- tqWarning( "Error loading document: %s, line %d, column %d",
- errorMsg.latin1(), errorLine, errorColumn );
- return false;
- }
-
- // XML file loaded into tree. Now parse it
- return loadXML( document );
-}
-
-bool ScalixBase::load( TQFile& xml )
-{
- TQString errorMsg;
- int errorLine, errorColumn;
- TQDomDocument document;
- bool ok = document.setContent( &xml, &errorMsg, &errorLine, &errorColumn );
-
- if ( !ok ) {
- tqWarning( "Error loading document: %s, line %d, column %d",
- errorMsg.latin1(), errorLine, errorColumn );
- return false;
- }
-
- // XML file loaded into tree. Now parse it
- return loadXML( document );
-}
-
-TQDomDocument ScalixBase::domTree()
-{
- TQDomDocument document;
-
- TQString p = "version=\"1.0\" encoding=\"UTF-8\"";
- document.appendChild(document.createProcessingInstruction( "xml", p ) );
-
- return document;
-}
-
-
-TQString ScalixBase::dateTimeToString( const TQDateTime& time )
-{
- return time.toString( Qt::ISODate ) + 'Z';
-}
-
-TQString ScalixBase::dateToString( const TQDate& date )
-{
- return date.toString( Qt::ISODate );
-}
-
-TQDateTime ScalixBase::stringToDateTime( const TQString& _date )
-{
- TQString date( _date );
- if ( date.endsWith( "Z" ) )
- date.truncate( date.length() - 1 );
- return TQDateTime::fromString( date, Qt::ISODate );
-}
-
-TQDate ScalixBase::stringToDate( const TQString& date )
-{
- return TQDate::fromString( date, Qt::ISODate );
-}
-
-TQString ScalixBase::sensitivityToString( Sensitivity s )
-{
- switch( s ) {
- case Private: return "private";
- case Confidential: return "confidential";
- case Public: return "public";
- }
-
- return "What what what???";
-}
-
-ScalixBase::Sensitivity ScalixBase::stringToSensitivity( const TQString& s )
-{
- if ( s == "private" )
- return Private;
- if ( s == "confidential" )
- return Confidential;
- return Public;
-}
-
-TQString ScalixBase::colorToString( const TQColor& color )
-{
- // Color is in the format "#RRGGBB"
- return color.name();
-}
-
-TQColor ScalixBase::stringToColor( const TQString& s )
-{
- return TQColor( s );
-}
-
-void ScalixBase::writeString( TQDomElement& element, const TQString& tag,
- const TQString& tagString )
-{
- if ( !tagString.isEmpty() ) {
- TQDomElement e = element.ownerDocument().createElement( tag );
- TQDomText t = element.ownerDocument().createTextNode( tagString );
- e.appendChild( t );
- element.appendChild( e );
- }
-}
-
-TQDateTime ScalixBase::localToUTC( const TQDateTime& time ) const
-{
- return KPimPrefs::localTimeToUtc( time, mTimeZoneId );
-}
-
-TQDateTime ScalixBase::utcToLocal( const TQDateTime& time ) const
-{
- return KPimPrefs::utcToLocalTime( time, mTimeZoneId );
-}
diff --git a/kresources/scalix/shared/scalixbase.h b/kresources/scalix/shared/scalixbase.h
deleted file mode 100644
index 7bff80a4..00000000
--- a/kresources/scalix/shared/scalixbase.h
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef SCALIXBASE_H
-#define SCALIXBASE_H
-
-#include <tqdom.h>
-#include <tqdatetime.h>
-#include <tqcolor.h>
-
-class TQFile;
-
-namespace KCal {
- class Incidence;
-}
-
-namespace KABC {
- class Addressee;
-}
-
-namespace Scalix {
-
-class ScalixBase {
-public:
- struct Email {
- public:
- Email( const TQString& name = TQString(),
- const TQString& email = TQString() )
- : displayName( name ), smtpAddress( email )
- {
- }
-
- TQString displayName;
- TQString smtpAddress;
- };
-
- enum Sensitivity { Public = 0, Private = 1, Confidential = 2 };
-
- explicit ScalixBase( const TQString& timezone = TQString() );
- virtual ~ScalixBase();
-
- // Return a string identifying this type
- virtual TQString type() const = 0;
-
- virtual void setUid( const TQString& uid );
- virtual TQString uid() const;
-
- virtual void setBody( const TQString& body );
- virtual TQString body() const;
-
- virtual void setCategories( const TQString& categories );
- virtual TQString categories() const;
-
- virtual void setCreationDate( const TQDateTime& date );
- virtual TQDateTime creationDate() const;
-
- virtual void setLastModified( const TQDateTime& date );
- virtual TQDateTime lastModified() const;
-
- virtual void setSensitivity( Sensitivity sensitivity );
- virtual Sensitivity sensitivity() const;
-
- virtual void setPilotSyncId( unsigned long id );
- virtual bool hasPilotSyncId() const;
- virtual unsigned long pilotSyncId() const;
-
- virtual void setPilotSyncStatus( int status );
- virtual bool hasPilotSyncStatus() const;
- virtual int pilotSyncStatus() const;
-
- // String - Date conversion methods
- static TQString dateTimeToString( const TQDateTime& time );
- static TQString dateToString( const TQDate& date );
- static TQDateTime stringToDateTime( const TQString& time );
- static TQDate stringToDate( const TQString& date );
-
- // String - Sensitivity conversion methods
- static TQString sensitivityToString( Sensitivity );
- static Sensitivity stringToSensitivity( const TQString& );
-
- // String - Color conversion methods
- static TQString colorToString( const TQColor& );
- static TQColor stringToColor( const TQString& );
-
- // Load this object by reading the XML file
- bool load( const TQString& xml );
- bool load( TQFile& xml );
-
- // Load this TQDomDocument
- virtual bool loadXML( const TQDomDocument& xml ) = 0;
-
- // Serialize this object to an XML string
- virtual TQString saveXML() const = 0;
-
-protected:
- /// Read all known fields from this ical incidence
- void setFields( const KCal::Incidence* );
-
- /// Save all known fields into this ical incidence
- void saveTo( KCal::Incidence* ) const;
-
- /// Read all known fields from this contact
- void setFields( const KABC::Addressee* );
-
- /// Save all known fields into this contact
- void saveTo( KABC::Addressee* ) const;
-
- // This just makes the initial dom tree with version and doctype
- static TQDomDocument domTree();
-
- bool loadEmailAttribute( TQDomElement& element, Email& email );
-
- void saveEmailAttribute( TQDomElement& element, const Email& email,
- const TQString& tagName = "email" ) const;
-
- // Load the attributes of this class
- virtual bool loadAttribute( TQDomElement& );
-
- // Save the attributes of this class
- virtual bool saveAttributes( TQDomElement& ) const;
-
- // Return the product ID
- virtual TQString productID() const = 0;
-
- // Write a string tag
- static void writeString( TQDomElement&, const TQString&, const TQString& );
-
- TQDateTime localToUTC( const TQDateTime& time ) const;
- TQDateTime utcToLocal( const TQDateTime& time ) const;
-
- TQString mUid;
- TQString mBody;
- TQString mCategories;
- TQDateTime mCreationDate;
- TQDateTime mLastModified;
- Sensitivity mSensitivity;
- TQString mTimeZoneId;
-
- // KPilot synchronization stuff
- bool mHasPilotSyncId, mHasPilotSyncStatus;
- unsigned long mPilotSyncId;
- int mPilotSyncStatus;
-};
-
-}
-
-#endif // SCALIXBASE_H
diff --git a/kresources/scalix/shared/subresource.cpp b/kresources/scalix/shared/subresource.cpp
deleted file mode 100644
index bd3fdd8a..00000000
--- a/kresources/scalix/shared/subresource.cpp
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#include "subresource.h"
-
-using namespace Scalix;
-
-SubResource::SubResource( bool active, bool writable, const TQString& label,
- int completionWeight )
- : mActive( active ), mWritable( writable ), mLabel( label ),
- mCompletionWeight( completionWeight )
-{
-}
-
-SubResource::~SubResource()
-{
-}
-
-void SubResource::setActive( bool active )
-{
- mActive = active;
-}
-
-bool SubResource::active() const
-{
- return mActive;
-}
-
-void SubResource::setWritable( bool writable )
-{
- mWritable = writable;
-}
-
-bool SubResource::writable() const
-{
- return mWritable;
-}
-
-void SubResource::setLabel( const TQString& label )
-{
- mLabel = label;
-}
-
-TQString SubResource::label() const
-{
- return mLabel;
-}
-
-void SubResource::setCompletionWeight( int completionWeight )
-{
- mCompletionWeight = completionWeight;
-}
-
-int SubResource::completionWeight() const
-{
- return mCompletionWeight;
-}
-
-StorageReference::StorageReference( const TQString& resource, TQ_UINT32 sernum )
- : mResource( resource ), mSerialNumber( sernum )
-{
-}
-
-StorageReference::~StorageReference()
-{
-}
-
-void StorageReference::setResource( const TQString& resource )
-{
- mResource = resource;
-}
-
-TQString StorageReference::resource() const
-{
- return mResource;
-}
-
-void StorageReference::setSerialNumber( TQ_UINT32 serialNumber )
-{
- mSerialNumber = serialNumber;
-}
-
-TQ_UINT32 StorageReference::serialNumber() const
-{
- return mSerialNumber;
-}
diff --git a/kresources/scalix/shared/subresource.h b/kresources/scalix/shared/subresource.h
deleted file mode 100644
index 3fcb6b03..00000000
--- a/kresources/scalix/shared/subresource.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- This file is part of the scalix resource - based on the kolab resource.
-
- Copyright (c) 2004 Klarlvdalens Datakonsult AB
- <info@klaralvdalens-datakonsult.se>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- In addition, as a special exception, the copyright holders give
- permission to link the code of this program with any edition of
- the TQt library by Trolltech AS, Norway (or with modified versions
- of TQt that use the same license as TQt), and distribute linked
- combinations including the two. You must obey the GNU General
- Public License in all respects for all of the code used other than
- TQt. If you modify this file, you may extend this exception to
- your version of the file, but you are not obligated to do so. If
- you do not wish to do so, delete this exception statement from
- your version.
-*/
-
-#ifndef SUBRESOURCE_H
-#define SUBRESOURCE_H
-
-#include <tqstring.h>
-#include <tqmap.h>
-
-
-namespace Scalix {
-
-/**
- * This class is used to store in a map from resource id to this, providing
- * a lookup of the subresource settings.
- */
-class SubResource {
-public:
- // This is just for TQMap
- SubResource() {}
-
- SubResource( bool active, bool writable, const TQString& label,
- int completionWeight = 100 );
- virtual ~SubResource();
-
- virtual void setActive( bool active );
- virtual bool active() const;
-
- virtual void setWritable( bool writable );
- virtual bool writable() const;
-
- virtual void setLabel( const TQString& label );
- virtual TQString label() const;
-
- virtual void setCompletionWeight( int completionWeight );
- virtual int completionWeight() const;
-
-private:
- bool mActive; // Controlled by the applications
- bool mWritable; // Set if the KMail folder is writable
- TQString mLabel; // The GUI name of this resource
-
- // This is just for the abc plugin. But as long as only this is here,
- // it's just as cheap to have it in here as making a d-pointer that
- // subclasses could add to. If more are added, then we should refactor
- // to a d-pointer instead.
- int mCompletionWeight;
-};
-
-typedef TQMap<TQString, SubResource> ResourceMap;
-
-/**
- * This class is used to store a mapping from the XML UID to the KMail
- * serial number of the mail it's stored in and the resource. That provides
- * a quick way to access the storage in KMail.
- */
-class StorageReference {
-public:
- // Just for TQMap
- StorageReference() {}
-
- StorageReference( const TQString& resource, TQ_UINT32 sernum );
- virtual ~StorageReference();
-
- virtual void setResource( const TQString& resource );
- virtual TQString resource() const;
-
- virtual void setSerialNumber( TQ_UINT32 serialNumber );
- virtual TQ_UINT32 serialNumber() const;
-
-private:
- TQString mResource;
- TQ_UINT32 mSerialNumber;
-};
-
-typedef TQMap<TQString, StorageReference> UidMap;
-
-}
-
-#endif // SUBRESOURCE_H
diff --git a/kresources/scalix/uninstall.desktop b/kresources/scalix/uninstall.desktop
deleted file mode 100644
index e1e3e173..00000000
--- a/kresources/scalix/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true
diff --git a/kresources/slox/CMakeLists.txt b/kresources/slox/CMakeLists.txt
deleted file mode 100644
index 42356978..00000000
--- a/kresources/slox/CMakeLists.txt
+++ /dev/null
@@ -1,81 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/libtdepim
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-install( FILES kcal_slox.desktop kcal_ox.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
-install( FILES kabc_slox.desktop kabc_ox.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
-
-
-##### kcal_slox (module) ########################
-
-tde_add_kpart( kcal_slox AUTOMOC
- SOURCES kcalresourceslox_plugin.cpp
- LINK kcal_slox-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kabc_slox (module) ########################
-
-tde_add_kpart( kabc_slox AUTOMOC
- SOURCES kabcresourceslox_plugin.cpp
- LINK kabc_slox-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
-
-
-##### kslox (shared) ############################
-
-tde_add_library( kslox SHARED AUTOMOC
- SOURCES
- sloxaccounts.cpp webdavhandler.cpp sloxfolder.cpp sloxfoldermanager.cpp
- sloxfolderdialog.cpp sloxbase.cpp
- VERSION 0.0.0
- LINK tdepim-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kabc_slox (shared) ########################
-
-tde_add_library( kabc_slox SHARED AUTOMOC
- SOURCES
- kabcresourceslox.cpp kabcresourcesloxconfig.cpp kabcsloxprefs.kcfgc
- VERSION 0.0.0
- LINK kslox-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
-
-
-##### kcal_slox (shared) ########################
-
-tde_add_library( kcal_slox SHARED AUTOMOC
- SOURCES
- kcalresourceslox.cpp kcalresourcesloxconfig.cpp kcalsloxprefs.kcfgc
- VERSION 0.0.0
- LINK kslox-shared
- DESTINATION ${LIB_INSTALL_DIR}
-)
diff --git a/kresources/slox/Makefile.am b/kresources/slox/Makefile.am
deleted file mode 100644
index 2367ec78..00000000
--- a/kresources/slox/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-
-lib_LTLIBRARIES = libkslox.la libkabc_slox.la libkcal_slox.la
-
-libkslox_la_SOURCES = sloxaccounts.cpp webdavhandler.cpp \
- sloxfolder.cpp sloxfoldermanager.cpp \
- sloxfolderdialog.cpp sloxbase.cpp
-libkslox_la_LDFLAGS = $(all_libraries)
-libkslox_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-libkcal_slox_la_SOURCES = kcalresourceslox.cpp kcalresourcesloxconfig.cpp \
- kcalsloxprefs.kcfgc
-libkcal_slox_la_LDFLAGS = $(all_libraries)
-libkcal_slox_la_LIBADD = libkslox.la $(top_builddir)/libkcal/libkcal.la
-
-libkabc_slox_la_SOURCES = kabcresourceslox.cpp kabcresourcesloxconfig.cpp \
- kabcsloxprefs.kcfgc
-libkabc_slox_la_LDFLAGS = $(all_libraries)
-libkabc_slox_la_LIBADD = libkslox.la -lkabc
-
-
-kde_module_LTLIBRARIES = kcal_slox.la kabc_slox.la
-
-kcal_slox_la_SOURCES = kcalresourceslox_plugin.cpp
-kcal_slox_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_slox_la_LIBADD = libkcal_slox.la
-
-kabc_slox_la_SOURCES = kabcresourceslox_plugin.cpp
-kabc_slox_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kabc_slox_la_LIBADD = libkabc_slox.la
-
-
-EXTRA_PROGRAMS = testsloxaccounts
-
-testsloxaccounts_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-testsloxaccounts_LDADD = libkslox.la
-testsloxaccounts_SOURCES = testsloxaccounts.cpp
-
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_slox.desktop kcal_ox.desktop
-
-kabc_servicedir = $(kde_servicesdir)/kresources/kabc
-kabc_service_DATA = kabc_slox.desktop kabc_ox.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kabc_slox.pot
diff --git a/kresources/slox/kabc_ox.desktop b/kresources/slox/kabc_ox.desktop
deleted file mode 100644
index 39570ad2..00000000
--- a/kresources/slox/kabc_ox.desktop
+++ /dev/null
@@ -1,46 +0,0 @@
-[Desktop Entry]
-Name=OpenXchange Server
-Name[af]=OpenXchange bediener
-Name[bg]=Сървър OpenXchange
-Name[br]=Servijer OpenXchange
-Name[ca]=Servidor OpenXchange
-Name[da]=Openxchange-server
-Name[el]=Εξυπηρετητής OpenXchange
-Name[es]=Servidor OpenXchange
-Name[et]=OpenXchange server
-Name[eu]=OpenXchange zerbitzaria
-Name[fa]=کارساز OpenXchange
-Name[fi]=OpenXchange-palvelin
-Name[fr]=Serveur OpenXchange
-Name[fy]=OpenXchange-tsjinner
-Name[ga]=Freastalaí Openexchange
-Name[gl]=Servidor OpenXchange
-Name[hu]=OpenXchange-kiszolgáló
-Name[is]=OpenXchange þjónn
-Name[ja]=OpenXchange サーバ
-Name[kk]=OpenXchange сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ OpenXchange
-Name[lt]=OpenXchange serveris
-Name[mk]=OpenXchange-сервер
-Name[nb]=OpenExchange-tjener
-Name[nds]=OpenXchange-Server
-Name[ne]=ओपन एक्सचेन्ज सर्भर
-Name[nl]=OpenXchange-server
-Name[nn]=OpenXchange-tenar
-Name[pl]=Server OpenXchange
-Name[pt]=Servidor OpenXchange
-Name[pt_BR]=Servidor OpenXchange
-Name[ru]=Сервер OpenXchange
-Name[sl]=Strežnik OpenXchange
-Name[sr]=Openexchange сервер
-Name[sr@Latn]=Openexchange server
-Name[sv]=Openxchange-server
-Name[tr]=OpenXchange Sunucusu
-Name[uk]=Сервер OpenXchange
-Name[zh_CN]=OpenXchange 服务器
-Name[zh_TW]=OpenXchange 伺服器
-X-TDE-Library=kabc_slox
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=ox
diff --git a/kresources/slox/kabc_slox.desktop b/kresources/slox/kabc_slox.desktop
deleted file mode 100644
index 6c7b0352..00000000
--- a/kresources/slox/kabc_slox.desktop
+++ /dev/null
@@ -1,51 +0,0 @@
-[Desktop Entry]
-Name=SUSE LINUX Openexchange Server
-Name[af]=SuSE Linux OpenExchange bediener
-Name[bg]=Сървър SUSE LINUX Openexchange
-Name[br]=Servijer Openexchange SUSE LINUX
-Name[ca]=Servidor SUSE LINUX Openexchange
-Name[cs]=SUSE LINUX Openexchange server
-Name[da]=SUSE Linux Openexchange-server
-Name[de]=SUSE LINUX Openexchange-Server
-Name[el]=Εξυπηρετητή SUSE LINUX Openexchange
-Name[es]=Servidor Openexchange de SUSE LINUX
-Name[et]=SUSE LINUX Openexchange server
-Name[eu]=SUSE LINUX Openexchange zerbitzaria
-Name[fa]=کارساز SUSE LINUX Openexchange
-Name[fi]=Suse Linux Openexchange -palvelin
-Name[fr]=Serveur SUSE Linux Openexchange
-Name[fy]=SUSE LINUX Openexchange-tsjinner
-Name[ga]=Freastalaí Openexchange SUSE LINUX
-Name[gl]=Servidor SUSE LINUX Openexchange
-Name[hu]=SUSE LINUX Openexchange-kiszolgáló
-Name[is]=SUSE LINUX Openexchange þjónn
-Name[it]=Server SUSE LINUX Openexchange
-Name[ja]=SUSE LINUX Openexchange サーバ
-Name[kk]=SUSE LINUX Openexchange сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ Openexchange របស់​ស៊ូស៊ីលីនីក
-Name[lt]=SUSE LINUX Openexchange serveris
-Name[mk]=SUSE LINUX Openexchange-сервер
-Name[ms]=Pelayan SUSE LINUX Openexchange
-Name[nb]=SUSE LINUX Openexchange-tjener
-Name[nds]=SUSE-Openexchangeserver
-Name[ne]=SUSE LINUX ओपन एक्सचेन्ज सर्भर
-Name[nl]=SUSE LINUX Openexchange-server
-Name[nn]=SUSE LINUX Openexchange-tenar
-Name[pl]=Server SUSE LINUX Openexchange
-Name[pt]=Servidor SUSE LINUX Openexchange
-Name[pt_BR]=Servidor OpenExchange do SUSE Linux (SLOX)
-Name[ru]=Сервер SUSE LINUX Openexchange
-Name[sl]=Strežnik SUSE LINUX Openexchange
-Name[sr]=Openexchange сервер SUSE-овог Linux-а
-Name[sr@Latn]=Openexchange server SUSE-ovog Linux-a
-Name[sv]=SUSE Linux Openexchange-server
-Name[ta]=SUSE LINUX திறந்த பரிமாற்ற சேவகன்
-Name[tr]=SUSE LINUX Openexchange Sunucusu
-Name[uk]=Сервер SUSE LINUX Openexchange
-Name[zh_CN]=SUSE LINUX Openexchange 服务器
-Name[zh_TW]=SUSE LINUX Openexchange 伺服器
-X-TDE-Library=kabc_slox
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=contact
-X-TDE-ResourceType=slox
diff --git a/kresources/slox/kabcresourceslox.cpp b/kresources/slox/kabcresourceslox.cpp
deleted file mode 100644
index b83c0b95..00000000
--- a/kresources/slox/kabcresourceslox.cpp
+++ /dev/null
@@ -1,684 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2005 Volker Krause <volker.krause@rwth-aachen.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <tqapplication.h>
-
-#include <kabc/picture.h>
-#include <kconfig.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kmdcodec.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <libtdepim/kpimprefs.h>
-#include <libtdepim/progressmanager.h>
-#include <kio/davjob.h>
-
-#include "webdavhandler.h"
-#include "sloxaccounts.h"
-#include "kabcsloxprefs.h"
-
-#include "kabcresourceslox.h"
-
-using namespace KABC;
-
-ResourceSlox::ResourceSlox( const TDEConfig *config )
- : ResourceCached( config ), SloxBase( this )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "OpenXchange Server" ) );
- }
-}
-
-ResourceSlox::ResourceSlox( const KURL &url,
- const TQString &user, const TQString &password )
- : ResourceCached( 0 ), SloxBase( this )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->setUrl( url.url() );
- mPrefs->setUser( user );
- mPrefs->setPassword( password );
-}
-
-void ResourceSlox::init()
-{
- mPrefs = new SloxPrefs;
- mWebdavHandler.setResource( this );
-
- mDownloadJob = 0;
- mUploadJob = 0;
- mDownloadProgress = 0;
- mUploadProgress = 0;
-
- // phone number mapping for SLOX
- mPhoneNumberSloxMap[PhoneNumber::Work] << "phone" << "phone2";
- mPhoneNumberSloxMap[PhoneNumber::Home] << "privatephone" << "privatephone2";
- mPhoneNumberSloxMap[PhoneNumber::Cell | PhoneNumber::Work] << "mobile" << "mobile2";
- mPhoneNumberSloxMap[PhoneNumber::Cell | PhoneNumber::Home] << "privatemobile" << "privatemobile2";
- mPhoneNumberSloxMap[PhoneNumber::Fax | PhoneNumber::Work] << "fax" << "fax2";
- mPhoneNumberSloxMap[PhoneNumber::Fax | PhoneNumber::Home] << "privatefax" << "privatefax2";
-
- // phone number mapping for OX (mapping partly taken from Kolab)
- mPhoneNumberOxMap[PhoneNumber::Work] << "phone_business" << "phone_business2";
- mPhoneNumberOxMap[PhoneNumber::Home] << "phone_home" << "phone_home2";
- mPhoneNumberOxMap[PhoneNumber::Cell] << "mobile1"<< "mobile2";
- mPhoneNumberOxMap[PhoneNumber::Fax | PhoneNumber::Work] << "fax_business";
- mPhoneNumberOxMap[PhoneNumber::Fax | PhoneNumber::Home] << "fax_home";
- mPhoneNumberOxMap[PhoneNumber::Fax] << "fax_other";
- mPhoneNumberOxMap[PhoneNumber::Car] << "phone_car";
- mPhoneNumberOxMap[PhoneNumber::Isdn] << "isdn";
- mPhoneNumberOxMap[PhoneNumber::Pager] << "pager";
- mPhoneNumberOxMap[PhoneNumber::Pref] << "primary";
- mPhoneNumberOxMap[PhoneNumber::Voice] << "callback";
- mPhoneNumberOxMap[PhoneNumber::Video] << "radio";
- mPhoneNumberOxMap[PhoneNumber::Bbs] << "tty_tdd";
- mPhoneNumberOxMap[PhoneNumber::Modem] << "telex";
- mPhoneNumberOxMap[PhoneNumber::Pcs] << "phone_assistant";
- mPhoneNumberOxMap[PhoneNumber::Msg] << "phone_company";
-}
-
-ResourceSlox::~ResourceSlox()
-{
- kdDebug() << "KABC::~ResourceSlox()" << endl;
-
- if ( mDownloadJob ) mDownloadJob->kill();
-
- delete mPrefs;
-
- kdDebug() << "KABC::~ResourceSlox() done" << endl;
-}
-
-void ResourceSlox::readConfig( const TDEConfig * )
-{
- mPrefs->readConfig();
-}
-
-void ResourceSlox::writeConfig( TDEConfig *config )
-{
- kdDebug() << "ResourceSlox::writeConfig() " << endl;
- kdDebug() << mPrefs->url() << endl;
-
- Resource::writeConfig( config );
-
- mPrefs->writeConfig();
-}
-
-Ticket *ResourceSlox::requestSaveTicket()
-{
- if ( !addressBook() ) {
- kdDebug(5700) << "no addressbook" << endl;
- return 0;
- }
-
- return createTicket( this );
-}
-
-void ResourceSlox::releaseSaveTicket( Ticket *ticket )
-{
- delete ticket;
-}
-
-bool ResourceSlox::doOpen()
-{
- return true;
-}
-
-void ResourceSlox::doClose()
-{
- cancelDownload();
- cancelUpload();
-}
-
-bool ResourceSlox::load()
-{
- kdDebug() << "KABC::ResourceSlox::load()" << endl;
-
-#if 0
- return asyncLoad();
-#else
- kdDebug() << "KABC::ResourceSlox::load() is a nop." << endl;
- return true;
-#endif
-}
-
-bool ResourceSlox::asyncLoad()
-{
- kdDebug() << "KABC::ResourceSlox::asyncLoad()" << endl;
-
- if ( mDownloadJob ) {
- kdDebug() << "KABC::ResourceSlox::asyncLoad(): Loading still in progress."
- << endl;
- return true;
- }
-
- loadCache();
- clearChanges();
-
- KURL url = mPrefs->url();
- url.setPath( "/servlet/webdav.contacts/" );
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- TQString lastsync = "0";
- if ( mPrefs->useLastSync() ) {
- TQDateTime dt = mPrefs->lastSync();
- if ( dt.isValid() )
- lastsync = WebdavHandler::qDateTimeToSlox( dt.addDays( -1 ) );
- }
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( LastSync ), lastsync );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->folderId() );
- if ( type() == "ox" ) {
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "NEW_AND_MODIFIED" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "DELETED" );
- } else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "all" );
-
- kdDebug() << "REQUEST CONTACTS: \n" << doc.toString( 2 ) << endl;
-
- mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
-
- mDownloadProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading contacts") );
- connect( mDownloadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelDownload() ) );
-
- mPrefs->setLastSync( TQDateTime::currentDateTime() );
-
- return true;
-}
-
-void ResourceSlox::slotResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceSlox::slotResult()" << endl;
-
- if ( job->error() ) {
- job->showErrorDialog( 0 );
- } else {
- kdDebug() << "ResourceSlox::slotResult() success" << endl;
-
- TQDomDocument doc = mDownloadJob->response();
-
- mWebdavHandler.log( doc.toString( 2 ) );
-
- TQValueList<SloxItem> items = WebdavHandler::getSloxItems( this, doc );
-
- bool changed = false;
-
- TQValueList<SloxItem>::ConstIterator it;
- for( it = items.begin(); it != items.end(); ++it ) {
- SloxItem item = *it;
- TQString uid = "kresources_slox_kabc_" + item.sloxId;
- if ( item.status == SloxItem::Delete ) {
- TQMap<TQString,Addressee>::Iterator it;
- it = mAddrMap.find( uid );
- if ( it != mAddrMap.end() ) {
- mAddrMap.remove( it );
- changed = true;
- }
- } else if ( item.status == SloxItem::Create ) {
- Addressee a;
- a.setUid( uid );
-
- mWebdavHandler.clearSloxAttributeStatus();
-
- TQDomNode n;
- for( n = item.domNode.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- mWebdavHandler.parseSloxAttribute( e );
- parseContactAttribute( e, a );
- }
-
- mWebdavHandler.setSloxAttributes( a );
-
- a.setResource( this );
- a.setChanged( false );
-
- mAddrMap.replace( a.uid(), a );
-
- // TODO: Do we need to try to associate addressees with slox accounts?
-
- changed = true;
- }
- }
-
- clearChanges();
- saveCache();
- }
-
- mDownloadJob = 0;
- mDownloadProgress->setComplete();
- mDownloadProgress = 0;
-
- emit loadingFinished( this );
-}
-
-void ResourceSlox::slotUploadResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceSlox::slotUploadResult()" << endl;
-
- if ( job->error() ) {
- job->showErrorDialog( 0 );
- } else {
- kdDebug() << "ResourceSlox::slotUploadResult() success" << endl;
-
- TQDomDocument doc = mUploadJob->response();
- kdDebug() << k_funcinfo << "Upload result: " << endl;
- kdDebug() << doc.toString() << endl;
-
- TQValueList<SloxItem> items = WebdavHandler::getSloxItems( this, doc );
-
- TQValueList<SloxItem>::ConstIterator it;
- for( it = items.begin(); it != items.end(); ++it ) {
- SloxItem item = *it;
- if ( !item.response.contains( "200" ) ) {
- savingError( this, item.response + "\n" + item.responseDescription );
- continue;
- }
- if ( item.status == SloxItem::New ) {
- TQMap<TQString,Addressee>::Iterator search_res;
- search_res = mAddrMap.find( item.clientId );
- if ( search_res != mAddrMap.end() ) {
- // use the id provided by the server
- Addressee a = *search_res;
- mAddrMap.remove( search_res );
- a.setUid( "kresources_slox_kabc_" + item.sloxId );
- a.setResource( this );
- a.setChanged( false );
- mAddrMap.replace( a.uid(), a );
- saveCache();
- }
- }
- }
- }
-
- clearChange( mUploadAddressee );
-
- mUploadJob = 0;
- mUploadProgress->setComplete();
- mUploadProgress = 0;
-
- uploadContacts();
-}
-
-void ResourceSlox::parseContactAttribute( const TQDomElement &e, Addressee &a )
-{
- TQString text = decodeText( e.text() );
- if ( text.isEmpty() ) return;
- TQString tag = e.tagName();
- int pnType = 0;
-
- if ( tag == fieldName( Birthday ) ) {
- TQDateTime dt = WebdavHandler::sloxToTQDateTime( text );
- a.setBirthday( dt.date() );
- } else if ( tag == fieldName( Role ) ) {
- a.setRole( text );
- } else if ( tag == "salutation" ) { // what's this in OX?
- a.setPrefix( text );
- } else if ( tag == fieldName( Title ) ) {
- a.setTitle( text );
- } else if ( tag == fieldName( Organization ) ) {
- a.setOrganization( text );
- } else if ( tag == fieldName( Department ) ) {
-#if KDE_IS_VERSION(3,5,8)
- a.setDepartment( text );
-#else
- a.insertCustom( "KADDRESSBOOK", "X-Department", text );
-#endif
- } else if ( tag == fieldName( FamilyName ) ) {
- a.setFamilyName( text );
- } else if ( tag == fieldName( GivenName) ) {
- a.setGivenName( text );
- } else if ( tag == fieldName( SecondName ) ) {
- a.setAdditionalName( text );
- } else if ( tag == fieldName( DisplayName ) ) {
- a.setFormattedName( text );
- } else if ( tag == fieldName( Suffix ) ) {
- a.setSuffix( text );
- } else if ( tag == fieldName( PrimaryEmail ) ) {
- a.insertEmail( text, true );
- } else if ( (pnType = phoneNumberType( tag )) ) {
- a.insertPhoneNumber( PhoneNumber( text, pnType ) );
- } else if ( tag == fieldName( Comment ) ) {
- a.setNote( text );
- } else if ( tag == fieldName( SecondaryEmail1 ) || tag == fieldName( SecondaryEmail2 ) ||
- tag == fieldName( SecondaryEmail3 ) ) {
- a.insertEmail( text );
- } else if ( tag == fieldName( Url ) ) {
- a.setUrl( text );
- } else if ( tag == fieldName( Image ) ) {
- TQByteArray decodedPicture;
- KCodecs::base64Decode( text.utf8(), decodedPicture );
- a.setPhoto( Picture( TQImage( decodedPicture ) ) );
- } else if ( tag == fieldName( NickName ) ) {
- a.setNickName( text );
- } else if ( tag == fieldName( InstantMsg ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-IMAddress", text );
- } else if ( tag == fieldName( Office ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-Office", text );
- } else if ( tag == fieldName( Profession ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-Profession", text );
- } else if ( tag == fieldName( ManagersName ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-ManagersName", text );
- } else if ( tag == fieldName( AssistantsName ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-AssistantsName", text );
- } else if ( tag == fieldName( SpousesName ) ) {
- a.insertCustom( "KADDRESSBOOK", "X-SpousesName", text );
- } else if ( tag == fieldName( Anniversary ) ) {
- TQDateTime dt = WebdavHandler::sloxToTQDateTime( text );
- a.insertCustom( "KADDRESSBOOK", "X-Anniversary", dt.toString( Qt::ISODate ) );
- } else if ( tag == fieldName( Categories ) ) {
- a.setCategories( TQStringList::split( TQRegExp(",\\s*"), text ) );
- } else if ( type() == "ox" ) { // FIXME: Address reading is missing for SLOX
- // read addresses
- Address addr;
- if ( tag.startsWith( fieldName( BusinessPrefix ) ) ) {
- addr = a.address( KABC::Address::Work );
- } else if ( tag.startsWith( fieldName( OtherPrefix ) ) ) {
- addr = a.address( 0 );
- } else {
- addr = a.address( KABC::Address::Home );
- }
- if ( tag.endsWith( fieldName( Street ) ) ) {
- addr.setStreet( text );
- } else if ( tag.endsWith( fieldName( PostalCode ) ) ) {
- addr.setPostalCode( text );
- } else if ( tag.endsWith( fieldName( City ) ) ) {
- addr.setLocality( text );
- } else if ( tag.endsWith( fieldName( State ) ) ) {
- addr.setRegion( text );
- } else if ( tag.endsWith( fieldName( Country ) ) ) {
- addr.setCountry( text );
- }
- a.insertAddress( addr );
- }
-}
-
-int ResourceSlox::phoneNumberType( const TQString &fieldName ) const
-{
- TQMap<int, TQStringList> pnmap;
- if ( type() == "ox" )
- pnmap = mPhoneNumberOxMap;
- else
- pnmap = mPhoneNumberSloxMap;
- TQMap<int, TQStringList>::ConstIterator it;
- for ( it = pnmap.begin(); it != pnmap.end(); ++it ) {
- TQStringList l = it.data();
- TQStringList::ConstIterator it2;
- for ( it2 = l.begin(); it2 != l.end(); ++it2 )
- if ( (*it2) == fieldName )
- return it.key();
- }
- return 0;
-}
-
-bool ResourceSlox::save( Ticket* )
-{
- kdDebug() << k_funcinfo << endl;
-
- if ( readOnly() || !hasChanges() || type() != "ox" ) {
- emit savingFinished( this );
- return true;
- }
-
- if ( mDownloadJob ) {
- kdWarning() << k_funcinfo << "download still in progress" << endl;
- return false;
- }
- if ( mUploadJob ) {
- kdWarning() << k_funcinfo << "upload still in progress" << endl;
- return false;
- }
-
- saveCache();
- uploadContacts();
- return true;
-}
-
-bool ResourceSlox::asyncSave( Ticket* )
-{
- return false; // readonly
-}
-
-void ResourceSlox::uploadContacts()
-{
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propertyupdate" );
- TQDomElement set = WebdavHandler::addDavElement( doc, root, "set" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, set, "prop" );
-
- bool isDelete = false;
-
- KABC::Addressee::List addedAddr = addedAddressees();
- KABC::Addressee::List changedAddr = changedAddressees();
- KABC::Addressee::List deletedAddr = deletedAddressees();
-
- if ( !addedAddr.isEmpty() ) {
- mUploadAddressee = addedAddr.first();
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ClientId ), mUploadAddressee.uid() );
- } else if ( !changedAddr.isEmpty() ) {
- mUploadAddressee = changedAddr.first();
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectId ),
- mUploadAddressee.uid().remove( 0, sizeof("kresources_slox_kabc_") - 1) );
- } else if ( !deletedAddr.isEmpty() ) {
- mUploadAddressee = deletedAddr.first();
- isDelete = true;
- } else {
- kdDebug() << k_funcinfo << "Upload finished." << endl;
- emit savingFinished( this );
- return;
- }
-
- if ( !isDelete ) {
- createAddresseeFields( doc, prop, mUploadAddressee );
- } else {
- TQString tmp_uid = mUploadAddressee.uid().remove( 0, sizeof("kresources_slox_kabc_") - 1); // remove prefix from uid
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectId ), tmp_uid );
- WebdavHandler::addSloxElement( this, doc, prop, "method", "DELETE" );
- }
-
- kdDebug() << k_funcinfo << doc.toString() << endl;
-
- KURL url = mPrefs->url();
- url.setPath( "/servlet/webdav.contacts/" );
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- mUploadJob = TDEIO::davPropPatch( url, doc, false );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotUploadResult( TDEIO::Job * ) ) );
- connect( mUploadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
-
- mUploadProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Uploading contacts") );
- connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelUpload() ) );
-}
-
-void ResourceSlox::createAddresseeFields( TQDomDocument &doc, TQDomElement &prop,
- const Addressee &a )
-{
- // choose addressbook
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->folderId() );
-
- // person
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( GivenName ), a.givenName() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( FamilyName ), a.familyName() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Title ), a.title() );
- if ( !a.birthday().isNull() )
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Birthday ),
- WebdavHandler::qDateTimeToSlox( a.birthday() ) );
- else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Birthday ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Role ), a.role() );
-#if KDE_IS_VERSION(3,5,8)
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Department ),
- a.department( ) );
-#else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Department ),
- a.custom( "KADDRESSBOOK", "X-Department" ) );
-#endif
- if ( type() == "ox" ) { // OX only fields
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( DisplayName ), a.formattedName() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( SecondName ), a.additionalName() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Suffix ), a.suffix() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Organization ), a.organization() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( NickName ), a.nickName() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( InstantMsg ),
- a.custom( "KADDRESSBOOK", "X-IMAddress" ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Office ),
- a.custom( "KADDRESSBOOK", "X-Office" ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Profession ),
- a.custom( "KADDRESSBOOK", "X-Profession" ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ManagersName ),
- a.custom( "KADDRESSBOOK", "X-ManagersName" ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( AssistantsName ),
- a.custom( "KADDRESSBOOK", "X-AssistantsName" ) );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( SpousesName ),
- a.custom( "KADDRESSBOOK", "X-SpousesName" ) );
- TQString anniversary = a.custom( "KADDRESSBOOK", "X-Anniversary" );
- if ( !anniversary.isEmpty() )
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ),
- WebdavHandler::qDateTimeToSlox( TQDateTime::fromString( anniversary, Qt::ISODate ).date() ) );
- else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ) );
- }
-
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Url ), a.url().url() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Comment ), a.note() );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( Categories ), a.categories().join( ", " ) );
-
- // emails
- TQStringList email_list = a.emails();
- TQStringList::const_iterator emails_it = email_list.begin();
- if ( emails_it != email_list.end() )
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( PrimaryEmail ), *(emails_it++) );
- if ( emails_it != email_list.end() )
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( SecondaryEmail1 ), *(emails_it++) );
- if ( emails_it != email_list.end() )
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( SecondaryEmail2 ), *(emails_it++) );
-
- // phone numbers
- PhoneNumber::List pnlist = a.phoneNumbers();
- TQMap<int, TQStringList> pnSaveMap;
- if ( type() == "ox" )
- pnSaveMap = mPhoneNumberOxMap;
- else
- pnSaveMap = mPhoneNumberSloxMap;
- for ( PhoneNumber::List::ConstIterator it = pnlist.begin() ; it != pnlist.end(); ++it ) {
- if ( pnSaveMap.contains( (*it).type() ) ) {
- TQStringList l = pnSaveMap[(*it).type()];
- TQString fn = l.first();
- l.remove( l.begin() );
- if ( !l.isEmpty() )
- pnSaveMap[(*it).type()] = l;
- else
- pnSaveMap.remove( (*it).type() );
- WebdavHandler::addSloxElement( this, doc, prop, fn, (*it).number() );
- } else
- kdDebug() << k_funcinfo << "Can't save phone number " << (*it).number() << " of type " << (*it).type() << endl;
- }
- // send empty fields for the remaining ohone number fields
- // it's not possible to delete phone numbers otherwise
- for ( TQMap<int, TQStringList>::ConstIterator it = pnSaveMap.begin(); it != pnSaveMap.end(); ++it ) {
- TQStringList l = it.data();
- for ( TQStringList::ConstIterator it2 = l.begin(); it2 != l.end(); ++it2 )
- WebdavHandler::addSloxElement( this, doc, prop, (*it2) );
- }
-
- // write addresses
- createAddressFields( doc, prop, fieldName( HomePrefix ), a.address( KABC::Address::Home ) );
- if ( type() == "ox" ) {
- createAddressFields( doc, prop, fieldName( BusinessPrefix ), a.address( KABC::Address::Work ) );
- createAddressFields( doc, prop, fieldName( OtherPrefix ), a.address( 0 ) );
- }
-}
-
-void KABC::ResourceSlox::createAddressFields( TQDomDocument &doc, TQDomElement &parent,
- const TQString &prefix, const KABC::Address &addr )
-{
- WebdavHandler::addSloxElement( this, doc, parent, prefix + fieldName( Street ), addr.street() );
- WebdavHandler::addSloxElement( this, doc, parent, prefix + fieldName( PostalCode ), addr.postalCode() );
- WebdavHandler::addSloxElement( this, doc, parent, prefix + fieldName( City ), addr.locality() );
- WebdavHandler::addSloxElement( this, doc, parent, prefix + fieldName( State ), addr.region() );
- WebdavHandler::addSloxElement( this, doc, parent, prefix + fieldName( Country ), addr.country() );
-}
-
-void ResourceSlox::slotProgress( TDEIO::Job *job, unsigned long percent )
-{
- if ( mDownloadProgress && job == mDownloadJob )
- mDownloadProgress->setProgress( percent );
- else if ( mUploadProgress && job == mUploadJob )
- mUploadProgress->setProgress( percent );
-}
-
-void ResourceSlox::cancelDownload()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mDownloadProgress ) mDownloadProgress->setComplete();
- mDownloadProgress = 0;
-}
-
-void ResourceSlox::cancelUpload()
-{
- if ( mUploadJob ) mUploadJob->kill();
- mUploadJob = 0;
- if ( mUploadProgress ) mUploadProgress->setComplete();
- mUploadProgress = 0;
-}
-
-void ResourceSlox::setReadOnly( bool b )
-{
- if ( type() == "ox" )
- KABC::Resource::setReadOnly( b );
- else
- KABC::Resource::setReadOnly( true );
-}
-
-bool ResourceSlox::readOnly() const
-{
- if ( type() == "ox" )
- return KABC::Resource::readOnly();
- else
- return true;
-}
-
-#include "kabcresourceslox.moc"
diff --git a/kresources/slox/kabcresourceslox.h b/kresources/slox/kabcresourceslox.h
deleted file mode 100644
index d5251bdc..00000000
--- a/kresources/slox/kabcresourceslox.h
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KABC_RESOURCESLOX_H
-#define KABC_RESOURCESLOX_H
-
-#include "sloxbase.h"
-#include "webdavhandler.h"
-
-#include <libtdepim/kabcresourcecached.h>
-#include <tdepimmacros.h>
-#include <kabc/addressee.h>
-
-#include <tqmap.h>
-#include <tqdom.h>
-
-namespace TDEIO {
-class DavJob;
-class Job;
-}
-
-namespace KPIM {
-class ProgressItem;
-}
-
-class TDEConfig;
-
-namespace KABC {
-
-class SloxPrefs;
-
-class KDE_EXPORT ResourceSlox : public ResourceCached, public SloxBase
-{
- Q_OBJECT
-
- public:
- ResourceSlox( const TDEConfig * );
- ResourceSlox( const KURL &url,
- const TQString &user, const TQString &password );
- ~ResourceSlox();
-
- void readConfig( const TDEConfig * );
- void writeConfig( TDEConfig * );
-
- SloxPrefs *prefs() const { return mPrefs; }
-
- bool doOpen();
- void doClose();
-
- Ticket *requestSaveTicket();
- void releaseSaveTicket( Ticket* );
-
- bool load();
- bool asyncLoad();
- bool save( Ticket * );
- bool asyncSave( Ticket * );
-
- void setReadOnly( bool );
- bool readOnly() const;
-
- protected:
- void init();
-
- int phoneNumberType( const TQString &fieldName ) const;
- void parseContactAttribute( const TQDomElement &e, Addressee &a );
-
- void createAddresseeFields( TQDomDocument &doc, TQDomElement &prop, const Addressee &a );
- void createAddressFields( TQDomDocument &doc, TQDomElement &parent,
- const TQString &prefix, const KABC::Address &addr );
-
- void uploadContacts();
-
- protected slots:
- void slotResult( TDEIO::Job *job );
- void slotUploadResult( TDEIO::Job *job );
- void slotProgress( TDEIO::Job *job, unsigned long percent );
-
- void cancelDownload();
- void cancelUpload();
-
- private:
- SloxPrefs *mPrefs;
-
- TDEIO::DavJob *mDownloadJob;
- TDEIO::DavJob *mUploadJob;
- KPIM::ProgressItem *mDownloadProgress;
- KPIM::ProgressItem *mUploadProgress;
-
- WebdavHandler mWebdavHandler;
-
- KABC::Addressee mUploadAddressee;
-
- TQMap<int, TQStringList> mPhoneNumberSloxMap, mPhoneNumberOxMap;
-};
-
-}
-
-#endif
diff --git a/kresources/slox/kabcresourceslox_plugin.cpp b/kresources/slox/kabcresourceslox_plugin.cpp
deleted file mode 100644
index cbc02f25..00000000
--- a/kresources/slox/kabcresourceslox_plugin.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabcresourceslox.h"
-#include "kabcresourcesloxconfig.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KABC;
-
-typedef KRES::PluginFactory< ResourceSlox, ResourceSloxConfig > SloxFactory;
-
-extern "C"
-{
- void *init_kabc_slox()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kabc_slox" );
- return new SloxFactory;
- }
-}
diff --git a/kresources/slox/kabcresourcesloxconfig.cpp b/kresources/slox/kabcresourcesloxconfig.cpp
deleted file mode 100644
index d9e32a55..00000000
--- a/kresources/slox/kabcresourcesloxconfig.cpp
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kabcresourcesloxconfig.h"
-
-#include "kabcresourceslox.h"
-#include "kabcsloxprefs.h"
-#include "sloxbase.h"
-#include "sloxfolder.h"
-#include "sloxfolderdialog.h"
-#include "sloxfoldermanager.h"
-
-#include <kdebug.h>
-#include <kdialog.h>
-#include <klocale.h>
-#include <klineedit.h>
-#include <kurlrequester.h>
-
-#include <tqcheckbox.h>
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-using namespace KABC;
-
-ResourceSloxConfig::ResourceSloxConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name ), mRes( 0 )
-{
- TQGridLayout *mainLayout = new TQGridLayout( this, 5, 2, 0, KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "URL:" ), this );
- mURL = new KURLRequester( this );
-
- mainLayout->addWidget( label, 0, 0 );
- mainLayout->addWidget( mURL, 0, 1 );
-
- label = new TQLabel( i18n( "User:" ), this );
- mUser = new KLineEdit( this );
-
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mUser, 1, 1 );
-
- label = new TQLabel( i18n( "Password:" ), this );
- mPassword = new KLineEdit( this );
- mPassword->setEchoMode( TQLineEdit::Password );
-
- mainLayout->addWidget( label, 2, 0 );
- mainLayout->addWidget( mPassword, 2, 1 );
-
- mLastSyncCheck = new TQCheckBox( i18n("Only load data since last sync"),
- this );
- mainLayout->addMultiCellWidget( mLastSyncCheck, 3, 3, 0, 1 );
-
- mFolderButton = new KPushButton( i18n("Select Folder..."), this );
- mainLayout->addMultiCellWidget( mFolderButton, 4, 4, 0, 1 );
- connect( mFolderButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectAddressFolder() ) );
-
-}
-
-void ResourceSloxConfig::loadSettings( KRES::Resource *res )
-{
- ResourceSlox *resource = dynamic_cast<ResourceSlox*>( res );
- mRes = resource;
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceSloxConfig::loadSettings(): cast failed" << endl;
- return;
- }
-
- if ( mRes->resType() == "slox" )
- mFolderButton->setEnabled( false ); // TODO folder selection for SLOX
-
- mURL->setURL( resource->prefs()->url() );
- mUser->setText( resource->prefs()->user() );
- mPassword->setText( resource->prefs()->password() );
- mLastSyncCheck->setChecked( resource->prefs()->useLastSync() );
- mFolderId = resource->prefs()->folderId();
-}
-
-void ResourceSloxConfig::saveSettings( KRES::Resource *res )
-{
- ResourceSlox *resource = dynamic_cast<ResourceSlox*>( res );
-
- if ( !resource ) {
- kdDebug(5700) << "ResourceSloxConfig::saveSettings(): cast failed" << endl;
- return;
- }
-
- resource->prefs()->setUrl( mURL->url() );
- resource->prefs()->setUser( mUser->text() );
- resource->prefs()->setPassword( mPassword->text() );
- resource->prefs()->setUseLastSync( mLastSyncCheck->isChecked() );
- resource->prefs()->setFolderId( mFolderId );
-}
-
-void KABC::ResourceSloxConfig::selectAddressFolder( )
-{
- SloxFolderManager *manager = new SloxFolderManager( mRes, mURL->url() );
- SloxFolderDialog *dialog = new SloxFolderDialog( manager, Contacts, this );
- dialog->setSelectedFolder( mFolderId );
- if ( dialog->exec() == TQDialog::Accepted )
- mFolderId = dialog->selectedFolder();
-}
-
-#include "kabcresourcesloxconfig.moc"
diff --git a/kresources/slox/kabcresourcesloxconfig.h b/kresources/slox/kabcresourcesloxconfig.h
deleted file mode 100644
index b845321a..00000000
--- a/kresources/slox/kabcresourcesloxconfig.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef RESOURCESLOXCONFIG_H
-#define RESOURCESLOXCONFIG_H
-
-#include <kresources/configwidget.h>
-#include <tdepimmacros.h>
-
-class TQCheckBox;
-class KLineEdit;
-class KURLRequester;
-class KPushButton;
-
-class SloxBase;
-
-namespace KABC {
-
-class KDE_EXPORT ResourceSloxConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
-
- public:
- ResourceSloxConfig( TQWidget* parent = 0, const char* name = 0 );
-
- public slots:
- void loadSettings( KRES::Resource* );
- void saveSettings( KRES::Resource* );
-
- private slots:
- void selectAddressFolder();
-
- private:
- KURLRequester *mURL;
- KLineEdit *mUser;
- KLineEdit *mPassword;
- TQCheckBox *mLastSyncCheck;
- KPushButton *mFolderButton;
- TQString mFolderId;
- SloxBase *mRes;
-};
-
-}
-
-#endif
diff --git a/kresources/slox/kabcsloxprefs.kcfgc b/kresources/slox/kabcsloxprefs.kcfgc
deleted file mode 100644
index 5e5d8969..00000000
--- a/kresources/slox/kabcsloxprefs.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kabc_slox.kcfg
-ClassName=SloxPrefs
-NameSpace=KABC
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/slox/kcal_ox.desktop b/kresources/slox/kcal_ox.desktop
deleted file mode 100644
index 6d0e5ec6..00000000
--- a/kresources/slox/kcal_ox.desktop
+++ /dev/null
@@ -1,46 +0,0 @@
-[Desktop Entry]
-Name=OpenXchange Server
-Name[af]=OpenXchange bediener
-Name[bg]=Сървър OpenXchange
-Name[br]=Servijer OpenXchange
-Name[ca]=Servidor OpenXchange
-Name[da]=Openxchange-server
-Name[el]=Εξυπηρετητής OpenXchange
-Name[es]=Servidor OpenXchange
-Name[et]=OpenXchange server
-Name[eu]=OpenXchange zerbitzaria
-Name[fa]=کارساز OpenXchange
-Name[fi]=OpenXchange-palvelin
-Name[fr]=Serveur OpenXchange
-Name[fy]=OpenXchange-tsjinner
-Name[ga]=Freastalaí Openexchange
-Name[gl]=Servidor OpenXchange
-Name[hu]=OpenXchange-kiszolgáló
-Name[is]=OpenXchange þjónn
-Name[ja]=OpenXchange サーバ
-Name[kk]=OpenXchange сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ OpenXchange
-Name[lt]=OpenXchange serveris
-Name[mk]=OpenXchange-сервер
-Name[nb]=OpenExchange-tjener
-Name[nds]=OpenXchange-Server
-Name[ne]=ओपन एक्सचेन्ज सर्भर
-Name[nl]=OpenXchange-server
-Name[nn]=OpenXchange-tenar
-Name[pl]=Server OpenXchange
-Name[pt]=Servidor OpenXchange
-Name[pt_BR]=Servidor OpenXchange
-Name[ru]=Сервер OpenXchange
-Name[sl]=Strežnik OpenXchange
-Name[sr]=Openexchange сервер
-Name[sr@Latn]=Openexchange server
-Name[sv]=Openxchange-server
-Name[tr]=OpenXchange Sunucusu
-Name[uk]=Сервер OpenXchange
-Name[zh_CN]=OpenXchange 服务器
-Name[zh_TW]=OpenXchange 伺服器
-X-TDE-Library=kcal_slox
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=ox
diff --git a/kresources/slox/kcal_slox.desktop b/kresources/slox/kcal_slox.desktop
deleted file mode 100644
index 9b9198d7..00000000
--- a/kresources/slox/kcal_slox.desktop
+++ /dev/null
@@ -1,51 +0,0 @@
-[Desktop Entry]
-Name=SUSE LINUX Openexchange Server
-Name[af]=SuSE Linux OpenExchange bediener
-Name[bg]=Сървър SUSE LINUX Openexchange
-Name[br]=Servijer Openexchange SUSE LINUX
-Name[ca]=Servidor SUSE LINUX Openexchange
-Name[cs]=SUSE LINUX Openexchange server
-Name[da]=SUSE Linux Openexchange-server
-Name[de]=SUSE LINUX Openexchange-Server
-Name[el]=Εξυπηρετητή SUSE LINUX Openexchange
-Name[es]=Servidor Openexchange de SUSE LINUX
-Name[et]=SUSE LINUX Openexchange server
-Name[eu]=SUSE LINUX Openexchange zerbitzaria
-Name[fa]=کارساز SUSE LINUX Openexchange
-Name[fi]=Suse Linux Openexchange -palvelin
-Name[fr]=Serveur SUSE Linux Openexchange
-Name[fy]=SUSE LINUX Openexchange-tsjinner
-Name[ga]=Freastalaí Openexchange SUSE LINUX
-Name[gl]=Servidor SUSE LINUX Openexchange
-Name[hu]=SUSE LINUX Openexchange-kiszolgáló
-Name[is]=SUSE LINUX Openexchange þjónn
-Name[it]=Server SUSE LINUX Openexchange
-Name[ja]=SUSE LINUX Openexchange サーバ
-Name[kk]=SUSE LINUX Openexchange сервері
-Name[km]=ម៉ាស៊ីន​បម្រើ Openexchange របស់​ស៊ូស៊ីលីនីក
-Name[lt]=SUSE LINUX Openexchange serveris
-Name[mk]=SUSE LINUX Openexchange-сервер
-Name[ms]=Pelayan SUSE LINUX Openexchange
-Name[nb]=SUSE LINUX Openexchange-tjener
-Name[nds]=SUSE-Openexchangeserver
-Name[ne]=SUSE LINUX ओपन एक्सचेन्ज सर्भर
-Name[nl]=SUSE LINUX Openexchange-server
-Name[nn]=SUSE LINUX Openexchange-tenar
-Name[pl]=Server SUSE LINUX Openexchange
-Name[pt]=Servidor SUSE LINUX Openexchange
-Name[pt_BR]=Servidor OpenExchange do SUSE Linux (SLOX)
-Name[ru]=Сервер SUSE LINUX Openexchange
-Name[sl]=Strežnik SUSE LINUX Openexchange
-Name[sr]=Openexchange сервер SUSE-овог Linux-а
-Name[sr@Latn]=Openexchange server SUSE-ovog Linux-a
-Name[sv]=SUSE Linux Openexchange-server
-Name[ta]=SUSE LINUX திறந்த பரிமாற்ற சேவகன்
-Name[tr]=SUSE LINUX Openexchange Sunucusu
-Name[uk]=Сервер SUSE LINUX Openexchange
-Name[zh_CN]=SUSE LINUX Openexchange 服务器
-Name[zh_TW]=SUSE LINUX Openexchange 伺服器
-X-TDE-Library=kcal_slox
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=slox
diff --git a/kresources/slox/kcalresourceslox.cpp b/kresources/slox/kcalresourceslox.cpp
deleted file mode 100644
index 98ca90ea..00000000
--- a/kresources/slox/kcalresourceslox.cpp
+++ /dev/null
@@ -1,1328 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2005 Volker Krause <volker.krause@rwth-aachen.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-#include <stdlib.h>
-
-#include <tqdatetime.h>
-#include <tqstring.h>
-#include <tqptrlist.h>
-#include <tqfile.h>
-#include <tqregexp.h>
-
-#include <kdebug.h>
-#include <kurl.h>
-#include <kio/job.h>
-#include <kio/davjob.h>
-#include <klocale.h>
-#include <kstandarddirs.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <libkcal/vcaldrag.h>
-#include <libkcal/vcalformat.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/exceptions.h>
-#include <libkcal/incidence.h>
-#include <libkcal/event.h>
-#include <libkcal/todo.h>
-#include <libkcal/journal.h>
-#include <libkcal/filestorage.h>
-#include <libkcal/confirmsavedialog.h>
-
-#include <kabc/locknull.h>
-#include <kabc/stdaddressbook.h>
-
-#include <kresources/configwidget.h>
-
-#include "webdavhandler.h"
-#include "kcalsloxprefs.h"
-#include "sloxaccounts.h"
-
-#include "kcalresourceslox.h"
-
-using namespace KCal;
-
-KCalResourceSlox::KCalResourceSlox( const TDEConfig *config )
- : ResourceCached( config ), SloxBase( this )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) {
- readConfig( config );
- } else {
- setResourceName( i18n( "OpenXchange Server" ) );
- }
-}
-
-KCalResourceSlox::KCalResourceSlox( const KURL &url )
- : ResourceCached( 0 ), SloxBase( this )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- mPrefs->setUrl( url.url() );
-}
-
-KCalResourceSlox::~KCalResourceSlox()
-{
- kdDebug() << "~KCalResourceSlox()" << endl;
-
- disableChangeNotification();
-
- close();
-
- if ( mLoadEventsJob ) mLoadEventsJob->kill();
- if ( mLoadTodosJob ) mLoadTodosJob->kill();
- if ( mUploadJob ) mUploadJob->kill();
-
- delete mLock;
-
- kdDebug() << "~KCalResourceSlox() done" << endl;
-}
-
-void KCalResourceSlox::init()
-{
- mPrefs = new SloxPrefs;
- mWebdavHandler.setResource( this );
-
- mLoadEventsJob = 0;
- mLoadTodosJob = 0;
-
- mUploadJob = 0;
-
- mLoadEventsProgress = 0;
- mLoadTodosProgress = 0;
-
- mAccounts = 0;
-
- mLock = new KABC::LockNull( true );
-
- enableChangeNotification();
-}
-
-void KCalResourceSlox::readConfig( const TDEConfig *config )
-{
- mPrefs->readConfig();
-
- mWebdavHandler.setUserId( mPrefs->user() );
-
- ResourceCached::readConfig( config );
-
- KURL url = mPrefs->url();
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- delete mAccounts;
- mAccounts = new SloxAccounts( this, url );
-}
-
-void KCalResourceSlox::writeConfig( TDEConfig *config )
-{
- kdDebug() << "KCalResourceSlox::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-
- ResourceCached::writeConfig( config );
-}
-
-bool KCalResourceSlox::doLoad()
-{
- kdDebug() << "KCalResourceSlox::load() " << long( this ) << endl;
-
- if ( mLoadEventsJob || mLoadTodosJob ) {
- kdDebug() << "KCalResourceSlox::load(): download still in progress."
- << endl;
- return true;
- }
- if ( mUploadJob ) {
- kdWarning() << "KCalResourceSlox::load(): upload still in progress."
- << endl;
- loadError( "Upload still in progress." );
- return false;
- }
-
- mCalendar.close();
-
- disableChangeNotification();
- loadCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
-
- clearChanges();
-
- TQString p = KURL( mPrefs->url() ).protocol();
- if ( p != "http" && p != "https" && p != "webdav" && p != "webdavs" ) {
- TQString err = i18n("Non-http protocol: '%1'").arg( p );
- kdDebug() << "KCalResourceSlox::load(): " << err << endl;
- loadError( err );
- return false;
- }
-
- // The SLOX contacts are loaded asynchronously, so make sure that they are
- // actually loaded.
- KABC::StdAddressBook::self( true )->asyncLoad();
-
-#if 1
- requestEvents();
-#endif
- requestTodos();
-
- return true;
-}
-
-void KCalResourceSlox::requestEvents()
-{
- KURL url = mPrefs->url();
- url.setPath( "/servlet/webdav.calendar/" );
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- kdDebug() << "KCalResourceSlox::requestEvents(): " << url << endl;
-
- TQString lastsync = "0";
- if ( mPrefs->useLastSync() ) {
- TQDateTime dt = mPrefs->lastEventSync();
- if ( dt.isValid() ) {
- lastsync = WebdavHandler::qDateTimeToSlox( dt.addDays( -1 ) );
- }
- }
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( LastSync ), lastsync );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->calendarFolderId() );
- if ( type() == "ox" ) {
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "NEW_AND_MODIFIED" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "DELETED" );
- } else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "all" );
-
- kdDebug() << "REQUEST CALENDAR: \n" << doc.toString( 2 ) << endl;
-
- mLoadEventsJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mLoadEventsJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadEventsResult( TDEIO::Job * ) ) );
- connect( mLoadEventsJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotEventsProgress( TDEIO::Job *, unsigned long ) ) );
-
- mLoadEventsProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading events") );
- connect( mLoadEventsProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoadEvents() ) );
-
- mPrefs->setLastEventSync( TQDateTime::currentDateTime() );
-}
-
-void KCalResourceSlox::requestTodos()
-{
- KURL url = mPrefs->url();
- url.setPath( "/servlet/webdav.tasks/" );
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- kdDebug() << "KCalResourceSlox::requestTodos(): " << url << endl;
-
- TQString lastsync = "0";
- if ( mPrefs->useLastSync() ) {
- TQDateTime dt = mPrefs->lastTodoSync();
- if ( dt.isValid() ) {
- lastsync = WebdavHandler::qDateTimeToSlox( dt.addDays( -1 ) );
- }
- }
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( LastSync ), lastsync );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->taskFolderId() );
- if ( type() == "ox" ) {
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "NEW_AND_MODIFIED" );
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "DELETED" );
- } else
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectType ), "all" );
-
- kdDebug() << "REQUEST TASKS: \n" << doc.toString( 2 ) << endl;
-
- mLoadTodosJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mLoadTodosJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadTodosResult( TDEIO::Job * ) ) );
- connect( mLoadTodosJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotTodosProgress( TDEIO::Job *, unsigned long ) ) );
-
- mLoadTodosProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading to-dos") );
- connect( mLoadTodosProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoadTodos() ) );
-
- mPrefs->setLastTodoSync( TQDateTime::currentDateTime() );
-}
-
-void KCalResourceSlox::uploadIncidences()
-{
- TQDomDocument doc;
- TQDomElement ms = WebdavHandler::addDavElement( doc, doc, "multistatus" );
- TQDomElement pu = WebdavHandler::addDavElement( doc, ms, "propertyupdate" );
- TQDomElement set = WebdavHandler::addElement( doc, pu, "D:set" );
- TQDomElement prop = WebdavHandler::addElement( doc, set, "D:prop" );
-
- mUploadIsDelete = false;
- Incidence::List added = addedIncidences();
- Incidence::List changed = changedIncidences();
- Incidence::List deleted = deletedIncidences();
- if ( !added.isEmpty() ) {
- mUploadedIncidence = added.first();
- } else if ( !changed.isEmpty() ) {
- mUploadedIncidence = changed.first();
- } else if ( !deleted.isEmpty() ) {
- mUploadedIncidence = deleted.first();
- mUploadIsDelete = true;
- } else {
- mUploadedIncidence = 0;
- kdDebug() << "uploadIncidences(): FINISHED" << endl;
- emit resourceSaved( this );
- return;
- }
-
- // Don't try to upload recurring incidences as long as the resource doesn't
- // correctly write them in order to avoid corrupting data on the server.
- // FIXME: Remove when recurrences are correctly written.
- if ( mUploadedIncidence->doesRecur() && type() == "slox" ) {
- clearChange( mUploadedIncidence );
- uploadIncidences();
- return;
- }
-
- KURL url = mPrefs->url();
-
- TQString sloxId = mUploadedIncidence->customProperty( "SLOX", "ID" );
- if ( !sloxId.isEmpty() ) {
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ObjectId ), sloxId );
- } else {
- if ( mUploadIsDelete ) {
- kdError() << "Incidence to delete doesn't have a SLOX id" << endl;
- clearChange( mUploadedIncidence );
- uploadIncidences();
- return;
- }
- }
- WebdavHandler::addSloxElement( this, doc, prop, fieldName( ClientId ),
- mUploadedIncidence->uid() );
-
- if ( mUploadIsDelete ) {
- if ( mUploadedIncidence->type() == "Event" ) {
- url.setPath( "/servlet/webdav.calendar/" + sloxId );
- } else if ( mUploadedIncidence->type() == "Todo" ) {
- url.setPath( "/servlet/webdav.tasks/" + sloxId );
- } else {
- kdWarning() << "uploadIncidences(): Unsupported incidence type: "
- << mUploadedIncidence->type() << endl;
- return;
- }
-
- if ( type() == "ox" ) {
- WebdavHandler::addSloxElement( this, doc, prop, "method", "DELETE" );
- } else {
- TQDomElement remove = WebdavHandler::addElement( doc, pu, "D:remove" );
- TQDomElement prop = WebdavHandler::addElement( doc, remove, "D:prop" );
- WebdavHandler::addSloxElement( this, doc, prop, "sloxid", sloxId );
- }
- } else {
- createIncidenceAttributes( doc, prop, mUploadedIncidence );
- // FIXME: Use a visitor
- if ( mUploadedIncidence->type() == "Event" ) {
- url.setPath( "/servlet/webdav.calendar/file.xml" );
- createEventAttributes( doc, prop, static_cast<Event *>( mUploadedIncidence ) );
- // TODO: OX supports recurrences also for tasks
- createRecurrenceAttributes( doc, prop, mUploadedIncidence );
- } else if ( mUploadedIncidence->type() == "Todo" ) {
- url.setPath( "/servlet/webdav.tasks/file.xml" );
- createTodoAttributes( doc, prop, static_cast<Todo *>( mUploadedIncidence ) );
- } else {
- kdWarning() << "uploadIncidences(): Unsupported incidence type: "
- << mUploadedIncidence->type() << endl;
- return;
- }
- }
-
- url.setUser( mPrefs->user() );
- url.setPass( mPrefs->password() );
-
- kdDebug() << "KCalResourceSlox::uploadIncidences(): " << url << endl;
-
- kdDebug() << "UPLOAD: \n" << doc.toString( 2 ) << endl;
-
- mUploadJob = TDEIO::davPropPatch( url, doc, false );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotUploadResult( TDEIO::Job * ) ) );
- connect( mUploadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotUploadProgress( TDEIO::Job *, unsigned long ) ) );
-
- mUploadProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Uploading incidence") );
- connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelUpload() ) );
-}
-
-void KCalResourceSlox::createIncidenceAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- Incidence *incidence )
-{
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( IncidenceTitle ),
- incidence->summary() );
-
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Description ),
- incidence->description() );
-
- if ( incidence->attendeeCount() > 0 ) {
- TQDomElement members = WebdavHandler::addSloxElement( this, doc, parent,
- fieldName( Participants ) );
- Attendee::List attendees = incidence->attendees();
- Attendee::List::ConstIterator it;
- for( it = attendees.begin(); it != attendees.end(); ++it ) {
- if ( mAccounts ) {
- TQString userId = mAccounts->lookupId( (*it)->email() );
- TQString status;
- switch ( (*it)->status() ) {
- case Attendee::Accepted: status = "accept"; break;
- case Attendee::Declined: status = "decline"; break;
- default: status = "none"; break;
- }
- TQDomElement el = WebdavHandler::addSloxElement( this, doc, members, fieldName( Participant ), userId );
- el.setAttribute( "confirm", status );
- } else {
- kdError() << "KCalResourceSlox: No accounts set." << endl;
- }
- }
- }
-
- // set read attributes - if SecrecyPublic, set it to users
- // TODO OX support
- if ( incidence->secrecy() == Incidence::SecrecyPublic && type() != "ox" )
- {
- TQDomElement rights = WebdavHandler::addSloxElement( this, doc, parent, "readrights" );
- WebdavHandler::addSloxElement( this, doc, rights, "group", "users" );
- }
-
- // set reminder as the number of minutes to the start of the event
- KCal::Alarm::List alarms = incidence->alarms();
- if ( !alarms.isEmpty() && alarms.first()->hasStartOffset() && alarms.first()->enabled() )
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Reminder ),
- TQString::number( (-1) * alarms.first()->startOffset().asSeconds() / 60 ) );
- else
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Reminder ), "0" );
-
- // categories
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Categories ), incidence->categories().join( ", " ) );
-}
-
-void KCalResourceSlox::createEventAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- Event *event )
-{
- TQString folderId = mPrefs->calendarFolderId();
- if ( folderId.isEmpty() && type() == "ox" ) // SLOX and OX use diffrent default folders
- folderId = "-1";
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( FolderId ), folderId );
-
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( EventBegin ),
- WebdavHandler::qDateTimeToSlox( event->dtStart(), timeZoneId() ) );
-
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( EventEnd ),
- WebdavHandler::qDateTimeToSlox( event->dtEnd(), timeZoneId() ) );
-
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Location ), event->location() );
-
- if ( event->doesFloat() ) {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( FullTime ), boolToStr( true ) );
- } else {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( FullTime ), boolToStr( false ) );
- }
-}
-
-void KCalResourceSlox::createTodoAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- Todo *todo )
-{
- TQString folderId = mPrefs->taskFolderId();
- if ( folderId.isEmpty() && type() == "ox" ) // SLOX and OX use diffrent default folders
- folderId = "-1";
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( FolderId ), folderId );
-
- if ( todo->hasStartDate() ) {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( TaskBegin ),
- WebdavHandler::qDateTimeToSlox( todo->dtStart(), timeZoneId() ) );
- }
-
- if ( todo->hasDueDate() ) {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( TaskEnd ),
- WebdavHandler::qDateTimeToSlox( todo->dtDue(), timeZoneId() ) );
- }
-
- int priority = todo->priority();
- TQString txt;
- switch ( priority ) {
- case 9:
- case 8:
- txt = "1";
- break;
- case 2:
- case 1:
- txt = "3";
- break;
- default:
- txt = "2";
- break;
- }
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( Priority ), txt );
-
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( PercentComplete ),
- TQString::number( todo->percentComplete() ) );
-}
-
-void KCalResourceSlox::createRecurrenceAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- KCal::Incidence *incidence )
-{
- if ( !incidence->doesRecur() ) {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ),
- type() == "ox" ? "none" : "no" );
- return;
- }
- Recurrence *r = incidence->recurrence();
- int monthOffset = ( type() == "ox" ? -1 : 0 );
- switch ( r->recurrenceType() ) {
- case Recurrence::rDaily:
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ), "daily" );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceDailyFreq ),
- TQString::number( r->frequency() ) );
- break;
- case Recurrence::rWeekly: {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ), "weekly" );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceWeeklyFreq ),
- TQString::number( r->frequency() ) );
- // TODO: SLOX support
- int oxDays = 0;
- for ( int i = 0; i < 7; ++i ) {
- if ( r->days()[i] )
- oxDays += 1 << ( ( i + 1 ) % 7 );
- }
- if ( type() == "ox" )
- WebdavHandler::addSloxElement( this, doc, parent, "days", TQString::number( oxDays ) );
- break; }
- case Recurrence::rMonthlyDay:
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ), "monthly" );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceMonthlyFreq ),
- TQString::number( r->frequency() ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceMonthlyDay ),
- TQString::number( r->monthDays().first() ) );
- break;
- case Recurrence::rMonthlyPos: {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ),
- type() == "ox" ? "monthly" : "monthly2" );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceMonthly2Freq ),
- TQString::number( r->frequency() ) );
- RecurrenceRule::WDayPos wdp = r->monthPositions().first();
- // TODO: SLOX support
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceMonthly2Day ),
- TQString::number( 1 << wdp.day() ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceMonthly2Pos ),
- TQString::number( wdp.pos() ) );
- break; }
- case Recurrence::rYearlyMonth:
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ), "yearly" );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceYearlyDay ),
- TQString::number( r->yearDates().first() ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceYearlyMonth ),
- TQString::number( r->yearMonths().first() + monthOffset ) );
- if ( type() == "ox" )
- WebdavHandler::addSloxElement( this, doc, parent, "interval", "1" );
- break;
- case Recurrence::rYearlyPos: {
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceType ),
- type() == "ox" ? "yearly" : "yearly2" );
- RecurrenceRule::WDayPos wdp = r->monthPositions().first();
- // TODO: SLOX support
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceYearly2Day ),
- TQString::number( 1 << wdp.day() ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceYearly2Pos ),
- TQString::number( wdp.pos() ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceYearly2Month ),
- TQString::number( r->yearMonths().first() + monthOffset ) );
- if ( type() == "ox" )
- WebdavHandler::addSloxElement( this, doc, parent, "interval", "1" );
- break; }
- default:
- kdDebug() << k_funcinfo << "unsupported recurrence type: " << r->recurrenceType() << endl;
- }
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceEnd ),
- WebdavHandler::qDateTimeToSlox( r->endDateTime() ) );
- // delete exceptions
- DateList exlist = r->exDates();
- TQStringList res;
- for ( DateList::Iterator it = exlist.begin(); it != exlist.end(); ++it )
- res.append( WebdavHandler::qDateTimeToSlox( *it ) );
- WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceDelEx ), res.join( "," ) );
-}
-
-void KCalResourceSlox::parseMembersAttribute( const TQDomElement &e,
- Incidence *incidence )
-{
- incidence->clearAttendees();
-
- TQDomNode n;
- for( n = e.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement memberElement = n.toElement();
- if ( memberElement.tagName() == fieldName( Participant ) ) {
- TQString member = memberElement.text();
- KABC::Addressee account;
- if ( mAccounts ) account = mAccounts->lookupUser( member );
- else kdError() << "KCalResourceSlox: no accounts set" << endl;
- TQString name;
- TQString email;
- Attendee *a = incidence->attendeeByUid( member );
- if ( account.isEmpty() ) {
- if ( a ) continue;
-
- name = member;
- email = member + "@" + KURL( mPrefs->url() ).host();
- } else {
- name = account.realName();
- email = account.preferredEmail();
- }
- if ( a ) {
- a->setName( name );
- a->setEmail( email );
- } else {
- a = new Attendee( name, email );
- a->setUid( member );
- incidence->addAttendee( a );
- }
- TQString status = memberElement.attribute( "confirm" );
- if ( !status.isEmpty() ) {
- if ( status == "accept" ) {
- a->setStatus( Attendee::Accepted );
- } else if ( status == "decline" ) {
- a->setStatus( Attendee::Declined );
- } else {
- a->setStatus( Attendee::NeedsAction );
- }
- }
- } else {
- kdDebug() << "Unknown tag in members attribute: "
- << memberElement.tagName() << endl;
- }
- }
-}
-
-void KCalResourceSlox::parseReadRightsAttribute( const TQDomElement &e,
- Incidence *incidence )
-{
- TQDomNode n;
- for( n = e.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement rightElement = n.toElement();
- if ( rightElement.tagName() == "group" ) {
- TQString groupName = rightElement.text();
- if ( groupName == "users" )
- incidence->setSecrecy( Incidence::SecrecyPublic );
- }
- }
-}
-
-void KCalResourceSlox::parseIncidenceAttribute( const TQDomElement &e,
- Incidence *incidence )
-{
- TQString tag = e.tagName();
- TQString text = decodeText( e.text() );
- if ( text.isEmpty() ) return;
-
- if ( tag == fieldName( IncidenceTitle ) ) {
- incidence->setSummary( text );
- } else if ( e.tagName() == fieldName( Description ) ) {
- incidence->setDescription( text );
- } else if ( tag == fieldName( Reminder ) ) {
- int minutes = text.toInt();
- if ( minutes != 0 ) {
- Alarm::List alarms = incidence->alarms();
- Alarm *alarm;
- if ( alarms.isEmpty() ) alarm = incidence->newAlarm();
- else alarm = alarms.first();
- if ( alarm->type() == Alarm::Invalid ) {
- alarm->setType( Alarm::Display );
- }
- Duration d( minutes * -60 );
- alarm->setStartOffset( d );
- alarm->setEnabled( true );
- } else {
- // 0 reminder -> disable alarm
- incidence->clearAlarms();
- }
- } else if ( tag == fieldName( CreatedBy ) ) {
- KABC::Addressee a;
- if ( mAccounts ) a = mAccounts->lookupUser( text );
- else kdDebug() << "KCalResourceSlox: no accounts set" << endl;
- incidence->setOrganizer( Person( a.formattedName(), a.preferredEmail() ) );
- } else if ( tag == fieldName( Participants ) ) {
- parseMembersAttribute( e, incidence );
- } else if ( tag == "readrights" ) {
- parseReadRightsAttribute( e, incidence );
- } else if ( tag == fieldName( Categories ) ) {
- incidence->setCategories( TQStringList::split( TQRegExp(",\\s*"), text ) );
- }
-}
-
-void KCalResourceSlox::parseEventAttribute( const TQDomElement &e,
- Event *event )
-{
- TQString tag = e.tagName();
- TQString text = decodeText( e.text() );
- if ( text.isEmpty() ) return;
-
- if ( tag == fieldName( EventBegin ) ) {
- TQDateTime dt;
- if ( event->doesFloat() ) {
- if ( type() == "ox" )
- dt = WebdavHandler::sloxToTQDateTime( text, timeZoneId() );
- else
- dt = WebdavHandler::sloxToTQDateTime( text ); // ### is this really correct for SLOX?
- } else
- dt = WebdavHandler::sloxToTQDateTime( text, timeZoneId() );
- event->setDtStart( dt );
- } else if ( tag == fieldName( EventEnd ) ) {
- TQDateTime dt;
- if ( event->doesFloat() ) {
- dt = WebdavHandler::sloxToTQDateTime( text );
- dt = dt.addSecs( -1 );
- }
- else dt = WebdavHandler::sloxToTQDateTime( text, timeZoneId() );
- event->setDtEnd( dt );
- } else if ( tag == fieldName( Location ) ) {
- event->setLocation( text );
- }
-}
-
-void KCalResourceSlox::parseRecurrence( const TQDomNode &node, Event *event )
-{
- TQString type;
-
- int dailyValue = -1;
- TQDateTime end;
-
- int weeklyValue = -1;
- TQBitArray days( 7 ); // days, starting with monday
- bool daysSet = false;
-
- int monthlyValueDay = -1;
- int monthlyValueMonth = -1;
-
- int yearlyValueDay = -1;
- int yearlyMonth = -1;
-
- int monthly2Recurrency = 0;
- int monthly2Day = 0;
- int monthly2ValueMonth = -1;
-
- int yearly2Recurrency = 0;
- int yearly2Day = 0;
- int yearly2Month = -1;
-
- DateList deleteExceptions;
-
- TQDomNode n;
-
- for( n = node.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- TQString tag = e.tagName();
- TQString text = decodeText( e.text() );
- kdDebug() << k_funcinfo << tag << ": " << text << endl;
-
- if ( tag == fieldName( RecurrenceType ) ) {
- type = text;
- } else if ( tag == "daily_value" ) {
- dailyValue = text.toInt();
- } else if ( tag == fieldName( RecurrenceEnd ) ) {
- end = WebdavHandler::sloxToTQDateTime( text );
- } else if ( tag == "weekly_value" ) {
- weeklyValue = text.toInt();
- } else if ( tag.left( 11 ) == "weekly_day_" ) {
- int day = tag.mid( 11, 1 ).toInt();
- int index;
- if ( day == 1 ) index = 0;
- else index = day - 2;
- days.setBit( index );
- } else if ( tag == "monthly_value_day" ) {
- monthlyValueDay = text.toInt();
- } else if ( tag == "monthly_value_month" ) {
- monthlyValueMonth = text.toInt();
- } else if ( tag == "yearly_value_day" ) {
- yearlyValueDay = text.toInt();
- } else if ( tag == "yearly_month" ) {
- yearlyMonth = text.toInt();
- } else if ( tag == "monthly2_recurrency" ) {
- monthly2Recurrency = text.toInt();
- } else if ( tag == "monthly2_day" ) {
- monthly2Day = text.toInt();
- } else if ( tag == "monthly2_value_month" ) {
- monthly2ValueMonth = text.toInt();
- } else if ( tag == "yearly2_reccurency" ) { // this is not a typo, this is what SLOX really sends!
- yearly2Recurrency = text.toInt();
- } else if ( tag == "yearly2_day" ) {
- yearly2Day = text.toInt();
- } else if ( tag == "yearly2_month" ) {
- yearly2Month = text.toInt() + 1;
- // OX recurrence fields
- } else if ( tag == "interval" ) {
- dailyValue = text.toInt();
- weeklyValue = text.toInt();
- monthlyValueMonth = text.toInt();
- monthly2ValueMonth = text.toInt();
- } else if ( tag == "days" ) {
- int tmp = text.toInt(); // OX encodes days binary: 1=Su, 2=Mo, 4=Tu, ...
- for ( int i = 0; i < 7; ++i ) {
- if ( tmp & (1 << i) )
- days.setBit( (i + 6) % 7 );
- }
- daysSet = true;
- } else if ( tag == "day_in_month" ) {
- monthlyValueDay = text.toInt();
- monthly2Recurrency = text.toInt();
- yearlyValueDay = text.toInt();
- yearly2Recurrency = text.toInt();
- } else if ( tag == "month" ) {
- yearlyMonth = text.toInt() + 1; // starts at 0
- yearly2Month = text.toInt() + 1;
- } else if ( tag == fieldName( RecurrenceDelEx ) ) {
- TQStringList exdates = TQStringList::split( ",", text );
- TQStringList::Iterator it;
- for ( it = exdates.begin(); it != exdates.end(); ++it )
- deleteExceptions.append( WebdavHandler::sloxToTQDateTime( *it ).date() );
- }
- }
-
- if ( daysSet && type == "monthly" )
- type = "monthly2"; // HACK: OX doesn't cleanly distinguish between monthly and monthly2
- if ( daysSet && type == "yearly" )
- type = "yearly2";
-
- Recurrence *r = event->recurrence();
-
- if ( type == "daily" ) {
- r->setDaily( dailyValue );
- } else if ( type == "weekly" ) {
- r->setWeekly( weeklyValue, days );
- } else if ( type == "monthly" ) {
- r->setMonthly( monthlyValueMonth );
- r->addMonthlyDate( monthlyValueDay );
- } else if ( type == "yearly" ) {
- r->setYearly( 1 );
- r->addYearlyDate( yearlyValueDay );
- r->addYearlyMonth( yearlyMonth );
- } else if ( type == "monthly2" ) {
- r->setMonthly( monthly2ValueMonth );
- TQBitArray _days( 7 );
- if ( daysSet )
- _days = days;
- else
- _days.setBit( event->dtStart().date().dayOfWeek() );
- r->addMonthlyPos( monthly2Recurrency, _days );
- } else if ( type == "yearly2" ) {
- r->setYearly( 1 );
- r->addYearlyMonth( yearly2Month );
- TQBitArray _days( 7 );
- if ( daysSet )
- _days = days;
- else
- _days.setBit( ( yearly2Day + 5 ) % 7 );
- r->addYearlyPos( yearly2Recurrency, _days );
- }
- r->setEndDate( end.date() );
- r->setExDates( deleteExceptions );
-}
-
-void KCalResourceSlox::parseTodoAttribute( const TQDomElement &e,
- Todo *todo )
-{
- TQString tag = e.tagName();
- TQString text = decodeText( e.text() );
- if ( text.isEmpty() ) return;
-
- if ( tag == fieldName( TaskBegin ) ) {
- TQDateTime dt = WebdavHandler::sloxToTQDateTime( text );
- if ( dt.isValid() ) {
- todo->setDtStart( dt );
- todo->setHasStartDate( true );
- }
- } else if ( tag == fieldName( TaskEnd ) ) {
- TQDateTime dt = WebdavHandler::sloxToTQDateTime( text );
- if ( dt.isValid() ) {
- todo->setDtDue( dt );
- todo->setHasDueDate( true );
- }
- } else if ( tag == fieldName( Priority ) ) {
- int p = text.toInt();
- if ( p < 1 || p > 3 ) {
- kdError() << "Unknown priority: " << text << endl;
- } else {
- int priority;
- switch ( p ) {
- case 1:
- priority = 9;
- break;
- default:
- case 2:
- priority = 5;
- break;
- case 3:
- priority = 1;
- break;
- }
- todo->setPriority( priority );
- }
- } else if ( tag == fieldName( PercentComplete ) ) {
- int completed = text.toInt();
- todo->setPercentComplete( completed );
- }
-}
-
-void KCalResourceSlox::slotLoadTodosResult( TDEIO::Job *job )
-{
- kdDebug() << "KCalResourceSlox::slotLoadTodosJobResult()" << endl;
-
- if ( job->error() ) {
- loadError( job->errorString() );
- } else {
- kdDebug() << "KCalResourceSlox::slotLoadTodosJobResult() success" << endl;
-
- TQDomDocument doc = mLoadTodosJob->response();
-
- mWebdavHandler.log( doc.toString( 2 ) );
-
- TQValueList<SloxItem> items = WebdavHandler::getSloxItems( this, doc );
-
- bool changed = false;
-
- disableChangeNotification();
-
- TQValueList<SloxItem>::ConstIterator it;
- for( it = items.begin(); it != items.end(); ++it ) {
- SloxItem item = *it;
- TQString uid = sloxIdToTodoUid( item.sloxId );
- if ( item.status == SloxItem::Delete ) {
- Todo *todo = mCalendar.todo( uid );
- if ( todo ) {
- mCalendar.deleteTodo( todo );
- changed = true;
- }
- } else if ( item.status == SloxItem::Create ) {
- Todo *newTodo = 0;
- Todo *todo = mCalendar.todo( uid );
- if ( !todo ) {
- newTodo = new Todo;
- todo = newTodo;
- todo->setUid( uid );
- todo->setSecrecy( Incidence::SecrecyPrivate );
- }
-
- todo->setCustomProperty( "SLOX", "ID", item.sloxId );
-
- mWebdavHandler.clearSloxAttributeStatus();
-
- TQDomNode n;
- for( n = item.domNode.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- mWebdavHandler.parseSloxAttribute( e );
- parseIncidenceAttribute( e, todo );
- parseTodoAttribute( e, todo );
- }
-
- mWebdavHandler.setSloxAttributes( todo );
-
- if ( newTodo ) mCalendar.addTodo( todo );
-
- changed = true;
- }
- }
-
- enableChangeNotification();
-
- clearChanges();
-
- if ( changed ) emit resourceChanged( this );
-
- emit resourceLoaded( this );
- }
-
- mLoadTodosJob = 0;
-
- if ( mLoadTodosProgress ) mLoadTodosProgress->setComplete();
- mLoadTodosProgress = 0;
-}
-
-void KCalResourceSlox::slotLoadEventsResult( TDEIO::Job *job )
-{
- kdDebug() << "KCalResourceSlox::slotLoadEventsResult() " << long( this ) << endl;
-
- if ( job->error() ) {
- loadError( job->errorString() );
- } else {
- kdDebug() << "KCalResourceSlox::slotLoadEventsResult() success" << endl;
-
- TQDomDocument doc = mLoadEventsJob->response();
-
- mWebdavHandler.log( doc.toString( 2 ) );
-
- TQValueList<SloxItem> items = WebdavHandler::getSloxItems( this, doc );
-
- bool changed = false;
-
- disableChangeNotification();
-
- TQValueList<SloxItem>::ConstIterator it;
- for( it = items.begin(); it != items.end(); ++it ) {
- SloxItem item = *it;
- TQString uid = sloxIdToEventUid( item.sloxId );
- if ( item.status == SloxItem::Delete ) {
- Event *event = mCalendar.event( uid );
- if ( event ) {
- mCalendar.deleteEvent( event );
- changed = true;
- }
- } else if ( item.status == SloxItem::Create ) {
- Event *newEvent = 0;
- Event *event = mCalendar.event( uid );
- if ( !event ) {
- newEvent = new Event;
- event = newEvent;
- event->setUid( uid );
- event->setSecrecy( Incidence::SecrecyPrivate );
- }
-
- event->setCustomProperty( "SLOX", "ID", item.sloxId );
-
- TQDomNode n = item.domNode.namedItem( fieldName( FullTime ) );
- event->setFloats( n.toElement().text() == boolToStr( true ) );
-
- bool doesRecur = false;
-
- mWebdavHandler.clearSloxAttributeStatus();
-
- for( n = item.domNode.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- mWebdavHandler.parseSloxAttribute( e );
- parseIncidenceAttribute( e, event );
- parseEventAttribute( e, event );
- if ( e.tagName() == fieldName( RecurrenceType ) && e.text() != "no" ) {
- doesRecur = true;
- }
- }
-
- if ( doesRecur )
- parseRecurrence( item.domNode, event );
- else
- event->recurrence()->unsetRecurs();
-
- mWebdavHandler.setSloxAttributes( event );
-
-// kdDebug() << "EVENT " << item.uid << " " << event->summary() << endl;
-
- if ( newEvent ) mCalendar.addEvent( event );
-
- changed = true;
- }
- }
-
- enableChangeNotification();
-
- saveCache();
-
- clearChanges();
-
- if ( changed ) emit resourceChanged( this );
-
- emit resourceLoaded( this );
- }
-
- mLoadEventsJob = 0;
-
- if ( mLoadEventsProgress ) mLoadEventsProgress->setComplete();
- mLoadEventsProgress = 0;
-}
-
-void KCalResourceSlox::slotUploadResult( TDEIO::Job *job )
-{
- kdDebug() << "KCalResourceSlox::slotUploadResult()" << endl;
-
- if ( job->error() ) {
- saveError( job->errorString() );
- } else {
- kdDebug() << "KCalResourceSlox::slotUploadResult() success" << endl;
-
- if ( !mUploadJob )
- {
- kdDebug() << "KCalResourceSlox::slotUploadResult() - mUploadJob was 0" << endl;
- return;
- }
-
- TQDomDocument doc = mUploadJob->response();
-
- kdDebug() << "UPLOAD RESULT:" << endl;
- kdDebug() << doc.toString( 2 ) << endl;
-
- TQDomElement docElement = doc.documentElement();
-
- TQDomNode responseNode;
- for( responseNode = docElement.firstChild(); !responseNode.isNull();
- responseNode = responseNode.nextSibling() ) {
- TQDomElement responseElement = responseNode.toElement();
- if ( responseElement.tagName() == "response" ) {
- TQDomNode propstat = responseElement.namedItem( "propstat" );
- if ( propstat.isNull() ) {
- kdError() << "Unable to find propstat tag." << endl;
- continue;
- }
-
- TQDomNode status = propstat.namedItem( "status" );
- if ( !status.isNull() ) {
- TQDomElement statusElement = status.toElement();
- TQString response = statusElement.text();
- if ( !response.contains( "200" ) ) {
- TQString error = "'" + mUploadedIncidence->summary() + "'\n";
- error += response;
- TQDomNode dn = propstat.namedItem( "responsedescription" );
- TQString d = dn.toElement().text();
- if ( !d.isEmpty() ) error += "\n" + d;
- saveError( error );
- continue;
- }
- }
-
- TQDomNode prop = propstat.namedItem( "prop" );
- if ( prop.isNull() ) {
- kdError() << "Unable to find WebDAV property" << endl;
- continue;
- }
-
- TQDomNode sloxIdNode = prop.namedItem( fieldName( ObjectId ) );
- if ( sloxIdNode.isNull() ) {
- kdError() << "Unable to find SLOX id." << endl;
- continue;
- }
- TQDomElement sloxIdElement = sloxIdNode.toElement();
- TQString sloxId = sloxIdElement.text();
- kdDebug() << "SLOXID: " << sloxId << endl;
-
- if ( mUploadIsDelete ) {
- kdDebug() << "Incidence deleted" << endl;
- } else {
- TQDomNode clientIdNode = prop.namedItem( fieldName( ClientId ) );
- if ( clientIdNode.isNull() ) {
- kdError() << "Unable to find client id." << endl;
- continue;
- }
- TQDomElement clientidElement = clientIdNode.toElement();
- TQString clientId = clientidElement.text();
-
- kdDebug() << "CLIENTID: " << clientId << endl;
-
- Incidence *i = mUploadedIncidence->clone();
- TQString uid;
- if ( i->type() == "Event" ) uid = sloxIdToEventUid( sloxId );
- else if ( i->type() == "Todo" ) uid = sloxIdToTodoUid( sloxId );
- else {
- kdError() << "KCalResourceSlox::slotUploadResult(): Unknown type: "
- << i->type() << endl;
- }
- i->setUid( uid );
- i->setCustomProperty( "SLOX", "ID", sloxId );
-
- disableChangeNotification();
- mCalendar.deleteIncidence( mUploadedIncidence );
- mCalendar.addIncidence( i );
- saveCache();
- enableChangeNotification();
-
- emit resourceChanged( this );
- }
- }
- }
- }
-
- mUploadJob = 0;
-
- mUploadProgress->setComplete();
- mUploadProgress = 0;
-
- clearChange( mUploadedIncidence );
-
- uploadIncidences();
-}
-
-void KCalResourceSlox::slotEventsProgress( TDEIO::Job *job,
- unsigned long percent )
-{
-#if 0
- kdDebug() << "PROGRESS: events " << int( job ) << ": " << percent << endl;
-#else
- Q_UNUSED( job );
- Q_UNUSED( percent );
-#endif
- if ( mLoadEventsProgress ) mLoadEventsProgress->setProgress( percent );
-}
-
-void KCalResourceSlox::slotTodosProgress( TDEIO::Job *job, unsigned long percent )
-{
-#if 0
- kdDebug() << "PROGRESS: todos " << int( job ) << ": " << percent << endl;
-#else
- Q_UNUSED( job );
- Q_UNUSED( percent );
-#endif
- if ( mLoadTodosProgress ) mLoadTodosProgress->setProgress( percent );
-}
-
-void KCalResourceSlox::slotUploadProgress( TDEIO::Job *job, unsigned long percent )
-{
-#if 0
- kdDebug() << "PROGRESS: upload " << int( job ) << ": " << percent << endl;
-#else
- Q_UNUSED( job );
- Q_UNUSED( percent );
-#endif
- if ( mUploadProgress ) mUploadProgress->setProgress( percent );
-}
-
-bool KCalResourceSlox::confirmSave()
-{
- if ( !hasChanges() ) return true;
-
- ConfirmSaveDialog dlg( resourceName(), 0 );
-
- dlg.addIncidences( addedIncidences(), i18n("Added") );
- dlg.addIncidences( changedIncidences(), i18n("Changed") );
- dlg.addIncidences( deletedIncidences(), i18n("Deleted") );
-
- int result = dlg.exec();
- return result == TQDialog::Accepted;
-}
-
-bool KCalResourceSlox::doSave()
-{
- kdDebug() << "KCalResourceSlox::save()" << endl;
-
- if ( readOnly() || !hasChanges() ) {
- emit resourceSaved( this );
- return true;
- }
-
- if ( mLoadEventsJob || mLoadTodosJob ) {
- kdWarning() << "KCalResourceSlox::save(): download still in progress."
- << endl;
- return false;
- }
- if ( mUploadJob ) {
- kdWarning() << "KCalResourceSlox::save(): upload still in progress."
- << endl;
- return false;
- }
-
- if ( !confirmSave() ) return false;
-
- saveCache();
-
- uploadIncidences();
-
- return true;
-}
-
-bool KCalResourceSlox::isSaving()
-{
- return mUploadJob;
-}
-
-void KCalResourceSlox::doClose()
-{
- kdDebug() << "KCalResourceSlox::doClose()" << endl;
-
- cancelLoadEvents();
- cancelLoadTodos();
-
- if ( mUploadJob ) {
- kdError() << "KCalResourceSlox::doClose() Still saving" << endl;
- } else {
- mCalendar.close();
- }
-}
-
-KABC::Lock *KCalResourceSlox::lock()
-{
- return mLock;
-}
-
-void KCalResourceSlox::dump() const
-{
- ResourceCalendar::dump();
- kdDebug(5800) << " Url: " << mPrefs->url() << endl;
-}
-
-void KCalResourceSlox::cancelLoadEvents()
-{
- if ( mLoadEventsJob ) mLoadEventsJob->kill();
- mLoadEventsJob = 0;
- if ( mLoadEventsProgress ) mLoadEventsProgress->setComplete();
- mLoadEventsProgress = 0;
-}
-
-void KCalResourceSlox::cancelLoadTodos()
-{
- if ( mLoadTodosJob ) mLoadTodosJob->kill();
- mLoadTodosJob = 0;
- if ( mLoadTodosProgress ) mLoadTodosProgress->setComplete();
- mLoadTodosProgress = 0;
-}
-
-void KCalResourceSlox::cancelUpload()
-{
- if ( mUploadJob ) mUploadJob->kill();
- mUploadJob = 0;
- if ( mUploadProgress ) mUploadProgress->setComplete();
-}
-
-TQString KCalResourceSlox::sloxIdToEventUid( const TQString &sloxId )
-{
- return "KResources_SLOX_Event_" + sloxId;
-}
-
-TQString KCalResourceSlox::sloxIdToTodoUid( const TQString &sloxId )
-{
- return "KResources_SLOX_Todo_" + sloxId;
-}
-
-#include "kcalresourceslox.moc"
diff --git a/kresources/slox/kcalresourceslox.h b/kresources/slox/kcalresourceslox.h
deleted file mode 100644
index 6735b993..00000000
--- a/kresources/slox/kcalresourceslox.h
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALRESOURCESLOX_H
-#define KCALRESOURCESLOX_H
-
-#include "sloxbase.h"
-#include "webdavhandler.h"
-
-#include <tqptrlist.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-#include <tqdom.h>
-
-#include <kurl.h>
-#include <kconfig.h>
-#include <kdirwatch.h>
-#include <tdepimmacros.h>
-
-#include <libkcal/incidence.h>
-#include <libkcal/todo.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/icalformat.h>
-#include <libkcal/resourcecached.h>
-
-namespace TDEIO {
-class FileCopyJob;
-class Job;
-class DavJob;
-}
-
-namespace KCal {
-class SloxPrefs;
-}
-
-namespace KPIM {
-class ProgressItem;
-}
-
-class SloxAccounts;
-
-/**
- This class provides a calendar stored as a remote file.
-*/
-class KDE_EXPORT KCalResourceSlox : public KCal::ResourceCached, public SloxBase
-{
- Q_OBJECT
-
-
- friend class KCalResourceSloxConfig;
-
- public:
- /**
- Reload policy.
-
- @see setReloadPolicy(), reloadPolicy()
- */
- enum { ReloadNever, ReloadOnStartup, ReloadOnceADay, ReloadAlways };
-
- /**
- Create resource from configuration information stored in TDEConfig object.
- */
- KCalResourceSlox( const TDEConfig * );
- KCalResourceSlox( const KURL &url );
- ~KCalResourceSlox();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- KCal::SloxPrefs *prefs() const { return mPrefs; }
-
- KABC::Lock *lock();
-
- bool isSaving();
-
- void dump() const;
-
- protected slots:
- void slotLoadEventsResult( TDEIO::Job * );
- void slotLoadTodosResult( TDEIO::Job * );
- void slotUploadResult( TDEIO::Job * );
-
- void slotEventsProgress( TDEIO::Job *job, unsigned long percent );
- void slotTodosProgress( TDEIO::Job *job, unsigned long percent );
- void slotUploadProgress( TDEIO::Job *job, unsigned long percent );
-
- void cancelLoadEvents();
- void cancelLoadTodos();
- void cancelUpload();
-
- protected:
- void doClose();
- bool doLoad();
- bool doSave();
-
- void requestEvents();
- void requestTodos();
-
- void uploadIncidences();
-
- void parseMembersAttribute( const TQDomElement &e,
- KCal::Incidence *incidence );
- void parseReadRightsAttribute( const TQDomElement &e,
- KCal::Incidence *incidence );
- void parseIncidenceAttribute( const TQDomElement &e,
- KCal::Incidence *incidence );
- void parseTodoAttribute( const TQDomElement &e, KCal::Todo *todo );
- void parseEventAttribute( const TQDomElement &e, KCal::Event *event );
- void parseRecurrence( const TQDomNode &n, KCal::Event *event );
-
- void createIncidenceAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- KCal::Incidence *incidence );
- void createEventAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- KCal::Event *event );
- void createTodoAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- KCal::Todo *todo );
- void createRecurrenceAttributes( TQDomDocument &doc,
- TQDomElement &parent,
- KCal::Incidence *incidence );
-
- bool confirmSave();
-
- TQString sloxIdToEventUid( const TQString &sloxId );
- TQString sloxIdToTodoUid( const TQString &sloxId );
-
- private:
- void init();
-
- KCal::SloxPrefs *mPrefs;
-
- TDEIO::DavJob *mLoadEventsJob;
- TDEIO::DavJob *mLoadTodosJob;
- TDEIO::DavJob *mUploadJob;
-
- KPIM::ProgressItem *mLoadEventsProgress;
- KPIM::ProgressItem *mLoadTodosProgress;
- KPIM::ProgressItem *mUploadProgress;
-
- KCal::Incidence *mUploadedIncidence;
- bool mUploadIsDelete;
-
- KABC::Lock *mLock;
-
- WebdavHandler mWebdavHandler;
-
- SloxAccounts *mAccounts;
-};
-
-#endif
diff --git a/kresources/slox/kcalresourceslox_plugin.cpp b/kresources/slox/kcalresourceslox_plugin.cpp
deleted file mode 100644
index 8a5cf690..00000000
--- a/kresources/slox/kcalresourceslox_plugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcalresourcesloxconfig.h"
-#include "kcalresourceslox.h"
-
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory<KCalResourceSlox,KCalResourceSloxConfig> SLOXFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_slox, SLOXFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kcal_slox()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kabc_slox" );
- return new SLOXFactory;
- }
-}
diff --git a/kresources/slox/kcalresourcesloxconfig.cpp b/kresources/slox/kcalresourcesloxconfig.cpp
deleted file mode 100644
index e09cf85c..00000000
--- a/kresources/slox/kcalresourcesloxconfig.cpp
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqcheckbox.h>
-
-#include <klocale.h>
-#include <kdebug.h>
-#include <kstandarddirs.h>
-#include <klineedit.h>
-#include <kpushbutton.h>
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include "kcalresourceslox.h"
-#include "kcalsloxprefs.h"
-#include "sloxfolder.h"
-#include "sloxfolderdialog.h"
-#include "sloxfoldermanager.h"
-
-#include "kcalresourcesloxconfig.h"
-
-KCalResourceSloxConfig::KCalResourceSloxConfig( TQWidget* parent, const char* name ) :
- KRES::ConfigWidget( parent, name ), mRes( 0 )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 6, 2, KDialog::spacingHint(), KDialog::spacingHint() );
-
- TQLabel *label = new TQLabel( i18n( "Download from:" ), this );
-
- mDownloadUrl = new KURLRequester( this );
- mDownloadUrl->setMode( KFile::File );
- mainLayout->addWidget( label, 1, 0 );
- mainLayout->addWidget( mDownloadUrl, 1, 1 );
-
- label = new TQLabel( i18n("User:"), this );
- mainLayout->addWidget( label, 2, 0 );
-
- mUserEdit = new KLineEdit( this );
- mainLayout->addWidget( mUserEdit, 2, 1 );
-
- label = new TQLabel( i18n("Password:"), this );
- mainLayout->addWidget( label, 3, 0 );
-
- mPasswordEdit = new KLineEdit( this );
- mainLayout->addWidget( mPasswordEdit, 3, 1 );
- mPasswordEdit->setEchoMode( KLineEdit::Password );
-
- mLastSyncCheck = new TQCheckBox( i18n("Only load data since last sync"),
- this );
- mainLayout->addMultiCellWidget( mLastSyncCheck, 4, 4, 0, 1 );
-
- mCalButton = new KPushButton( i18n("Calendar Folder..."), this );
- mainLayout->addWidget( mCalButton, 5, 0 );
- connect( mCalButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectCalendarFolder() ) );
-
- mTaskButton = new KPushButton( i18n("Task Folder..."), this );
- mainLayout->addWidget( mTaskButton, 5, 1 );
- connect( mTaskButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectTaskFolder() ) );
-
- mReloadConfig = new KCal::ResourceCachedReloadConfig( this );
- mainLayout->addMultiCellWidget( mReloadConfig, 6, 6, 0, 1 );
-
- mSaveConfig = new KCal::ResourceCachedSaveConfig( this );
- mainLayout->addMultiCellWidget( mSaveConfig, 7, 7, 0, 1 );
-}
-
-void KCalResourceSloxConfig::loadSettings( KRES::Resource *resource )
-{
- KCalResourceSlox *res = static_cast<KCalResourceSlox *>( resource );
- mRes = res;
- if ( mRes->resType() == "slox" ) { // we don't have folder selection for SLOX
- mCalButton->setEnabled( false );
- mTaskButton->setEnabled( false );
- }
- if ( res ) {
- mDownloadUrl->setURL( res->prefs()->url() );
- mLastSyncCheck->setChecked( res->prefs()->useLastSync() );
- mUserEdit->setText( res->prefs()->user() );
- mPasswordEdit->setText( res->prefs()->password() );
- mCalendarFolderId = res->prefs()->calendarFolderId();
- mTaskFolderId = res->prefs()->taskFolderId();
- mReloadConfig->loadSettings( res );
- mSaveConfig->loadSettings( res );
- } else {
- kdError(5700) << "KCalResourceSloxConfig::loadSettings(): no KCalResourceSlox, cast failed" << endl;
- }
-}
-
-void KCalResourceSloxConfig::saveSettings( KRES::Resource *resource )
-{
- KCalResourceSlox *res = static_cast<KCalResourceSlox*>( resource );
- if ( res ) {
- res->prefs()->setUrl( mDownloadUrl->url() );
- res->prefs()->setUseLastSync( mLastSyncCheck->isChecked() );
- res->prefs()->setUser( mUserEdit->text() );
- res->prefs()->setPassword( mPasswordEdit->text() );
- res->prefs()->setCalendarFolderId( mCalendarFolderId );
- res->prefs()->setTaskFolderId( mTaskFolderId );
- mReloadConfig->saveSettings( res );
- mSaveConfig->saveSettings( res );
- } else {
- kdError(5700) << "KCalResourceSloxConfig::saveSettings(): no KCalResourceSlox, cast failed" << endl;
- }
-}
-
-void KCalResourceSloxConfig::selectCalendarFolder()
-{
- SloxFolderManager *manager = new SloxFolderManager( mRes, mDownloadUrl->url() );
- SloxFolderDialog *dialog = new SloxFolderDialog( manager, ::Calendar, this );
- dialog->setSelectedFolder( mCalendarFolderId );
- if ( dialog->exec() == TQDialog::Accepted )
- mCalendarFolderId = dialog->selectedFolder();
-}
-
-void KCalResourceSloxConfig::selectTaskFolder( )
-{
- SloxFolderManager *manager = new SloxFolderManager( mRes, mDownloadUrl->url() );
- SloxFolderDialog *dialog = new SloxFolderDialog( manager, Tasks, this );
- dialog->setSelectedFolder( mTaskFolderId );
- if ( dialog->exec() == TQDialog::Accepted )
- mTaskFolderId = dialog->selectedFolder();
-}
-
-#include "kcalresourcesloxconfig.moc"
diff --git a/kresources/slox/kcalresourcesloxconfig.h b/kresources/slox/kcalresourcesloxconfig.h
deleted file mode 100644
index 619854a8..00000000
--- a/kresources/slox/kcalresourcesloxconfig.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALRESOURCESLOXCONFIG_H
-#define KCALRESOURCESLOXCONFIG_H
-
-#include <kurlrequester.h>
-#include <tdepimmacros.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-class TQCheckBox;
-class KLineEdit;
-class KPushButton;
-
-namespace KCal {
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-}
-
-class SloxBase;
-
-/**
- Configuration widget for SLOX resource.
-
- @see KCalResourceSlox
-*/
-class KDE_EXPORT KCalResourceSloxConfig : public KRES::ConfigWidget
-{
- Q_OBJECT
-
- public:
- KCalResourceSloxConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- private slots:
- void selectCalendarFolder();
- void selectTaskFolder();
-
- private:
- KURLRequester *mDownloadUrl;
- KLineEdit *mUserEdit;
- KLineEdit *mPasswordEdit;
- TQCheckBox *mLastSyncCheck;
- KPushButton *mCalButton;
- KPushButton *mTaskButton;
- TQString mCalendarFolderId;
- TQString mTaskFolderId;
-
- KCal::ResourceCachedReloadConfig *mReloadConfig;
- KCal::ResourceCachedSaveConfig *mSaveConfig;
-
- SloxBase *mRes;
-};
-
-#endif
diff --git a/kresources/slox/kcalsloxprefs.kcfgc b/kresources/slox/kcalsloxprefs.kcfgc
deleted file mode 100644
index 11bbd60a..00000000
--- a/kresources/slox/kcalsloxprefs.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_slox.kcfg
-ClassName=SloxPrefs
-NameSpace=KCal
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-#ItemAccessors=true
-#SetUserTexts=true
diff --git a/kresources/slox/kresources_kabc_slox.kcfg b/kresources/slox/kresources_kabc_slox.kcfg
deleted file mode 100644
index 159605ba..00000000
--- a/kresources/slox/kresources_kabc_slox.kcfg
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kabc_sloxrc"/>
-
- <group name="General">
- <entry type="String" name="Url">
- <label>Base Url</label>
- </entry>
- <entry type="String" name="User">
- <label>User Name</label>
- </entry>
- <entry type="Password" name="Password">
- <label>Password</label>
- </entry>
- <entry type="Bool" name="UseLastSync">
- <label>Only load data since last sync</label>
- <default>true</default>
- </entry>
- <entry type="String" name="FolderId">
- <label>Folder ID</label>
- <default></default>
- </entry>
- <entry type="DateTime" name="LastSync">
- <label>Last Sync</label>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/slox/kresources_kcal_slox.kcfg b/kresources/slox/kresources_kcal_slox.kcfg
deleted file mode 100644
index 9e4e6f4e..00000000
--- a/kresources/slox/kresources_kcal_slox.kcfg
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_sloxrc"/>
-
- <group name="General">
- <entry type="String" name="Url">
- <label>Base Url</label>
- </entry>
- <entry type="String" name="User">
- <label>User Name</label>
- </entry>
- <entry type="Password" name="Password">
- <label>Password</label>
- </entry>
- <entry type="DateTime" name="LastEventSync">
- <label>Last Event Sync</label>
- </entry>
- <entry type="DateTime" name="LastTodoSync">
- <label>Last To-do Sync</label>
- </entry>
- <entry type="Bool" name="UseLastSync">
- <label>Only load data since last sync</label>
- <default>true</default>
- </entry>
- <entry type="String" name="CalendarFolderId">
- <label>Calendar Folder</label>
- <default></default>
- </entry>
- <entry type="String" name="TaskFolderId">
- <label>Task Folder</label>
- <default></default>
- </entry>
- </group>
-
-</kcfg>
diff --git a/kresources/slox/sloxaccounts.cpp b/kresources/slox/sloxaccounts.cpp
deleted file mode 100644
index aa648d1b..00000000
--- a/kresources/slox/sloxaccounts.cpp
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
- Copyright (c) 2005 Volker Krause <volker.krause@rwth-aachen.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "sloxaccounts.h"
-#include "sloxbase.h"
-#include "webdavhandler.h"
-
-#include <libkcal/freebusyurlstore.h>
-
-#include <kstaticdeleter.h>
-#include <kdebug.h>
-#include <kstandarddirs.h>
-#include <kio/job.h>
-#include <kio/davjob.h>
-#include <kstringhandler.h>
-#include <kconfig.h>
-
-#include <tqfile.h>
-#include <tqdom.h>
-#include <tqstring.h>
-
-SloxAccounts::SloxAccounts( SloxBase *res, const KURL &baseUrl )
- : mBaseUrl( baseUrl ), mRes( res )
-{
- kdDebug() << "SloxAccounts(): " << baseUrl << endl;
-
- mDownloadJob = 0;
-
- TQString server = mBaseUrl.host();
-
- TQStringList l = TQStringList::split( '.', server );
-
- if ( l.count() < 2 ) mDomain = server;
- else mDomain = l[ l.count() - 2 ] + "." + l[ l.count() - 1 ];
-
- readAccounts();
-}
-
-SloxAccounts::~SloxAccounts()
-{
- kdDebug() << "~SloxAccounts()" << endl;
-
- if ( mDownloadJob ) mDownloadJob->kill();
-}
-
-void SloxAccounts::insertUser( const TQString &id, const KABC::Addressee &a )
-{
- kdDebug() << "SloxAccount::insertUser() " << id << endl;
-
- mUsers.replace( id, a );
-
- TQString email = a.preferredEmail();
-
- TQString url = "http://" + mBaseUrl.host() + "/servlet/webdav.freebusy?username=";
- url += id + "&server=" + mDomain;
-
- KCal::FreeBusyUrlStore::self()->writeUrl( email, url );
-}
-
-KABC::Addressee SloxAccounts::lookupUser( const TQString &id )
-{
- TQMap<TQString, KABC::Addressee>::ConstIterator it;
- it = mUsers.find( id );
- if ( it == mUsers.end() ) {
- requestAccounts();
- return KABC::Addressee();
- } else {
- return *it;
- }
-}
-
-TQString SloxAccounts::lookupId( const TQString &email )
-{
- kdDebug() << "SloxAccounts::lookupId() " << email << endl;
-
- TQMap<TQString, KABC::Addressee>::ConstIterator it;
- for( it = mUsers.begin(); it != mUsers.end(); ++it ) {
- kdDebug() << "PREF: " << (*it).preferredEmail() << endl;
- kdDebug() << "KEY: " << it.key() << endl;
- if ( (*it).preferredEmail() == email ) return it.key();
- }
- requestAccounts();
-
- int pos = email.find( '@' );
- if ( pos < 0 ) return email;
- else return email.left( pos );
-}
-
-void SloxAccounts::requestAccounts()
-{
- kdDebug() << "SloxAccounts::requestAccounts()" << endl;
-
- if ( mDownloadJob ) {
- kdDebug() << "SloxAccount::requestAccounts(): Download still in progress"
- << endl;
- return;
- }
-
- if ( mRes->resType() == "slox" ) {
- KURL url = mBaseUrl;
- url.addPath( "/servlet/webdav.groupuser" );
- url.setQuery( "?user=*&group=*&groupres=*&res=*&details=t" );
-
- kdDebug() << "SloxAccounts::requestAccounts() URL: " << url << endl;
-
- mDownloadJob = TDEIO::file_copy( url, cacheFile(), -1, true, false, false );
- } else if ( mRes->resType() == "ox" ) {
- KURL url = mBaseUrl;
- url.setPath( "/servlet/webdav.groupuser/" );
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "user", "*" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "group", "*" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "resource", "*" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "resourcegroup", "*" );
-
- kdDebug() << k_funcinfo << doc.toString( 2 ) << endl;
-
- mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
- }
-
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
-}
-
-void SloxAccounts::slotResult( TDEIO::Job *job )
-{
- kdDebug() << "SloxAccounts::slotResult()" << endl;
-
- if ( job->error() ) {
- job->showErrorDialog( 0 );
- } else {
- if ( mRes->resType() == "ox" ) {
- TQFile f( cacheFile() );
- if ( !f.open( IO_WriteOnly ) ) {
- kdWarning() << "Unable to open '" << cacheFile() << "'" << endl;
- return;
- }
- TQTextStream stream ( &f );
- stream << static_cast<TDEIO::DavJob*>( mDownloadJob )->response();
- f.close();
- }
- readAccounts();
- }
-
- mDownloadJob = 0;
-}
-
-TQString SloxAccounts::cacheFile() const
-{
- TQString host = mBaseUrl.host();
-
- TQString file = locateLocal( "cache", "slox/accounts_" + host );
-
- kdDebug() << "SloxAccounts::cacheFile(): " << file << endl;
-
- return file;
-}
-
-void SloxAccounts::readAccounts()
-{
- kdDebug() << "SloxAccounts::readAccounts()" << endl;
-
- TQFile f( cacheFile() );
- if ( !f.open( IO_ReadOnly ) ) {
- kdDebug() << "Unable to open '" << cacheFile() << "'" << endl;
- requestAccounts();
- return;
- }
-
- TQDomDocument doc;
- doc.setContent( &f );
-
-// kdDebug() << "SLOX ACCOUNTS: " << doc.toString( 2 ) << endl;
-
- TQDomElement docElement = doc.documentElement();
-
- mUsers.clear();
-
- TQDomNodeList nodes = doc.elementsByTagName( mRes->resType() == "ox" ? "ox:user" : "user" );
- for( uint i = 0; i < nodes.count(); ++i ) {
- TQDomElement element = nodes.item(i).toElement();
- TQString id;
- KABC::Addressee a;
- TQDomNode n;
- for( n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- TQString tag = e.tagName();
- // remove XML namespace
- tag = tag.right( tag.length() - ( tag.find( ':' ) + 1 ) );
- TQString value = e.text();
- if ( tag == "uid" ) id = value;
- else if ( tag == "mail" ) a.insertEmail( value, true );
- else if ( tag == "forename" ) a.setGivenName( value );
- else if ( tag == "surename" ) a.setFamilyName( value );
- }
-// kdDebug() << "MAIL: " << a.preferredEmail() << endl;
- insertUser( id, a );
- }
-}
-
-#include "sloxaccounts.moc"
diff --git a/kresources/slox/sloxaccounts.h b/kresources/slox/sloxaccounts.h
deleted file mode 100644
index 214e3c70..00000000
--- a/kresources/slox/sloxaccounts.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef SLOXACCOUNTS_H
-#define SLOXACCOUNTS_H
-
-#include <kabc/addressee.h>
-#include <tdepimmacros.h>
-#include <tqobject.h>
-
-namespace TDEIO {
-class Job;
-}
-
-class SloxBase;
-
-class KDE_EXPORT SloxAccounts : public TQObject
-{
- Q_OBJECT
-
- public:
- SloxAccounts( SloxBase *res, const KURL &baseUrl );
- ~SloxAccounts();
-
- void insertUser( const TQString &id, const KABC::Addressee &a );
-
- KABC::Addressee lookupUser( const TQString &id );
-
- TQString lookupId( const TQString &email );
-
- protected:
- void requestAccounts();
- void readAccounts();
-
- TQString cacheFile() const;
-
- protected slots:
- void slotResult( TDEIO::Job * );
-
- private:
- TQString mDomain;
-
- TDEIO::Job *mDownloadJob;
-
- TQMap<TQString, KABC::Addressee> mUsers; // map users ids to addressees.
-
- KURL mBaseUrl;
- SloxBase *mRes;
-};
-
-#endif
diff --git a/kresources/slox/sloxbase.cpp b/kresources/slox/sloxbase.cpp
deleted file mode 100644
index 3871a2c7..00000000
--- a/kresources/slox/sloxbase.cpp
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "sloxbase.h"
-
-#include <kdebug.h>
-#include <kresources/resource.h>
-
-static TQString mFieldNameMap[][2] =
-{
- // SLOX, OX
- {"sloxid", "object_id"}, // system fields
- {"clientid", "client_id"},
- {"folderid", "folder_id"},
- {"lastsync", "lastsync"},
- {"objecttype", "objectmode"},
- {"sloxstatus", "object_status"},
- {"createfrom", "created_by"},
- {"categories", "categories"},
- // incidence fields
- {"title", "title"},
- {"description", "note"},
- {"members", "participants"},
- {"member", "user"},
- {"reminder", "alarm"},
- // recurrence fields
- {"date_sequence", "recurrence_type"},
- {"ds_ends", "until"},
- {"daily_value", "interval"},
- {"weekly_value", "interval"},
- {"monthly_value_month", "interval"},
- {"monthly_value_day", "day_in_month"},
- {"yearly_value_day", "day_in_month"},
- {"yearly_month", "month"},
- {"monthly2_value_month", "interval"},
- {"monthly2_day", "days"},
- {"monthly2_recurrency", "day_in_month"},
- {"yearly2_day", "days"},
- {"yearly2_reccurency", "day_in_month"}, // this is not a typo, this is what SLOX erally sends!
- {"yearly2_month", "month"},
- {"deleteexceptions", "deleteexceptions"},
- // event fields
- {"begins", "start_date"},
- {"ends", "end_date"},
- {"location", "location"},
- {"full_time", "full_time"},
- // task fields
- {"startdate", "start_date"},
- {"deadline", "end_date"},
- {"priority", "priority"},
- {"status", "percent_complete"},
- // contact fields
- {"lastname", "last_name"},
- {"firstname", "first_name"},
- {"n/a", "second_name"},
- {"displayname", "displayname"}, // FIXME: what's this in SLOX?
- {"title", "title"},
- {"n/a", "suffix"},
- {"position", "position"},
- {"n/a", "company"}, // SLOX handles company separately
- {"department", "department"},
- {"email", "email1"},
- {"email2", "email2"},
- {"privateemail", "email3"},
- {"privateemail2", "email3"}, // OX has only three email fields
- {"birthday", "birthday"},
- {"privateurl", "url"},
- {"comment", "note"},
- {"n/a", "image1"}, // not supported by SLOX
- {"n/a", "instant_messenger"},
- {"n/a", "room_number"},
- {"n/a", "profession"},
- {"n/a", "managers_name"},
- {"n/a", "assistants_name"},
- {"n/a", "spouse_name"},
- {"n/a", "anniversary"},
- {"n/a", "nickname"},
- {"street", "street"}, // address fields
- {"zipcode", "postal_code"},
- {"city", "city"},
- {"state", "state"},
- {"country", "country"},
- {"private", ""}, // address type prefix
- {"business_", "business_"}, // doesn't work with SLOX
- {"second_", "second_"},
-};
-
-SloxBase::SloxBase( KRES::Resource * res ) :
- mRes( res )
-{
-}
-
-TQString SloxBase::decodeText( const TQString & text )
-{
- if ( mRes->type() == "ox" )
- return text;
- return TQString::fromUtf8( text.latin1() );
-}
-
-TQString SloxBase::fieldName( Field f )
-{
- int t = 0;
- if ( mRes->type() == "ox" )
- t = 1;
- return mFieldNameMap[f][t];
-}
-
-TQString SloxBase::resType( ) const
-{
- return mRes->type();
-}
-
-TQString SloxBase::boolToStr( bool b )
-{
- if ( mRes->type() == "ox" ) {
- if ( b )
- return "true";
- return "false";
- }
- if ( b )
- return "yes";
- return "no";
-}
diff --git a/kresources/slox/sloxbase.h b/kresources/slox/sloxbase.h
deleted file mode 100644
index 8e9309c9..00000000
--- a/kresources/slox/sloxbase.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SLOXUTILS_H
-#define SLOXUTILS_H
-
-#include <tqstring.h>
-#include <tdepimmacros.h>
-
-namespace KRES {
-class Resource;
-}
-
-class KDE_EXPORT SloxBase {
- public:
- enum Field {
- ObjectId = 0, // system fields
- ClientId,
- FolderId,
- LastSync,
- ObjectType,
- ObjecStatus,
- CreatedBy,
- Categories,
- IncidenceTitle, // incidence fields
- Description,
- Participants,
- Participant,
- Reminder,
- RecurrenceType, // recurrence fields
- RecurrenceEnd,
- RecurrenceDailyFreq,
- RecurrenceWeeklyFreq,
- RecurrenceMonthlyFreq,
- RecurrenceMonthlyDay,
- RecurrenceYearlyDay,
- RecurrenceYearlyMonth,
- RecurrenceMonthly2Freq,
- RecurrenceMonthly2Day,
- RecurrenceMonthly2Pos,
- RecurrenceYearly2Day,
- RecurrenceYearly2Pos,
- RecurrenceYearly2Month,
- RecurrenceDelEx,
- EventBegin, // event fields
- EventEnd,
- Location,
- FullTime,
- TaskBegin, // task fields
- TaskEnd,
- Priority,
- PercentComplete,
- FamilyName, // contact fields
- GivenName,
- SecondName,
- DisplayName,
- Title,
- Suffix,
- Role,
- Organization,
- Department,
- PrimaryEmail,
- SecondaryEmail1,
- SecondaryEmail2,
- SecondaryEmail3,
- Birthday,
- Url,
- Comment,
- Image,
- InstantMsg,
- Office,
- Profession,
- ManagersName,
- AssistantsName,
- SpousesName,
- Anniversary,
- NickName,
- Street, // address fields
- PostalCode,
- City,
- State,
- Country,
- HomePrefix, // address type prefixes
- BusinessPrefix,
- OtherPrefix
- };
-
- SloxBase( KRES::Resource *res );
-
- TQString decodeText( const TQString &text );
- TQString fieldName( Field f );
- TQString resType() const;
- TQString boolToStr( bool b );
-
- private:
- KRES::Resource *mRes;
-};
-
-#endif
diff --git a/kresources/slox/sloxfolder.cpp b/kresources/slox/sloxfolder.cpp
deleted file mode 100644
index fbfb9f05..00000000
--- a/kresources/slox/sloxfolder.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <klocale.h>
-
-#include "sloxfolder.h"
-
-SloxFolder::SloxFolder( const TQString &id, const TQString &parentId, const TQString &type, const TQString &name, bool def ) :
- item( 0 ),
- mId( id ),
- mParentId( parentId ),
- mName( name ),
- mDefault( def )
-{
- if ( type == "calendar" )
- mType = Calendar;
- else if ( type == "task" )
- mType = Tasks;
- else if ( type == "contact" )
- mType = Contacts;
- else
- mType = Unbound;
-}
-
-TQString SloxFolder::name( ) const
-{
- // special cases for system folders
- if ( mName == "system_global" )
- return i18n( "Global Addressbook" );
- if ( mName == "system_ldap" )
- return i18n( "Internal Addressbook" );
- return mName;
-}
diff --git a/kresources/slox/sloxfolder.h b/kresources/slox/sloxfolder.h
deleted file mode 100644
index e722dfd4..00000000
--- a/kresources/slox/sloxfolder.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SLOXFOLDER_H
-#define SLOXFOLDER_H
-
-#include <tqstring.h>
-#include <tdepimmacros.h>
-
-class KListViewItem;
-
-enum FolderType {
- Unbound,
- Calendar,
- Tasks,
- Contacts
-};
-
-class KDE_EXPORT SloxFolder
-{
- public:
- SloxFolder( const TQString &id, const TQString &parentId, const TQString &type, const TQString &name, bool def = false );
-
- TQString id() const { return mId; }
- TQString parentId() const { return mParentId; }
- FolderType type() const { return mType; }
- TQString name() const;
- bool isDefault() const { return mDefault; }
-
- KListViewItem *item;
-
- private:
- TQString mId, mParentId;
- FolderType mType;
- TQString mName;
- bool mDefault;
-};
-
-#endif
diff --git a/kresources/slox/sloxfolderdialog.cpp b/kresources/slox/sloxfolderdialog.cpp
deleted file mode 100644
index 4d21c230..00000000
--- a/kresources/slox/sloxfolderdialog.cpp
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-
-#include <kiconloader.h>
-#include <kguiitem.h>
-#include <klistview.h>
-#include <klocale.h>
-
-#include "sloxfolderdialog.h"
-#include "sloxfoldermanager.h"
-
-SloxFolderDialog::SloxFolderDialog( SloxFolderManager *manager, FolderType type, TQWidget *parent, const char *name ) :
- KDialogBase( parent, name, true, i18n("Select Folder"), Ok|Cancel|User1, Ok, false, KGuiItem( i18n("Reload"), "reload" ) ),
- mManager( manager ),
- mFolderType( type )
-{
- mListView = new KListView( this );
- mListView->setRootIsDecorated( true );
- mListView->setShowSortIndicator( true );
- mListView->addColumn( i18n("Folder") );
- mListView->addColumn( i18n("Folder ID"), 0 );
- setMainWidget( mListView );
- updateFolderView();
- connect( manager, TQT_SIGNAL( foldersUpdated() ), TQT_SLOT( updateFolderView() ) );
-}
-
-SloxFolderDialog::~SloxFolderDialog()
-{
- TQMap<TQString, SloxFolder*> folders = mManager->folders();
- TQMap<TQString, SloxFolder*>::Iterator it;
- for ( it = folders.begin(); it != folders.end(); ++it )
- (*it)->item = 0;
-}
-
-void SloxFolderDialog::updateFolderView()
-{
- TQString selected = selectedFolder();
- mListView->clear();
- TQMap<TQString, SloxFolder*> folders = mManager->folders();
- TQMap<TQString, SloxFolder*>::Iterator it;
- for ( it = folders.begin(); it != folders.end(); ++it )
- createFolderViewItem( *it );
- setSelectedFolder( selected );
-}
-
-void SloxFolderDialog::slotUser1( )
-{
- mManager->requestFolders();
-}
-
-void SloxFolderDialog::createFolderViewItem( SloxFolder *folder )
-{
- if ( folder->item )
- return;
- if ( folder->type() != mFolderType && folder->type() != Unbound )
- return;
- if( mManager->folders().contains( folder->parentId() ) ) {
- SloxFolder *parent = mManager->folders()[folder->parentId()];
- createFolderViewItem( parent );
- if ( parent->item )
- folder->item = new KListViewItem( parent->item );
- else
- folder->item = new KListViewItem( mListView );
- } else {
- folder->item = new KListViewItem( mListView );
- }
- folder->item->setText( 0, folder->name() );
- folder->item->setText( 1, folder->id() );
- TDEGlobal::instance()->iconLoader()->addAppDir( "kmail" );
- switch ( folder->type() ) {
- case Calendar:
- folder->item->setPixmap( 0, SmallIcon( "kmgroupware_folder_calendar" ) );
- break;
- case Tasks:
- folder->item->setPixmap( 0, SmallIcon( "kmgroupware_folder_tasks" ) );
- break;
- case Contacts:
- folder->item->setPixmap( 0, SmallIcon( "kmgroupware_folder_contacts" ) );
- break;
- default:
- folder->item->setPixmap( 0, SmallIcon( "folder" ) );
- break;
- }
-}
-
-TQString SloxFolderDialog::selectedFolder() const
-{
- TQListViewItem *item = mListView->selectedItem();
- if ( item )
- return item->text( 1 );
- return "-1"; // OX default folder
-}
-
-void SloxFolderDialog::setSelectedFolder( const TQString &id )
-{
- TQMap<TQString, SloxFolder*> folders = mManager->folders();
- TQMap<TQString, SloxFolder*>::Iterator it;
- for ( it = folders.begin(); it != folders.end(); ++it ) {
- if ( !(*it)->item )
- continue;
- if ( (*it)->id() == id || ( ( id.isEmpty() || id == "-1" ) && (*it)->isDefault() ) ) {
- mListView->setSelected( (*it)->item, true );
- mListView->ensureItemVisible( (*it)->item );
- break;
- }
- }
-}
-
-#include "sloxfolderdialog.moc"
diff --git a/kresources/slox/sloxfolderdialog.h b/kresources/slox/sloxfolderdialog.h
deleted file mode 100644
index 69b8126b..00000000
--- a/kresources/slox/sloxfolderdialog.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SLOXFOLDERDIALOG_H
-#define SLOXFOLDERDIALOG_H
-
-#include <tqstring.h>
-#include <kdialogbase.h>
-
-#include "sloxfolder.h"
-
-class KListView;
-class SloxFolder;
-class SloxFolderManager;
-
-class SloxFolderDialog : public KDialogBase
-{
- Q_OBJECT
-
- public:
- SloxFolderDialog( SloxFolderManager *manager, FolderType type, TQWidget* parent = 0, const char *name = 0 );
- ~SloxFolderDialog();
-
- TQString selectedFolder() const;
- void setSelectedFolder( const TQString &id );
-
- protected slots:
- virtual void slotUser1();
- void updateFolderView();
-
- private:
- void createFolderViewItem( SloxFolder *folder );
-
- private:
- KListView *mListView;
- SloxFolderManager *mManager;
- TQString mFolderId;
- FolderType mFolderType;
-};
-
-#endif
diff --git a/kresources/slox/sloxfoldermanager.cpp b/kresources/slox/sloxfoldermanager.cpp
deleted file mode 100644
index a60cd788..00000000
--- a/kresources/slox/sloxfoldermanager.cpp
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <tqfile.h>
-#include <tqdom.h>
-#include <tqstring.h>
-
-#include <kdebug.h>
-#include <kio/job.h>
-#include <kio/davjob.h>
-#include <klocale.h>
-#include <kstandarddirs.h>
-
-#include "sloxbase.h"
-#include "sloxfolder.h"
-#include "sloxfoldermanager.h"
-#include "webdavhandler.h"
-
-
-SloxFolderManager::SloxFolderManager( SloxBase *res, const KURL & baseUrl ) :
- mDownloadJob( 0 ),
- mBaseUrl( baseUrl ),
- mRes( res )
-{
- kdDebug() << k_funcinfo << baseUrl << endl;
- readFolders();
-}
-
-SloxFolderManager::~SloxFolderManager()
-{
- if ( mDownloadJob )
- mDownloadJob->kill();
- TQMap<TQString, SloxFolder*>::Iterator it;
- for ( it = mFolders.begin(); it != mFolders.end(); ++it )
- delete *it;
- mFolders.clear();
-}
-
-void SloxFolderManager::requestFolders()
-{
- kdDebug() << k_funcinfo << endl;
-
- if ( mDownloadJob ) {
- kdDebug() << k_funcinfo << "Download still in progress" << endl;
- return;
- }
-
- KURL url = mBaseUrl;
- url.setPath( "/servlet/webdav.folders/file.xml" );
-
- TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
- TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "objectmode", "NEW_AND_MODIFIED" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "lastsync", "0" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "foldertype", "PRIVATE" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "foldertype", "PUBLIC" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "foldertype", "SHARED" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "foldertype", "GLOBALADDRESSBOOK" );
- WebdavHandler::addSloxElement( mRes, doc, prop, "foldertype", "INTERNALUSERS" );
-
- kdDebug() << k_funcinfo << doc.toString( 2 ) << endl;
-
- mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
-
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
-}
-
-void SloxFolderManager::slotResult( TDEIO::Job *job )
-{
- kdDebug() << k_funcinfo << endl;
-
- if ( job->error() ) {
- job->showErrorDialog( 0 );
- } else {
- kdDebug() << k_funcinfo << " success, writing to " << cacheFile() << endl;
- TQFile f( cacheFile() );
- if ( !f.open( IO_WriteOnly ) ) {
- kdDebug() << "Unable to open '" << cacheFile() << "'" << endl;
- return;
- }
- TQTextStream stream ( &f );
- stream << mDownloadJob->response();
- f.close();
- readFolders();
- }
-
- mDownloadJob = 0;
- emit foldersUpdated();
-}
-
-TQString SloxFolderManager::cacheFile() const
-{
- TQString host = mBaseUrl.host();
-
- TQString file = locateLocal( "cache", "slox/folders_" + host );
-
- kdDebug() << k_funcinfo << file << endl;
-
- return file;
-}
-
-void SloxFolderManager::readFolders()
-{
- kdDebug() << k_funcinfo << endl;
-
- TQFile f( cacheFile() );
- if ( !f.open( IO_ReadOnly ) ) {
- kdDebug() << "Unable to open '" << cacheFile() << "'" << endl;
- requestFolders();
- return;
- }
-
- TQDomDocument doc;
- doc.setContent( &f );
-
- mFolders.clear();
-
- TQDomNodeList nodes = doc.elementsByTagName( "D:prop" );
- for( uint i = 0; i < nodes.count(); ++i ) {
- TQDomElement element = nodes.item(i).toElement();
- TQString id = "-1", parentId = "-1"; // OX default folder
- bool def = false;
- TQString name, type;
- TQDomNode n;
- for( n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e = n.toElement();
- TQString tag = e.tagName();
- TQString value = e.text();
- if ( tag == "ox:object_id" ) id = value;
- else if ( tag == "ox:folder_id" ) parentId = value;
- else if ( tag == "ox:title" ) name = value;
- else if ( tag == "ox:module" ) type = value;
- else if ( tag == "ox:defaultfolder" ) def = (value == "true");
- }
- if ( id != "-1" && parentId != "-1" ) {
- SloxFolder *folder = new SloxFolder( id, parentId, type, name, def );
- mFolders[id] = folder;
- kdDebug() << k_funcinfo << "Found folder: " << folder->name() << endl;
- }
- }
-
- // add top-level system folders that are not contained in the folder listing
- SloxFolder *folder = new SloxFolder( "1", "0", "unbound", i18n("Private Folder") );
- mFolders[folder->id()] = folder;
- folder = new SloxFolder( "2", "0", "unbound", i18n("Public Folder") );
- mFolders[folder->id()] = folder;
- folder = new SloxFolder( "3", "0", "unbound", i18n("Shared Folder") );
- mFolders[folder->id()] = folder;
- folder = new SloxFolder( "4", "0", "unbound", i18n("System Folder") );
- mFolders[folder->id()] = folder;
-}
-
-
-#include "sloxfoldermanager.moc"
diff --git a/kresources/slox/sloxfoldermanager.h b/kresources/slox/sloxfoldermanager.h
deleted file mode 100644
index f31c212c..00000000
--- a/kresources/slox/sloxfoldermanager.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
- Copyright (c) 2005 by Florian Schröder <florian@deltatauchi.de>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef SLOXFOLDERMANAGER_H
-#define SLOXFOLDERMANAGER_H
-
-#include <tqmap.h>
-#include <tqobject.h>
-
-#include <kurl.h>
-
-#include <tdepimmacros.h>
-
-namespace TDEIO {
-class Job;
-class DavJob;
-}
-
-class SloxBase;
-class SloxFolder;
-
-class KDE_EXPORT SloxFolderManager : public TQObject
-{
- Q_OBJECT
-
- public:
- SloxFolderManager( SloxBase *res, const KURL &baseUrl );
- ~SloxFolderManager();
-
- TQMap<TQString, SloxFolder*> folders() const { return mFolders; }
- void requestFolders();
-
- signals:
- void foldersUpdated();
-
- protected:
- void readFolders();
-
- TQString cacheFile() const;
-
- protected slots:
- void slotResult( TDEIO::Job * );
-
- private:
- TDEIO::DavJob *mDownloadJob;
- KURL mBaseUrl;
- TQMap<TQString, SloxFolder*> mFolders;
- SloxBase *mRes;
-};
-
-#endif
diff --git a/kresources/slox/testsloxaccounts.cpp b/kresources/slox/testsloxaccounts.cpp
deleted file mode 100644
index e173134c..00000000
--- a/kresources/slox/testsloxaccounts.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "sloxaccounts.h"
-
-#include <kaboutdata.h>
-#include <kapplication.h>
-#include <kdebug.h>
-#include <kcmdlineargs.h>
-
-#include <tqpushbutton.h>
-
-static const KCmdLineOptions options[] =
-{
- {"verbose", "Verbose output", 0},
- KCmdLineLastOption
-};
-
-int main(int argc,char **argv)
-{
- TDEAboutData aboutData( "textsloxaccounts",
- "SUSE LINUX Openexchange Server Configuration Wizard",
- "0.1" );
- TDECmdLineArgs::init( argc, argv, &aboutData );
- TDECmdLineArgs::addCmdLineOptions( options );
-
- TDEApplication app;
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
-
- bool verbose = false;
- if ( args->isSet( "verbose" ) ) verbose = true;
-
- TQPushButton button( "Close", 0 );
-
- SloxAccounts::setServer( "f85.suse.de" );
- SloxAccounts::self();
-
- app.setMainWidget( &button );
- button.show();
- TQObject::connect( &button, TQT_SIGNAL( clicked() ), &app, TQT_SLOT( quit() ) );
-
- app.exec();
-}
diff --git a/kresources/slox/webdavhandler.cpp b/kresources/slox/webdavhandler.cpp
deleted file mode 100644
index 32d3c416..00000000
--- a/kresources/slox/webdavhandler.cpp
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "webdavhandler.h"
-#include "sloxbase.h"
-
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#else
-#ifdef HAVE_SYS_LIMITS_H
-#include <sys/limits.h>
-#endif
-#endif
-
-#include <config.h>
-#include <stdlib.h>
-
-#include <libkcal/incidence.h>
-
-#include <libtdepim/kpimprefs.h>
-
-#include <kdebug.h>
-#include <kconfig.h>
-
-#include <tqfile.h>
-
-SloxItem::SloxItem()
- : status( Invalid )
-{
-}
-
-WebdavHandler::WebdavHandler()
- : mLogCount( 0 )
-{
- TDEConfig cfg( "sloxrc" );
-
- cfg.setGroup( "General" );
- mLogFile = cfg.readEntry( "LogFile" );
-
- kdDebug() << "LOG FILE: " << mLogFile << endl;
-}
-
-void WebdavHandler::setUserId( const TQString &id )
-{
- mUserId = id;
-}
-
-TQString WebdavHandler::userId() const
-{
- return mUserId;
-}
-
-
-void WebdavHandler::log( const TQString &text )
-{
- if ( mLogFile.isEmpty() ) return;
-
- TQString filename = mLogFile + "-" + TQString::number( mLogCount );
- TQFile file( filename );
- if ( !file.open( IO_WriteOnly ) ) {
- kdWarning() << "Unable to open log file '" << filename << "'" << endl;
- return;
- }
-
- TQCString textUtf8 = text.utf8();
- file.writeBlock( textUtf8.data(), textUtf8.size() - 1 );
-
- if ( ++mLogCount > 5 ) mLogCount = 0;
-}
-
-TQValueList<SloxItem> WebdavHandler::getSloxItems( SloxBase *res, const TQDomDocument &doc )
-{
- kdDebug() << "getSloxItems" << endl;
-
- TQValueList<SloxItem> items;
-
- TQDomElement docElement = doc.documentElement();
-
- TQDomNode responseNode;
- for( responseNode = docElement.firstChild(); !responseNode.isNull();
- responseNode = responseNode.nextSibling() ) {
- TQDomElement responseElement = responseNode.toElement();
- if ( responseElement.tagName() == "response" ) {
- SloxItem item;
-
- TQDomNode propstat = responseElement.namedItem( "propstat" );
- if ( propstat.isNull() ) {
- kdError() << "Unable to find propstat tag." << endl;
- continue;
- }
-
- TQDomNode prop = propstat.namedItem( "prop" );
- if ( prop.isNull() ) {
- kdError() << "Unable to find WebDAV property" << endl;
- continue;
- }
- item.domNode = prop;
-
- TQDomNode sloxIdNode = prop.namedItem( res->fieldName( SloxBase::ObjectId ) );
- if ( sloxIdNode.isNull() ) {
- kdError() << "Unable to find SLOX id." << endl;
- continue;
- }
- TQDomElement sloxIdElement = sloxIdNode.toElement();
- item.sloxId = sloxIdElement.text();
-
- TQDomNode clientIdNode = prop.namedItem( res->fieldName( SloxBase::ClientId ) );
- if ( !clientIdNode.isNull() ) {
- TQDomElement clientIdElement = clientIdNode.toElement();
- item.clientId = clientIdElement.text();
- if ( item.clientId != item.sloxId )
- item.status = SloxItem::New;
- }
-
- TQDomNode sloxStatus = prop.namedItem( res->fieldName( SloxBase::ObjecStatus ) );
- if ( !sloxStatus.isNull() ) {
- TQDomElement sloxStatusElement = sloxStatus.toElement();
- if ( sloxStatusElement.text() == "DELETE" ) {
- item.status = SloxItem::Delete;
- } else if ( sloxStatusElement.text() == "CREATE" ) {
- item.status = SloxItem::Create;
- }
- }
-
- TQDomNode status = propstat.namedItem( "status" );
- if ( status.isNull() ) {
- kdError() << "Unable to find WebDAV status" << endl;
- continue;
- }
- item.response = status.toElement().text();
-
- TQDomNode desc = propstat.namedItem( "responsedescription" );
- if ( desc.isNull() ) {
- kdError() << "Unable to find WebDAV responsedescription" << endl;
- continue;
- }
- item.responseDescription = desc.toElement().text();
-
- items.append( item );
- }
- }
-
- return items;
-}
-
-TQString WebdavHandler::qDateTimeToSlox( const TQDateTime &dt )
-{
- uint ticks = -dt.secsTo( TQDateTime( TQDate( 1970, 1, 1 ), TQTime( 0, 0 ) ) );
-
- return TQString::number( ticks ) + "000";
-}
-
-TQString WebdavHandler::qDateTimeToSlox( const TQDateTime &dt,
- const TQString &timeZoneId )
-{
- TQDateTime utc = KPimPrefs::localTimeToUtc( dt, timeZoneId );
-
- // secsTo and toTime_t etc also perform a timezone conversion using the system timezone,
- // but we want to use the calendar timezone, so we have to convert ourself and spoof the tz to UTC before
- // converting to ticks to prevent this
- TQCString origTz = getenv("TZ");
- setenv( "TZ", "UTC", 1 );
- uint ticks = utc.toTime_t();
- if ( origTz.isNull() )
- unsetenv( "TZ" );
- else
- setenv( "TZ", origTz, 1 );
-
- return TQString::number( ticks ) + "000";
-}
-
-TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str )
-{
- TQString s = str.mid( 0, str.length() - 3 );
-
- bool preEpoch = s.startsWith("-");
- if (preEpoch)
- s = s.mid(1);
-
- unsigned long ticks = s.toULong();
-
- TQDateTime dt;
-
- if (preEpoch) {
- dt.setTime_t( 0, Qt::UTC );
- if (ticks > INT_MAX) {
- dt = dt.addSecs(-INT_MAX);
- ticks -= INT_MAX;
- }
- dt = dt.addSecs(-((long) ticks));
- }
- else
- {
- dt.setTime_t( ticks, Qt::UTC );
- }
-
- return dt;
-}
-
-TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str,
- const TQString &timeZoneId )
-{
- return KPimPrefs::utcToLocalTime( sloxToTQDateTime(str), timeZoneId );
-}
-
-TQDomElement WebdavHandler::addElement( TQDomDocument &doc, TQDomNode &node,
- const TQString &tag )
-{
- TQDomElement el = doc.createElement( tag );
- node.appendChild( el );
- return el;
-}
-
-TQDomElement WebdavHandler::addDavElement( TQDomDocument &doc, TQDomNode &node,
- const TQString &tag )
-{
- TQDomElement el = doc.createElementNS( "DAV:", "D:" + tag );
- node.appendChild( el );
- return el;
-}
-
-TQDomElement WebdavHandler::addSloxElement( SloxBase *res,
- TQDomDocument &doc, TQDomNode &node,
- const TQString &tag,
- const TQString &text )
-{
- TQDomElement el;
- if ( res->resType() == "ox" )
- el = doc.createElementNS( "http://www.open-xchange.org", "ox:" + tag );
- else
- el = doc.createElementNS( "SLOX", "S:" + tag );
- if ( !text.isEmpty() ) {
- TQDomText textnode = doc.createTextNode( text );
- el.appendChild( textnode );
- }
- node.appendChild( el );
- return el;
-}
-
-void WebdavHandler::parseSloxAttribute( const TQDomElement &e )
-{
-// kdDebug() << "parseSloxAttribute" << endl;
-
- TQString tag = e.tagName();
- TQString text = TQString::fromUtf8( e.text().latin1() );
- if ( text.isEmpty() ) return;
-
- if ( tag == "owner" ) {
- if ( text == mUserId ) mWritable = true;
- } else if ( tag == "writerights" ) {
- TQDomNode n;
- for( n = e.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- TQDomElement e2 = n.toElement();
- if ( e2.tagName() == "member" ) {
- if ( e2.text() == mUserId ) mWritable = true;
- }
- // TODO: Process group write rights
- }
- }
-}
-
-void WebdavHandler::clearSloxAttributeStatus()
-{
- if ( mRes->resType() == "ox" )
- mWritable = true; // parseSloxAttribute() won't work for OX
- else
- mWritable = false;
-}
-
-void WebdavHandler::setSloxAttributes( KCal::Incidence *i )
-{
- i->setReadOnly( !mWritable );
-}
-
-void WebdavHandler::setSloxAttributes( KABC::Addressee & )
-{
- // FIXME: libkabc doesn't allow to set an individual addressee to read-only
-}
diff --git a/kresources/slox/webdavhandler.h b/kresources/slox/webdavhandler.h
deleted file mode 100644
index 136be879..00000000
--- a/kresources/slox/webdavhandler.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef WEBDAVHANDLER_H
-#define WEBDAVHANDLER_H
-
-#include <tqvaluelist.h>
-#include <tqstring.h>
-#include <tqdatetime.h>
-#include <tqdom.h>
-
-#include <tdepimmacros.h>
-#include <kabc/addressee.h>
-
-namespace KCal {
-class Incidence;
-}
-
-class SloxBase;
-
-class KDE_EXPORT SloxItem
-{
- public:
- enum Status { Invalid, Delete, Create, New };
-
- SloxItem();
-
- TQDomNode domNode;
- TQString sloxId;
- TQString clientId;
- Status status;
- TQString response;
- TQString responseDescription;
-};
-
-class KDE_EXPORT WebdavHandler
-{
- public:
- WebdavHandler();
-
- void setUserId( const TQString & );
- TQString userId() const;
- void setResource( SloxBase *res ) { mRes = res; }
-
- void log( const TQString & );
-
- static TQDomElement addElement( TQDomDocument &, TQDomNode &,
- const TQString &tag );
- static TQDomElement addDavElement( TQDomDocument &, TQDomNode &,
- const TQString &tag );
- static TQDomElement addSloxElement( SloxBase *res,
- TQDomDocument &, TQDomNode &,
- const TQString &tag,
- const TQString &text = TQString() );
-
- static TQDateTime sloxToTQDateTime( const TQString &str );
- static TQDateTime sloxToTQDateTime( const TQString &str,
- const TQString &timeZoneId );
- static TQString qDateTimeToSlox( const TQDateTime &dt );
- static TQString qDateTimeToSlox( const TQDateTime &dt,
- const TQString &timeZoneId );
-
- static TQValueList<SloxItem> getSloxItems( SloxBase *res, const TQDomDocument &doc );
-
- void clearSloxAttributeStatus();
- void parseSloxAttribute( const TQDomElement & );
- void setSloxAttributes( KCal::Incidence * );
- void setSloxAttributes( KABC::Addressee & );
-
- private:
- TQString mLogFile;
- int mLogCount;
- SloxBase *mRes;
-
- TQString mUserId;
-
- bool mWritable;
-};
-
-#endif
diff --git a/kresources/tvanytime/AUTHORS b/kresources/tvanytime/AUTHORS
deleted file mode 100644
index 05ef12ec..00000000
--- a/kresources/tvanytime/AUTHORS
+++ /dev/null
@@ -1 +0,0 @@
-Will Stephenson <wstephenson@kde.org>
diff --git a/kresources/tvanytime/COPYING b/kresources/tvanytime/COPYING
deleted file mode 100644
index c13faf0d..00000000
--- a/kresources/tvanytime/COPYING
+++ /dev/null
@@ -1,340 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/kresources/tvanytime/ChangeLog b/kresources/tvanytime/ChangeLog
deleted file mode 100644
index fc31a7a2..00000000
--- a/kresources/tvanytime/ChangeLog
+++ /dev/null
@@ -1,6 +0,0 @@
-20050729
-Initial import.
-Supports parsing and displaying BBC Backstage schedule tarballs.
-Displays each channel as a subresource but requires a reload to show the
-subresources in the resource list.
-Takes a long time if every channel is enabled.
diff --git a/kresources/tvanytime/DESIGN b/kresources/tvanytime/DESIGN
deleted file mode 100644
index 874fa7cd..00000000
--- a/kresources/tvanytime/DESIGN
+++ /dev/null
@@ -1,22 +0,0 @@
-Aim:
-Use Kontact as an EPG showing BBC TV and radio programs. Calendar KResource for BBC TV and radio schedules made available by the backstage.bbc.co.uk open tech portal. KResource can be used in other programs - twintv?
-
-DESIGN: Fetch TVAnywhere tarballs via http. Parse contents using KArchive classes and QDom API. Present channel listing from tarball in resource config so that user can control which channels are shown in resource. Use subresources to show channels. Use categories for genre descriptors?
-
-Set alarms for programmes?
-Bookmark programmes?
-
-PROBLEMS: Tarball is huge. Ask about subdividing it?
-
-AIM: make generic TVAnywhere capable?
-
-Algorithm:
-Read ServiceInformation.
-Generate a subresource for each service
-read list of enabled subresources
-if null, assume bbc1, 2, 3, 4, radios 1 - 4?
-for enabled subresources, generate incidences for each program
-generate in-memory program information table keyed on CRID.
-generate an incidence for each <ScheduleEvent> in the program location table, using the values from the PIT.
-
-
diff --git a/kresources/tvanytime/Makefile.am b/kresources/tvanytime/Makefile.am
deleted file mode 100644
index 49bda135..00000000
--- a/kresources/tvanytime/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-INCLUDES = -I$(top_srcdir) $(all_includes)
-
-lib_LTLIBRARIES = libkcal_tvanytime.la
-
-libkcal_tvanytime_la_SOURCES = kcal_resourcetvanytime.cpp \
- kcal_resourcetvanytimeconfig.cpp kcal_tvanytimeprefsbase.kcfgc kcal_tvanytimeprefs.cpp service.cpp
-
-libkcal_tvanytime_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
- -version-info 1:0:0 -no-undefined
-libkcal_tvanytime_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
- $(top_builddir)/libtdepim/libtdepim.la
-
-kde_module_LTLIBRARIES = kcal_tvanytime.la
-
-kcal_tvanytime_la_SOURCES = kcal_resourcetvanytime_plugin.cpp
-kcal_tvanytime_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kcal_tvanytime_la_LIBADD = libkcal_tvanytime.la
-
-kcal_servicedir = $(kde_servicesdir)/kresources/kcal
-kcal_service_DATA = kcal_tvanytime.desktop
-
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(EXTRACTRC) `find . -name "*.ui" -o -name "*.kcfg"` >> rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kres_tvanytime.pot
-noinst_HEADERS = service.h
diff --git a/kresources/tvanytime/README b/kresources/tvanytime/README
deleted file mode 100644
index 17ad628c..00000000
--- a/kresources/tvanytime/README
+++ /dev/null
@@ -1,9 +0,0 @@
-This is a KDE KResource for loading TV and radio schedule data in the TV-Anytime format into KDE applications as a calendar.
-
-Currently it only works with BBC schedule data as provided at http://backstage.bbc.co.uk/feeds/tvradio/
-
-To use, enter the full URL of the schedule tarball you want to view from the URL above.
-
-(C) 2005 Will Stephenson <wstephenson@kde.org>
-
-supported by backstage.bbc.co.uk
diff --git a/kresources/tvanytime/TODO b/kresources/tvanytime/TODO
deleted file mode 100644
index bc2d8a1f..00000000
--- a/kresources/tvanytime/TODO
+++ /dev/null
@@ -1,9 +0,0 @@
-EASY
-Parse more fields (email addresses, webpages) and store as attachments.
-Allow the schedule timezone to be specified in the resource config.
-HARDER
-Fix subresource (channel) display at first load.
-Better caching to improve load times - stat the URL before fetching it.
-REQUIRES PROVIDER HELP
-Arrange a constant URL for the most recent data.
-
diff --git a/kresources/tvanytime/kcal_resourcetvanytime.cpp b/kresources/tvanytime/kcal_resourcetvanytime.cpp
deleted file mode 100644
index e447008c..00000000
--- a/kresources/tvanytime/kcal_resourcetvanytime.cpp
+++ /dev/null
@@ -1,489 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcetvanytime.h"
-
-#include "kcal_tvanytimeprefsbase.h"
-#include "kcal_resourcetvanytimeconfig.h"
-
-#include <libkcal/icalformat.h>
-#include <libkcal/calendarlocal.h>
-#include <libkcal/confirmsavedialog.h>
-
-#include <libtdepim/kpimprefs.h>
-
-#include <tqapplication.h>
-#include <tqdom.h>
-#include <tqdatetime.h>
-#include <tqptrlist.h>
-#include <tqregexp.h>
-#include <tqstringlist.h>
-#include <tqtimer.h>
-
-#include <kabc/locknull.h>
-#include <karchive.h>
-#include <kdebug.h>
-#include <klocale.h>
-#include <kresources/configwidget.h>
-#include <kstandarddirs.h>
-#include <kstringhandler.h>
-#include <ktempfile.h>
-#include <ktar.h>
-#include <kurl.h>
-
-using namespace KCal;
-
-ResourceTVAnytime::ResourceTVAnytime()
- : ResourceCached( 0 ), mLock( true )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-}
-
-ResourceTVAnytime::ResourceTVAnytime( const TDEConfig *config )
- : ResourceCached( config ), mLock( true )
-{
- init();
-
- mPrefs->addGroupPrefix( identifier() );
-
- if ( config ) readConfig( config );
-}
-
-ResourceTVAnytime::~ResourceTVAnytime()
-{
- disableChangeNotification();
-
- delete mPrefs;
- mPrefs = 0;
-}
-
-void ResourceTVAnytime::init()
-{
- mDownloadJob = 0;
- mProgress = 0;
- mDestination = 0;
-
- mIsShowingError = false;
-
- mPrefs = new TVAnytimePrefsBase();
-
- setType( "tvanytime" );
-
- enableChangeNotification();
-
- //setReadOnly( true );
-
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
-}
-
-TVAnytimePrefsBase *ResourceTVAnytime::prefs()
-{
- return mPrefs;
-}
-
-void ResourceTVAnytime::readConfig( const TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceTVAnytime::readConfig()" << endl;
-
- mPrefs->readConfig();
-
- ResourceCached::readConfig( config );
-
- TQStringList defaultActive;
- defaultActive << "BBCOne" << "BBCTwo" << "BBCThree" << "BBCROne" << "BBCRTwo" << "BBCRThree" << "BBCRFour";
- mActiveServices = config->readListEntry( "ActiveServices", defaultActive );
-
-}
-
-void ResourceTVAnytime::writeConfig( TDEConfig *config )
-{
- kdDebug() << "KCal::ResourceTVAnytime::writeConfig()" << endl;
-
- ResourceCalendar::writeConfig( config );
-
- mPrefs->writeConfig();
-
- ResourceCached::writeConfig( config );
- TQStringList activeServices;
- ServiceMap::ConstIterator it;
- for ( it = mServiceMap.begin(); it != mServiceMap.end(); ++it )
- if ( it.data().active() )
- activeServices.append( it.key() );
- config->writeEntry( "ActiveServices", activeServices );
-}
-
-bool ResourceTVAnytime::doOpen()
-{
- return true;
-}
-
-void ResourceTVAnytime::doClose()
-{
- ResourceCached::doClose();
-}
-
-bool ResourceTVAnytime::doLoad()
-{
- kdDebug() << "ResourceTVAnytime::load()" << endl;
-
- if ( mIsShowingError ) {
- kdDebug() << "Still showing error" << endl;
- return true;
- }
-
- if ( mDownloadJob ) {
- kdWarning() << "Download still in progress" << endl;
- return false;
- }
-
- mUidMap.clear();
- mCalendar.close();
-
- disableChangeNotification();
- // FIXME - reenable cache
- loadCache(); // TODO: default loadCache() won't set up the subresources...
- enableChangeNotification();
-
- emit resourceChanged( this );
-
- clearChanges();
-
- mDestination = new KTempFile;
- KURL url( prefs()->url() );
-
- KURL destination = KURL( mDestination->name() );
-
- kdDebug(5850) << " SOURCE: " << url.url() << endl;
- kdDebug(5850) << " DESTINATION: " << destination.url() << endl;
-
- // TODO: find out if the file to download is fresh. if not, just work with the cache.
- mDownloadJob = TDEIO::file_copy( url, destination, -1, true );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
-
- mProgress = KPIM::ProgressManager::instance()->createProgressItem(
- KPIM::ProgressManager::getUniqueID(), i18n("Downloading program schedule") );
-
- connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
-
- return true;
-}
-
-void ResourceTVAnytime::slotJobResult( TDEIO::Job *job )
-{
- kdDebug() << "ResourceTVAnytime::slotJobResult(): " << endl;
-
- if ( job->error() ) {
- mIsShowingError = true;
- loadError( job->errorString() );
- mIsShowingError = false;
- delete mDestination;
- mDestination = 0;
- } else {
- disableChangeNotification();
-
- clearCache();
-
- // FIXME: This does not take into account the time zone!
-
- readSchedule();
-
- // FIXME - reenable cache
- saveCache();
- enableChangeNotification();
-
- clearChanges();
-
- emit resourceChanged( this );
- emit resourceLoaded( this );
- }
-
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
- delete mDestination;
- mDestination = 0;
-}
-
-TQDomDocument ResourceTVAnytime::archiveFileXml( const TQString & name )
-{
- TQDomDocument result;
- const KArchiveDirectory *dir = mScheduleArchive->directory();
- const KArchiveEntry * entry = dir->entry( name );
- if ( entry && entry->isFile() )
- {
- const KArchiveFile * file = static_cast<const KArchiveFile *>( entry );
- result.setContent( file->data() );
- }
- return result;
-}
-
-bool ResourceTVAnytime::readSchedule()
-{
- TQString uncompress = "application/x-gzip";
- mScheduleArchive = new KTar( mDestination->name(), uncompress );
- mScheduleArchive->open( IO_ReadOnly );
-
- TQDomDocument serviceInfo = archiveFileXml( "ServiceInformation.xml" );
- if ( !serviceInfo.isNull() )
- readServiceInformation( serviceInfo );
-
-
- ServiceMap::Iterator it;
- // for each date in the tarball/or user preference:
-#if 1
- for ( it = mServiceMap.begin(); it != mServiceMap.end(); ++it )
- {
- if ( (it.data().active() ) )
- readService( it.key() );
- }
-#else
- TQString serviceId = "BBCOne";
- Service s = mServiceMap[ serviceId ];
- if ( s.active() )
- readService( serviceId );
-#endif
-
- mScheduleArchive->close();
- return true;
-}
-
-bool ResourceTVAnytime::readServiceInformation( const TQDomDocument & serviceInfo )
-{
- kdDebug() << k_funcinfo << endl;
- TQDomElement docElem = serviceInfo.documentElement();
-
- TQDomNode n = docElem.firstChild();
- while( !n.isNull() ) {
- TQDomElement e = n.toElement(); // try to convert the node to an element.
- if( !e.isNull() && e.tagName() == "ProgramDescription" ) {
- TQDomNode n2 = e.firstChild();
- TQDomElement e2 = n2.toElement();
- if( !e2.isNull() && e2.tagName() == "ServiceInformationTable" ) {
- TQDomNode n3 = e2.firstChild();
- while ( !n3.isNull() ) {
- Service s;
- TQDomElement e3 = n3.toElement();
- if (s.loadXML( e3 ) ) {
- s.setActive( mActiveServices.contains( s.id() ) );
- bool newService = !mServiceMap.contains( s.id() );
- if ( newService )
- {
- mServiceMap.insert( s.id(), s );
- emit signalSubresourceAdded( this, "Calendar", s.id(), s.name() );
- }
- }
- else
- kdDebug() << " couldn't find ServiceInformation: " << e3.tagName() << endl;
- n3 = n3.nextSibling();
- }
- }
- else
- kdDebug() << " couldn't find ServiceInformationTable: " << e2.tagName() << endl;
- }
- else
- kdDebug() << " couldn't find ProgramDescription: " << e.tagName() << endl;
- n = n.nextSibling();
- }
- return true;
-}
-
-bool ResourceTVAnytime::readService( const TQString & serviceId )
-{
- kdDebug() << k_funcinfo << endl;
- // open programme information table
- Service service = mServiceMap[ serviceId ];
-
- TQStringList entries = mScheduleArchive->directory()->entries();
- TQRegExp re( "^(\\d{8})" + serviceId );
- TQStringList dates;
- TQString todaysDate = TQDate::currentDate().toString( "yyyyMMdd" );
- for( TQStringList::Iterator it = entries.begin(); it != entries.end(); ++it )
- {
- if ( re.search( *it ) != -1 ) // this entry belongs to the requested service
- {
- TQString entry = re.cap( 1 );
- // handle this date according to user preferences
- TQDate entryDate( entry.left( 4 ).toInt(), entry.mid( 4, 2 ).toInt(), entry.right( 2 ).toInt() );
- if ( entryDate < TQDate::currentDate() || ( entryDate > TQDate::currentDate().addDays( prefs()->days() - 1 ) ) )
- continue;
-
- if ( !dates.contains( re.cap( 1 ) ) )
- dates.append( re.cap( 1 ) );
- }
- }
-
- kdDebug() << "reading schedule for " << serviceId << " on " << dates << endl;
-
- for( TQStringList::Iterator it = dates.begin(); it != dates.end(); ++it )
- {
- ProgramInformationMap progInfoMap = service.programmeInformation();
- TQString programInfoFileName = TQString( *it + serviceId + "_pi.xml" );
- TQDomDocument programInfo = archiveFileXml( programInfoFileName );
- if ( !programInfo.isNull() ) {
- TQDomElement docElem = programInfo.documentElement();
- TQDomNode n = docElem.firstChild();
- while( !n.isNull() ) {
- TQDomElement e = n.toElement(); // try to convert the node to an element.
- if( !e.isNull() && e.tagName() == "ProgramDescription" ) {
- TQDomNode n2 = e.firstChild();
- TQDomElement e2 = n2.toElement();
- if( !e2.isNull() && e2.tagName() == "ProgramInformationTable" ) {
- TQDomNode n3 = e2.firstChild();
- while ( !n3.isNull() ) {
- TQDomElement e3 = n3.toElement();
- ProgramInformation pi;
- if ( pi.loadXML( e3 ) ) {
- //kdDebug() << "Found programme: " << pi.id() << "," << pi.title() << "," << pi.synopsis() << endl;
- progInfoMap.insert( pi.id(), pi );
- }
- n3 = n3.nextSibling();
- }
- }
- }
- n = n.nextSibling();
- }
- service.setProgramInformation( progInfoMap );
- }
- else
- kdDebug() << "Service file: " << programInfoFileName << " not found in archive" << endl;
- // open programme location table, iterate and create incidences
-
- TQString programLocationFileName = TQString( *it + serviceId + "_pl.xml" );
- TQDomDocument programLocation = archiveFileXml( programLocationFileName );
- if ( !programLocation.isNull() ) {
- TQDomElement docElem = programLocation.documentElement();
- TQDomNode n = docElem.firstChild();
- while( !n.isNull() ) {
- TQDomElement e = n.toElement(); // try to convert the node to an element.
- if( !e.isNull() && e.tagName() == "ProgramDescription" ) {
- TQDomNode n2 = e.firstChild();
- TQDomElement e2 = n2.toElement();
- if( !e2.isNull() && e2.tagName() == "ProgramLocationTable" ) {
- TQDomNode n3 = e2.firstChild();
- TQDomElement e3 = n3.toElement();
- if( !e3.isNull() && e3.tagName() == "Schedule" ) {
- TQString foundServiceId = e3.attribute( "serviceIDRef" );
- if ( serviceId == foundServiceId ) {
- TQDomNode n4 = e3.firstChild();
- while ( !n4.isNull() ) {
- TQDomElement e4 = n4.toElement();
- ScheduleEvent se;
- if ( se.loadXML( e4 ) ) {
- ProgramInformation pi = progInfoMap[ se.crid() ];
- //kdDebug() << "programme incidence: " << se.crid() << "," << se.startTime() << "," << se.duration() << "," << pi.title() << "," << pi.synopsis() << endl;
- KCal::Event *event = new KCal::Event();
- event->setFloats( false );
- event->setSummary( pi.title() );
- event->setDescription( pi.synopsis() );
- event->setDtStart( KPimPrefs::localTimeToUtc( se.startTime(), "Europe/London" ) );
- event->setDuration( se.duration() );
- event->setLocation( service.name() );
- event->setCategories( pi.genres() );
- event->setUid( se.programUrl() );
- event->setCustomProperty( "TVANYWHERE", "SERVICEID", serviceId );
- // store the reverse mapping from event to service, for subresources
- mUidMap.insert( event->uid(), serviceId );
- event->setReadOnly( true );
-
- addIncidence( event );
- }
- n4 = n4.nextSibling();
- }
- }
- else
- kdDebug() << " file contains schedule for another service!" << endl;
- }
- }
- }
- n = n.nextSibling();
- }
- }
- else
- kdDebug() << "Program location file: " << programLocationFileName << " not found in archive" << endl;
- }
- return true;
-}
-
-TQStringList ResourceTVAnytime::subresources() const
-{
- //const_cast<ResourceTVAnytime*>( this )->doLoad();
- return mServiceMap.keys();
-}
-
-const TQString
-ResourceTVAnytime::labelForSubresource( const TQString& subresource ) const
-{
- Service s = mServiceMap[ subresource ];
- return s.name();
-}
-
-TQString ResourceTVAnytime::subresourceIdentifier( Incidence *incidence )
-{
- return incidence->customProperty( "TVANYWHERE", "SERVICEID" );
-}
-
-bool ResourceTVAnytime::subresourceActive( const TQString & subresource ) const
-{
- Service s = mServiceMap[ subresource ];
- return s.active();
-}
-
-void ResourceTVAnytime::setSubresourceActive( const TQString & subresource, bool active )
-{
- if ( mServiceMap.contains( subresource ) )
- {
- Service s = mServiceMap[ subresource ];
- if ( s.active() != active )
- {
- s.setActive( active );
- mServiceMap.insert( subresource, s );
- doLoad();
- mResourceChangedTimer.changeInterval( 150 );
- }
- }
-}
-
-KABC::Lock *ResourceTVAnytime::lock()
-{
- return &mLock;
-}
-
-void ResourceTVAnytime::cancelLoad()
-{
- if ( mDownloadJob ) mDownloadJob->kill();
- mDownloadJob = 0;
- if ( mProgress ) mProgress->setComplete();
- mProgress = 0;
-}
-
-void ResourceTVAnytime::slotEmitResourceChanged()
-{
- emit resourceChanged( this );
- mResourceChangedTimer.stop();
-}
-
-#include "kcal_resourcetvanytime.moc"
diff --git a/kresources/tvanytime/kcal_resourcetvanytime.h b/kresources/tvanytime/kcal_resourcetvanytime.h
deleted file mode 100644
index 1c8bd9c9..00000000
--- a/kresources/tvanytime/kcal_resourcetvanytime.h
+++ /dev/null
@@ -1,130 +0,0 @@
- /*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-#ifndef KCAL_RESOURCETVANYTIME_H
-#define KCAL_RESOURCETVANYTIME_H
-
-#include <tqtimer.h>
-
-#include <libtdepim/progressmanager.h>
-
-#include <libkcal/resourcecached.h>
-
-#include <kabc/locknull.h>
-#include <kio/job.h>
-#include <kconfig.h>
-#include <tdepimmacros.h>
-
-#include "service.h"
-
-class TQDomDocument;
-class KTar;
-class KTempFile;
-
-typedef TQMap< TQString, Service > ServiceMap;
-typedef TQMap< TQString, TQString > UidMap;
-
-namespace KCal {
-
-class TVAnytimePrefsBase;
-
-/**
- This class provides a resource for accessing a BBC TV and radio schedule as a calendar.
-*/
-class KDE_EXPORT ResourceTVAnytime : public ResourceCached
-{
- Q_OBJECT
-
-
- public:
- ResourceTVAnytime();
-
- ResourceTVAnytime( const TDEConfig * );
- virtual ~ResourceTVAnytime();
-
- void readConfig( const TDEConfig *config );
- void writeConfig( TDEConfig *config );
-
- TVAnytimePrefsBase *prefs();
-
- TQStringList subresources() const;
- const TQString labelForSubresource( const TQString& subresource ) const;
- TQString subresourceIdentifier( Incidence *incidence );
- /** Is this subresource active? */
- bool subresourceActive( const TQString& ) const;
- /** (De)activate the subresource */
- virtual void setSubresourceActive( const TQString &, bool );
-
- bool doOpen();
- void doClose();
-
- bool doLoad();
- bool doSave() { return true; }
-
- KABC::Lock *lock();
-
- protected:
- void init();
- /**
- * Extract the XML from the given filename within the schedule archive
- */
- TQDomDocument archiveFileXml( const TQString & name );
-
- /**
- * Read the tv schedule from the tarball downloaded to mDestination
- */
- bool readSchedule();
-
- /**
- * Read the service information map from the supplied xml
- */
- bool readServiceInformation( const TQDomDocument & );
- bool readServices() { return true; }
- bool readService( const TQString & serviceId );
- bool readProgrammeInformation( const TQDomDocument & );
-
- protected slots:
- void slotJobResult( TDEIO::Job * );
- void cancelLoad();
- void slotEmitResourceChanged();
-
- private:
- TVAnytimePrefsBase *mPrefs;
- KABC::LockNull mLock;
-
- TDEIO::FileCopyJob *mDownloadJob;
- KPIM::ProgressItem *mProgress;
-
- bool mIsShowingError;
-
- TQTimer mResourceChangedTimer;
- KTempFile * mDestination;
- KTar * mScheduleArchive;
-
- ServiceMap mServiceMap;
- UidMap mUidMap;
- //TODO: read this from subresource config
- TQStringList mActiveServices;
-
-};
-
-}
-
-#endif
diff --git a/kresources/tvanytime/kcal_resourcetvanytime_plugin.cpp b/kresources/tvanytime/kcal_resourcetvanytime_plugin.cpp
deleted file mode 100644
index 9ff0ae75..00000000
--- a/kresources/tvanytime/kcal_resourcetvanytime_plugin.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
-
- 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; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_resourcetvanytime.h"
-#include "kcal_resourcetvanytimeconfig.h"
-#include <kglobal.h>
-#include <klocale.h>
-
-using namespace KCal;
-
-typedef KRES::PluginFactory< ResourceTVAnytime, ResourceTVAnytimeConfig > TVAnytimeFactory;
-// FIXME: Use K_EXPORT_COMPONENT_FACTORY( kcal_tvanytime, TVAnytimeFactory ); here
-// Problem: How do I insert the catalogue???
-extern "C"
-{
- void *init_kcal_tvanytime()
- {
- TDEGlobal::locale()->insertCatalogue( "libkcal" );
- TDEGlobal::locale()->insertCatalogue( "kres_tvanytime" );
- return new TVAnytimeFactory;
- }
-}
diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp
deleted file mode 100644
index f9ec2a49..00000000
--- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include <typeinfo>
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqspinbox.h>
-#include <tqwhatsthis.h>
-
-#include <kconfigskeleton.h>
-#include <klocale.h>
-#include <kdebug.h>
-//#include <kdialogbase.h>
-//#include <kstandarddirs.h>
-#include <klineedit.h>
-
-#include <libkcal/resourcecachedconfig.h>
-
-#include "kcal_resourcetvanytime.h"
-#include "kcal_tvanytimeprefs.h"
-#include "kcal_resourcetvanytimeconfig.h"
-
-using namespace KCal;
-
-ResourceTVAnytimeConfig::ResourceTVAnytimeConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
-{
- resize( 245, 115 );
- TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 );
-
- TQLabel *label = new TQLabel( i18n( "Schedule tarball URL:" ), this );
- mainLayout->addWidget( label, 1, 0 );
- mUrl = new KLineEdit( this );
- mainLayout->addWidget( mUrl, 1, 1 );
- label = new TQLabel( i18n( "Retrieve how many days?" ), this );
- mainLayout->addWidget( label, 2, 0 );
- mDays = new TQSpinBox( this );
- mainLayout->addWidget( mDays, 2, 1 );
- mReloadConfig = new KCal::ResourceCachedReloadConfig( this );
- mainLayout->addMultiCellWidget( mReloadConfig, 3, 3, 0, 1 );
-
-}
-
-void ResourceTVAnytimeConfig::loadSettings( KRES::Resource *resource )
-{
- kdDebug() << "KCal::ResourceTVAnytimeConfig::loadSettings()" << endl;
- ResourceTVAnytime *res = static_cast<ResourceTVAnytime *>( resource );
- mResource = res;
-
- if ( res ) {
- if ( !res->prefs() ) {
- kdError() << "No PREF" << endl;
- return;
- }
- TDEConfigSkeleton::ItemInt * daysItem = res->prefs()->daysItem();
- mDays->setMinValue( daysItem->minValue().toInt() );
- mDays->setMaxValue( daysItem->maxValue().toInt() );
- TQWhatsThis::add( mDays, daysItem->whatsThis() );
- mUrl->setText( res->prefs()->url() );
- mDays->setValue( res->prefs()->days() );
- mReloadConfig->loadSettings( res );
- } else {
- kdError(5700) << "KCalResourceTVAnytimeConfig::loadSettings(): no KCalResourceTVAnytime, cast failed" << endl;
- }
-}
-
-void ResourceTVAnytimeConfig::saveSettings( KRES::Resource *resource )
-{
- ResourceTVAnytime *res = static_cast<ResourceTVAnytime*>( resource );
- if ( res ) {
- res->prefs()->setUrl( mUrl->text() );
- res->prefs()->setDays( mDays->value() );
- mReloadConfig->saveSettings( res );
- } else {
- kdError(5700) << "KCalResourceTVAnytimeConfig::saveSettings(): no KCalResourceTVAnytime, cast failed" << endl;
- }
-}
-
-#include "kcal_resourcetvanytimeconfig.moc"
diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.h b/kresources/tvanytime/kcal_resourcetvanytimeconfig.h
deleted file mode 100644
index 404738ae..00000000
--- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- This file is part of tdepim.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef KCALRESOURCETVANYTIMECONFIG_H
-#define KCALRESOURCETVANYTIMECONFIG_H
-
-#include <kurlrequester.h>
-#include <tdepimmacros.h>
-
-#include <kresources/resource.h>
-#include <kresources/configwidget.h>
-
-class TQSpinBox;
-class KLineEdit;
-
-namespace KCal {
-
-class ResourceCachedReloadConfig;
-class ResourceCachedSaveConfig;
-
-/**
- Configuration widget for TVAnytime resource.
- @see KCal::ResourceTVAnytime
-*/
-class KDE_EXPORT ResourceTVAnytimeConfig : public KRES::ConfigWidget
-{
-Q_OBJECT
-
- public:
- ResourceTVAnytimeConfig( TQWidget *parent = 0, const char *name = 0 );
-
- public slots:
- virtual void loadSettings( KRES::Resource *resource );
- virtual void saveSettings( KRES::Resource *resource );
-
- private:
- KLineEdit *mUrl;
- TQSpinBox *mDays;
- ResourceCachedReloadConfig *mReloadConfig;
- ResourceCachedSaveConfig *mSaveConfig;
- ResourceTVAnytime *mResource;
-};
-
-}
-
-#endif
diff --git a/kresources/tvanytime/kcal_tvanytime.desktop b/kresources/tvanytime/kcal_tvanytime.desktop
deleted file mode 100644
index 9f6eef3c..00000000
--- a/kresources/tvanytime/kcal_tvanytime.desktop
+++ /dev/null
@@ -1,51 +0,0 @@
-[Desktop Entry]
-Name=TV Schedules
-Name[af]=TV skedules
-Name[ar]=جداول التلفزة
-Name[bg]=Разписание на ТВ
-Name[ca]=Programació de la TV
-Name[cs]=TV programy
-Name[da]=Tv-oversigt
-Name[de]=Fernsehprogramm
-Name[el]=Προγράμματα τηλεόρασης
-Name[es]=Programación de TV
-Name[et]=Telekavad
-Name[eu]=TB planifikazioak
-Name[fa]=زمان‌بندیهای تلویزیون
-Name[fi]=TV-ohjelmat
-Name[fr]=Programmes TV
-Name[fy]=Televissjeprogrammearring
-Name[ga]=Sceidil Teilifíse
-Name[gl]=Programación de TV
-Name[hu]=TV-műsorok
-Name[is]=Sjónvarpsdagskrár
-Name[it]=Programmi TV
-Name[ja]=TV 番組予定
-Name[ka]=ტელეპროგრამა
-Name[kk]=TV кестелері
-Name[km]=កាលវិភាគ​ទូរទស្សន៍
-Name[lt]=TV tvarkaraščiai
-Name[mk]=ТВ програми
-Name[nb]=TV-program
-Name[nds]=Feernsehprogramm
-Name[ne]=टीभी कार्यतालिका
-Name[nl]=Televisieprogrammering
-Name[nn]=TV-program
-Name[pl]=Program telewizyjny
-Name[pt]=Programação de TV
-Name[pt_BR]=Horários de TV
-Name[ru]=Программы телепередач
-Name[sk]=TV programy
-Name[sl]=TV spored
-Name[sr]=ТВ програм
-Name[sr@Latn]=TV program
-Name[sv]=Tv-tablåer
-Name[tr]=TV Programı
-Name[uk]=Програма телебачення
-Name[zh_CN]=电视日程安排
-Name[zh_TW]=電視時刻表
-X-TDE-Library=kcal_tvanytime
-Type=Service
-ServiceTypes=KResources/Plugin
-X-TDE-ResourceFamily=calendar
-X-TDE-ResourceType=tvschedule
diff --git a/kresources/tvanytime/kcal_tvanytimeprefs.cpp b/kresources/tvanytime/kcal_tvanytimeprefs.cpp
deleted file mode 100644
index 26f3f7ef..00000000
--- a/kresources/tvanytime/kcal_tvanytimeprefs.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "kcal_tvanytimeprefs.h"
-
-using namespace KCal;
-
-TVAnytimePrefs::TVAnytimePrefs()
- : TVAnytimePrefsBase()
-{
-}
-
-TQString TVAnytimePrefs::scheduleUrl() const
-{
- return url();
-}
diff --git a/kresources/tvanytime/kcal_tvanytimeprefs.h b/kresources/tvanytime/kcal_tvanytimeprefs.h
deleted file mode 100644
index 2ab10802..00000000
--- a/kresources/tvanytime/kcal_tvanytimeprefs.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- This file is part of KDE.
-
- Copyright (c) 2005 Will Stephenson <wstephenson@kde.org>
-
- 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-#ifndef TVANYTIMEPREFS_H
-#define TVANYTIMEPREFS_H
-
-#include "kcal_tvanytimeprefsbase.h"
-
-namespace KCal {
-
-class TVAnytimePrefs : public TVAnytimePrefsBase
-{
- public:
- TVAnytimePrefs();
-
- TQString scheduleUrl() const;
-};
-
-}
-
-#endif
diff --git a/kresources/tvanytime/kcal_tvanytimeprefsbase.kcfgc b/kresources/tvanytime/kcal_tvanytimeprefsbase.kcfgc
deleted file mode 100644
index b2d850ff..00000000
--- a/kresources/tvanytime/kcal_tvanytimeprefsbase.kcfgc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Code generation options for kconfig_compiler
-File=kresources_kcal_tvanytime.kcfg
-ClassName=TVAnytimePrefsBase
-NameSpace=KCal
-Singleton=false
-Mutators=true
-Inherits=KResourcePrefs
-IncludeFiles=libtdepim/kresourceprefs.h
-GlobalEnums=true
-ItemAccessors=true
-SetUserTexts=true
diff --git a/kresources/tvanytime/kresources_kcal_tvanytime.kcfg b/kresources/tvanytime/kresources_kcal_tvanytime.kcfg
deleted file mode 100644
index 774cdaea..00000000
--- a/kresources/tvanytime/kresources_kcal_tvanytime.kcfg
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kresources_kcal_bbcschedulerc" />
- <group name="General" >
- <entry key="Url" type="String" >
- <label>Schedule URL</label>
- <whatsthis>URL of TV AnyWhere schedule</whatsthis>
- </entry>
- <entry key="Days" type="Int" >
- <label>How many days?</label>
- <whatsthis>Show the next n days</whatsthis>
- <min>1</min>
- <default>3</default>
- <max>7</max>
- </entry>
- </group>
-</kcfg>
diff --git a/kresources/tvanytime/service.cpp b/kresources/tvanytime/service.cpp
deleted file mode 100644
index f713f7b1..00000000
--- a/kresources/tvanytime/service.cpp
+++ /dev/null
@@ -1,224 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2005 by Will Stephenson *
- * wstephenson@kde.org *
- * *
- * 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 of the License, 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., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-#include "service.h"
-
-Service::Service() : mActive( true )
-{
-
-}
-
-Service::Service( bool active, const TQString & name, const TQString & owner, const KURL & serviceUrl, const KURL & logo, const TQStringList & genres )
-: mActive( active ), mName( name ), mOwner( owner ), mServiceUrl( serviceUrl ), mLogo( logo ), mGenres( genres )
-{
-}
-
-void Service::setActive( bool active )
-{
- mActive = active;
-}
-
-void Service::setName( const TQString & name )
-{
- mName = name;
-}
-
-void Service::setProgramInformation( const ProgramInformationMap & map )
-{
- mProgInfo = map;
-}
-
-bool Service::active() const
-{
- return mActive;
-}
-
-TQString Service::name() const
-{
- return mName;
-}
-
-bool Service::loadXML( const TQDomElement & top )
-{
- if ( top.tagName() != "ServiceInformation" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected service information",
- top.tagName().ascii() );
- return false;
- }
-
- setId( top.attribute( "serviceId" ) );
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- loadAttribute( e );
- } else
- tqWarning( "Node is not a comment or an element???" );
- }
- return true;
-}
-
-bool Service::loadAttribute( const TQDomElement& element )
-{
- TQString tagName = element.tagName();
- if ( tagName == "Name" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mName = t.data();
- }
- else if ( tagName == "Owner" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mOwner = t.data();
- }
- else if ( tagName == "ServiceURL" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mServiceUrl = t.data();
- }
- // TODO: parse logo data
- // TODO: parse genre data
- return true;
-}
-
-TQRegExp ScheduleEvent::sRegExp( "PT(\\d{2})H(\\d{2})M(\\d{2})S" );
-
-bool ScheduleEvent::loadXML( const TQDomElement & top )
-{
- if ( top.tagName() != "ScheduleEvent" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected event",
- top.tagName().ascii() );
- return false;
- }
-
- mCrid = top.attribute( "serviceId" );
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- loadAttribute( e );
- } else
- tqWarning( "Node is not a comment or an element???" );
- }
- return true;
-}
-
-bool ScheduleEvent::loadAttribute( const TQDomElement& element )
-{
- TQString tagName = element.tagName();
- if ( tagName == "ProgramURL" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mUrl = t.data();
- }
- else if ( tagName == "Program" ) {
- mCrid = element.attribute( "crid" );
- }
- else if ( tagName == "PublishedStartTime" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mStartTime = TQDateTime::fromString( t.data(), TQt::ISODate );
- }
- else if ( tagName == "PublishedDuration" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- TQString duration = t.data();
- if ( sRegExp.search( duration ) != -1 )
- {
- mDuration = 0;
- mDuration += 60 * 60 * sRegExp.cap( 1 ).toUInt();
- mDuration += 60 * sRegExp.cap( 2 ).toUInt();
- mDuration += sRegExp.cap( 3 ).toUInt();
- }
- }
- return true;
-}
-
-ProgramInformationMap Service::programmeInformation() const
-{
- return mProgInfo;
-}
-
-ProgramInformation::ProgramInformation( const TQString & title, const TQString &synopsis )
-: mTitle( title ), mSynopsis( synopsis )
-{
-
-}
-
-bool ProgramInformation::loadXML( const TQDomElement & top )
-{
- if ( top.tagName() != "ProgramInformation" ) {
- tqWarning( "XML error: Top tag was %s instead of the expected program information",
- top.tagName().ascii() );
- return false;
- }
-
- setId( top.attribute( "programId" ) );
-
- for ( TQDomNode n = top.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- if ( e.tagName() == "BasicDescription" )
- {
- for ( TQDomNode n = e.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- if ( n.isComment() )
- continue;
- if ( n.isElement() ) {
- TQDomElement e = n.toElement();
- loadAttribute( e );
- }
- }
- }
- } else
- tqWarning( "Node is not a comment or an element???" );
- }
- return true;
-}
-
-bool ProgramInformation::loadAttribute( const TQDomElement& element )
-{
- TQString tagName = element.tagName();
- if ( tagName == "Title" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mTitle = t.data();
- }
- else if ( tagName == "Synopsis" ) {
- TQDomNode cn = element.firstChild();
- TQDomText t = cn.toText();
- mSynopsis = t.data();
- }
- else if ( tagName == "Genre" ) {
- TQDomNode name = element.firstChild();
- TQDomElement nameElem = name.toElement();
- if ( nameElem.tagName() == "Name" ) {
- TQDomNode cn = nameElem.firstChild();
- TQDomText t = cn.toText();
- mGenres.append( t.data() );
- }
- }
- return true;
-}
diff --git a/kresources/tvanytime/service.h b/kresources/tvanytime/service.h
deleted file mode 100644
index 78570fe1..00000000
--- a/kresources/tvanytime/service.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2005 by Will Stephenson *
- * wstephenson@kde.org *
- * *
- * 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 of the License, 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., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-#ifndef SERVICE_H
-#define SERVICE_H
-
-#include <tqdatetime.h>
-#include <tqdom.h>
-#include <tqmap.h>
-#include <tqregexp.h>
-#include <tqstring.h>
-#include <tqstringlist.h>
-#include <kurl.h>
-
-
-class ProgramInformation {
- public:
- ProgramInformation() {}
- ProgramInformation( const TQString & title, const TQString &synopsis );
- virtual ~ProgramInformation() {}
-
- TQString id() const { return mId; }
- TQString title() const { return mTitle; }
- TQString synopsis() const { return mSynopsis; }
- TQStringList genres() const { return mGenres; }
-
- void setId ( const TQString & id ) { mId = id; }
- void setGenres( const TQStringList & genres ) { mGenres = genres; }
- bool loadXML( const TQDomElement & );
- bool loadAttribute( const TQDomElement& element );
-
- private:
- TQString mId;
- TQString mTitle;
- TQString mSynopsis;
- TQStringList mGenres;
-};
-
-typedef TQMap< TQString, ProgramInformation > ProgramInformationMap;
-
-class ScheduleEvent {
- public:
- ScheduleEvent() {}
- virtual ~ScheduleEvent() {}
-
- TQString crid() const { return mCrid; }
- TQDateTime startTime() const { return mStartTime; }
- uint duration() const { return mDuration; }
- TQString programUrl() const { return mUrl; }
-
- bool loadXML( const TQDomElement & );
- bool loadAttribute( const TQDomElement& element );
-
- private:
- TQString mCrid;
- TQString mUrl;
- TQDateTime mStartTime;
- uint mDuration;
-
- static TQRegExp sRegExp;
-};
-
-class Service {
- public:
- Service();
- Service( bool active, const TQString & name, const TQString & owner, const KURL & serviceUrl, const KURL & logo, const TQStringList & genres );
- virtual ~Service() {}
-
- void setId( const TQString & id ) { mId = id; }
- void setActive( bool active );
- void setName( const TQString& name );
- void setProgramInformation( const ProgramInformationMap & map );
-
- TQString id() const { return mId; }
- bool active() const;
- TQString name() const;
- ProgramInformationMap programmeInformation() const;
-
- bool loadXML( const TQDomElement & );
- bool loadDescription( const TQDomElement & );
- bool loadAttribute( const TQDomElement& element );
-
- private:
- TQString mId;
- bool mActive;
- TQString mName;
- TQString mOwner;
- KURL mServiceUrl;
- KURL mLogo;
- TQStringList mGenres;
- ProgramInformationMap mProgInfo;
-};
-
-#endif
diff --git a/kresources/tvanytime/tvanytime.tdevelop b/kresources/tvanytime/tvanytime.tdevelop
deleted file mode 100644
index aba23b3a..00000000
--- a/kresources/tvanytime/tvanytime.tdevelop
+++ /dev/null
@@ -1,202 +0,0 @@
-<?xml version = '1.0'?>
-<tdevelop>
- <general>
- <author>Will Stephenson</author>
- <email>wstephenson@kde.org</email>
- <version>0.1</version>
- <projectmanagement>KDevKDEAutoProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>C++</keyword>
- <keyword>Code</keyword>
- <keyword>Qt</keyword>
- <keyword>KDE</keyword>
- </keywords>
- <versioncontrol>kdevsubversion</versioncontrol>
- <ignoreparts/>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- </general>
- <kdevautoproject>
- <general>
- <activetarget>libkcal_tvanytime.la</activetarget>
- <useconfiguration>debug</useconfiguration>
- </general>
- <run>
- <mainprogram>src/tvanytime</mainprogram>
- <directoryradio>executable</directoryradio>
- </run>
- <configurations>
- <optimized>
- <builddir>optimized</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O2 -g0</cxxflags>
- </optimized>
- <debug>
- <configargs>--enable-debug=full</configargs>
- <builddir>/space/kde/svn/head/build/tdepim/kresources/tvanytime</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O0 -g3</cxxflags>
- <envvars/>
- <topsourcedir>/space/kde/svn/head/src/tdepim/kresources/tvanytime</topsourcedir>
- <cppflags/>
- <ldflags/>
- <ccompilerbinary/>
- <cxxcompilerbinary/>
- <f77compilerbinary/>
- <cflags/>
- <f77flags/>
- </debug>
- </configurations>
- <make>
- <envvars>
- <envvar value="1" name="WANT_AUTOCONF_2_5" />
- <envvar value="1" name="WANT_AUTOMAKE_1_6" />
- </envvars>
- <abortonerror>true</abortonerror>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin>unsermake </makebin>
- <prio>0</prio>
- </make>
- </kdevautoproject>
- <kdevfileview>
- <groups>
- <group pattern="*.cpp;*.cxx;*.h" name="Sources" />
- <group pattern="*.ui" name="User Interface" />
- <group pattern="*.png" name="Icons" />
- <group pattern="*.po;*.ts" name="Translations" />
- <group pattern="*" name="Others" />
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- </tree>
- </kdevfileview>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>qmake User Guide</toc>
- </ignoreqt_xml>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs/>
- <gdbpath/>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>tvanytime.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
- <substmap>
- <APPNAME>tvanytime</APPNAME>
- <APPNAMELC>tvanytime</APPNAMELC>
- <APPNAMESC>Bbcschedule</APPNAMESC>
- <APPNAMEUC>BBCSCHEDULE</APPNAMEUC>
- <AUTHOR>Will Stephenson</AUTHOR>
- <EMAIL>wstephenson@kde.org</EMAIL>
- <LICENSE>GPL</LICENSE>
- <LICENSEFILE>COPYING</LICENSEFILE>
- <VERSION>0.1</VERSION>
- <YEAR>2005</YEAR>
- <dest>/space/kde/head/src/tdepim/kresources/tvanytime</dest>
- </substmap>
- <kdevcppsupport>
- <references>
- <pcs>tdelibs</pcs>
- <pcs>project</pcs>
- <pcs>libkcal</pcs>
- </references>
- <codecompletion>
- <includeGlobalFunctions>true</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>true</includeEnums>
- <includeTypedefs>false</includeTypedefs>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <codeCompletionDelay>250</codeCompletionDelay>
- <argumentsHintDelay>400</argumentsHintDelay>
- <headerCompletionDelay>250</headerCompletionDelay>
- </codecompletion>
- <qt>
- <used>false</used>
- <version>3</version>
- <root>/usr/lib/qt3</root>
- </qt>
- <creategettersetter>
- <prefixGet/>
- <prefixSet>set</prefixSet>
- <prefixVariable>m_,_</prefixVariable>
- <parameterName>theValue</parameterName>
- <inlineGet>true</inlineGet>
- <inlineSet>true</inlineSet>
- </creategettersetter>
- </kdevcppsupport>
- <cppsupportpart>
- <filetemplates>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- </filetemplates>
- </cppsupportpart>
-</tdevelop>